solus-project / linux-steam-integration

Helper for enabling better Steam integration on Linux
GNU Lesser General Public License v2.1
432 stars 19 forks source link

Black Mesa fails with libGL error #41

Closed magicmyth closed 7 years ago

magicmyth commented 7 years ago

With my Radeon R7 370 using Radeonsi Black Mesa will not load unless I remove libstdc++.so.6 in the game's bin folder. Trying to launch the game results in the usual:

libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  100
  Current serial number in output stream:  101
Game removed: AppID 362890 "", ProcID 24451

I've attached a log of Steam's output: steam-black-mesa.log

ikeydoherty commented 7 years ago

Uh? Can I see a tree contents? We already blacklisted libstdc++ and fixed this once, Wtf are they doing now..

magicmyth commented 7 years ago

I take it you are asking for a file tree list of the game's folder? If so find below: black-mesa--file-tree.txt

ikeydoherty commented 7 years ago

You must be using outdated LSI or something, because I explicitly fixed Black Mesa already

screenshot from 2017-11-24 13-48-09

Fixed in: https://github.com/solus-project/linux-steam-integration/releases/tag/v0.5

From your output it actually looks like you have LSI's runtime disabled and your using Steam, which is something that LSI cannot and will not help with

 ✓  ufee1dead@ironhide  ~  cat /proc/15524/maps|grep home
