Lubuntu 16.04 4.4.0-38-generic x86_64
mpv/vo: segfault at 234 ip 00007ff625ed96e8 sp 00007ff6277fd7b0 error 4 in i915_dri.so[7ff6259f5000+9c8000]
glmark2: segfault at 234 ip 00007f917ecb36e8 sp 00007ffdf0586e30 error 4 in i915_dri.so[7f917e7cf000+9c8000]
glxgears: segfault at 234 ip 00007f87f68e66e8 sp 00007fff6da8a110 error 4 in i915_dri.so[7f87f6402000+9c8000]
mpv only crashes when fullscreen on start is activated in mpv.conf (fs=yes).
blender crashes also with segfault:
# Blender 2.78 (sub 0), Commit date: 2017-02-24 14:33, Hash e92f2352830
Hi Javi, I don't think we have many devs looking at the i915 driver.
If you can track down the commit that introduced the regression (considering it is one) or write a simple test program that will be appreciated.
The upgrade that initiated the problem was (17.0~git1701100730.17eac3~gd~x, 17.1~git1702040730.106a51~gd~x), something happened between 170110 and 170204.
About the test program or tracking the exact commit, not shure how to do it. Can you point me to info on how to?
"LIBGL_ALWAYS_SOFTWARE=1 blender" works. Blender runs without errors. Also Mpv, glmark2 and glxgears.
(In reply to Javi Ballester Tomás from comment #3)
> Hi Emil.
> The upgrade that initiated the problem was (17.0~git1701100730.17eac3~gd~x,
> 17.1~git1702040730.106a51~gd~x), something happened between 170110 and
Perfect - what you're looking for is "how to use git bisect". There's dozens of sources out there - from `git help bisect' (in the command line) to the Wine example . In case you're wondering - Mesa source tree is located at 
Note that you will need to rebuild and test mesa ~10 times. Make sure to use exact same build (configure) flags as your distro.
(In reply to Javi Ballester Tomás from comment #4)
> "LIBGL_ALWAYS_SOFTWARE=1 blender" works. Blender runs without errors. Also
> Mpv, glmark2 and glxgears.
This is very good step - it tells us that the software rasteriser is working fine.
I.e. the variable 'disables' the GPU driver and makes the CPU do all the heavy lifting.
Almost forgot - if you don't want to overwrite your system mesa simply do
$ git bisect...
$ configure ...
$ export LIBGL_DRIVERS_PATH=`pwd`/lib
$ export LIBGL_DEBUG=verbose
$ ... app to test ...
# ensure that the i915_dri.so from the above location is used
The result of 'git bisect':
e027935a795ecf546f3e4abcc25655766f9615ac is the first bad commit
Author: Marek Olšák <email@example.com>
Date: Wed Feb 22 19:59:27 2017 +0100
st/mesa: don't update unrelated states in non-draw calls such as Clear
If a VAO isn't bound and u_vbuf isn't enabled because of the Core profile,
we'll get user vertex buffers in drivers if we update vertex buffers
in glClear. So don't do that.
This fixes a regression since disabling u_vbuf for Core profiles.
Reviewed-by: Brian Paul <firstname.lastname@example.org>
:040000 040000 7843bc274cb97b72ebd0ba00906ba3baeecf0658 97a362bcd14da53ec9cfa940b3612d77e54be72d M src
Is this the gallium driver?
Created attachment 130508 [details]
output of glxinfo
The "Gallium 0.4 on i915 (chipset: Pineview M)" is the one giving the segfault.
The "Mesa DRI Intel(R) Pineview M" works.
Additional info, not related to this bug, I think:
The two works with some glitches in Blender. Gallium, the working ones, with black windows or past state window, specially when rendering, that disappears when some action is done in the part of the application that shows this behavior. DRI with colorful semitransparent triangles in the corners of blender windows, these doesn't disappears, but changes when scrolling.
No glitches in any of the two with "LIBGL_ALWAYS_SOFTWARE=1".
I attach the output of "glxinfo | grep OpenGL" for both, some errors in the gallium one.
(In reply to Marek Olšák from comment #8)
> Is this the gallium driver?
The i915 gallium driver is unmaintained and not even supported by its manufacturer. This bug report starts its deprecation period. If the driver remains in a broken state for a while, it will be removed from Mesa. Feel free to ignore this bug. Cheers. :)
Nicely spotted Marek. Changing the component to gallium/i915g so that Stéphane can find if a bit easier.
I also have a problem with these Gallium drivers. Is there a way to fix them, or find an old unbroken version?
I actually need this.
I did a git bisect too, and I get the same bad commit as in comment 7.
I'm trying to build Mesa with Gallium for Intel/i915. But recent versions of Mesa make my web browser Falkon crash at startup.