amonakov / primus

Low-overhead client-side GPU offloading
ISC License
216 stars 20 forks source link

Unvanquished segfaults after "primus: fatal: failed to acquire direct rendering context" #168

Closed Viech closed 9 years ago

Viech commented 9 years ago

The game Unvanquished version 0.38.0 on x86_64 crashes after primus: fatal: failed to acquire direct rendering context for display thread and other OpenGL related warnings. The full program log can be found here. Using optirun, the game could be launched. The game version in question can be downloaded via torrent or web.

Please refer to the original issue on the Unvanquished tracker for more details: Unvanquished/Unvanquished#712.

Letiliel commented 9 years ago

This was using primus from the Stable Bumblebee PPA. I tried compiling from source but got into errors and abandoned, sorry.

amonakov commented 9 years ago

Please add output of glsanity-bee (https://github.com/amonakov/glsanity) from an affected system.

Also please run the game with primusrun env LIBGL_DEBUG=verbose LD_DEBUG=libs LD_DEBUG_OUTPUT=/tmp/unv-ld.txt and supply console output and /tmp/unv-ld.txt files.

Letiliel commented 9 years ago

glsanity-bbee's output Output with env unv-ld.txt file 1, 2, 3

amonakov commented 9 years ago

Thanks. The issue is: the distribution of Unvanquished is including an incompatible version of libglapi.so.

Letiliel commented 9 years ago

Alright. I guess it's up to the Unvanquished team to fix this if they want to.