Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261783 - x11-drivers/xf86-video-intel-2.6.3 crashes xorg
Summary: x11-drivers/xf86-video-intel-2.6.3 crashes xorg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 23:03 UTC by Zsolti
Modified: 2009-07-07 10:02 UTC (History)
5 users (show)

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


Attachments
xorg.conf (xorg.conf,6.32 KB, text/plain)
2009-03-08 23:04 UTC, Zsolti
Details
emerge --info (emerge_info.log,4.13 KB, text/plain)
2009-03-08 23:14 UTC, Zsolti
Details
Xorg log from last X crash (Xorg.0.log.old,21.54 KB, text/plain)
2009-03-20 07:58 UTC, Peter Buxton
Details
emerge --info (emerge.info.txt,3.59 KB, text/plain)
2009-03-20 08:01 UTC, Peter Buxton
Details
Selected output from GDB of X (X-gdb-debug.txt,5.79 KB, text/plain)
2009-03-30 05:15 UTC, Scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolti 2009-03-08 23:03:24 UTC
updating to xf86-video-intel-2.6.3 caused a crash of xorg after loging in with gdm. almost the whole machine freezed. couldn't try to login via ssh. but no vt-switching works.
im running on xorg-server-1.6.0. can't provide a log since i downgraded to xf86-video-intel-2.6.1, which works just fine.
the laptop is a macbook rev2. graphic card is: a 945GM



Reproducible: Always

Steps to Reproduce:
1. login via gdm
2.
3.

