From: bugzilla-daemon@freedesktop.org Subject: [Bug 101262] Need help in running Dying Light Date: Mon, 21 May 2018 17:25:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0799915142==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CFA396E390 for ; Mon, 21 May 2018 17:25:48 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0799915142== Content-Type: multipart/alternative; boundary="15269235480.871cD.28594" Content-Transfer-Encoding: 7bit --15269235480.871cD.28594 Date: Mon, 21 May 2018 17:25:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101262 --- Comment #6 from Mariusz Ceier --- 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 fa= ult 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 uninforma= tive dialog and exits. b) Dying Light requires OpenGL 4.4 (according to devs) and uses glew to det= ect 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=3D4.4 MESA_GLSL_VERSION_OVERRIDE=3D440 %command% in launch options in steam. Sorry for commenting inside "resolved" bug. --=20 You are receiving this mail because: You are the assignee for the bug.= --15269235480.871cD.28594 Date: Mon, 21 May 2018 17:25:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 6 on bug 10126= 2 from Mariusz Ceier
That bug is due to missing /usr/bin/lspci. Dying Light tries t=
o 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 fa=
ult
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 uninforma=
tive
dialog and exits.

b) Dying Light requires OpenGL 4.4 (according to devs) and uses glew to det=
ect
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=3D4.4  MESA_GLSL_VERSION_OVERRIDE=3D440 %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.
= --15269235480.871cD.28594-- --===============0799915142== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0799915142==--