You are not logged in.
Hello Everybody,
I have been trying to start steam games with in set launch options.
primusrun %command%
The problem is though, that I get an error window saying "Failed to create GL context".
So I tried to preload the library with:
LD_PRELOAD=/usr/lib32/nvidia/libGL.so optirun -b primus %command%
Starting the game gives:
When I run the game with the corresponding mesa library I don`t get any errors, but the performance seems lacking with around 30 FPS. I used to play CS go with around 90-99 FPS when I was running Windows 10.
So I suspect it will run properly with the proprietary library. I hope you guys can help me .
EDIT: Right I forgot. I run a 940M.
Last edited by wowa (2016-03-28 21:15:28)
Offline
I have the same problem. When trying to launch CS:GO with the custom command :
primusrun %command% &> ~/csgo.log
I get :
% cat csgo.log
ERROR: ld.so: object '/home/me/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/me/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 11256 != 11252, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/me/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/me/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
SDL video target is 'x11'
Failed to create GL context: Could not create GL context: BadValue (integer parameter out of range for operation)/home/me/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh: line 57: 11258 Segmentation fault (core dumped) ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
I didn't find a fix for this problem yet.
Last edited by Unda (2016-03-29 19:45:23)
Offline
After the update today, I do not get any error windows. Though my games still do not start and crash immediately. I logged my output to a file like Unda:
ERROR: ld.so: object '/home/wowa/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/wowa/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/bin/bash: /home/wowa/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/primus/libGL.so.1)
Offline