# While playing game (Lutris/wine) computer crashes, displays are disconnected

**URL:** <https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505>\
**Category:** Linux\
**Created:** [April 22, 2024, 8:59pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505 "2024-04-22T20:59:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 22, 2024, 8:59pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/1 "2024-04-22T20:59:34Z")

</div>

nVidia RTX 3060Ti, driver 550.67 (latest from the distro).

On Pop! OS (latest updates installed), while playing games using Lutris (Windows games, using wine) displays got disconnected (“no signal” message), computer crashes (I know this because of the sound - last played one is looped and plays non-stop). It started ocuring about 2 days ago, before everything worked ok.

I have found such errors in logs from the time it crashed:

nvidia-modeset: ERROR: GPU:0: Failed to query display engine channel state: 0x0000c67e:4:0:0x0000000f  
NVRM: Xid (PCI:0000:01:00): 79, pid=‘’, name=, GPU has fallen off the bus.  
NVRM: GPU at PCI:0000:01:00: GPU-18b3f147-bc78-3f10-613e-057910c70878

Otherwise it works normal while using 3D apps (Blender, Plasticity, …).

[nvidia-bug-report.log.gz](https://forums.developer.nvidia.com/uploads/short-url/uwxMZQbGCbEOtKyb032fhFMGJQh.gz) (523.0 KB)

EDIT: turned on iGPU and connected second monitor to it, to see what is happening when the crash occurs. GPU was around 50-55 deg C while playing the game, computer didn’t crashed, just the game - the display with nVidia got disconnected and GPU have “fallen out of the bus”. System temperatures were also around 45 C.  
Under windows everything works perfectly, even with way more demanding games. Apps like Blender (generally, 3D) and GPU rendering works normally, both under Linux and Windows.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 23, 2024, 1:23pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/2 "2024-04-23T13:23:35Z")

</div>

UPDATE: I found that if I switch PowerMizer setting from “Auto” to “Prefer Maximum Performance” - the crashes are not occuring, at least for now. Found it somewhere in the internet, it was referring to some other problem, but tried it anyway.

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 23, 2024, 1:57pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/3 "2024-04-23T13:57:58Z")

</div>

You’re getting loads of pcie errors from your nvme device, breaking the bus so the nvidia gpu flies off. Please try disabling aspm by setting kernel parameter pcie\_aspm=off  
If that doesn’t help, check your nvme connection, check for a bios update.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 23, 2024, 7:10pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/4 "2024-04-23T19:10:54Z")

</div>

It have nothing to do with that NVME drive error - it’s behaving like that from forever - and the problem started occurring only three days ago. BIOS is the latest from Asus (motherboard: Asus ROG Strix Z790-I). Checked disk connection.

UPDATE: PowerMizer trick worked yesterday for some time. Today back to crashes.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 23, 2024, 10:08pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/5 "2024-04-23T22:08:53Z")

</div>

UPDATE: I have removed all nvidia drivers and installed -server version.

1. main problem still exists
2. not getting errors about NVME anymore, I’m assuming those were caused by nvidia drivers (it’s basically the only change I have made)
3. pcie\_asmp=off didn’t fix the problem (nor nvme errors)

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 7:20am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/6 "2024-04-24T07:20:02Z")

</div>

Then you’re down to Xid 79 standard procedures. Monitor temperatures, reseat power connectors/the card in its slot, check/replace PSU. If that doesn’t yield anything, the gpu is on its way out.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 10:50am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/7 "2024-04-24T10:50:16Z")

</div>

I would agree with that - if … there would be any issues under Windows. No crashes, problems, etc. Same games running flawlessly.  
And I’m using this system mainly for work - big 3D projects and GPU rendering, still without any issues.

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 10:54am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/8 "2024-04-24T10:54:23Z")

</div>

Gaming is neither graphics nor cuda, Windows is not Linux, but an Xid 79 is still an Xid 79.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 11:04am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/9 "2024-04-24T11:04:39Z")

</div>

What are you talking about? :D If the card works under windows without any problems - and NOT under Linux - it’s software issue. Also, under Linux I was playing rather not demanding titles, like WoT or Fallout 4 - with GPU temps around 50-60 deg C. Under windows it runs Cyberpunk without a glitch nor crashes :)

Xid 79 - at least by NVidia offical docs - can be hardware issue, right - but also might be a problem with the driver (source: [XID Errors :: GPU Deployment and Management Documentation](https://docs.nvidia.com/deploy/xid-errors/index.html)) - and everything points to second option.

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 11:08am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/10 "2024-04-24T11:08:58Z")

</div>

> [@jarek\_dudzinski](#):
>
> and everything points to second option.

No. Forget about that, it’s an illusion you’re talking yourself into.  
It can be a driver issue, but only on notebooks in very, very, very rare cases, mostly model specific. You have a desktop., Xid 79 is hardware, always. You’re not the one in a billion case.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 11:17am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/11 "2024-04-24T11:17:21Z")

</div>

So why everything work correctly under Windows, even in more taxing workloads? There is some problem in Linux - either driver, or something with support for other components.  
Can it be, for example, problem with motherboard support under linux? It’s specific one, as it’s ITX. One of nvme slots (the one that was throwing errors) can be connected directly to CPU PCIE or bridge - in the first case it supports Gen5 (but GPU is limited to 8x - it’s called bifurcation in bios), in second Gen4 and GPU have full 16x lanes to itself. I’m using second option.

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 11:26am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/12 "2024-04-24T11:26:02Z")

