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

--- Comment #6 from Mariusz Ceier <mceier+freedesk...@gmail.com> ---
That bug is due to missing /usr/bin/lspci. Dying Light tries to execve
/usr/bin/lspci in a fork and when it fails it calls exit function instead of
_exit.

exit calls exit handler registered by mesa which causes the segmentation fault
and 'hangup' of Dying Light. I have reported this bug to the developers on 10th
May 2018.

Additional info that some people might find useful:

a) Dying Light requires haptic support in SDL, otherwise it shows uninformative
dialog and exits.

b) Dying Light requires OpenGL 4.4 (according to devs) and uses glew to detect
OpenGL version which parses GL version string.
Since mesa returns OpenGL version 3.0~3.1 for GL contexts created by glew,
override variables have to be used to run Dying Light, e.g.:

MESA_GL_VERSION_OVERRIDE=4.4  MESA_GLSL_VERSION_OVERRIDE=440 %command%

in launch options in steam.

Sorry for commenting inside "resolved" bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to