Steam for Linux

Steam for Linux

Most Steam games crashing since recent NVIDIA Update
Up until a few days ago, I've been running games on Linux with Steam using 'optirun %command%' as a launch option to run the discrete gaphics. It was working perfectly.

Then, recently, I think around the time some updates came around from the xedgers repo for nvidia drivers, optirun/primusrun now crashes immediately when I start almost any of the games in my Steam library. The only way I can get them to work is doing the annoying NVIDIA 'official' method (i.e. switching to performance mode and rebooting... then switching back to power save and rebooting again... uggggh).

I looked in /var/log/syslog, and it apperas that this error comes up each time:
Sep 21 23:29:26 brian-GT60-Laptop bumblebeed[1844]: [XORG] (WW) "xmir" is not to be loaded by default. Skipping. Sep 21 23:29:26 brian-GT60-Laptop bumblebeed[1844]: [XORG] (WW) Unresolved symbol: fbGetGCPrivateKey Sep 21 23:29:26 brian-GT60-Laptop bumblebeed[1844]: [XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation. Sep 21 23:29:30 brian-GT60-Laptop kernel: [] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95) Sep 21 23:29:30 brian-GT60-Laptop kernel: [] [drm] Module unloaded Sep 21 23:29:30 brian-GT60-Laptop kernel: [] bbswitch: disabling discrete graphics Sep 21 23:29:30 brian-GT60-Laptop kernel: [] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95) Sep 21 23:29:30 brian-GT60-Laptop kernel: [] pci 0000:01:00.0: Refused to change power state, currently in D0 Sep 21 23:29:30 brian-GT60-Laptop bumblebeed[1844]: [XORG] (EE) Server terminated successfully (0). Closing log file. Sep 21 23:29:46 brian-GT60-Laptop acpid: client 5136[0:999] has disconnected

Does anyone have any idea what might be causing this? Any missing or broken packages perhaps? Or even a specific version of NVIDIA/Bumblebee I should rollback to?

Any help would be greatly appreciated. Thanks in advance.

Current NVIDIA Driver version: 343.22
Current Bumblebee version: 3.2.1-90

P.S. I've already tried rolling back the NVIDIA driver to 340 and 331, neither time with any luck :(
< >
Showing 1-15 of 24 comments
gudvinr Sep 23, 2014 @ 6:13am 
I've got same issue today. A lot of games (all of source-based) just doesn't start with errors like:
ERROR: ld.so: object '/home/username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. malloc: unknown:0: assertion botched free: called with unallocated block argument last command: (null) Aborting...Game removed: AppID 550 "Left 4 Dead 2", ProcID 11706

Ubuntu 14.04 and same versions of driver and bb
Last edited by gudvinr; Sep 24, 2014 @ 7:44am
TheGrumpyGhost Sep 23, 2014 @ 8:10am 
Could it be a Steam update? I have yet to have any luck with rolling back driver versions. I even tried rolling back Bumblebee to 3.2.1-5.
R3450N Sep 24, 2014 @ 2:16am 
Isn't Nvidia-343 in BETA still? I highly recommend rolling back.
gudvinr Sep 24, 2014 @ 3:34am 
Originally posted by Apocryphus:
Isn't Nvidia-343 in BETA still? I highly recommend rolling back.

Did you read the post? It happens even with 331 and 340 versions of nvidia drivers.
R3450N Sep 24, 2014 @ 6:25am 
Originally posted by gudvinr:
Originally posted by Apocryphus:
Isn't Nvidia-343 in BETA still? I highly recommend rolling back.

Did you read the post? It happens even with 331 and 340 versions of nvidia drivers.

Indeed, but my answer wasn't specific to the issue at hand, only for general purpose. The thing about GPU drivers is that when you roll them back certain portions of the driver may still remain because they're being used by the operating system. This is why one must always be careful when upgrading their GPU drivers, especially BETA ones; and it is for this Reason I dislike any distro that rolls beta drivers out mindlessly, regardless of they being 'tested' because one driver is tailored for many graphics cards. However, I will bear in mind that the next time I upgrade my graphics drivers I shall seek gudvinr's advice as to how it should be implemented in his capable hands.
TheGrumpyGhost Sep 24, 2014 @ 1:07pm 
Originally posted by Apocryphus:
This is why one must always be careful when upgrading their GPU drivers, especially BETA ones; and it is for this Reason I dislike any distro that rolls beta drivers out mindlessly, regardless of they being 'tested' because one driver is tailored for many graphics cards.

This isn't Linux Mint's fault. I subscribed to the xedgers repo (which pushes beta versions) because I needed it for optimus support a while back, and I never bothered to remove it. Partly my fault then I suppose, although there haven't been any problems like this until now.
R3450N Sep 24, 2014 @ 3:21pm 
Originally posted by LP.Gh0sT:
Originally posted by Apocryphus:
This is why one must always be careful when upgrading their GPU drivers, especially BETA ones; and it is for this Reason I dislike any distro that rolls beta drivers out mindlessly, regardless of they being 'tested' because one driver is tailored for many graphics cards.

