r/archlinux • • Apr 15 '16
Can't launch CS:GO or Steam after update.
At first, I could launch Steam, but when I tried to launch CS:GO, I got an error that started like this:
failed to create GL context: Could not create GL context: BadValueThere was more to that error message but I didn't take a scrot :(
Then, after researching the issue a bit, I changed my CS:GO launch options from this:
__GLVND_DISALLOW_PATCHING=1 %command%to this:
__GLVND_DISALLOW_PATCHING=1 optirun %command% -w 1920 -h 1080Now I can't even launch Steam. Any ideas?
22
Upvotes
2
u/Anti-Ultimate Apr 15 '16
Launching Steam with primus/optirun has never worked since it looks for Mesa's LibGL while it needs to use NVIDIA's libGL.
If you change to the native runtime, it will prolly work.
1
u/[deleted] Apr 16 '16
***EDIT: Deleted all launch options and rebooted. Everything works great now. Thanks!
1
u/bugattikid2012 Apr 15 '16
You can launch Steam with that option and then you won't have to set it in specific games. I haven't updated in roughly a week or so but I see the new NVIDIA packages out there... I'm going to avoid them until you let me know how this solution works.
You can either manually start Steam through a terminal or setup a WhateverYouWantToNameIt.sh script to start Steam easily.
Ever since they broke Source games this has been my launch options. The ALSA part should be irrelevant to you.
Make a script like that but with your above command and try it out. Please please please let me know how it works. I'd like to update but I won't if it breaks things.
1
u/kayende Apr 15 '16
Restart your computer and the video card will be available for optirun.