0

After an effortless and straightforward upgrade of my Linux Mint Cinnamon to version 21.2, I got a malfunctioning Nvidia driver again, it booted alright. It showed my desktop, but I could not launch Steam, same as I already described here:

Unable to launch Steam on Nvidia 495 driver, 5.4 kernel, Linux Mint 20.3

Just a snippet from dmesg:

kernel BUG at drivers/gpu/drm/drm_gem.c:154!

How do I make Steam work again?

Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309

1 Answers1

0

UPDATE

Steam appears to launch only from the terminal, not from the menu or a desktop icon. But, remember, reboot first before trying to launch it, because if it fails to run, it won't ever run again even from the terminal, this is most confusing. So, I hope to help at least somewhat. Will be updating if I find a better solution.

Editing the .desktop file, and commenting out these two lines, also did the trick, at least it seems:

#PrefersNonDefaultGPU=true
#X-KDE-RunOnDiscreteGpu=true

  1. I wondered why a simple downgrade did not do the job. First, version 530 is somehow treated the same as version 535, so you need to downgrade to version 525.

  2. Then reboot and upgrade back to version 535. But beware, there is some glitch, at least on my laptop, which causes my machine with this version to go into a black screen. Note: This issue when running the install command below is of no problem, wait a moment 15 minutes, for example, more info in my answer here:

    How to install the latest Nvidia drivers on Linux Mint

  3. Press the power button once briefly, it should safely power down your machine even if the screen was black. Tested.


Note: Always install the driver with the generic command like in the above answer, snippet:

sudo apt-get install --install-recommends nvidia-driver-535

(I prefer to avoid using any GUI driver managers as I said in the above answer.)

Vlastimil Burián
  • 27,586
  • 56
  • 179
  • 309