You are not logged in.

#1 2016-05-14 12:11:05

Eye
Member
Registered: 2010-11-13
Posts: 22

Steam games only fail to start when i use bumblebee?

My laptop has 2 GPUs: GeForce 840M and Intel's integrated graphics.
I'd like to use my dedicated geforce GPU to play some steam games.
So i got bumblebee installed and I think it's working (I can run "# optirun glxspheres64" and it has increased performance than just "# glxsphere") but steam doesn't work (i think it's because of lib32 problems but I think I got everything installed so I don't know anymore)

I have everything updated considering it's a fresh install.

When I ran steam with bumblebee output:

[quant@arch ~]$ env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' optirun /usr/bin/steam %U
/home/quant/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
/home/quant/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
Running Steam on arch  64-bit
/home/quant/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)

(steam:2310): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "xfce",
Installing breakpad exception handler for appid(steam)/version(1461972496)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
[0514/133652:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
[0514/133652:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Installing breakpad exception handler for appid(steamwebhelper)/version(20160429221814)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461968294)
[0514/133652:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
Installing breakpad exception handler for appid(steamwebhelper)/version(20160429221814)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461972496)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Created shared memory when not owner SteamController_Shared_mem
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Generating new string page texture 5: 128x256, total string texture memory is 131,07 KB
Generating new string page texture 6: 48x256, total string texture memory is 180,22 KB
Generating new string page texture 7: 256x256, total string texture memory is 442,37 KB
Generating new string page texture 8: 64x256, total string texture memory is 507,90 KB

and the login window looks wierd like this but after loggin everything seems to be ok:
Captura_de_ecr_2016_05_14_13_39_36.jpg

then I login and when i start Counter-Strike: Source this is the output:

Game update: AppID 240 "Counter-Strike: Source", ProcID 3231, IP 0.0.0.0:0
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 3233 != 3232, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/home/quant/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh: line 72:  3235 Segmentation fault      (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 240 "Counter-Strike: Source", ProcID 3231 
No cached sticky mapping in ActivateActionSet.

When I ran without bumblebee all is good and games start:

[quant@arch ~]$ env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' /usr/bin/steam %U
/home/quant/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
/home/quant/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
Running Steam on arch  64-bit
/home/quant/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)

(steam:2865): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "xfce",
Installing breakpad exception handler for appid(steam)/version(1461972496)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
[0514/135646:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
[0514/135646:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
Installing breakpad exception handler for appid(steamwebhelper)/version(20160429221814)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461968294)
[0514/135646:ERROR:main_delegate.cc(779)] Could not load cef_extensions.pak
Installing breakpad exception handler for appid(steamwebhelper)/version(20160429221814)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461972496)
Installing breakpad exception handler for appid(steamwebhelper)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
Created shared memory when not owner SteamController_Shared_mem
Installing breakpad exception handler for appid(steam)/version(1461972496)
Installing breakpad exception handler for appid(steam)/version(1461972496)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
Generating new string page texture 7: 128x256, total string texture memory is 131,07 KB
Generating new string page texture 8: 48x256, total string texture memory is 180,22 KB
Generating new string page texture 9: 256x256, total string texture memory is 442,37 KB
Generating new string page texture 10: 64x256, total string texture memory is 507,90 KB

and the login window looks normal now:
Captura_de_ecr_2016_05_14_13_58_21.jpg

In this case games start and run OK.


Any help will be apreciated.
Thank you.

Last edited by Eye (2016-05-14 12:12:43)

Offline

#2 2016-05-15 14:22:19

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Steam games only fail to start when i use bumblebee?

Why are you starting steam with bumblebee? You should be starting steam as normal and prepending optirun/primusrun (use the latter if in doubt, you'll need to install it) to the game's command.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2016-05-15 16:07:38

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: Steam games only fail to start when i use bumblebee?

ngoonee wrote:

Why are you starting steam with bumblebee? You should be starting steam as normal and prepending optirun/primusrun (use the latter if in doubt, you'll need to install it) to the game's command.

Good question, I thought I had to for games to use dedicated GPU. So to do that I add "optirun" to launch options of each game and they will run using the dedicated GPU?
Thanks.

Offline

#4 2016-05-15 22:06:22

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Steam games only fail to start when i use bumblebee?

https://wiki.archlinux.org/index.php/St … m_commands

Your account isn't new, but did you seriously just skip past checking the wiki before posting a question?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2016-05-15 22:38:26

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: Steam games only fail to start when i use bumblebee?

I've checked the whole arch wiki, troubleshooting, this forum and used an evil search engine to find solutions to my problem but no luck. I came here on last resource. There is no mention to this problem anywhere I could find on the internet.

I tried adding "optirun %command%" to the game launch options but obtained the same error:

Game update: AppID 240 "Counter-Strike: Source", ProcID 3413, IP 0.0.0.0:0
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 3421 != 3418, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 3420 != 3418, skipping destruction (fork without exec?)
pid 3425 != 3418, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 3424 != 3418, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 3428 != 3418, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/quant/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
/home/quant/.local/share/Steam/steamapps/common/Counter-Strike Source/hl2.sh: line 72:  3430 Segmentation fault      (core dumped) ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 240 "Counter-Strike: Source", ProcID 3413 

Last edited by Eye (2016-05-15 22:40:10)

Offline

#6 2016-05-17 12:15:38

Budul
Member
Registered: 2016-05-17
Posts: 1

Re: Steam games only fail to start when i use bumblebee?

I have the same problem.

Offline

#7 2016-05-28 16:09:02

Eye
Member
Registered: 2010-11-13
Posts: 22

Re: Steam games only fail to start when i use bumblebee?

Budul wrote:

I have the same problem.

I fixed for one game: launching Counter-Strike: Source by adding this

LD_PRELOAD=/usr/lib/nvidia/libGL.so optirun %command%

to the launch options of that game (Right-Mouse-Click the game > Properties > Set Launch Options... ).
This is working for CS:S but Garry's Mod seems to crash using this method, not imediatly after the game launches but when it is loading the inicial screen bar.

Last edited by Eye (2016-05-28 16:41:57)

Offline

Board footer

Powered by FluxBB