This isn't Linux Mint's fault. I subscribed to the xedgers repo (which pushes beta versions) because I needed it for optimus support a while back, and I never bothered to remove it. Partly my fault then I suppose, although there haven't been any problems like this until now.

Yeh, you should actually use ppa-purge to get rid of xorg edgers. You may just have traces of the latest beta driver. To be honest, the most viable solution would've been to boot into LIVE mode and removed the graphics drivers since they're not being used concurrently. But now that you've mentioned Linux Mint I do err on the side of caution with them in general. I too have had a lot of problems with them on my laptop; one could say it was a GPU issue, but I thought it almost disastrous.
TheGrumpyGhost Sep 24, 2014 @ 3:26pm 
The problem appears to be with Steam. Almost every game prints this error to terminal before failing:

ERROR: ld.so: object '/home/brian/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. malloc: unknown:0: assertion botched free: called with unallocated block argument last command: (null)

Also, when I started with STEAM_RUNTIME=0, it printed this before failing to start:
You are missing the following 32-bit libraries, and Steam may not run:
libXrandr.so.2
libudev.so.0
libpangoft2-1.0.so.0
libpango-1.0.so.0
libgtk-x11-2.0.so.0
libgdk_pixbuf-2.0.so.0
libbz2.so.1.0
R3450N Sep 25, 2014 @ 3:18am 
Originally posted by LP.Gh0sT:
The problem appears to be with Steam. Almost every game prints this error to terminal before failing:

ERROR: ld.so: object '/home/brian/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. malloc: unknown:0: assertion botched free: called with unallocated block argument last command: (null)

Also, when I started with STEAM_RUNTIME=0, it printed this before failing to start:
You are missing the following 32-bit libraries, and Steam may not run:
libXrandr.so.2
libudev.so.0
libpangoft2-1.0.so.0
libpango-1.0.so.0
libgtk-x11-2.0.so.0
libgdk_pixbuf-2.0.so.0
libbz2.so.1.0

Have you tried manually installing the foresaid libraries?
gudvinr Sep 25, 2014 @ 3:55am 
Originally posted by LP.Gh0sT:
The problem appears to be with Steam. Almost every game prints this error to terminal before failing:

Which games are you tried to start? In my case, all Source-based games that i have are crashes during launch. Are you tried to launch any game that doesn't use Source engine?

I've done some research and created issue in steam-for-linux bugtracker: https://github.com/ValveSoftware/steam-for-linux/issues/3506

I think i found workaround. Try to start any game from console directly, not from steam library. Or you can try to add optirun in launch script in case of valve's games. It works for me at least.
Last edited by gudvinr; Sep 25, 2014 @ 4:47am
TheGrumpyGhost Sep 25, 2014 @ 4:16pm 
Originally posted by Apocryphus:
Have you tried manually installing the foresaid libraries?

I wouldn't know what packages they are all in, but it also isn't necessary because Steam runtime has them. The error only appears when it's disabled (I realized this after I posted).

Originally posted by gudvinr:

Which games are you tried to start? In my case, all Source-based games that i have are crashes during launch. Are you tried to launch any game that doesn't use Source engine?

I've done some research and created issue in steam-for-linux bugtracker: https://github.com/ValveSoftware/steam-for-linux/issues/3506

I think i found workaround. Try to start any game from console directly, not from steam library. Or you can try to add optirun in launch script in case of valve's games. It works for me at least.

All of them (Source and non-Source) EXCEPT for Paradox games (EU4 and CK2 both work). None of them will launch.
NoLunchForToday Sep 27, 2014 @ 9:57pm 
I am also facing this same problem, running GT750M on Ubuntu 14.04LTS, repo from xorg-edgers + bumblebee. So far I only have 2 games in my library, DOTA 2 and Don't Starve, and only DOTA 2 failed with primusrun.
TheGrumpyGhost Sep 30, 2014 @ 1:17pm 
95% confirmed this is an issue with the current version of Steam and its game launcher.

There is an open issue on GitHub here:
https://github.com/ValveSoftware/steam-for-linux/issues/3506
gudvinr Oct 2, 2014 @ 4:34am 
LP.Gh0sT, as you can see, this is the same link as in my previous post.
Last edited by gudvinr; Oct 2, 2014 @ 4:35am
TheGrumpyGhost Oct 2, 2014 @ 11:31am 
Originally posted by ..:
LP.Gh0sT, as you can see, this is the same link as in my previous post.

Huh, I forgot you had posted that. My apologies.
Last edited by TheGrumpyGhost; Oct 2, 2014 @ 11:31am
< >
Showing 1-15 of 24 comments
Per page: 1530 50