Results 1 to 8 of 8
Last few days I've been working on getting Gentoo on my Acer Aspire One, and it's all been going good till I tried running a 3D game (just to test ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-01-2009 #1Linux User
- Join Date
- Jan 2006
- Posts
- 414
OpenGL causes X to crash with Intel grahics device
Last few days I've been working on getting Gentoo on my Acer Aspire One, and it's all been going good till I tried running a 3D game (just to test OpenGL of course), at which point X crashed. A little experimentation shows the same thing happens (X crashes) when I try to run glxgears or glxinfo too... so obviously something is stuffed.
Anyway, as root I did "startx >> x.log 2>&1" then ran glxgears from an xterm, here's the contents of x.log:
and my xorg.confCode:xauth: creating new authority file /root/.serverauth.5295 X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: Linux dandelion 2.6.28 #6 SMP Fri Jan 2 09:13:41 EST 2009 i686 Build Date: 01 January 2009 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present 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: Sat Jan 3 06:26:36 2009 (==) Using config file: "/etc/X11/xorg.conf" (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found (II) Module already built-in (II) Module already built-in (II) Module already built-in (WW) intel(0): Failed to set up write-combining range (0x20000000,0x10000000) Synaptics DeviceInit called SynapticsCtrl called. Synaptics DeviceOn called Unrecognized deviceID 27ae Backtrace: 0: X(xf86SigHandler+0x81) [0x80c34f0] 1: [0xb7fdc400] 2: /usr/lib/xorg/modules/extensions//libglx.so [0xb7c92644] 3: /usr/lib/xorg/modules/extensions//libglx.so(DoMakeCurrent+0x236) [0xb7c60bc1] 4: /usr/lib/xorg/modules/extensions//libglx.so [0xb7c60ec7] 5: /usr/lib/xorg/modules/extensions//libglx.so [0xb7c62dd5] 6: X [0x814b6ba] 7: X(Dispatch+0x19f) [0x808bfd2] 8: X(main+0x491) [0x8074e68] 9: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d66fdc] 10: X(FontFileCompleteXLFD+0x1e5) [0x80741d1] Fatal server error: Caught signal 11. Server aborting X connection to :0.0 broken (explicit kill or server shutdown). X connection to :0.0 broken (explicit kill or server shutdown). xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xinit: connection to X server lost. login: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
lspci | grep -i vgaCode:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/share/X11/rgb" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "GLcore" Load "xtrap" Load "dri" Load "glx" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "synaptics" Option "Protocol" "auto" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5 6 7" Option "CorePointer" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/input/mouse1" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Buttons" "5" Option "SendCoreEvents" EndSection Section "Monitor" #DisplaySize 200 110 # mm Identifier "Monitor0" VendorName "AUO" ModelName "11c2" EndSection Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Unknown Board" BusID "PCI:0:2:0" Option "NoDDC" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Modes "1024x600" Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" Option "RENDER" "Enable" EndSection Section "DRI" Mode 0666 EndSection
I'm currently running kernel 2.6.28 straight from kernel.org, as it supports my SD Card reader better than the current gentoo-sources (2.6.27?) one, but tests with both kernels show the same result.Code:00:02.0 VGA compatible controller: Intel Corporation Device 27ae (rev03)
Ideas, suggestions, help! most appreciated.
- 01-02-2009 #2Linux User
- Join Date
- Jan 2006
- Posts
- 414
If I comment out:
in the module of xorg.conf X no longer crashes, but rendering is now very very slow. glxgears averages 50-70FPS.Code:# Load "dri"
Debian had a bug in Mesa DRI's Intel driver in August 07 which reported this as a temporary fix. So I guess I need to look into mesa, and what it's stuffing up.
- 01-02-2009 #3Linux User
- Join Date
- Jan 2006
- Posts
- 414
Well I got it to work.
The short version: unmask the latest xorg and emerge it.
The long version:
Add the following to your /etc/portage/package.keywords
Now emerge xorg-x11:Code:~x11-base/xorg-x11-7.4 ~x11-base/xorg-server-1.4.2 ~x11-libs/libXrender-0.9.4 ~media-libs/mesa-7.2 ~x11-libs/xtrans-1.0.4 ~x11-proto/renderproto-0.9.3 ~x11-libs/libdrm-2.3.1 ~x11-proto/xextproto-7.0.3 ~x11-libs/libXext-1.0.4 ~x11-proto/inputproto-1.4.4 ~x11-libs/libX11-1.1.5 ~x11-proto/xf86driproto-2.0.4 ~x11-libs/libXxf86vm-1.0.2 ~x11-apps/mesa-progs-7.1 ~x11-drivers/xf86-video-intel-2.5.1 ~x11-libs/libdrm-2.4.1 ~x11-apps/x11perf-1.5 ~x11-apps/xev-1.0.3 ~x11-apps/mkfontdir-1.0.4 ~x11-apps/xprop-1.0.4 ~x11-libs/libXau-1.0.4 ~x11-libs/libXrandr-1.2.3 ~media-fonts/font-xfree86-type1-1.0.1 ~x11-libs/libpciaccess-0.10.3 ~x11-apps/xkbcomp-1.0.5 ~x11-apps/sessreg-1.0.4 ~x11-apps/xset-1.0.4 ~x11-apps/mkfontscale-1.0.5 ~x11-libs/xtrans-1.2.2 ~x11-apps/xdpyinfo-1.0.3 ~x11-libs/libXinerama-1.0.3 ~x11-libs/libXmu-1.0.4 ~x11-apps/xrdb-1.0.5 ~x11-libs/libFS-1.0.1 ~x11-apps/xwininfo-1.0.4 ~x11-apps/xauth-1.0.3 ~x11-apps/luit-1.0.3 ~x11-misc/util-macros-1.1.6-r1 ~x11-misc/xinput-1.3.0 ~x11-libs/libSM-1.1.0 ~x11-libs/libXfont-1.3.3 ~x11-libs/libXv-1.0.4 ~x11-apps/xrandr-1.2.3 ~x11-libs/libXScrnSaver-1.1.3 ~x11-libs/libxkbfile-1.0.5 ~x11-libs/libXft-2.1.13 ~x11-base/xorg-server-1.5.2 ~x11-apps/xwd-1.0.2 ~x11-libs/pixman-0.12.0 ~x11-proto/xproto-7.0.13 ~x11-misc/xkeyboard-config-1.3 ~x11-apps/rgb-1.0.3 ~x11-apps/xinit-1.0.8-r3 ~x11-proto/randrproto-1.2.2 ~x11-drivers/xf86-input-keyboard-1.3.1 ~x11-drivers/xf86-video-vesa-2.0.0 ~x11-drivers/xf86-input-evdev-2.0.6 ~x11-drivers/xf86-input-mouse-1.3.0 ~x11-drivers/xf86-input-joystick-1.3.2 ~x11-drivers/xf86-input-synaptics-0.99.3
Now emerge video/keyboard/mouse/touchpad drivers:Code:emerge xorg-x11
and emerge mesa:Code:emerge xf86-video-intel xf86-input-mouse xf86-input-keyboard xf86-input-synaptics
Next configure X:Code:emerge mesa
And move the new xorg.conf to the right place:Code:Xorg -configure
Uncomment the line for NoDDC in the Device section so you don't have supersized fonts:Code:mv xorg.conf.new /etc/X11/xorg.conf
Finally restart X:Code:Option "NoDDC"
Login, open an xterm, and run glxgears, it all should work.Code:/etc/init.d/xdm restart
Here's my xorg.conf now:
Code:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "xtrap" Load "dri" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Option "NoDDC" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Unknown Board" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection
- 03-17-2009 #4Just Joined!
- Join Date
- Mar 2009
- Posts
- 3
Hey!
I had the same problem and followed the instructions in your post.
Opengl works, but now i got a new problem.
Since the update of the xserver synaptics doesnt work properly anymore (only moving the cursor and clicking with the hardware-buttons works, but no scrolling and clicking with the touchpad itself) and my external usb-mouse doesnt work at all anymore.
I thing i did configure them right in xorg.conf after the update.
here is my xorg.conf:
and here is whatCode:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection Section "Module" Load "record" Load "dbe" Load "xtrap" Load "extmod" Load "glx" Load "dri" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "de" EndSection Section "InputDevice" Identifier "Mouse0" Driver "synaptics" Option "Protocol" "auto" Option "Device" "/dev/input/mouse0" Option "ZAxisMapping" "4 5 6 7" Option "CorePointer" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Device" "/dev/input/mouse1" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Buttons" "5" Option "SendCoreEvents" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" DisplaySize 195 113 EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "SWcursor" # [<bool>] #Option "ColorKey" # <i> #Option "CacheLines" # <i> #Option "Dac6Bit" # [<bool>] #Option "DRI" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ShowCache" # [<bool>] #Option "XvMCSurfaces" # <i> #Option "PageFlip" # [<bool>] Option "NoDDC" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile 945GME Express Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Modes "1024x600" Depth 24 EndSubSection EndSection
tells me:Code:cat /proc/bus/input/devices
Would be cool if somebody could tell me what the problem is.Code:I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 S: Sysfs=/devices/platform/pcspkr/input/input0 U: Uniq= H: Handlers=kbd event0 B: EV=40001 B: SND=6 I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 S: Sysfs=/devices/platform/i8042/serio0/input/input1 U: Uniq= H: Handlers=kbd event1 B: EV=120013 B: KEY=10000 c0200 0 0 0 0 0 700f 2000003 3803078 f830f401 feffffdf ffefffff ffffffff ffffffff B: MSC=10 B: LED=7 I: Bus=0011 Vendor=0002 Product=0007 Version=01b1 N: Name="SynPS/2 Synaptics TouchPad" P: Phys=isa0060/serio2/input0 S: Sysfs=/devices/platform/i8042/serio2/input/input2 U: Uniq= H: Handlers=mouse0 event2 B: EV=b B: KEY=6420 0 70000 0 0 0 0 0 0 0 0 B: ABS=11000003 I: Bus=0019 Vendor=0000 Product=0006 Version=0000 N: Name="Video Bus" P: Phys=/video/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:19/input/input3 U: Uniq= H: Handlers=kbd event3 B: EV=3 B: KEY=3f000b 0 0 0 0 0 0 0 I: Bus=0019 Vendor=0000 Product=0002 Version=0000 N: Name="Power Button (FF)" P: Phys=LNXPWRBN/button/input0 S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4 U: Uniq= H: Handlers=kbd event4 B: EV=3 B: KEY=100000 0 0 0 I: Bus=0019 Vendor=0000 Product=0001 Version=0000 N: Name="Power Button (CM)" P: Phys=PNP0C0C/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input5 U: Uniq= H: Handlers=kbd event5 B: EV=3 B: KEY=100000 0 0 0 I: Bus=0019 Vendor=0000 Product=0005 Version=0000 N: Name="Lid Switch" P: Phys=PNP0C0D/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input6 U: Uniq= H: Handlers=event6 B: EV=21 B: SW=1 I: Bus=0019 Vendor=0000 Product=0003 Version=0000 N: Name="Sleep Button (CM)" P: Phys=PNP0C0E/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input7 U: Uniq= H: Handlers=kbd event7 B: EV=3 B: KEY=4000 0 0 0 0
Thanks for your help!
- 03-21-2009 #5Linux User
- Join Date
- Jan 2006
- Posts
- 414
Hi Wulfi, here's what I've got for mouse at the moment:
Which handles both the touchpad and an external mouse, clicking with the touchpad works, but not scrolling - which is how I like it.Code:Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection
- 03-21-2009 #6Just Joined!
- Join Date
- Mar 2009
- Posts
- 3
thanks for your post!
I changed it to your settings but it didnt work.
- 03-22-2009 #7Linux User
- Join Date
- Jan 2006
- Posts
- 414
have you got generic mouse drivers installed? xf86-input-mouse or something like that, maybe re-emerge them if you do? They might still be compiled against the old xorg?
- 03-22-2009 #8Just Joined!
- Join Date
- Mar 2009
- Posts
- 3
i did that already, it didnt solve the problem.
I think i will have to live with it for a while, as i dont have to much time now playing around with my system.
But really thanks for your help!


Reply With Quote
