LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-17-2008, 03:47 PM   #1
NathanPardoe
LQ Newbie
 
Registered: May 2008
Location: United Kingdom
Distribution: CRUX
Posts: 7

Rep: Reputation: 0
Display corruption and system lockup (Xorg server 1.4/xf86-intel 2.3.1)


Hi everybody,

When using the xorg-xf86-video-intel driver (2.3.1 current version at time of writing) with DRI enabled, display corruption and a system lockup occur when exiting an X session via menus or using Ctrl+Alt+Backspace. The system is unresponsive, however NumLock and other similar indicators respond correctly, but I cannot switch to any other consoles or otherwise control the system. The corruption is a collection of lines covering the screen, usually purple and white. Sometimes this is not the case, with the screen being partially covered in these lines and otherwise black, or black entirely. This problem also occurs using the older i810 driver. I've tried revisions 2.1.1 through to 2.3.1 (including version of 2.2.99 which fixes the problem for some) of the intel driver by modifying the xorg-xf86-video-intel port, all to no avail. It is worth noting that I've returned to using the 2.3.1 port as in the CRUX xorg repository.

I am using an Intel 950GMA graphics controller, listed by lspci as the following -

"00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)"

I'm running CRUX 2.4, with Linux 2.6.25.4. I have been able to reproduce the problem on Linux 2.6.24.7 and 2.6.25.3. I'm running the latest Xorg server build as per the xorg repository (1.4), with the system fully up-to-date at the time of writing. I've spent hours searching mailing lists and forums, even building my own version of the xorg-xf86-video-intel driver using patches reported to fix the problem (http://www.archlinux.org/packages/14160/).

I have included my X configuration file. It is of note that a variety of options mentioned by other people with this problem, such as what is mentioned in http://bugs.archlinux.org/task/7106 and http://bugs.archlinux.org/task/8976, have not fixed the problem. The only way I am able to use the intel driver is by disabling DRI. Disabling the composite extension, or using any other combination of options excluding DRI disabling, does not able me to exit X without a lockup. The load module line for dri has no effect if enabled or disabled, as with all other module load lines. If I enable DRI, the driver performs without issue until exiting. Regarding the examples used, I appreciate Arch Linux is not CRUX, but due to the similar nature of the problems described the references are of relevance to this bug.

At the risk of sounding stupid, the xorg-xf86-video-intel driver, "used to work". Recent updates to X and the kernel have resulted in this bug, but I am unable to pinpoint it in terms of it being a driver, X server or kernel issue. When the system locks up, no further writing to the X log occurs (i.e. no error messages are listed), which is why I have not included it in this post. If the log is required, I apologise in advance for not including it and will provide a copy on request. I've posted a CRUX bug report, but am looking for more general tips and guidance on any ways to mitigate or solve this problem as it doesn't appear to be specific to CRUX.

Using the vesa driver does not produce this bug, meaning (to my knowledge) only the intel and i810 drivers are experiencing problems. I have rebuilt my kernel, mesa3d, xorg-server and the drivers but this has not solved the problem.

I would appreciate any insight into this problem. I apologise if the information I have given is inadequate - if anything is missing let me know and I will provide what is needed. Thanks for taking the time to help.

xorg.conf
Quote:
Section "Device"
Identifier "Intel GMA 950"
Driver "vesa"
BusID "PCI:0:2:0"
Option "DRI" "false"
Screen 0
EndSection

Section "Device"
Identifier "Intel GMA 950 Extended"
Driver "vesa"
BusID "PCI:0:2:0"
Option "DRI" "false"
Option "monitor-LVDS" "AMILO LCD"
Option "monitor-VGA" "External Display"
Screen 0
EndSection

Section "Device"
Identifier "Intel GMA 950 VGA"
Driver "vesa"
Option "DRI" "false"
BusID "PCI:0:2:1"
Option "MonitorLayout" "LVDS+VGA,NONE"
Screen 1
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "enable"
Option "Render" "true"
EndSection

Section "Files"
FontPath "/usr/share/fonts/artwiz-aleczapka/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/vistafonts/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
FontPath "/usr/lib/X11/fonts/cyrillic/"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/TTF/"
FontPath "/usr/lib/X11/fonts/Type1/"
RgbPath "/usr/lib/X11/rgb"
EndSection

Section "InputDevice"
Identifier "AMILO Keyboard"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbLayout" "gb"
Option "XkbModel" "pc104"
Option "XkbRules" "xorg"
EndSection

Section "InputDevice"
Identifier "AMILO TouchPad"
Driver "mouse"
Option "Device" "/dev/input/mouse0"
Option "Emulate3Buttons" "yes"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "freetype"
Load "GLCore"
Load "glx"
Load "type1"
Subsection "extmod"
Option "omit xfree86-dga"
EndSubsection
EndSection

Section "Monitor"
Identifier "AMILO LCD"
HorizSync 28-64
Option "DPMS"
VertRefresh 43-60
EndSection

Section "Monitor"
Identifier "External Display"
HorizSync 30-70
Option "DPMS"
Option "RightOf" "AMILO LCD"
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "AMILO Pi 1505"
Device "Intel GMA 950"
Monitor "AMILO LCD"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x800_60"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "Extended LCDs"
Device "Intel GMA 950 Extended"
Monitor "AMILO LCD"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024_60" "1280x800_60" "1024x768_60"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "External Screen"
Device "Intel GMA 950 VGA"
Monitor "External Display"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024_60"
ViewPort 0 0
EndSubSection
EndSection

