Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439560 - x11-drivers/xf86-video-intel random segmentation faults on GDM login
Summary: x11-drivers/xf86-video-intel random segmentation faults on GDM login
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 20:48 UTC by galahad_146
Modified: 2012-11-28 21:06 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log.old with errors (Xorg.0.log.old,29.30 KB, text/plain)
2012-10-24 20:48 UTC, galahad_146
Details
Xorg.0.log.old without errors (Xorg.0.log,27.17 KB, text/plain)
2012-10-24 20:49 UTC, galahad_146
Details
emerge --info (emerge --info.txt,4.95 KB, text/plain)
2012-10-24 20:50 UTC, galahad_146
Details

Note You need to log in before you can comment on or make changes to this bug.
Description galahad_146 2012-10-24 20:48:11 UTC
Created attachment 327338 [details]
Xorg.0.log.old with errors

It happens almost every time on GDM startup: the login prompt is displayed (although it should not, I have set autologin), I enter my username/password and hit "enter", then the screen goes blank, switches to tty1 and after a second or two the GDM login screen appears again, I try to login this way up to 4 times in series, but on the last attempt it logins successfully. It's VERY annoying.

Re-emerging xorg-server helps, but only for the first reboot, after that the problem appears again.

The Xorg.0.log file is ok, but luckily there's Xorg.0.log.old, which states that XServer segfauls. That's all I was able to investigate
Comment 1 galahad_146 2012-10-24 20:49:30 UTC
Created attachment 327342 [details]
Xorg.0.log.old without errors
Comment 2 galahad_146 2012-10-24 20:50:00 UTC
Created attachment 327344 [details]
emerge --info
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-24 21:05:04 UTC
From the log, the problem appears to be in pixman or in xf86-video-intel.

What versions, and with what USE flags, of the following packages do you have installed?

x11-libs/pixman, x11-drivers/xf86-video-intel, media-libs/mesa, x11-base/xorg-server, gnome-base/gdm.
Comment 4 galahad_146 2012-10-24 21:41:40 UTC
x11-libs/pixman-0.26.0
media-libs/mesa-8.0.4-r1
gnome-base/gdm-2.20.11-r1
x11-base/xorg-server-1.12.2
x11-drivers/xf86-video-intel-2.19.0

-O2 -march=i686 -pipe
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-10-24 22:04:22 UTC
Does the crash happen both with SNA and UXA? And can you try pixman/xf86-video-intel from ~arch?
Comment 6 galahad_146 2012-10-24 22:28:07 UTC
Excuse me, I'm relatively noob, what should I do about SNA and UXA? And I suppose by "~arch" you meant "~x86"?
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-10-25 00:23:11 UTC
Yes, ~arch is a general term for ~amd64, ~x86 and so on.

According to your Xorg.0.log you are using SNA now. Set the AccelMethod option in the Device section of your xorg configuration to change this. See "man intel" for details.
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-25 01:04:15 UTC
Note that if you update to xf86-video-intel from ~arch and want to use UXA as the AccelMethod, you will need to re-emerge xf86-video-intel with the "uxa" USE flag enabled.
Comment 9 galahad_146 2012-10-25 06:29:09 UTC
Though I didn't have SNA in AccelMethod, I re-emerged xf86-video-intel and pixman with "-sna" flag and so far autologin worked for 2 reboots.

Before stating that the issue is solved, would you let me perform some more testing?
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-10-25 11:21:20 UTC
SNA is the new default for intel, and UXA will go away in the future. So the issue is cannot be considered solved either way.
Comment 11 galahad_146 2012-10-26 05:37:11 UTC
Well, it seems the re-emerge of pixman really helped, the problem is gone, but there's one question, I really want to use SNA, so how to get rid of the problem with it?
Comment 12 Priit Laes (IRC: plaes) 2012-10-26 08:24:02 UTC
(In reply to comment #11)
> Well, it seems the re-emerge of pixman really helped, the problem is gone,
> but there's one question, I really want to use SNA, so how to get rid of the
> problem with it?

Reporting it to upstream (with tracebacks, logs) usually helps.

Just one example: https://bugs.freedesktop.org/show_bug.cgi?id=55823
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2012-11-28 21:06:44 UTC
Are you still having troubles with the latest ~arch ebuild (2.20.14 as of today) with *both* USE=sna and Option "AccelMethod" "sna" in your xorg.conf? If so, please let us know and open a bug report upstream [1].

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html