[Bug 102316] Euro Truck Simulator 2 crashes when changing graphics settings with mesa 17.3.0, but not with 17.0.7

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 20 04:33:16 UTC 2017


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

            Bug ID: 102316
           Summary: Euro Truck Simulator 2 crashes when changing graphics
                    settings with mesa 17.3.0, but not with 17.0.7
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: leozinho29_eu at hotmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Hi

In the game Euro Truck Simulator 2 version 1.28 it is not possible to change
the graphics settings because when doing so the game crashes. On dmesg the
following messages appear:

[ 6921.008079] eurotrucks2[7098]: segfault at 0 ip 0000000000a3ff90 sp
00007fff0c1028b0 error 4 in eurotrucks2[400000+1549000]

In multiple times the crash looks very similar:

[ 7016.877901] eurotrucks2[7503]: segfault at 0 ip 0000000000a3ff90 sp
00007ffe4a807860 error 4 in eurotrucks2[400000+1549000]
[ 9652.424350] eurotrucks2[6492]: segfault at 0 ip 0000000000a3ff90 sp
00007ffd508b7c60 error 4 in eurotrucks2[400000+1549000]

The game log may no be very useful here, but it is available in:
https://pastebin.com/7m1SV1QN

Expected behavior: I am able to change graphics settings in the game.

Observed behavior: The game crashes when changing graphics settings.

While I have reported this problem to the game developers on their forum, I
believe the problem is with mesa. I was using mesa version 17.3.0 from git
(git-494f86bbe5 and a later version I built 30 minutes ago, which I uninstalled
to test).

I am now using mesa version 17.0.7 from Xubuntu 17.04 amd64 and with this mesa
version there is no crash when changing graphics settings. I am unsure if this
is a regression or I have built mesa with some wrong configuration.

My system hardware:
Processor: Intel Core i3-6100U
Graphics Card: Intel HD Graphics 520
RAM: 8 GB

The configuration I use to build mesa:

./autogen.sh --prefix=/usr/local --with-vulkan-drivers="intel"
--with-dri-drivers="i915 i965 swrast" --with-dri-driverdir=/usr/local/lib/dri
--with-gallium-drivers="i915,svga,swrast" --enable-gles1 --enable-gles2
--enable-opencl --enable-va --enable-nine --enable-llvm --enable-xa
--enable-osmesa --enable-shared-glapi --with-egl-platforms=x11,drm
--enable-texture-float  --enable-gbm --enable-glx-tls  --enable-dri3

I build both 32-bit and 64-bit mesa. The configuration files I have are in
/etc/profile.d and /etc/ld.so.conf.

Content from the file in /etc/profile.d/minhamesa.sh

mesa_installation_dir=/usr/local
LIBGL_DRIVERS_PATH=$mesa_installation_dir/lib/dri:/home/usuario/mesa/install32/lib/dri

export mesa_installation_dir
export LIBGL_DRIVERS_PATH

------------------------------------------

Content from the file in /etc/ld.so.conf/minhamesa32.conf

/home/usuario/mesa/install32/lib
/home/usuario/mesa/install32/lib/dri
/home/usuario/mesa/install32/lib/d3d
/home/usuario/mesa/install32/lib/gallium-pipe

------------------------------------------

The 32-bits mesa install is at the user folder and is owned by root.

As I have told before, I am unsure this is a regression, but the fact it works
with 17.0.7 but not with 17.3.0 it is suspect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170820/dc24df4a/attachment.html>


More information about the intel-3d-bugs mailing list