08048000-08049000 r-xp 00000000 103:03 11816935                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux
08049000-0804a000 r--p 00000000 103:03 11816935                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux
0804a000-0804b000 rw-p 00001000 103:03 11816935                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux
bb15d000-bb3e9000 r-xp 00000000 103:03 11816901                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/ServerBrowser.so
bb3e9000-bb3ea000 r--p 0028b000 103:03 11816901                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/ServerBrowser.so
bb3ea000-bb3eb000 rw-p 0028c000 103:03 11816901                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/ServerBrowser.so
bbf82000-bc583000 r-xp 00000000 103:03 11816875                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/GameUI.so
bc583000-bc584000 r--p 00600000 103:03 11816875                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/GameUI.so
bc584000-bc586000 rw-p 00601000 103:03 11816875                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/GameUI.so
c1b10000-c2851000 r-xp 00000000 103:03 11816923                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so
c2851000-c2852000 r--p 00d41000 103:03 11816923                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so
c2852000-c28c2000 rw-p 00d42000 103:03 11816923                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so
c3e92000-c3ecf000 r-xp 00000000 103:03 11816908                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/soundemittersystem.so
c3ecf000-c3ed0000 r--p 0003c000 103:03 11816908                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/soundemittersystem.so
c3ed0000-c3ed1000 rw-p 0003d000 103:03 11816908                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/soundemittersystem.so
c3ed5000-c4a25000 r-xp 00000000 103:03 11816907                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/client.so
c4a25000-c4a26000 r--p 00b50000 103:03 11816907                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/client.so
c4a26000-c4a45000 rw-p 00b51000 103:03 11816907                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/client.so
e5657000-e5699000 r-xp 00000000 103:03 11816932                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vaudio_vorbis.so
e5699000-e569a000 r--p 00041000 103:03 11816932                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vaudio_vorbis.so
e569a000-e569b000 rw-p 00042000 103:03 11816932                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vaudio_vorbis.so
ed57c000-ed6a4000 r-xp 00000000 103:03 11816927                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/stdshader_dx9.so
ed6a4000-ed6a5000 r--p 00127000 103:03 11816927                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/stdshader_dx9.so
ed6a5000-ed6a6000 rw-p 00128000 103:03 11816927                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/stdshader_dx9.so
ed6ba000-ed700000 r-xp 00000000 103:03 11816930                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/stdshader_dbg.so
ed700000-ed701000 r--p 00045000 103:03 11816930                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/stdshader_dbg.so
ed701000-ed702000 rw-p 00046000 103:03 11816930                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/stdshader_dbg.so
ede52000-edea2000 r-xp 00000000 103:03 11807086                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/linux32/crashhandler.so
edea2000-edea4000 r--p 00050000 103:03 11807086                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/linux32/crashhandler.so
edea4000-edea5000 rw-p 00052000 103:03 11807086                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/linux32/crashhandler.so
edeb0000-ef2b5000 r-xp 00000000 103:03 11807082                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/linux32/steamclient.so
ef2b5000-ef326000 r--p 01404000 103:03 11807082                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/linux32/steamclient.so
ef326000-ef335000 rw-p 01475000 103:03 11807082                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/linux32/steamclient.so
ef386000-ef463000 r-xp 00000000 103:03 11816909                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/shaderapidx9.so
ef463000-ef464000 r--p 000dc000 103:03 11816909                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/shaderapidx9.so
ef464000-ef465000 rw-p 000dd000 103:03 11816909                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/shaderapidx9.so
ef478000-ef4a8000 r-xp 00000000 103:03 11816919                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libopenvr_api.so
ef4a8000-ef4a9000 rw-p 0002f000 103:03 11816919                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libopenvr_api.so
ef4aa000-ef4e6000 r-xp 00000000 103:03 11816914                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/sourcevr.so
ef4e6000-ef4e7000 r--p 0003b000 103:03 11816914                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/sourcevr.so
ef4e7000-ef4e8000 rw-p 0003c000 103:03 11816914                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/sourcevr.so
ef4f2000-ef561000 r-xp 00000000 103:03 11816933                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vgui2.so
ef561000-ef562000 r--p 0006e000 103:03 11816933                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vgui2.so
ef562000-ef563000 rw-p 0006f000 103:03 11816933                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vgui2.so
ef979000-efb7f000 r-xp 00000000 103:03 11816911                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vguimatsurface.so
efb7f000-efb80000 r--p 00205000 103:03 11816911                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vguimatsurface.so
efb80000-efb81000 rw-p 00206000 103:03 11816911                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vguimatsurface.so
efba9000-efd5c000 r-xp 00000000 103:03 11816910                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vphysics.so
efd5c000-efd5d000 r--p 001b2000 103:03 11816910                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vphysics.so
efd5d000-efd62000 rw-p 001b3000 103:03 11816910                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/vphysics.so
efd73000-efe50000 r-xp 00000000 103:03 11816900                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/studiorender.so
efe50000-efe51000 r--p 000dc000 103:03 11816900                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/studiorender.so
efe51000-efe52000 rw-p 000dd000 103:03 11816900                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/studiorender.so
f01d0000-f024a000 r-xp 00000000 103:03 11816849                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/datacache.so
f024a000-f024b000 r--p 00079000 103:03 11816849                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/datacache.so
f024b000-f0254000 rw-p 0007a000 103:03 11816849                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/datacache.so
f125a000-f13c8000 r-xp 00000000 103:03 11816905                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/materialsystem.so
f13c8000-f13c9000 r--p 0016d000 103:03 11816905                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/materialsystem.so
f13c9000-f13cb000 rw-p 0016e000 103:03 11816905                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/materialsystem.so
f13eb000-f1417000 r-xp 00000000 103:03 11816918                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/inputsystem.so
f1417000-f1418000 r--p 0002b000 103:03 11816918                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/inputsystem.so
f1418000-f1419000 rw-p 0002c000 103:03 11816918                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/inputsystem.so
f1420000-f1446000 r-xp 00000000 103:03 11816868                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libsteam_api.so
f1446000-f1447000 r--p 00025000 103:03 11816868                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libsteam_api.so
f1447000-f1448000 rw-p 00026000 103:03 11816868                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libsteam_api.so
f1449000-f1f58000 r-xp 00000000 103:03 11816856                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so
f1f58000-f1f59000 r--p 00b0f000 103:03 11816856                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so
f1f59000-f1f6d000 rw-p 00b10000 103:03 11816856                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so
f245a000-f2460000 r--s 00000000 103:03 11542337                          /home/ufee1dead/snap/linux-steam-integration/common/.cache/fontconfig/1c2c2997deddd45e0296fa5a60917b7d-le32d4.cache-7
f2460000-f2480000 r--s 00000000 103:03 11542334                          /home/ufee1dead/snap/linux-steam-integration/common/.cache/fontconfig/47e4b9fafcec134f748c01f95af5ea38-le32d4.cache-7
f29e3000-f2c00000 r-xp 00000000 103:03 11816860                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/filesystem_stdio.so
f2c00000-f2c01000 ---p 0021d000 103:03 11816860                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/filesystem_stdio.so
f2c01000-f2c1d000 r--p 0021d000 103:03 11816860                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/filesystem_stdio.so
f2c1d000-f2c1e000 rw-p 00239000 103:03 11816860                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/filesystem_stdio.so
f3301000-f3305000 r--s 00000000 103:03 11542340                          /home/ufee1dead/snap/linux-steam-integration/common/.cache/fontconfig/2300eef321c393bfd76478a5c0e95b23-le32d4.cache-7
f3305000-f3308000 r--s 00000000 103:03 11542321                          /home/ufee1dead/snap/linux-steam-integration/common/.cache/fontconfig/747030b94f39446b354ceb1e1acd0890-le32d4.cache-7
f335f000-f3361000 r--s 00000000 103:03 11542322                          /home/ufee1dead/snap/linux-steam-integration/common/.cache/fontconfig/a0107c79d978dfcc5e42cb1335b71036-le32d4.cache-7
f336e000-f338b000 r-xp 00000000 103:03 11816880                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/scenefilecache.so
f338b000-f338c000 r--p 0001c000 103:03 11816880                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/scenefilecache.so
f338c000-f338d000 rw-p 0001d000 103:03 11816880                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/scenefilecache.so
f33ce000-f3477000 r-xp 00000000 103:03 11816903                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtogl.so
f3477000-f3478000 r--p 000a8000 103:03 11816903                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtogl.so
f3478000-f347e000 rw-p 000a9000 103:03 11816903                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtogl.so
f38d5000-f3926000 r-xp 00000000 103:03 11816902                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libvstdlib.so
f3926000-f3927000 r--p 00050000 103:03 11816902                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libvstdlib.so
f3927000-f3928000 rw-p 00051000 103:03 11816902                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libvstdlib.so
f39e0000-f3a32000 r-xp 00000000 103:03 11816893                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/launcher.so
f3a32000-f3a33000 r--p 00051000 103:03 11816893                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/launcher.so
f3a33000-f3a34000 rw-p 00052000 103:03 11816893                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/launcher.so
f733d000-f7365000 r-xp 00000000 103:03 11816872                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtier0.so
f7365000-f7366000 r--p 00027000 103:03 11816872                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtier0.so
f7366000-f7367000 rw-p 00028000 103:03 11816872                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtier0.so
f736c000-f7394000 r-xp 00000000 103:03 11816883                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtcmalloc_minimal.so.4
f7394000-f7395000 r--p 00028000 103:03 11816883                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtcmalloc_minimal.so.4
f7395000-f7396000 rw-p 00029000 103:03 11816883                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libtcmalloc_minimal.so.4
f73af000-f73e4000 r-xp 00000000 103:03 11807052                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
f73e4000-f73e5000 r--p 00034000 103:03 11807052                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
f73e5000-f73e6000 rw-p 00035000 103:03 11807052                          /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
grep libstdc /proc/15524/maps          
f6eab000-f702c000 r-xp 00000000 07:08 9396                               /usr/lib32/libstdc++.so.6.0.24
f702c000-f702d000 ---p 00181000 07:08 9396                               /usr/lib32/libstdc++.so.6.0.24
f702d000-f7033000 r--p 00181000 07:08 9396                               /usr/lib32/libstdc++.so.6.0.24
f7033000-f7034000 rw-p 00187000 07:08 9396                               /usr/lib32/libstdc++.so.6.0.24
[lsi:vendor_offender] blacklisted loading of vendor library: /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libstdc++.so.6
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
/home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bms_linux: Relink `/var/lib/snapd/lib/gl32/libnvidia-glcore.so.384.98' with `/usr/lib32/libpthread.so.0' for IFUNC symbol `longjmp'
[lsi:__init__] vdf: discovered LibraryFolders: /home/ufee1dead/SteamLibrary
[lsi:vendor_offender] blacklisted loading of vendor library: /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libSDL2-2.0.so.0
[lsi:vendor_offender] blacklisted loading of vendor library: /home/ufee1dead/snap/linux-steam-integration/common/.local/share/Steam/steamapps/common/Black Mesa/bin/libSDL2-2.0.so.0
GameAction [AppID 362890, ActionID 1] : LaunchApp changed task to Completed with ""
>>> Adding process 15523 for game ID 362890
>>> Adding process 15524 for game ID 362890
SDL video target is 'x11'
SDL video target is 'x11'
[lsi:__init__] vdf: discovered LibraryFolders: /home/ufee1dead/SteamLibrary
[lsi:vendor_offender] forcing use of host library libSDL2-2.0.so.0 -> /usr/lib32/libSDL2-2.0.so.0
magicmyth commented 7 years ago

