ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
647 stars 75 forks source link

Source games doesn't start via optirun with nvidia drivers #1830

Closed gudvinr closed 7 years ago

gudvinr commented 10 years ago

I'm using Ubuntu 14.04 x86_64 CPU: Intel Core i3-3210M Intel GPU: HD3k Nvidia GPU: 520M

I'he installed nvidia-331-updates (331.38) drivers from official repository and installed bumblebee (3.2.1) with primus.

System information from steam Steam starting log (Before launch any game)

And when I try to start any source-based game (L4D2 or CS:GO) with launch options vblank_mode=0 optirun -b primus %command%

nothing happens and I've got only some messages in console:

Game update: AppID 550 "Left 4 Dead 2", ProcID 9399, IP 0.0.0.0:0
ERROR: ld.so: object '/home/gudvin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/gudvin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/gudvin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ATTENTION: default value of option vblank_mode overridden by environment.

malloc: unknown:0: assertion botched
free: called with unallocated block argument
last command: (null)
Aborting...Game removed: AppID 550 "Left 4 Dead 2", ProcID 9399

Also, there are no minidumps in /tmp/dumps

This thing happens only with source-based games as I noticed, because Killing Floor runs fine, for example. Also, those games without optirun (on intel card) runs fine.

AnAkkk commented 10 years ago

You haven't installed the 32bit version of primusrun.

gudvinr commented 10 years ago

No, I have installed primusrun for i386.

kisak-valve commented 7 years ago

Closing in favor of https://github.com/ValveSoftware/steam-for-linux/issues/3506, where this was investigated.