Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263414 - x11-drivers/xf86-video-intel-2.6.3 - xorg crashes when video is overlapped
Summary: x11-drivers/xf86-video-intel-2.6.3 - xorg crashes when video is overlapped
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 265274 268349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-22 20:57 UTC by Peter Hultqvist
Modified: 2009-05-08 17:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (einfo,4.34 KB, text/plain)
2009-04-07 22:02 UTC, Peter Hultqvist
Details
dmesg during crash (dmesg,189 bytes, text/plain)
2009-04-07 22:05 UTC, Peter Hultqvist
Details
Xorg.0.log (Xorg.0.log.old,30.40 KB, text/plain)
2009-04-07 22:08 UTC, Peter Hultqvist
Details
emerge --info output (emerge_info.txt,3.63 KB, text/plain)
2009-04-07 22:34 UTC, paolo muratore-ginanneschi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hultqvist 2009-03-22 20:57:02 UTC
The x session crash every time the video display is overlapped by anything, another window or its own right mouse popup menu.

After the crash the x session can be started again immediately(also scripted).


Reproducible: Always

Steps to Reproduce:
1.start a video in vlc
2.right click the video to invoke the menu
2.move any window over that video.
The crash happen right after the popup or window is drawn overlapping.
Actual Results:  
From the xinit erro output:

Backtrace:
0: X(xorg_backtrace+0x26) [0x4d7f0e]
1: X(xf86SigHandler+0x39) [0x4769d1]
2: /lib/libc.so.6 [0x7fd6dd7721d0]
3: /usr/lib/libdrm_intel.so.1 [0x7fd6dbbab951]
4: /usr/lib/libdrm_intel.so.1 [0x7fd6dbbabb25]
5: /usr/lib/libdrm_intel.so.1 [0x7fd6dbbabbe6]
6: /usr/lib64/xorg/modules/drivers//intel_drv.so(I965DisplayVideoTextured+0xd8e) [0x7fd6dbdf1d6e]
7: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7fd6dbde9f31]
8: X [0x4877b2]
9: /usr/lib64/xorg/modules/extensions//libextmod.so [0x7fd6dc4725d8]
10: X(Dispatch+0x33a) [0x44763c]
11: X(main+0x419) [0x430645]
12: /lib/libc.so.6(__libc_start_main+0xf4) [0x7fd6dd75f4a4]
13: X [0x42fab9]

Fatal server error:
Caught signal 11.  Server aborting


After this the X session an all unsaved data is lost


x11-base/xorg-server-1.5.3-r4 (~)
x11-apps/xinit-1.0.8-r4 (~)
x11-drivers/xf86-video-intel-2.6.3 (~)

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)

corg.conf:
...
Section "Module"
	Load "dri"
	Load "glx"

# The rest is "optional"
	Load "GLcore"
	Load "dbe"
	Load "extmod"
	Load "record"
	Load "xtrap"
	Load "freetype"
	Load "type1"
EndSection

Section "Extensions"
	Option "Composite" "Enable"
	Option "XVideo" "Enable"
	Option "DAMAGE" "true"
	Option "RENDER" "true"
EndSection
...
Section "Device"
	Identifier	"Intel GM965"
	Driver		"intel"
	BusID		"PCI:0:2:0"
	Option		"AccelMethod"		"EXA"
	Option		"MigrationHeuristic"	"greedy"
	Option		"ExaNoComposite"	"false"
