Created attachment 106921 [details]
Xorg old log
[Just a side note: I am filling this for second time since this bug can take whole xserver down if reproduced for second time]
Original reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762809
2) System environment:
-- chipset: G965
-- system architecture: x86_64
-- xf86-video-intel/xserver/mesa/libdrm version: 2:2.21.15-2+b2/2:1.16.1-1/10.2.6-1/2.4.56-1
-- kernel version: 3.16-2-amd64
-- Linux distribution: Debian unstable
-- Machine or mobo model: ASUS Zenbook UX301LA
-- Display connector: miniDVI and internal display
3) Reproduce steps.
mpv -vo=opengl <anyvideo>.mp4
seek there and back and wait a while
VO: [opengl] 1920x1080 => 1920x1080 yuv420p
Failed to open BO for returned DRI2 buffer (1920x1200, dri2 back buffer, named 3).
This is likely a bug in the X Server that will lead to a crash soon.
Program received signal SIGSEGV, Segmentation fault.
0x00007fffdb3922c2 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
This usually takes gnome-shell down as well just after the crash
(but running mpv under gdb saves the gnome-shell):
[ 1275.925420] mpv: segfault at 24 ip 00007fb7cd4362c2 sp 00007fff2d8e70a8 error 4 in i965_dri.so[7fb7cd16e000+509000]
[ 1276.221832] gnome-shell: segfault at 3c ip 00007f51c06a0dab sp 00007fff8159cd10 error 4 in i965_dri.so[7f51c0338000+509000]
[ 5304.840249] mpv: segfault at 24 ip 00007f4f602fa2c2 sp 00007fff892874c8 error 4 in i965_dri.so[7f4f60032000+509000]
[ 5307.309253] gnome-shell: segfault at 3c ip 00007f5d9bc33dab sp 00007ffffcef4490 error 4 in i965_dri.so[7f5d9b8cb000+509000]
[10733.668937] mpv: segfault at 24 ip 00007f523676c2c2 sp 00007fffeb1a1a58 error 4 in i965_dri.so[7f52364a4000+509000]
[10734.277346] gnome-shell: segfault at 3c ip 00007fb8e572cdab sp 00007fffe1e60780 error 4 in i965_dri.so[7fb8e53c4000+509000]
[10864.277396] mpv: segfault at 24 ip 00007fd0fda8d2c2 sp 00007fffbd414988 error 4 in i965_dri.so[7fd0fd7c5000+509000]
If this bug is triggered for a second time it takes whole gnome down (only the Logout screen appears)
Full gdb trace with debugging symbols is attached to ref. debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762809
Created attachment 106922 [details]
Current Xorg.0.log after a crash
Created attachment 106923 [details]
intel_reg_dumper output after a crash
Created attachment 106924 [details]
dmesg with boot debugging flag after a crash
I confirm the same bug happens on my laptop with Manjaro Linux installed.
1) System environment:
-- chipset: Intel 965GM
-- system architecture: x86_64
-- Software packages:
-- kernel version: 3.14.20-1-MANJARO
-- Linux distribution: Manjaro 0.8.10 UP11
-- Machine or mobo model: Gateway M-6804m
-- Display connector: HDMI and internal display
2) Reproduce steps:
mpv -vo=opengl <anyvideo>.mkv
Seek video playback.
DE is Gnome 3.12.2 and UXA accel method is enabled.
This bug should be considered severe as it makes the whole X.org server crash. I even had to power the machine off abruptly.
I checked and this bug only occurs on UXA acceleration method. It doesn't happen on SNA but SNA doesn't work well with my hardware. I haven't tested glamor yet.
This problem started after updating to
-- xorg-server v1.16.1
-- xf86-video-intel v2.99.916
-- mesa v10.3.0
Same issue with my laptop's intel card on debian testing:
unvanquished (ie a 3d game) crashes on 1st startup. the whole X server crashes on 2nd server.
logs show the following error:
Failed to open BO for returned DRI2 buffer (1366x768, dri2 back buffer, named 9).
- linux 3.16-2-amd64
- mesa 10.2.8-1
- libdrm 2.4.58-2
- xserver-xorg-core 1.16.1-1
- xserver-xorg-video-intel 2.21.15-2+b2
- gnome-shell 3.14.0
- unvanquished 0.32.0
Also, enabling SNA as follows prevent the crash for me:
# cat /etc/X11/xorg.conf.d/20-intel.conf
Identifier "Intel Graphics"
Option "AccelMethod" "sna"
Option "TearFree" "true"
*** Bug 85456 has been marked as a duplicate of this bug. ***
Problem still happens on
- linux 3.17.8-1
- mesa 10.4.2-1
- libdrm 2.4.58-1
- xorg-server 1.16.3-2
- xf86-video-intel 2.99.917-1
- gnome-shell 3.14.3-2
I found out something strange though: there is *no* crash when using external monitor via HDMI, even with UXA enabled.
(In reply to Charles Lahaine from comment #9)
> I found out something strange though: there is *no* crash when using
> external monitor via HDMI, even with UXA enabled.
CORRECTION: mpv doesn't crash only if external monitor is set to max HD resolution 1920x1080. If using a lower res like 1280x720, crash happens again.
(In reply to Charles Lahaine from comment #10)
> CORRECTION: mpv doesn't crash only if external monitor is set to max HD
> resolution 1920x1080. If using a lower res like 1280x720, crash happens
Forget about it, it still crashes no matter what.
I confirm X server also crashes with mplayer -vo gl <somevideo>.mkv
Problem not solved. Segfault with UXA when playng any file in MPV. Also problem with game Urban Terror.
OS: Manjaro Gnome-Shell x86_64
Kernel: Linux 3.16.7
GPU: Intel HD4000
[ 1003.997288] mpv/vo: segfault at 3c ip 00007ff345ad6fcc sp 00007ff34668d8a0 error 4 in i965_dri.so[7ff345725000+53e000]
[ 1004.677577] gnome-shell: segfault at 208 ip 00007fca2381326d sp 00007fff1172b270 error 4 in i965_dri.so[7fca234a4000+53e000]
[ 1142.475611] mpv/vo: segfault at 3c ip 00007efee6fa6fcc sp 00007efee7b5d8a0 error 4 in i965_dri.so[7efee6bf5000+53e000]
[ 1143.120250] gnome-shell: segfault at 208 ip 00007fd86bc0626d sp 00007ffe503819c0 error 4 in i965_dri.so[7fd86b897000+53e000]
If use SNA or GLAMOR Gnome working bad. System braking - animation, response applications etc! UXA working better, but crashing :(
Sorry my English.
Created attachment 115505 [details]
Mpv stdout, Syslog and Dmesg info related to my crash 01052015
Hi. I'm experiencing the same issue. Attached you'll find the mpv stdout, syslog and dmesg info.
I'm using Gnome 3.14.2 with Debian Jessie (current updated stable).
Intel HD 4000 Graphics
It's happening in Gnome3. I can't reproduce it with XFCE.
I filled a new bug report here:
Problem persists with
- linux 4.0.3-1-MANJARO
- mesa 10.5.5-1
- libdrm 2.4.61-1
- xorg-server 1.17.1-5
- xf86-video-intel 2.99.917-5
- gnome-shell 3.16.2-1
unvanquished no longer crashes on my machine, following a fix done by the unvanquished developers:
However I still observe crashes on the same machine while playing a 720p video using mpv.
Problem seems to be fixed with:
- linux 4.0.6-1
- xf86-video-intel 2.99.917+364+gb24e758-1
- xorg-server 1.17.2-1
- mesa 10.6.0-1
- libdrm 2.4.61-1
Can anyone else confirm this?
On Debian Jessie, I can confirm that upgrading xserver-xorg-video-intel from the version in stable (2.21.15-2+b2) to the version in backports (2.21.15-2+b2) is solving the problem.
Sorry, copy-paste mistake :
On Debian Jessie, I can confirm that upgrading xserver-xorg-video-intel from the version in stable (2.21.15-2+b2) to the version in backports (2.99.917-2~bpo8+1 0) is solving the problem.
Thanks for testing!