[Mesa-dev] [Bug 99055] Games hang / freeze completely

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 15 11:04:53 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=99055

--- Comment #17 from Eero Tamminen <eero.t.tamminen at intel.com> ---
(In reply to Kenneth Graunke from comment #15)
> Renaming the binaries or editing scripts installed with the game is liable
> to break when new updates for the game comes out, because Steam will
> overwrite those changes.

Only very few (if any) games include their own libstdc++, so the main issue is
one included with Steam's Ubuntu 12.04 snapshot.  Does that get (ever) updated?


> (In reply to Eero Tamminen from comment #14)
> > It's harder to guarantee that the environment variable gets always passed to
> > the game, better just to rename the offending binary to be sure.
> 
> It's really easy, actually, you just right click on the game in Steam, hit
> properties, click the [Set Launch Options...] and enter
> 
> LD_PRELOAD='/usr/$LIB/libstdc++.so.6':$LD_PRELOAD %command%
> 
> (or whatever you want before/after %command%)

With people having more games, editing launch options for every one of them 
would be really tedious.


(In reply to Michel Dänzer from comment #16)
> Setting LD_PRELOAD when launching Steam has worked for every game I've tried
> so far. YMMV.

Good to know.  In general, it would get lost if there's any suid binary or
something sets LD_PRELOAD, but those would be really ugly things to do in
release versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161215/0ffe4aec/attachment.html>


More information about the mesa-dev mailing list