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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-09-2005, 09:53 AM
|
#1
|
Member
Registered: Jun 2004
Location: Belgrade
Distribution: Anything with a bash prompt :P
Posts: 74
Rep:
|
Matrox G450 and DRI Error
Hi all,
I am trying to get DRI working on my matrox G450 in single-head mode, but with no avail. The best I can manage is software rendering without DRI, which is too slow for gaming (I want to try out some linux games).
I have the mga driver compiled (kernel 2.6.14) as a module and it loads up at startup. Also I have the mga_drv.o and mga_hal.o drivers from the matrox site. But I still get the following errors (during X startup):
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
If I try running glxinfo I get the following:
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
And If I try running any glx-enabled program, it will fail, the glxgears
program provides the following error:
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
libGL warning: 3D driver claims to not support visual 0xffffffff
glxgears: Error: couldn't get an RGB, Double-buffered visual.
Can anyone help me with this?? I can provide additional info if you need, just ask.
Currently I have two config files, one dualhead with mergedFB for general use, and one single head for gaming.
=====Xorg.conf (single-head)===========
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "dbe"
Load "record"
Load "extmod"
# Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "PHL"
ModelName "PHILIPS 107B"
HorizSync 30.0 - 92.0
VertRefresh 50.0 - 160.0
Option "DPMS"
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 "SWcursor" # [<bool>]
Option "HWcursor" "True"# [<bool>]
#Option "PciRetry" # [<bool>]
#Option "SyncOnGreen" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "Overlay" # [<str>]
Option "MGASDRAM" "True"# [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "ColorKey" # <i>
#Option "SetMclk" # <freq>
#Option "OverclockMem" # [<bool>]
#Option "VideoKey" # <i>
#Option "Rotate" # [<str>]
#Option "TexturedVideo" # [<bool>]
#Option "Crtc2Half" # [<bool>]
#Option "Crtc2Ram" # <i>
#Option "Int10" # [<bool>]
Option "AGPMode" "4" # <i>
#Option "AGPSize" # <i>
#Option "DigitalScreen1" # [<bool>]
#Option "DigitalScreen2" # [<bool>]
#Option "TV" # [<bool>]
#Option "TVStandard" # [<str>]
#Option "CableType" # [<str>]
#Option "NoHal" # [<bool>]
#Option "SwappedHead" # [<bool>]
Option "DRI" "True"# [<bool>]
#Option "MergedFB" # [<bool>]
#Option "Monitor2HSync" # [<str>]
#Option "Monitor2VRefresh" # [<str>]
#Option "Monitor2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "UseXFreeVga" # [<bool>]
#Option "UseXFreeDDC" # [<bool>]
Identifier "Card0"
Driver "mga"
VendorName "Matrox Graphics, Inc."
BoardName "MGA G400 AGP"
BusID "PCI:1:0:0"
Option "AGPFastwrite" "True"
Option "EnablePageFlip" "True"
Option "VideoRam" "32000"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
# Viewport 0 0
Depth 24
Modes "800x600"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
======================END==============
Thanks
P.S:
Of course if DRI can be enabled in dualhead mode it would be great, But extensive searching the net indicates that the hardware is not capable of DRI on more then one screen, and not at all when running in Merged framebuffer mode (which is what I am doing).
Last edited by Ogi; 12-09-2005 at 10:31 AM.
|
|
|
01-24-2006, 03:57 PM
|
#2
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
hi - did you solve this yet? i'm having the same problem. 
|
|
|
01-26-2006, 01:17 PM
|
#3
|
Member
Registered: Jun 2004
Location: Belgrade
Distribution: Anything with a bash prompt :P
Posts: 74
Original Poster
Rep:
|
Quote:
hi - did you solve this yet? i'm having the same problem.
|
Nope, I swapped out the Matrox for one Nvidia AGP card (use binary drivers) and one Nvidia PCI (use nv driver) in dualhead mode.
this way one screen is DRI accelerated for games, while the other is not, I will probably get a PCI Nvidia card which is newer so that both screens are accelerated as well.
The Matrox card is currently gathering dust in the basement. It is a shame though, as I remember once getting DRI to work on it. but that was in single head mode only, and I couldnt repeat that success.
Sorry I cant help. 
|
|
|
02-12-2006, 02:04 PM
|
#4
|
Member
Registered: Mar 2004
Location: South Korea
Posts: 103
Rep:
|
I'm getting this at startup with FC4, xorg 6.9 and latest dri from mesa (not CVS, just off their site)
The card I have is an intel integrated 915. Things work okay with it (I can play America's Army for example) but I'd like to get rid of the messages that are popping up during start up.
|
|
|
02-13-2006, 10:16 AM
|
#5
|
Member
Registered: Apr 2005
Location: IL
Distribution: kubuntu
Posts: 56
Rep:
|
Quote:
Originally Posted by Ogi
Section "Module"
Load "dbe"
Load "record"
Load "extmod"
# Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
|
the line that loads the dri module is commented out
|
|
|
02-15-2006, 10:22 AM
|
#6
|
Member
Registered: Jun 2004
Location: Belgrade
Distribution: Anything with a bash prompt :P
Posts: 74
Original Poster
Rep:
|
Quote:
the line that loads the dri module is commented out
|
Yes, because I tried a combination (glx+dri, dri only, glx only, ) and it happened that the last combination I tried was with dri commented out. I did Actually try with it enabled, as well as with it disabled. It just happens that I posted the config file with the last change. My mistake, Sorry.
|
|
|
10-07-2006, 07:04 PM
|
#7
|
Member
Registered: Feb 2004
Location: Boston
Distribution: Kubuntu 22.04
Posts: 101
Rep:
|
DRI not working after upgrade to Etch, xorg v7
Quote:
Originally Posted by Ogi
Yes, because I tried a combination (glx+dri, dri only, glx only, ) and it happened that the last combination I tried was with dri commented out. I did Actually try with it enabled, as well as with it disabled. It just happens that I posted the config file with the last change. My mistake, Sorry.
|
Hi, was this issue ever resolved? I just finished an upgrade to debian Etch, and I now have xorg v7.0.
I have a matrox G450. Before the upgrade, I was running XFree86 v4.3.0.1. I had dri working then. glxinfo showed "direct rendering: Yes" and now it shows " "direct rendering: No".
glxgears -printfps
711 frames in 5.0 seconds = 142.079 FPS
863 frames in 5.8 seconds = 149.542 FPS
840 frames in 5.9 seconds = 142.390 FPS
and glxgears is veeeery slow and choppy.. I've been googling all day, and I've tried everything except downloading the latest matrox driver and compiling them. Why? well, I didn't do that before - I got the debian drivers to work as-is, and second, I read on the matrox user forums that the latest drivers don't work with xorg 7.0..
But..then.. why don't the debian drivers work? I did rerad that the xserver-xorg-video-mga does and should work.. I installed it.. but still no dri.
I seem to recall the order of the modules in xorg.conf do matter. Maybe I have to order wrong?
If anyone has any information about how to get direct rendering to work in xorg v7 using a matrox G450 AGP card please let me know.
Thanks!!
Jim
|
|
|
12-07-2006, 06:54 AM
|
#8
|
Member
Registered: Nov 2006
Location: watford
Distribution: Slackware 13 64Bit Multi-Lib KDE4.2.4
Posts: 83
Rep:
|
i have been trying to gain more performance out of my matrox g450 dualhead card,i have recently used xorgsetup from the command line for xorg to detect the settings automatically,i now have an average of 395 frames per sec for glx gears which is a big improvement,i enabled the the dri option in xorg.conf with value of "true"
and added the following line at the end of the xorg.conf section
Section "DRI"
Mode 0666
EndSection
regards
adrian
|
|
|
12-07-2006, 10:58 AM
|
#9
|
Member
Registered: Feb 2004
Location: Boston
Distribution: Kubuntu 22.04
Posts: 101
Rep:
|
Quote:
Originally Posted by todders
i have been trying to gain more performance out of my matrox g450 dualhead card,i have recently used xorgsetup from the command line for xorg to detect the settings automatically,i now have an average of 395 frames per sec for glx gears which is a big improvement,i enabled the the dri option in xorg.conf with value of "true"
and added the following line at the end of the xorg.conf section
Section "DRI"
Mode 0666
EndSection
regards
adrian
|
Hi, thanks for the suggestion. I ended up having to install the drivers from the Matrox web site, and even then, their installation script didn't work for Etch. I had to move the driver files to a different directory in order for Etch to load them. It is all working fine now.
Jim
|
|
|
All times are GMT -5. The time now is 02:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|