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 :(
< >
Se afișează 1-15 din 24 comentarii
gudvinr 23 sept. 2014 la 6:13 
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
Editat ultima dată de gudvinr; 24 sept. 2014 la 7:44
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 24 sept. 2014 la 2:16 
Isn't Nvidia-343 in BETA still? I highly recommend rolling back.
gudvinr 24 sept. 2014 la 3:34 
Postat inițial de 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 24 sept. 2014 la 6:25 
Postat inițial de gudvinr:
Postat inițial de 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.
Postat inițial de 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 24 sept. 2014 la 15:21 
Postat inițial de LP.Gh0sT:
Postat inițial de 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.
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 25 sept. 2014 la 3:18 
Postat inițial de 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 25 sept. 2014 la 3:55 
Postat inițial de 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.
Editat ultima dată de gudvinr; 25 sept. 2014 la 4:47
Postat inițial de 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).

Postat inițial de 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.
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.
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
LP.Gh0sT, as you can see, this is the same link as in my previous post.
Editat ultima dată de gudvinr; 2 oct. 2014 la 4:35
Postat inițial de ..:
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.
Editat ultima dată de TheGrumpyGhost; 2 oct. 2014 la 11:31
< >
Se afișează 1-15 din 24 comentarii
Per pagină: 1530 50