EndSection
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-23 15:34:38 UTC
Please post your `emerge --info' and the (relevant) dmesg output and attach the Xorg.?.log too.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-24 23:11:31 UTC
Reopen this bug when you provide the requested information.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 21:56:59 UTC
*** Bug 265274 has been marked as a duplicate of this bug. ***
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-07 21:58:27 UTC
Reopening as there is another user reporting this issue.
Comment 5 Peter Hultqvist 2009-04-07 22:02:17 UTC
Created attachment 187641 [details]
emerge --info
Comment 6 Peter Hultqvist 2009-04-07 22:05:06 UTC
Created attachment 187643 [details]
dmesg during crash
Comment 7 Peter Hultqvist 2009-04-07 22:08:16 UTC
Created attachment 187646 [details]
Xorg.0.log
Comment 8 Peter Hultqvist 2009-04-07 22:12:42 UTC
I have found that the crash only happen when XVideo is used in VLC. Any other video output module such as X11 or OpenGL works without causing this crash.
Comment 9 paolo muratore-ginanneschi 2009-04-07 22:34:54 UTC
Created attachment 187651 [details]
emerge --info output

Same problem for me with with Linux-2.6.27-gentoo-r8-x86_64 after world-upgrading to xorg-server-1.5.3-r5 and xf86-video-intel-2.6.3-r1. Downgrading
xf86-video-intel to 2.5.1-r1 seems to avoid the X server crash. Below the gdm log file of the latest crash before downgrading
Thanks for your help.
*****************
 Build Operating System: Linux 2.6.27-gentoo-r8 x86_64 
Current Operating System: Linux gigio 2.6.27-gentoo-r8 #4 SMP Mon Mar 16 18:53:22 EET 2009 x86_64
Build Date: 07 April 2009  10:05:15PM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr  8 00:09:32 2009
(==) Using config file: "/etc/X11/xorg.conf"
Failed to initialize GEM.  Falling back to classic.
exaCopyDirty: Pending damage region empty!

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4dbeee]
1: /usr/bin/X(xf86SigHandler+0x39) [0x46c32e]
2: /lib/libc.so.6 [0x7f55b76f40a0]
3: /usr/lib/libdrm_intel.so.1 [0x7f55b616693b]
4: /usr/lib/libdrm_intel.so.1 [0x7f55b6166a35]
5: /usr/lib/libdrm_intel.so.1 [0x7f55b6166af5]
6: /usr/lib64/xorg/modules/drivers//intel_drv.so(I965DisplayVideoTextured+0xd6d) [0x7f55b63afa90]
7: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f55b63a5341]
8: /usr/bin/X [0x473d8d]
9: /usr/lib64/xorg/modules/extensions//libextmod.so [0x7f55b6e97e29]
10: /usr/bin/X(Dispatch+0x34d) [0x447c4a]
11: /usr/bin/X(main+0x442) [0x43069d]
12: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f55b76df486]
13: /usr/bin/X [0x42fb39]

Fatal server error:
Caught signal 11.  Server aborting


FatalError re-entered, aborting
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-04-08 10:29:19 UTC
Hrm, here's a suggestion :
1) grab the xf86-video-intel-9999_pre27 ebuild from the x11 overlay [1]
2) copy it to a local overlay, regenerate the Manifest
3) emerge that version

Maybe the bug is already fixed there...

Thanks
Comment 11 Peter Hultqvist 2009-04-08 11:19:32 UTC
(In reply to comment #10)
> Hrm, here's a suggestion :
> 1) grab the xf86-video-intel-9999_pre27 ebuild from the x11 overlay [1]

I used the x11 overlay using layman.
Before upgrading xf86-video-intel I had to upgrade libdrm to 9999.

Now I can't reproduce the crash anymore.

Anyone knows what version of xf86-video-intel that will have this fix?
Comment 12 Henrik Grubbström 2009-04-22 21:19:42 UTC
I have the same crash occurring as soon as I try to play a DVD with Xine.

From Xorg.0.log:

(--) PCI:*(0@0:2:0) Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller rev 12, Mem @ 0xf8000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[...]
(II) LoadModule: "intel"

(II) Loading /usr/lib64/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.6.3
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
[...]
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4ddc66]
1: /usr/bin/X(xf86SigHandler+0x39) [0x488df9]
2: /lib/libc.so.6 [0x7f0eca3081d0]
3: /usr/lib/libdrm_intel.so.1 [0x7f0ec9183db6]
4: /usr/lib/libdrm_intel.so.1 [0x7f0ec9183dc2]
5: /usr/lib/libdrm_intel.so.1 [0x7f0ec9183dc2]
6: /usr/lib/libdrm_intel.so.1 [0x7f0ec9185b19]
7: /usr/lib64/xorg/modules/drivers//intel_drv.so(intel_batch_flush+0x8e) [0x7f0ec93a945e]
8: /usr/lib64/xorg/modules/drivers//intel_drv.so(I965DisplayVideoTextured+0x1787) [0x7f0ec93cdae7]
9: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f0ec93c4efd]
10: /usr/bin/X [0x47f70e]
11: /usr/lib64/xorg/modules/extensions//libextmod.so [0x7f0ec9ec63d8]
12: /usr/bin/X(Dispatch+0x334) [0x4474f4]
13: /usr/bin/X(main+0x415) [0x42f175]
14: /lib/libc.so.6(__libc_start_main+0xf4) [0x7f0eca2f54a4]
15: /usr/bin/X [0x42e579]

Unfortunately upgrading to x11-libs/libdrm-9999 and x11-drivers/xf86-video-intel-9999_pre27 from the x11 overlay doesn't seem to help:

(II) LoadModule: "intel"

(II) Loading /usr/lib64/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.7.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
[...]
No backtrace(!), but dmesg says:
[drm:i915_getparam] *ERROR* Unknown parameter 5
X[15854]: segfault at 2f0 ip 00007f60a0c48114 sp 00007fffabc8b2d0 error 6 in intel_drv.so (deleted)[7f60a0c2a000+75000]
Comment 13 Henrik Grubbström 2009-04-24 19:14:53 UTC
After also upgrading the kernel from 2.6.27-gentoo-r8 to 2.6.28-gentoo-r5 video playback started working again.
Comment 14 Peter Hultqvist 2009-04-26 15:46:26 UTC
(In reply to comment #13)
> After also upgrading the kernel from 2.6.27-gentoo-r8 to 2.6.28-gentoo-r5 video
> playback started working again.
> 

Same her, after removing the x11 overlay and downgrading + upgrading the kernel I can no longer reproduce the crash.
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-05-05 11:42:53 UTC
Thanks to the both of you for the follow-up. Closing fixed.

Thanks
Comment 16 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-08 17:29:41 UTC
*** Bug 268349 has been marked as a duplicate of this bug. ***