Section "ServerLayout"
Identifier "DarkMove"
Screen 0 "AMILO Pi 1505" 0 0
InputDevice "AMILO Keyboard" "CoreKeyboard"
InputDevice "AMILO TouchPad" "CorePointer"
Option "BlankTime" "5" # Blank screen after 5 minutes
Option "Clone" "off" # Prevent desktop duplication by enabling desktop extension
Option "StandbyTime" "10" # Turn off screen after 10 minutes
Option "SuspendTime" "15" # Hibernation after 15 minutes
Option "OffTime" "20" # Turn monitor off after 20 minutes
EndSection

Section "ServerLayout"
Identifier "DarkMoveDual"
Screen 0 "AMILO Pi 1505" 0 0
Screen 1 "External Screen" RightOf "AMILO Pi 1505"
InputDevice "AMILO Keyboard" "CoreKeyboard"
InputDevice "AMILO TouchPad" "CorePointer"
Option "BlankTime" "5" # Blank screen after 5 minutes
Option "Clone" "on" # Allow desktop duplication by disabling desktop extension
Option "StandbyTime" "10" # Turn off screen after 10 minutes
Option "SuspendTime" "15" # Hibernation after 15 minutes
Option "OffTime" "20" # Turn monitor off after 20 minutes
EndSection

Section "ServerLayout"
Identifier "DarkMoveExtended"
Screen 0 "Extended LCDs" 0 0
Screen 1 "Extended LCDs" RightOf "Extended LCDs"
InputDevice "AMILO Keyboard" "CoreKeyboard"
InputDevice "AMILO TouchPad" "CorePointer"
Option "BlankTime" "5" # Blank screen after 5 minutes
Option "Clone" "off" # Prevent desktop duplication by enabling desktop extension
Option "StandbyTime" "10" # Turn off screen after 10 minutes
Option "SuspendTime" "15" # Hibernation after 15 minutes
Option "OffTime" "20" # Turn monitor off after 20 minutes
EndSection
 
Old 05-17-2008, 04:27 PM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
I had similar problem, after digging in Xorg bugzilla (this problem seems appear and disappear for some users) I tried the GIT version of Xorg driver and haven't had this problem since then. I'm running 2.6.25-r3 kernel. DRI from Gentoo Portage was too old for this driver, so I had to switch to GIT version of DRM too.
 
Old 05-17-2008, 06:35 PM   #3
NathanPardoe
LQ Newbie
 
Registered: May 2008
Location: United Kingdom
Distribution: CRUX
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Emerson View Post
I had similar problem, after digging in Xorg bugzilla (this problem seems appear and disappear for some users) I tried the GIT version of Xorg driver and haven't had this problem since then. I'm running 2.6.25-r3 kernel. DRI from Gentoo Portage was too old for this driver, so I had to switch to GIT version of DRM too.
Thanks for the reply. I've tried the git versions of the Intel driver and DRM library, but this hasn't fixed the problem. The display corruption looks a little different, but other than that the bug is still there. I'm thinking the problem is specific to my card. Do you have any further suggestions?
 
Old 05-17-2008, 07:04 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
No other ideas but file a bug at https://bugs.freedesktop.org/
 
Old 05-18-2008, 03:08 AM   #5
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
Might be nothing to do with your problem but I had a whole slew of Video problems until I disabled XGL.

If XGL is active on your machine try disabling it (from either GNOME or KDE) gnome-switch--disable-xgl.

Not sure if this is applicable to your system but XGL currently just seems a bit too unstable.

Cheers

-K
 
Old 05-19-2008, 04:36 PM   #6
NathanPardoe
LQ Newbie
 
Registered: May 2008
Location: United Kingdom
Distribution: CRUX
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 1kyle View Post
Might be nothing to do with your problem but I had a whole slew of Video problems until I disabled XGL.

If XGL is active on your machine try disabling it (from either GNOME or KDE) gnome-switch--disable-xgl.

Not sure if this is applicable to your system but XGL currently just seems a bit too unstable.

Cheers

-K
Thanks for your reply. I tried disabling XGL, but the same crash occurred. I've submitted a bug upstream at https://bugs.freedesktop.org/show_bug.cgi?id=16023.

Last edited by NathanPardoe; 05-19-2008 at 04:55 PM.
 
Old 06-08-2008, 08:08 AM   #7
NathanPardoe
LQ Newbie
 
Registered: May 2008
Location: United Kingdom
Distribution: CRUX
Posts: 7

Original Poster
Rep: Reputation: 0
The bug is seemingly resolved, without me changing anything. For reference purposes, see https://bugs.freedesktop.org/show_bug.cgi?id=16023#c8.
 
  


Reply

Tags
graphics, intel, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling xf86-video-intel and xorg-macros 1.1.3 centguy Linux - Software 7 03-19-2010 01:34 AM
Feisty + Intel i915 module on 915GEVL motherboard + Xorg = scrambled display devghai Ubuntu 4 08-31-2007 02:10 AM
Feisty + Intel i915 module on 915GEVL motherboard + Xorg = scrambled display devghai Ubuntu 2 08-25-2007 02:08 PM
xorg.conf wanted for Intel 915GM display adapter on Dell D610 running on Fedora 3 syseeker Linux - Software 11 04-27-2006 01:02 AM


All times are GMT -5. The time now is 08:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration