DRI and AIGLX working properly (AFAIK)
Hardware: Compaq Presario P3-833 w/integrated i810e graphics. 128Megs system ram. I try to allocate upto 16megs to the graphics card but I don't know how much is being utilised or how to check.
Software: Gentoo kernel 2.6.18-r2, KDE, Xorg 7.1, compiled with i8x0 DRM and DRI driver support
Initially, I installed Beryl via the gentoo-wiki pages. Switched to kdm for a gui login and tried logging in. Got the Beryl splash screen fading in and out with the wobbly rounded rectangle (sometimes, the screen was all white, other times, it looked normal), but it would crash the server before the splash screen faded out completely.
So, I decided to login via console. did startx and got into kde. opened up konsole and ran "beryl-manager"
This time, beryl loaded up with the splash screen fading in and out (background went black and win-deco blanked out while it initialised but the damn thing finally loaded) and I got the default theme with the transparent windeco and the menu drop-shadow.
As long as I didn't press any key or mouse button, or move the mouse to touch any dialog-boxes on the screen, it was fine. As soon as I pressed a key or touched an icon/menu-button with the mouse, X server crashed with a sig-11. No debug info, just a backtrace with:
0: X(xf86SinHandler+0x88)
1: /usr/lib/xorg/modules/extensions/libglx.so
I got only the following warnings in Xorg.0.log when I checked it:
A bunch of "AIGLX: 3D driver claims to not support visual 0xXX"
When I check my glxinfo, libGL warns "3D driver claims to not support visual 0x4b". When I loaded up beryl-manager, I get the following message in the konsole:
XGL Absent, checking for NVIDIA
Nvidia Absent, assuming AIGLX
libGL warning: 3D driver claims to not support visual 0x4b
beryl: No stencil buffer. Clipping fo transformed windows is not going to be correct when screen is transformed
Initiating splash
beryl: water: GL_ARB_fragment_program is missing
If anyone can help, I would really be grateful. This is just driving me insane. I thought i810 was supported perfectly. I'm probably overlooking something really stupid, huh?
Thanks for the help guys!
Here is my condensed xorg.conf:
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Files"
## Bunch of Font Paths
EndSection
Section "ServerFlags"
Option "AIGLX" "true"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "dvorak,us"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "CTX PL7"
HorizSync 30-72
VertRefresh 50-130
DisplaySize 270 203
EndSection
Section "Device"
Identifier "i810 w/ 16MB Shared Memory"
Driver "i810"
VideoRam 16384
# Option "ForcePCIMode" "true"
Option "XAANoOffscreenPixmaps"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "i810 w/ 16MB Shared Memory"
Monitor "CTX PL7"
DefaultDepth 16 ##DRI won't work in 24bit mode##
###"AddARGBGLXVisuals" doesn't get used for some reason###
# Option "AddARGBGLXVisuals" "true"
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection