Intel GMA X4500 no OpenGL in OpenSuSe 11.1

Hello,

I’m using OpenSuse 11.1 with an Gigabyte GA-EG43M-S2H Mainboard (Onboard VGA, Intel GMA X4500 Chip) and can’t get OpenGL working.

2D Graphic works fine.
3D not!

glxgears
Xlib: extension “GLX” missing on display “:0.0”.
glxgears: Error: couldn’t get an RGB, Double-buffered visual.

Linux localhost 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux

/etc/X11/xorg.conf


Section “Module”
Load “dri”
Load “dbe”
Load “freetype”
Load “extmod”
Load “glx”
EndSection

Section “Device”
BoardName “G45/G43”
Driver “intel”
Identifier “Device[0]”
Option “monitor-VGA” “Monitor[0]”
VendorName “Intel”
EndSection

xorg-x11-server-7.4-17.3

With an Geforce Card I got OpenGL working on the same system. So what’ might be wrong with my configuration?

I get it working. After I had updated the the system with the following “testing” packages from ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/X11:/XOrg:/testing/openSUSE_11.1/i586/ and Index of /repositories/Kernel:/HEAD/openSUSE_Factory/i586

New Kernel from OpenSuSe Factory (> 11.1).
kernel-pae-2.6.29-rc7.37.1.i586.rpm
kernel-pae-base-2.6.29-rc7.37.1.i586.rpm
kernel-pae-extra-2.6.29-rc7.37.1.i586.rpm

New DRM, MESA, xorg, etc.
libdrm-2.4.4-1.1.i586.rpm
libdrm-devel-2.4.4-1.1.i586.rpm
Mesa-7.2-13.6.i586.rpm
xorg-x11-driver-video-7.4-32.6.i586.rpm
xorg-x11-proto-devel-7.4-2.1.i586.rpm

Use rpm -Uhv *.rpm to update.

Restart with new kernel version. After rebooting AppAmor doesn’t work with new kernel version.

Test dri with:

glxgears
2569 frames in 5.0 seconds = 513.608 FPS

Now all 3D desktop effects work fine! :wink:

See my configuration: cat /etc/X11/xorg.conf

/…/

SaX generated X11 config file

Created on: 2009-02-13T17:04:54+0100.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>

Automatically generated by [ISaX] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “Files”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “Module”
Load “glx”
Load “dbe”
Load “extmod”
Load “freetype”
Load “dri”
EndSection

Section “InputDevice”
Driver “kbd”
Identifier “Keyboard[0]”
Option “Protocol” “Standard”
Option “XkbLayout” “de”
Option “XkbModel” “logiex110”
Option “XkbRules” “xfree86”
Option “XkbVariant” “nodeadkeys”
EndSection

Section “InputDevice”
Driver “mouse”
Identifier “Mouse[1]”
Option “Buttons” “14”
Option “Device” “/dev/input/mice”
Option “Name” “Logitech USB Receiver”
Option “Protocol” “explorerps/2”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Section “Monitor”
DisplaySize 337 270
HorizSync 30-80
Identifier “Monitor[0]”
ModelName “PROVIEW MIRO TD271”
Option “DPMS”
Option “PreferredMode” “1280x1024”
VendorName “PTS”
VertRefresh 43-75
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
Modeline “1280x1024” 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 15
Modes “1280x1024” “1280x960” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
Virtual 3840 1200
EndSubSection
SubSection “Display”
Depth 16
Modes “1280x1024” “1280x960” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
Virtual 3840 1200
EndSubSection
SubSection “Display”
Depth 24
Modes “1280x1024” “1280x960” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
Virtual 3840 1200
EndSubSection
SubSection “Display”
Depth 8
Modes “1280x1024” “1280x960” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
Virtual 3840 1200
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “G45/G43”
Driver “intel”
Identifier “Device[0]”
Option “monitor-VGA” “Monitor[0]”
Screen 0
VendorName “Intel”

Option “AccelMethod” “XAA”

Option “XAANoOffscreenPixmaps” “true”
Option “AllowGLXWithComposite” “true”
Option “EnablePageFlip” “true”
Option “TripleBuffer” “true”
EndSection

Section “ServerLayout”
Identifier “Layout[all]”
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
Option “Clone” “off”
Option “Xinerama” “off”
Screen “Screen[0]”
EndSection

Section “DRI”
Group “video”
Mode 0660
EndSection

Section “Extensions”
Option “Composite” “Enable”
EndSection