Hello,
Running up-to-date woody with Matrox G400: kernel 2.4.10 and X 4.1.0-6.
It seems that I have to choose in /etc/X11/XF86Config-4 between DRI
and textures:
(**) MGA(0): Option "TexturedVideo" "on"
(EE) MGA(0): Textured video enabled, not initializing the DRI
The issue here is playing bzflag (www.bzflag.org). If I choose
"TexturedVideo," bzflag loads "Mesa GLX indirect" and gains sound,
but loose visual speed. If I choose DRI I loose sound, and bzflag
looks like shit. Hell, it used to work perfectly with utah-glx under
X 3.3.6!
What I am doing wrong?? Attaching my XF86Config-4...
--ET.
Section "ServerLayout"
Identifier "Matrox PowerDesk configured."
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection
Section "Module"
Load "dbe"
Load "dri"
Load "GLcore"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
EndSection
Section "Monitor"
Identifier "E790"
VendorName "ViewSonic"
ModelName "E790"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
ModeLine "My1152x864" 137.7 1152 1184 1312 1536 864 866 885 902
-hsync -vsync
ModeLine "My1280x1024" 157.5 1280 1344 1504 1704 1024 1025 1028
1056 +hsync +vsync
EndSection
Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "MGA"
Driver "mga"
VendorName "Matrox"
ChipSet "mgag400"
Option "AGPMode" "2"
Option "TexturedVideo" "on"
VideoRam 16384
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "MGA"
Monitor "E790"
DefaultDepth 24
DefaultFbBPP 32
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
"My1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
"My1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
"My1280x1024"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection