Archie May 3, 2013 @ 6:02pm
Could not load library matchmaking and game cache wipe
I downloaded left 4 dead 2 beta on my ubuntu 13.04, started it, and after vid error has popped up - "Could not load library matchmaking", so i've tried this suggestion http://forums.steampowered.com/forums/showthread.php?t=1239219 but it failed. So, whats here else to do? - lets try to verify game cache! "77632 files failed to verify" and steam started to download damn 11GB AGAIN! WTF, Valve?
Last edited by Archie; May 3, 2013 @ 6:10pm
Showing 1-15 of 54 comments
< >
Casimer the Adequately Skilled May 3, 2013 @ 6:27pm 
Hey, at least your hard drive didn't fail a quarter of the way through the download.

It's not like I can blame Valve for that, though.
RebootKid May 3, 2013 @ 8:44pm 
Having the exact same problem.

Are you, by chance, an Nvidia Optimus user? I'm seeing this behavior when I use Primusrun, but the game runs normally when I use the integrated card.
CyberXZT May 3, 2013 @ 9:23pm 
Also broken for me. (Nvidia Optimus User)
Archie May 3, 2013 @ 9:51pm 
Yep, using bumblebee. Anyway, guys, go try to play on Intel videocard. I was really surprised by good FPS at low settings (game still looking pretty good) and 1080p resolution. When i last time played l4d2 on windows machine with radeon 7660g (which way powerful than intel 4k) with same settings on 1080p - there was a noticable low framerate. Now i see the difference between windows version and linux, my rage time is gone, and i must thank Valve for such a good work on game.

Originally posted by RebootKid:
Having the exact same problem.

Are you, by chance, an Nvidia Optimus user? I'm seeing this behavior when I use Primusrun, but the game runs normally when I use the integrated card.
Last edited by Archie; May 3, 2013 @ 9:52pm
CyberXZT May 3, 2013 @ 9:52pm 
I have a working fix coming very soon! If someone could add me, I would really love to make sure this works online.
CyberXZT May 3, 2013 @ 10:02pm 
NOTE: A better solution (for some people) is available here. I recommend you try that solution before this one.

And here it is! This is only a temporary solution, hopefully Valve can fix it soon.

#!/bin/bash
# hl2.sh modified for L4D2 Beta and primusrun
# http://steamcommunity.com/groups/LinuxOptimus

GAMEROOT=$(cd "${0%/*}" && echo $PWD)
ulimit -n 2048
export __GL_THREADED_OPTIMIZATIONS=1
cd "$GAMEROOT"
if [ -f pathmatch.inf ]; then
export ENABLE_PATHMATCH=1
fi

# NOTE:
# You may need to change:
#
# vblank_mode=0 primusrun
# and
# ~/Steam/ubuntu12_32

LD_LIBRARY_PATH=~/Steam/ubuntu12_32:$LD_LIBRARY_PATH vblank_mode=0 primusrun ./hl2_linux -game left4dead2_beta -steam "$@"

Or if your prefer to wget it: http://cyberxzt.com/files/optimus/l4d2-hl2-primusrun.txt

Copy that script to "~/Steam/SteamApps/common/Left 4 Dead 2 Beta" (or wherever Steam is installed) and chmod/run it. Depending on your environment, you may need to change "vblank_mode=0 primusrun" and "~/Steam/ubuntu12_32" inside of the script. The Steam overlay will NOT work with this script. Anyone is free to friend me if they have any issues, etc. It is currently 1AM here so I may not be on for much longer though.

Edit: Multiplayer works. :D
Last edited by CyberXZT; May 5, 2013 @ 1:34pm
LordDrako May 4, 2013 @ 12:37am 
I tried your fix but it didn't help.
The patchmaking library cannot be loaded because of this error:
"dlopen: cannot load any more object with static TLS"
So the game is actually finding the library... something else seems to be broken :-(

Oh and yes, that happens only with primusrun. Running the game on the intel card works.
It appears that either one of the libs with the game or one of the bumblebee libs is compiled with the wrong TLS model :-(
CyberXZT May 4, 2013 @ 1:04am 
Originally posted by Lord Drako:
I tried your fix but it didn't help.
The patchmaking library cannot be loaded because of this error:
"dlopen: cannot load any more object with static TLS"
So the game is actually finding the library... something else seems to be broken :-(

Oh and yes, that happens only with primusrun. Running the game on the intel card works.
It appears that either one of the libs with the game or one of the bumblebee libs is compiled with the wrong TLS model :-(

I really have no idea, unfortunately. Have you tried just optirun?

And, I am off to bed...
Covered in bees!! May 4, 2013 @ 4:35am 
It won't work for me neither. I tried [LEMS] CyberXZT's trick, to no avail. I get the same error message as Lord Drako's, ie "dlopen: cannot load any more object with static TLS".
Heis May 4, 2013 @ 4:47am 
Getting this problem as well. Bumblebee 3.2 and primusrun.

Error not happening when using intel 4000.

EDIT: Reported this issue on https://github.com/ValveSoftware/steam-for-linux/issues/2383

Not sure if it is an issue with the game or with bumblebee, but Valve should know about it.
Last edited by Heis; May 4, 2013 @ 5:12am
ProChaser [Linux] May 4, 2013 @ 5:45am 
I experience the same issue with primusrun.
LordDrako May 4, 2013 @ 7:44am 
Couldn't test with optirun as the game suddenly told me that files (stuff in materials/ ) are missing at startup :/
that message (missing files) came with optirun/primusrun and normal start... the funny thing is that a check of the files showed no errors O.o
So I deleted everything...
Now I am waiting for it to download again :p
Last edited by LordDrako; May 4, 2013 @ 7:45am
Hossie May 4, 2013 @ 8:28am 
I'm not quite sure if this is actually a bumblebee issue, got the same error with your script (not quite sure what you changed) but also when running without optirun on the Intel HD.
Covered in bees!! May 4, 2013 @ 8:35am 
Originally posted by Hossie:
I'm not quite sure if this is actually a bumblebee issue, got the same error with your script (not quite sure what you changed) but also when running without optirun on the Intel HD.

As for me, the game can be launched without optirun/primusrun but with the integrated graphics card instead. Performances are not great but it remains playable.

I surmise this is really a Bumblebee issue.
CyberXZT May 4, 2013 @ 9:04am 
Originally posted by Hossie:
I'm not quite sure if this is actually a bumblebee issue, got the same error with your script (not quite sure what you changed) but also when running without optirun on the Intel HD.

The script is a modified version of hl2.sh that makes sure the engine checks the primusrun libraries before anything else. It is similar to the Team Fortress 2 script that was required before Valve fixed Optimus support.

I have no idea what that error means however after doing some research I found that it might be related to distro? So, what is everyone's distro? I am hearing that it is working on Ubuntu 13.04. Additionally, where is Steam located? For me, Steam is located in ~/Steam/ but I believe it has since changed?
Showing 1-15 of 54 comments
< >
Per page: 15 30 50