solus-project / linux-steam-integration

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

Investigate GLES issue with swiftshader #17

Closed ikeydoherty closed 6 years ago

ikeydoherty commented 6 years ago

Steam is trying to load its own libGLESv2.so for swiftshader, and failing quite spectacularly to do so.

[LSI:steamwebhelper]: debug: blacklisted loading of vendored library: /home/ufee1dead/.local/share/Steam/ubuntu12_64/swiftshader/libGLESv2.so
[1015/192432.518908:ERROR:gl_implementation.cc(246)] Failed to load /home/ufee1dead/.local/share/Steam/ubuntu12_64/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory

It would appear this is more dlopen than simple linking, which is why the blacklisting is borking it a bit.

ikeydoherty commented 6 years ago

Seems likely we need to rewrite libGLESv2.so to libGLESv2.so.2 for Mesa compat.

ikeydoherty commented 6 years ago

Scratch that, swiftshader replaces libGLESv2 specifically for CPU rendering, so we need to whitelist this guy only for swiftshader.