-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A lot of games doesn't start from steam library with optirun, primus and nvidia drivers #3506
Comments
The same issue has been happening to me for the past week or so on Linux Mint 17. None of my games (Source/Non-source) will run with optirun EXCEPT for Paradox games (don't ask why). CK2 and EU4 will run normally. NVIDIA Driver version: 340.32, bumblebee 3.2.1-90 I get similar errors to what's posted above, as well as the following:
and
There are also a bunch of Let me know if you would like me to post any more of the console output or log records. |
I have the same problem. All Source games don't start on dedicated nVidia graphics card. I was playing CS:GO yesterday and everything was fine. Also, I didn't update anything related to nVidia drivers. Games that I tried and didn't work:
Games that I tried and worked:
Logs (~/.steam/error.log) Game update: AppID 550 "Left 4 Dead 2", ProcID 4528, IP 0.0.0.0:0 malloc: unknown:0: assertion botched HW/SW Info
|
Interesting, Amnesia: TDD isn't working for me, but Amensia AMFP is (with primusrun). |
For some reason both Amnesia games don't work for me anymore. By the way I have Arch Linux installed in dual boot on my second hard drive and Steam, Source games and Bumblebee work very well. It seems that only Debian-based distributions are affected. |
Same situation here (tried to run Dota 2)... Error log: http://pastebin.com/evupM0Ev System details: |
Same situation here (only Valve games: HL2, Portal 2, L4D2) Logs: malloc: unknown:0: assertion botched My system details: |
Do you have the xorg-edgers ppa (or something similar) added? Some updates before October broke my lightdm and Steam games in optirun/primusrun for me. I just used ppa-purge (from the xorg-edgers ppa) and installed nvidia-331 afterwards. This is on Ubuntu though, YMMV. |
Thanks zhongfu. Removing xorg-edgers help, now on nvidia-331 games are working. |
Tried zhongfu's method, purge xorg-edgers and it works again, thanks! |
You're welcome! I personally spent hours trying to fix this, so I just wanted to share this to save people from pulling out their hair. |
Any idea how can I fix it on Debian? I don't use Xorg-edgers or anything like that. I'd try downgrading the broken package but I have no idea which one is it. Downgrading nvidia drivers is impossible (dependency hell). |
I'm not exactly sure what was wrong, but I think it was the X server packages that broke it. Did it start after you upgraded any package? |
No, my system was up to date all the time and it didn't work. But I finally found temporary solution for Debian Sid. If anyone is interested, here is how I fixed it.
|
@mattyy1hp : Thank you. It fixed the problem. For those who don't know where to grab it, libdrm-intel1 is available here: http://snapshot.debian.org/archive/debian/20140810T163814Z/pool/main/libd/libdrm/ |
@mattyy1hp and @dbkblk Thanks a lot. I've been searching for days how to fix that. notes for newbs to debian (and derivates): download the packages and use "dpkg -i libdrm-intel1_2.4.56-1_amd64.deb libdrm-intel1_2.4.56-1_i386.deb" to install them. |
@Aryetis You can also do "sudo apt-mark hold libdrm-intel1" to prevent the package from upgrading BUT be careful, you'll have to do "sudo apt-mark unhold libdrm-intel1" once the fix will be packaged. |
Cross-reference: https://bugs.freedesktop.org/show_bug.cgi?id=86043 |
Came in here to thank @mattyy1hp for the fix. A big thank you @mattyy1hp |
You're welcome. If anyone is looking for the easiest way to fix it on Debian Jessie/Sid, here is what I did:
|
Wow, thanks a lot mattyy, I've been stuck on this since early this morning after switching my system to sid, it was driving me crazy. It totally fixed it, you are awesome man! |
u dont have to hold anthing, just copy the libdrm_intel*.so files to |
@samdraz thanks, that's a good tip! |
I did a bisect here https://bugs.freedesktop.org/show_bug.cgi?id=86043, so hopefully we'll have a fix soon. |
@mattyy1hp thanks, got it to work! |
Copying the libdrm_intel*.so files to ubuntu12_32 and ubuntu12_64 folders in .steam at home directory did solve the issue for me. Both, the 32 and 64 bit were necessary. Thanks to everyone proposing this! |
I don't know if anyone mentioned this, but if you can, upgrade to Linux mint 17.2 MATE. The update log mentions improvements and fixes on the exact 3 pieces of hardware in the title that you mentioned. |
Thanks @BogdanOlar , your script fixes the issue , tested at a laptop with a GeForce GTX 670M Ubuntu 15.04 3.19.0-16-generic x86_64 , NVIDIA 346.59 using bumblebee , adding primusrun %command% at Launch Properties..! |
@mattyy1hp thanks a lot!! @BogdanOlar thanks to you too for the script. Does it bothers you that I have uploaded it here?: (it's my system install scripts repo) https://github.com/fisadev/system-install |
@BogdanOlar HELL YEEEAH!! Thanks a lot ;) |
Your script saved my day, thank you! |
Any news from Intel devs about this issue ? |
@Chocanto There's not much to be said, last I heard this is fixed with the newest libdrm (2.4.61 or newer) used with new nvidia-drivers. Of course, this doesn't help binary distros that ship the problematic versions. |
@Tele42 Ok, thank you for your answer. At least it's fixed, users will only have to wait for an update of their binary repos. |
Just pasting this into games' Launch Options did the trick. Bumblebee works perfect now.
Now i can play ARMA 3 on Linux! And M&B Warband works better than on Windows. Woot! |
LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 optirun %command% Works for me. Using Archlinux and trying to play Civ5 |
files from http://packages.debian.org/sid/libdrm-intel1 fixes most issues |
@BogdanOlar , thanks for the script, it really saved me. But really, this bug is open for a year now, where is Valve staff? |
@woodgoblin Technically it's not their bug. It seems to be a bug in one version of Intel's libdrm package (it seems to have since been fixed). Unfortunately, that version is what comes out of the box in Ubuntu 14/15 and Linux Mint 17.x. Still, they really should have some kind of workaround built into Steam so people don't have to go through the pain of dealing with this. |
Worked for me. Debian Stable with Backports (nvidia-driver, xserver-xorg-video-intel, bumblebee-nvidia, primus). @BogdanOlar , thank you for the script. |
On latest drivers nvidia and bumblee/primusrun it still won't work and some games freeze (example: Wasteland 2, CS:GO). It works only with intel integrated card (Core i5 4th Gen., NVidia GT730M) |
Hello. Do not run the game Knock-Knock, in the terminal gives: |
I tried the script above but it does not work. Here is how I fix it on my machine (tested with Dota 2):
Then open steam, right click on Dota 2, properties, set launch options to Distro: Ubuntu 16.04.1 64 bit I followed those steps here https://bbs.archlinux.org/viewtopic.php?id=206068 |
FYI, for all the folks on a debian stable based distro (therefore still using libdrm-intel1 2.4.58 system-wide by default) who were still extracting the libraries to the local steam directory to fix this issue and avoid having to downgrade system-wide. It appears that something recently changed with LD_PRELOAD, and steam wasn't looking at my local files anymore, always using the system wide libraries instead.
(Make sure you have the backports in your sources) |
@D0rd, the change is the addition of |
Hi guys , i'm suffering from a similar ( at least to me ) situation. My system has GTX 1050 , which i'm using with 384.98 driver with Nvidia Prime ( not Bumblebee ) But some Feral games are not working while some of them works. Not working: Shadow of Mordor , Tomb Raider , Dirt Rally Working : Shogun 2 Total War , Medieval 2 Total War I'm using Mint 18.2. |
Earlier I thought that only Source-based games are falls during start as i described here, but other games also doesn't work.
Overlay is working on intel card and in games that launches. And when i tried to disable overlay games doesn't launches too. So I guess it's not overlay-related issue.
Also, games that falls with optirun runs fine without them.
And one important thing that i noticed - some of games that fall during start from steam runs fine with optirun from console. So, it's probably not nvidia or bumblebee-related issue.
Also, in case of Source-based games (L4D2 for example) when I added optirun after ${DEBUGGER} in hl2.sh it also runs fine. So I think is problem in handling launch params in Steam or somewhere else in place related to launch process.
My hardware and some system info:
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 one of my games with launch options
vblank_mode=0 optirun -b primus %command%
nothing happens and I've got only some messages in console:
Also, there are no minidumps in /tmp/dumps
The text was updated successfully, but these errors were encountered: