nvk with gsp crashing genshin impact (nouveau errored - disabling channel) / game now works but with visual artifacts
System information
System:
Host: behepc Kernel: 6.7.0-rc3-1-mainline arch: x86_64 bits: 64
compiler: gcc v: 13.2.1 Desktop: Hyprland dm: greetd Distro: Arch Linux
CPU:
Info: quad core model: Intel Core i5-10300H bits: 64 type: MT MCP
arch: Comet Lake rev: 2 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 1254 high: 4432 min/max: 800/4500 cores: 1: 800 2: 800
3: 4432 4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 40009
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Hewlett-Packard
driver: i915 v: kernel arch: Gen-9.5 ports: active: eDP-1
empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9bc4
Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile]
vendor: Hewlett-Packard driver: nouveau v: kernel arch: Turing pcie:
speed: 2.5 GT/s lanes: 8 ports: active: none empty: DP-2,HDMI-A-2
bus-ID: 01:00.0 chip-ID: 10de:1f95
Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
compositor: Hyprland driver: X: loaded: modesetting,nvidia
alternate: fbdev,intel,nouveau,nv,vesa dri: iris gpu: i915 display-ID: 1
Monitor-1: eDP-1 model: LG Display 0x062e res: 1920x1080 dpi: 142
diag: 395mm (15.5")
API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: nouveau
device: 2 drv: swrast gbm: drv: nouveau surfaceless: drv: iris wayland:
drv: iris x11: drv: iris
API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel v: N/A glx-v: 1.4
direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
device-ID: 8086:9bc4
API: Vulkan v: 1.3.269 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: mesa intel device-ID: 8086:9bc4 device: 1
type: discrete-gpu driver: mesa nvk device-ID: 10de:1f95 device: 2
type: cpu driver: mesa llvmpipe device-ID: 10005:0000
If applicable
- DXVK version: dxvk 2.3 (for control) dxvk 2.3-4-ea31498 (for genshin)
- Wine/Proton version: both at wine 8-24
Describe the issue
Please describe what you are doing, what you expect and what you're seeing instead. How frequent is the issue? Is it a one time occurrence? Does it appear multiple times but randomly? Can you easily reproduce it?
"It doesn't work" usually is not a helpful description of an issue. The more detail about how things are going wrong, the better.
I mean when I launch genshin it will freeze with this error err: DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST
control exits with this error
and this only happens when using gsp I mean with this launch option nouveau.config=NvGspRm=1
both games render something at least when gsp is not there
so I checked journalctl -b 0 --system
and this is the output
genshin:
nouveau 0000:01:00.0: gsp: rc engn:00000001 chid:32 type:69 scope:1 part:233
nouveau 0000:01:00.0: fifo:001001:0004:0020:[GenshinImpact.e[3771]] errored - disabling channel
nouveau 0000:01:00.0: GenshinImpact.e[3771]: channel 32 killed!
control:
nouveau 0000:01:00.0: gsp: rc engn:00000001 chid:32 type:69 scope:1 part:233
nouveau 0000:01:00.0: fifo:001001:0004:0020:[Control_DX11.ex[4693]] errored - disabling channel
nouveau 0000:01:00.0: Control_DX11.ex[4602]: channel 32 killed!
logs when nouveau got loaded
Nov 29 19:00:09 behepc kernel: pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
Nov 29 19:00:09 behepc kernel: VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG0.PEGP handle
Nov 29 19:00:09 behepc kernel: nouveau: detected PR support, will not use DSM
Nov 29 19:00:09 behepc kernel: nouveau 0000:01:00.0: enabling device (0006 -> 0007)
Nov 29 19:00:09 behepc kernel: nouveau 0000:01:00.0: NVIDIA TU117 (167000a1)
Nov 29 19:00:09 behepc kernel: nouveau 0000:01:00.0: bios: version 90.17.42.00.35
Nov 29 19:00:09 behepc kernel: _DOD: ok! len:4
Nov 29 19:00:09 behepc kernel: jt: obj type 3
Nov 29 19:00:09 behepc kernel: jt: obj len 4
Nov 29 19:00:09 behepc kernel: jt: caps 20016003 rev:0200
Nov 29 19:00:09 behepc kernel: nvop: obj type 3
Nov 29 19:00:09 behepc kernel: nvop: obj len 4
Nov 29 19:00:09 behepc kernel: nvop: caps 19000059
Nov 29 19:00:10 behepc kernel: nouveau 0000:01:00.0: gsp:msg fn:4123 len:0x24/0x4 res:0x0 resp:0x0
Nov 29 19:00:10 behepc kernel: msg: 00000000: 00 00 00 00 ....
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: gsp:msg fn:4123 len:0x24/0x4 res:0x0 resp:0x0
Nov 29 19:00:11 behepc kernel: msg: 00000000: 01 00 00 00 ....
Nov 29 19:00:11 behepc kernel: vga_switcheroo: enabled
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: DRM: VRAM: 4096 MiB
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: DRM: GART: 536870912 MiB
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
Nov 29 19:00:11 behepc kernel: bl: nbci:0 nvhg:0
Nov 29 19:00:11 behepc kernel: snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
Nov 29 19:00:11 behepc kernel: [drm] Initialized nouveau 1.4.0 20120801 for 0000:01:00.0 on minor 0
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: DRM: Disabling PCI power management to avoid bug
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
Nov 29 19:00:11 behepc kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
that's an error I guess that hopefully helps
a system log:
journalctl_both_control_and_genshin_crash_system.log
all the for mentioned test were run using this environment variable MESA_VK_VERSION_OVERRIDE=1.3
just to make sure that this is not a dxvk issue
Any extra information would be greatly appreciated
I want to point out that I am on a laptop and plugging in an external display works and running vkcube and vkgears works
black widow recharged also works (I think its using opengl)
and to test nvk I am using mesa-git and nvk both from the aur and I am also using the mainline kernel yeah so supposedly gsp should work
since these files exists
I don't know if this is supposed to be relevant but I load nouveau like after I get into the tty
like I log in sudo modprobe nouveau and they Hyprland
and launching Hyprland than loading nouveau has made no difference in the games working so I though that would be irrelevant but I might as well tell everything