Vulkan + Gsync + Tab Out = Crash

Hi,

Using the latest drivers with enabled Gsync with Vulkan (that got released recently)
If you tab out during the game session the game will crash or just stop render, unresponsive.

I first noticed this with DOOM with Wine that is only reproduced when Vulkan and Gsync is enabled. OpenGL works fine. This “feature” is 100% reproducible.

Second game i noticed this behaviour is Mad Max with the Vulkan BETA, in this case i got a XID error and had to terminate the game in another TTY.

[ 8643.444221] NVRM: GPU at PCI:0000:2a:00: GPU-fe359ec7-e7f8-9fe9-e80b-41a3ef593b08
[ 8643.444226] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 0: WIDTH CT Violation. Coordinates: (0x970, 0x0)
[ 8643.444239] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x500420=0x80000010 0x500434=0x970 0x500438=0x1200 0x50043c=0x0
[ 8643.444257] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 1: WIDTH CT Violation. Coordinates: (0x940, 0x0)
[ 8643.444268] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x508420=0x80000010 0x508434=0x940 0x508438=0x1200 0x50843c=0x0
[ 8643.444286] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 2: WIDTH CT Violation. Coordinates: (0x950, 0x0)
[ 8643.444297] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x510420=0x80000010 0x510434=0x950 0x510438=0x1200 0x51043c=0x0
[ 8643.444312] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 3: WIDTH CT Violation. Coordinates: (0x960, 0x0)
[ 8643.444320] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x518420=0x80000010 0x518434=0x960 0x518438=0x1200 0x51843c=0x0
[ 8643.444358] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ChID 0067, Class 0000b197, Offset 000015cc, Data 00010000

Repro:
1] Start Vulkan Game with Gsync enabled.
2] Tab Out from the game, switch desktop or just make something else focus.
3] Profit, game will crash and in Mad Max will produce the above XID error.

Hardware:
Nvidia MSI 970 Gaming
Asus ROG PG279Q Gsync Monitor

Software:
Arch Roling
Mad Max (Latest Vulkan Beta)
DOOM (Latest Steam version with Wine Staging 2.20)
Nvidia: 387.22

nvidia-bug-report.log.gz (305 KB)

Mad Max still an issue on; 387.34

438.911677] NVRM: GPU at PCI:0000:2a:00: GPU-fe359ec7-e7f8-9fe9-e80b-41a3ef593b08
[ 438.911681] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 0: WIDTH CT Violation. Coordinates: (0x970, 0x0)
[ 438.911689] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x500420=0x80000010 0x500434=0x970 0x500438=0x1200 0x50043c=0x0
[ 438.911701] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 1: WIDTH CT Violation. Coordinates: (0x940, 0x0)
[ 438.911707] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x508420=0x80000010 0x508434=0x940 0x508438=0x1200 0x50843c=0x0
[ 438.911717] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 2: WIDTH CT Violation. Coordinates: (0x950, 0x0)
[ 438.911723] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x510420=0x80000010 0x510434=0x950 0x510438=0x1200 0x51043c=0x0
[ 438.911733] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception on GPC 3: WIDTH CT Violation. Coordinates: (0x960, 0x0)
[ 438.911742] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ESR 0x518420=0x80000010 0x518434=0x960 0x518438=0x1200 0x51843c=0x0
[ 438.911768] NVRM: Xid (PCI:0000:2a:00): 13, Graphics Exception: ChID 004f, Class 0000b197, Offset 000015cc, Data 00010000

Hi,

Are you saying that DOOM no longer crashes with 387.34?

Does Mad Max still crash with G-SYNC off?

Does it reproduce with other games? For example, DOTA2?

What desktop environment are you using?

I did not try since I just assumed. DE is KDE \w Kwin that i first tested with, using Gnome atm but can try again later after work with KDE to see if there is any difference.

However with 387.34 on Gnome

  • [works] DOOM on Wine
  • [works] DOTA 2
  • [crash] Mad Max

K

Hi,

I contacted Feral Interactive about the Mad Max issue and they are investigating a fix.

Hey,

I’m getting the same-ish error when I run World of Warcraft in DX12 mode on WINE:

[322271.126956] NVRM: GPU at PCI:0000:08:00: GPU-aa03a635-c459-0d82-a2bc-27deb755feeb
[322271.126960] NVRM: Xid (PCI:0000:08:00): 13, pid=168824, Graphics Exception on GPC 0: WIDT
H CT Violation. Coordinates: (0x478, 0x15e)
[322271.126971] NVRM: Xid (PCI:0000:08:00): 13, pid=168824, Graphics Exception: ESR 0x500420=
0x80000010 0x500434=0x15e0478 0x500438=0x5001100 0x50043c=0x0
[322271.126985] NVRM: Xid (PCI:0000:08:00): 13, pid=168824, Graphics Exception on GPC 1: WIDT
H CT Violation. Coordinates: (0x4c0, 0x15e)
[322271.126994] NVRM: Xid (PCI:0000:08:00): 13, pid=168824, Graphics Exception: ESR 0x508420=
0x80000010 0x508434=0x15e04c0 0x508438=0x5001100 0x50843c=0x0
[322271.127006] NVRM: Xid (PCI:0000:08:00): 13, pid=168824, Graphics Exception on GPC 2: WIDT
H CT Violation. Coordinates: (0x475, 0x15e)
[322271.127015] NVRM: Xid (PCI:0000:08:00): 13, pid=168824, Graphics Exception: ESR 0x510420=
0x80000010 0x510434=0x15e0475 0x510438=0x5001100 0x51043c=0x0
[322271.127087] NVRM: Xid (PCI:0000:08:00): 13, pid=184626, Graphics Exception: ChID 0066, Cl
ass 0000c797, Offset 00000000, Data 00000000