I don't know what is going on there as I definitely have the switches for LSI on. screenshot_20171124_143303-opt

Should I always see things like [lsi:vendpr_offender] if LSI is functioning correctly? What's the biggest clue that LSI is working correctly from the console? Is there a way on the command line to ensure LSI is forced on I can test with?

magicmyth commented 7 years ago

I found why it is failing for me. It's because I have almost all my Steam games on another drive seperate to the OS (i.e. not installed to ~/.local/share/Steam/steamapps/). I moved the game's folder to the default Steam folder using Steam's built in move tool and the game worked right away! I moved it back to the external folder and it broke again with libGL errors.

I thought your suggestion of me not using LSI was strange as looking at my uploaded log I can see lines like [lsi:vendor_offender] [0m blacklisted loading of vendor library but looking closer such things do not show when launching Black Mesa. When in the default Steam app folder I do get:

[lsi:vendor_offender] blacklisted loading of vendor library: /home/magicmyth/.local/share/Steam/steamapps/common/Black Mesa/bin/libSDL2-2.0.so.0

But when installed on my other drive that line does not occur. I tested Shadow of Mordor which is also on that same drive and it does output the vendor offender lines like so:

[lsi:vendor_offender] forcing use of host library libSDL2-2.0.so.0 -> /usr/lib32/libSDL2-2.0.so.0
ikeydoherty commented 7 years ago

Interesting, so I assume then the /Steam/ line is absent and somehow detection is failing?

ikeydoherty commented 7 years ago

OK looking further here:

        /* Find out if its a Steam private lib.. These are relative "./" files too! */
        if (name && (strstr(name, "/Steam/") || strncmp(name, "./", 2) == 0)) {

Does you path have /Steam in it or just /steamapps ?

ikeydoherty commented 7 years ago

Chucking this into Solus for today's sync:

https://dev.solus-project.com/R1967:c2af7ab63fa39c3a0dcbd5b097b7ab18ce2bddbd

magicmyth commented 7 years ago

My second Steam library path does not have /Steam in the path but it does have /steamapps. Any folder that gets chosen as a Steam library folder will always have a steamapps folder automatically created within it and all Steam related content is placed within it (e.g. commons/ folder, acf files). So if you need to do some sub-string matching on the path then I would recommend checking for /steamapps/ instead of /Steam/. I'm quite sure in the early days of Steam Linux originally it called the folder SteamApps (note the case) but soon did away with that in favour of all lower case.

magicmyth commented 7 years ago

Just got the updated LSI package and can confirm it has fixed Black Mesa installed to another Steam library path. Thanks again for the super fast fixes!

I looked at the commit 0faa29a and I don't think you need to check for /Steam/. Hopefully someone from Valve can give a definitive answer but I don't think it is possible to have a Steam library path that does not contain /steamapps/ so you can probably drop the /Steam/ check. I understand playing it safe to avoid regression though.

ikeydoherty commented 7 years ago

Agreed, I think the /Steam/ part can go for apps, but we'll need to keep it for the main Steam client. Gonna close this then, cheers :)

magicmyth commented 7 years ago

Ah yeah forgot you have to do the same thing for the Steam client itself. Thanks again, issue totally resolved for me :)

ikeydoherty commented 7 years ago

Fantastic :D