</div>

Might be. Telling by the amount of ACPI errors in the log, the system bios doesn’t have a good quality. Checking for an update is always worth a shot.  
If you can’t fix the pcie errors from the nvme, you should at least quieten them, setting pci=noaer as kernel parameter. The messages itself are also blocking the bus. To check for PSU issues, you can try limiting clocks to avoid boost spikes (the linux driver is clocking more aggressively than the Windows driver) e.g. nvidia-smi -lgc 300,1400

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 11:29am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/13 "2024-04-24T11:29:35Z")

</div>

As I mentioned before, those nvme errors stopped when I purged nvidia driver from the system and installed -server version. So there is something going on with the driver. BIOS is the latest one, 2202 from 9 days ago.

nvidia-smi … - how to check current values it’s using? can’t find that option in --help

EDIT: PSU is quality 850W SFX - overkill for 3060Ti and i7-13 series, should be good even for 3090.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 1:31pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/14 "2024-04-24T13:31:33Z")

</div>

Wait a second… Your suggestion about nvidia-smi and clocking lead me to checking something.

I’ve checked what clock speeds are used in NVidia Settings: PowerMizer is showing 270-2160 MHz at level 4 (max). Then I checked specs of the card manufacturer (Gigabyte RTX 3060Ti Eagle): it states that max boost is 1695 MHz…

Is this me, or the driver is applying WAY to high clocks for my GPU? Overclock from ~1700 to 2160 MHz is huge…

UPDATE: after applying limits (sudo nvidia-smi -lgc 270,1695) no more crashes (for now), and … FPS jumped from 160-190 to ~320-350. There is definitely something wrong with the clock speeds the driver is applying by default…

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 2:56pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/15 "2024-04-24T14:56:12Z")

</div>

Starting with Turing, “max clocks”! displayed by nvidia-smi and nvidia-settings are merely theoretical limits, never used and reached.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 3:01pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/16 "2024-04-24T15:01:19Z")

</div>

Ummm… I don’t fully understand what you mean - the PowerMizer displays actual clock speeds (Graphics clock: …) And according to those my GPU reached this maximum of 2160 MHz when it was crashing - and by the manufacturer specs, it NEVER should.

Now, after applying nvidia-smi -lgc 270,1695 it’s reaching max of 1695 MHz… and no crashes.

How to make this setting permanent, even after restarts?

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 3:09pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/17 "2024-04-24T15:09:08Z")

</div>

You’ll have to create a systemd unit for it.  
If it’s crashing when boosting to high clocks, the psu is breaking down on power spikes.

---

<div class="post-metadata">

**Author:** ![jarek\_dudzinski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jarek\_dudzinski](https://forums.developer.nvidia.com/u/jarek_dudzinski)\
**Post date:** [April 24, 2024, 3:17pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/18 "2024-04-24T15:17:54Z")

</div>

Sorry, but this is bullshit - I was using this PSU before and I was overclocking CPU (reached 5.1 at all cores without any issues) - it can withstand much more spikes. And for i7 and 3060Ti it’s overkill already at 850W.

The real problem lies in the clock speeds - why driver is applying such high clocks to GPU? I’ve checked it under Windows, and GPU clock never exceeded 1750 MHz.  
This could lead to just killing GPU. We are talking about HUGE overclock from ~1700 to ~2150 MHz…

---

<div class="post-metadata">

**Author:** ![generix](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/generix/32/16024_2.png) [@generix](https://forums.developer.nvidia.com/u/generix)\
**Post date:** [April 24, 2024, 3:18pm UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/19 "2024-04-24T15:18:24Z")

</div>

Do what you want, I’m out.

---

<div class="post-metadata">

**Author:** ![hitbuyi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hitbuyi](https://forums.developer.nvidia.com/u/hitbuyi)\
**Post date:** [July 23, 2024, 8:07am UTC](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505/20 "2024-07-23T08:07:17Z")

</div>

I have the similar problem, my environment  
0, ubuntu version: 20.04  
1, nvidia driver version is 535.183.01,  
2 wine version 8.0  
3, wine application wechat3.7

ubuntu crashed casually when wechat is running, when nvidia is set to “Performance” mode

I set nvidia to "on-Demanded " mode to fix this problem, at cost of that nvidia GPU not used for other applications, just for computing

[Next page](https://forums.developer.nvidia.com/t/while-playing-game-lutris-wine-computer-crashes-displays-are-disconnected/290505.md?page=2)
