Hi so im running on an acer nitro AN515-45 ryzen 5800h + nvidia 3060 on archlinux using kwin and wayland. im getting Xid errors whenever i run an external monitor connected to the hdmi port and begin running various vkd3d/dxvk games it only seems to occur once they try to fullscreen themself on launch. for example this happends when i launch hogwarts legacy.
tom-acer kernel: NVRM: GPU at PCI:0000:01:00: GPU-58e586ab-a95c-b7fb-4f87-143605fb6aa2 tom-acer kernel: NVRM: GPU Board Serial Number: 0 tom-acer kernel: NVRM: Xid (PCI:0000:01:00): 56, pid='<unknown>', name=<unknown>, CMDre 00000001 00000200 00000001 00000005 0000001d
the very weird thing is this doesnt occur if i dont run an external monitor or if i run the games through gamescope.
did some driver “bisecting” and came down to this.
530.30.02 Xid 56 on launch. always 525.89.02 Xid 56 on launch. always. 525.85.05 Xid 56 on launch. always. 525.78.01 hogwarts launches but crashes on shader compilation, a wine/game engine? window appears "Not enough video memory to allocate a render" on second launch. Xid 56. 525.60.11 gives a different Xid on launch. NVRM: Xid (PCI:0000:01:00): 32, pid=2724, name=HogwartsLegacy., Channel ID 00000028 intr1 00000008 HCE_DBG0 00001b00 HCE_DBG1 00000001 NVRM: Xid (PCI:0000:01:00): 32, pid=2724, name=HogwartsLegacy., Channel ID 00000028 intr1 00000008 HCE_DBG0 00001b04 HCE_DBG1 00ce8010 520.56.06 runs the games and no xid errors for hours of gameplay. however this appears in dmesg on launch. [drm:nv_drm_fence_context_create_ioctl [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to allocate fence signaling event but the games do run on 520.56.06
it seems the games trigger this somehow when they try to fullscreen themself at native resolution of the external monitor. and so far ive only managed to trigger this with dxvk/vkd3d games.