Created attachment 472324 [details] emerge --info Since I upgraded media-libs/mesa from version 17.0.4 to version 17.1.0_rc4 I cannot start QupZilla anymore because it produces a segmentation fault. Mpv crashes too when playing any video. media-libs/mesa-9999 causes segmentation fault too. media-libs/mesa-17.0.5 works fine. I have an Intel GPU (Q35 chipset). # lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) See also: https://bugs.freedesktop.org/show_bug.cgi?id=100984
Created attachment 472326 [details] qupzilla backtrace (basic)
Created attachment 472328 [details] qupzilla backtrace (full)
Created attachment 472330 [details] mpv backtrace (basic)
Created attachment 472332 [details] mpv backtrace (full)
Yes, i915g driver is broken in mesa 17.1. Temporary workaround is to switch to the classic i915 driver.
not sure why we're CC'ed here...
After running "eselect mesa set i915 2" (gallium) both qupzilla and mpv crash. After running "eselect mesa set i915 1" (classic) both qupzilla and mpv run successfully.
Has anyone confirmed any newer ~arch versions of mesa fix this behaviour? I'm under the impression that the gallium driver is newer/the future, but I also found this from debian: http://metadata.ftp-master.debian.org/changelogs/main/m/mesa/unstable_changelog The interesting part being: *** Stop building i915g at all, it's apparently never going to be a suitable replacement for i915c. ***
I don't know if it's really related, but I got segfault while watching movie in mpv. I pause mpv, turn off fullscreen and alt+tab to another window, but when I want go back to mpv, sometimes window is gone and I got this: mpv/vo[17458]: segfault at 85 ip 00007f47e29c7033 sp 00007f47e3ffd4a0 error 4 in i965_dri.so[7f47e261c000+726000] Also swiching youtube movie fullscreen on and off sometimes make segfault, I need hold F button and after few seconds got segfault: Chrome_~dThread[9277]: segfault at 0 ip 00007f4ee6f70623 sp 00007f4ee1482ad0 error 6 in libxul.so[7f4ee6b6a000+4a02000] [ebuild R ] www-client/firefox-57.0.1::gentoo USE="dbus eme-free hwaccel screenshot system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -gmp-autoupdate -hardened -jack (-neon) -nsplugin -pgo -pulseaudio (-selinux) -startup-notification {-test} -wifi" L10N="en-GB -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB [ebuild R ] media-libs/mesa-17.3.0_rc5::gentoo USE="classic dri3 egl gallium gbm gles2 llvm nptl opencl vaapi vdpau wayland -bindist -d3d9 -debug -gles1 -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -valgrind -vulkan -xa -xvmc" VIDEO_CARDS="i965 intel (-freedreno) -i915 (-imx) -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB [ebuild R ] media-video/mpv-0.27.0::gentoo USE="X alsa cli egl iconv libass lua opengl uchardet vaapi vdpau wayland xv zlib (-aqua) -archive -bluray -cdda (-coreaudio) -cplugins -cuda -doc -drm -dvb -dvd -encode -gbm -jack -javascript -jpeg -lcms (-libav) -libcaca -libmpv -luajit -openal -oss -pulseaudio (-raspberry-pi) -rubberband -samba -sdl (-selinux) {-test} -tools -v4l -zsh-completion" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB
I had that problem with 17.1.10, because of that I had to unmask 17.2.6 and the problem is fixed there.
With kernel 4.14.7 I'm getting segfaults, tried different versions of Mesa and it was the same thing, surprisingly even with Mesa set to classic, have no clue what's changed in the kernel to cause this, had to revert back to 4.12.12
For what it's worth, after upgrading to the now stable mesa-17.2.7 on this x86 machine, switching back to gallium now works again for me.
My previous comment with kernel 4.14.x... turned out I get segfaults if uxa is set, with sna enabled there are no problems, maybe uxa is getting dropped or it already is, I'm not sure.
FTR upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=101055 Testing with GMA3150 (Atom N550) I wasn't able to run Plasma (kwin segfaults) on gallium with any version >17.0.6
(In reply to cb1 from comment #14) > FTR upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=101055 > > Testing with GMA3150 (Atom N550) I wasn't able to run Plasma (kwin > segfaults) on gallium with any version >17.0.6 I had the same problem and it took me a while to figure it out. Problem is that in mesa versions >17.0.6 opengl 2.1 is disabled and only 1.4 is available. But, you can enable 2.1 again with driconf, make sure that ARB_fragment_shader and ARB_occlusion_query keys are enabled, one of those wasn't in my case, then reboot. Gallium will work again without segfaults, in fact opengl 2.1 will always be enabled, even when you choose classic.
(In reply to Kajzer from comment #15) > I had the same problem and it took me a while to figure it out. > Problem is that in mesa versions >17.0.6 opengl 2.1 is disabled and only 1.4 > is available. But, you can enable 2.1 again with driconf, make sure that > ARB_fragment_shader and ARB_occlusion_query keys are enabled, one of those > wasn't in my case, then reboot. Gallium will work again without segfaults, > in fact opengl 2.1 will always be enabled, even when you choose classic. During my tests in December I already tried that following a note in the Arch wiki which added these two options to /etc/drirc [1]. I tried again with driconf and a users ~/.drirc which didn't change anything at first sight. Now I found the following: * Running gentoo-sources-4.9.72 and mesa-17.2.7 * Gallium enabled for i915 * glxinfo says it's in fact running on OpenGL 2.1 * kwin_x11 crashed because of a window decoration (Freeze for plasma); Set to Breeze, kwin comes up now * Other random parts of plasma and/or things with qt5 are now segfaulting, eg. kdeconnect and the desktop design part of plasma system setting * plasmashell doesn't run anymore (but I guess it's caused by another fancy design setting on my profile, with an empty dummy profile it started fine) I'm still tinkering with it (within my capabilities) but it feels like some gfx functions are entirely missing or faulty. [1] https://wiki.archlinux.org/index.php/intel_graphics#OpenGL_2.1_with_i915_driver
I'm using 945G gpu btw. $ inxi -G Graphics: Card: Intel 82945G/GZ Integrated Graphics Controller Display Server: x11 (X.Org 1.19.6 ) driver: intel Resolution: 1920x1080@60.00hz OpenGL: renderer: Mesa DRI Intel 945G version: 2.1 Mesa 17.3.1 maybe I would have the same problems if I was using plasma, I'm on AwesomeWM, the only problem I had with this was playing videos, they would segfault, but the problem was both in the kernel and mesa, as for kernel I couldn't use uxa anymore, and segfaults was because of opengl 2.1 and gallium, now that I've enabled opengl 2.1 with driconf that problem was gone too. Right now I'm on Mesa 17.3.1 and kernel 4.14.11 in /etc/X11/xorg.conf.d/20-intel.conf I have : Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "sna" EndSection Can't notice any problems, finally I might add. We don't have the same chip but it's the same gen, hope you find the right combo.