Actual Results:  
screen freeze. crash?
Comment 1 Zsolti 2009-03-08 23:04:06 UTC
Created attachment 184383 [details]
xorg.conf
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 23:09:22 UTC
Please post your "emerge --info" and tell from which overlay you installed xorg-server-1.6.0
Re-open this bug when you provide that information.
Comment 3 Zsolti 2009-03-08 23:14:26 UTC
Created attachment 184384 [details]
emerge --info
Comment 4 Zsolti 2009-03-08 23:16:11 UTC
(In reply to comment #2)
> tell from which overlay you installed
> xorg-server-1.6.0
from the gentoo x11 overlay

Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-08 23:18:36 UTC
Reassigning to x11 herd.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-03-09 07:50:52 UTC
Xorg.0.log.old should be still available as Xorg rotates the two files on its own.

Please attach it.

Thanks
Comment 7 Peter Buxton 2009-03-20 07:56:57 UTC
I have the same problem with X.org 1.5.3-r5. Will attach Xorg.0.log.old and emerge --info.
Comment 8 Peter Buxton 2009-03-20 07:58:43 UTC
Created attachment 185603 [details]
Xorg log from last X crash

This only crashed X, not the kernel.
Comment 9 Peter Buxton 2009-03-20 08:01:11 UTC
Created attachment 185604 [details]
emerge --info
Comment 10 Peter Buxton 2009-03-20 08:18:58 UTC
The keyboard locks up during this crash, but the kernel runs normally. /dev/dri/card0 has permissions 'crw-rw---- root video' and I am in the video group. Not that it matters, I think, but I start X with ~/.xinitrc.

Xorg locks up when I exit awesome wm. Mplayer does not display movie images unless I specify '-vo x11' to disable the Xv extension. xglock works and shows GL screensavers at normal speed.

Aside from the lockup bug, and the mplayer bug (which showed up after I updated xorg-server and xf86-video-intel but before I updated mplayer) everything else works fine.

My portage overlay has been empty for a while and I've used no other overlays. Also, I compiled Xorg and intel.drv with gcc 4.3.3, not 4.3.3-r1, sorry.
Comment 11 Peter Buxton 2009-03-20 19:47:30 UTC
Sorry about bug reporting so late in the night. After some sleep, I re-emerged x11-drivers/xf86-video-intel-2.6.1 and the lockup and Mplayer problems are fixed.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-03-20 19:54:07 UTC
(In reply to comment #11)
> Sorry about bug reporting so late in the night. After some sleep, I re-emerged
> x11-drivers/xf86-video-intel-2.6.1 and the lockup and Mplayer problems are
> fixed.

So 2.6.3 still doesn't work?
Comment 13 Peter Buxton 2009-03-21 10:07:40 UTC
(In reply to comment #12)
> So 2.6.3 still doesn't work?

No, still broken. Per your email, I tried 2.6.3-r1, and it fixed the Xv/MPlayer problem, but X11 still crashed on exit. I am back on 2.6.1 again.

-p
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-03-22 19:33:16 UTC
(In reply to comment #13)
> No, still broken. Per your email, I tried 2.6.3-r1, and it fixed the Xv/MPlayer
> problem

Great! One down :)

> but X11 still crashed on exit. I am back on 2.6.1 again.

Alright, let's try the hard-yet-effective way : git bisect. Please head over to this comment https://bugs.gentoo.org/show_bug.cgi?id=261531#c5 and try to apply the method.

Please don't hesitate to ask if you have any questions.

Thanks
Comment 15 Martin Kupec 2009-03-26 08:49:22 UTC
I have the same problem. Using
x11-drivers/xf86-video-intel-2.6.3-r1
x11-base/xorg-server-1.5.3-r5
and vanilla kernel 2.6.29.
It crashes after launching anything using GTK(e.g. firefox)
When I switch to kernel 2.6.28 everything works.
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-03-26 09:27:10 UTC
(In reply to comment #15)
> I have the same problem. Using
> x11-drivers/xf86-video-intel-2.6.3-r1
> x11-base/xorg-server-1.5.3-r5
> and vanilla kernel 2.6.29.
> It crashes after launching anything using GTK(e.g. firefox)
> When I switch to kernel 2.6.28 everything works.

Probably another bug. Please file a new one.

Thanks
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2009-03-26 15:30:58 UTC
Or actually, even if it's the same bug, please try to do the git bisect.

Thanks
Comment 18 José Otávio Rizzatti Ferreira 2009-03-27 11:58:12 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > I have the same problem. Using
> > x11-drivers/xf86-video-intel-2.6.3-r1
> > x11-base/xorg-server-1.5.3-r5
> > and vanilla kernel 2.6.29.
> > It crashes after launching anything using GTK(e.g. firefox)
> > When I switch to kernel 2.6.28 everything works.
> 
> Probably another bug. Please file a new one.
> 
> Thanks
> 

Ain't it related to the new KMS features in the kernel? I'm searching for this, because X started crashing after I updated to 2.6.29, just after login with GDM.
Comment 19 Scott 2009-03-30 02:20:19 UTC
Hi, also having same problem with gentoo-sources-2.6.29

Believe is related to kernel mode switching.

Xorg dumps this.

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4ea426]
1: /usr/bin/X(xf86SigHandler+0x39) [0x4891f9]
2: /lib/libc.so.6 [0x7fe9e5d7a270]
3: /usr/lib/libdrm_intel.so.1 [0x7fe9e49e8fd2]
4: /usr/lib/libdrm_intel.so.1 [0x7fe9e49e8f0c]
5: /usr/lib/libdrm_intel.so.1 [0x7fe9e49e8f0c]
6: /usr/lib/libdrm_intel.so.1 [0x7fe9e49e93fc]
7: /usr/lib64/xorg/modules/drivers//intel_drv.so(i965_prepare_composite+0x2e4) [0x7fe9e4c3fb24]
8: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7fe9e4c4e6e8]
9: /usr/lib64/xorg/modules/drivers//intel_drv.so(uxa_composite+0x6d0) [0x7fe9e4c4efb0]
10: /usr/bin/X [0x52b638]
11: /usr/bin/X [0x51a949]
12: /usr/bin/X(Dispatch+0x364) [0x44a2e4]
13: /usr/bin/X(main+0x44d) [0x430b2d]
14: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fe9e5d665c6]
15: /usr/bin/X [0x42ff19]
Comment 20 Scott 2009-03-30 05:15:28 UTC
Created attachment 186712 [details]
Selected output from GDB of X

For my system, during the first run it selects the wrong (non-native resolution) for my screen.

The second run does actually select the correct resolution.
Comment 21 Rémi Cardona (RETIRED) gentoo-dev 2009-03-30 06:40:10 UTC
Please do the bisect, file a bug in FreeDesktop's bugzilla and paste the url here, that's *all* I can suggest.

Thanks
Comment 22 Scott 2009-03-30 08:10:54 UTC
This is fixed upstream, sometime after 2.6.99.902 however.
(Happily running 2.6.29 with xf86-video-intel-9999 and xorg-server-1.6.0 from x11 overlay)
Comment 23 Rémi Cardona (RETIRED) gentoo-dev 2009-07-07 10:01:45 UTC
Reopening
Comment 24 Rémi Cardona (RETIRED) gentoo-dev 2009-07-07 10:02:18 UTC
2.7.1 and newer are now in portage. Closing with the proper resolution.

Thanks