View previous topic :: View next topic |
Author |
Message |
entropy n00b
Joined: 27 Jun 2002 Posts: 32 Location: Denver, CO
|
Posted: Fri Aug 16, 2002 5:44 am Post subject: glx problem? |
|
|
Hi,
I recently purchased a GeForce3 Ti-500 64MB DDR 4x AGP Video Card. I have installed the card per the desktop instalation guide (and compiled agp support into my kernel). I have also removed "Load dri" from /etc/X11/XF86Config and ensured that "Load glx" is enabled and that my driver line contains nvidia.
However, I'm getting the following error from glixinfo:
Code: |
Error: couldn't find RGB GLX visual
|
When I try glxgears I get the following error:
Code: |
Error: couldn't get an RGB, Double-buffered visual
|
I've also tried opengl-update nvidia.
What do I have to do to make it see a RGB?
Both the kernel module and the XFree86 driver seem to be loading ok. I'm stumped, anyone have any ideas?
Thanks. |
|
Back to top |
|
|
line72 Apprentice
Joined: 13 Jun 2002 Posts: 212
|
Posted: Fri Aug 16, 2002 3:00 pm Post subject: |
|
|
what depth and resolution are you at ?
/Line72 |
|
Back to top |
|
|
entropy n00b
Joined: 27 Jun 2002 Posts: 32 Location: Denver, CO
|
Posted: Fri Aug 16, 2002 6:38 pm Post subject: |
|
|
line72 wrote: | what depth and resolution are you at ?
/Line72 |
Depth 24 bit
resolution 1024x768
..I think.
Here is my XF86Config:
Code: |
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "xie"
Load "pex5"
# Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "speedo"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 310 230 # mm
Identifier "Monitor0"
VendorName "KDS"
ModelName ""
HorizSync 30 - 60
VertRefresh 50.0 - 120.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 "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "UsePIO" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "VideoKey" # <i>
#Option "NoSLI" # [<bool>]
#Option "TexturedVideo" # [<bool>]
#Option "DRI" # [<bool>]
Identifier "Card0"
Driver "nvidia"
#VendorName "3dfx Interactive"
#BoardName "Voodoo5"
#ChipSet "3dfx Voodoo5"
#BusID "PCI:0:15:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
|
|
Back to top |
|
|
fidler Apprentice
Joined: 03 Jul 2002 Posts: 162 Location: Utah
|
Posted: Sat Aug 17, 2002 12:17 am Post subject: |
|
|
This is just a stab in the dark
Do you have NVdriver in your /etc/modules.autoload ?
lsmod should give you something like
Module Size Used by Tainted: P
NVdriver 989536 0
...
If it is loaded. |
|
Back to top |
|
|
entropy n00b
Joined: 27 Jun 2002 Posts: 32 Location: Denver, CO
|
Posted: Sat Aug 17, 2002 1:53 am Post subject: |
|
|
fidler wrote: | This is just a stab in the dark
Do you have NVdriver in your /etc/modules.autoload ?
lsmod should give you something like
Module Size Used by Tainted: P
NVdriver 989536 0
...
If it is loaded. |
Yes, I have the NVdriver in modules.autoload and also lsmod is displaying what you said.
Is there any additional software that needs to be installed for glxgears to work? What package is glxgears installed in? Are there some other commands that I can try that might track down the problem?
A little more information. I recently upgraded to a nvidia geforce 3 after using a 3dfx voodoo 4500. Using the voodoo, glxgears worked fine. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Aug 17, 2002 2:00 am Post subject: |
|
|
You don't seem to have a DefaultDepth section in your Screen setting in XF86Config. Without this, X starts in 8bit mode AFAIK. Try adding something like this:
Code: |
Section "Screen"
Identifier...
Device...
Monitor...
DefaultDepth 24 <--- add this!
|
|
|
Back to top |
|
|
entropy n00b
Joined: 27 Jun 2002 Posts: 32 Location: Denver, CO
|
Posted: Sat Aug 17, 2002 3:34 am Post subject: |
|
|
Naan Yaar wrote: | You don't seem to have a DefaultDepth section in your Screen setting in XF86Config. Without this, X starts in 8bit mode AFAIK. Try adding something like this:
Code: |
Section "Screen"
Identifier...
Device...
Monitor...
DefaultDepth 24 <--- add this!
|
| ]
That fixed it! Thanks! |
|
Back to top |
|
|
HeadHolio Guru
Joined: 10 Aug 2002 Posts: 445
|
Posted: Mon Sep 23, 2002 11:58 am Post subject: Other fix.... |
|
|
I had this same problem, in fact, it's a re-occurring problem for me. I've had it happen three times now. After re-starting my X server, I start getting GLX errors like those above complaining about GLX and RGB, when a few minutes before, everything was working fine and I was playing quake and Unreal Tournament no problem (meaning the NVdriver module is loaded properly, my XF86Config file is correct, and I am using NVidia opengl). Each time it happens I have to go through the following process to get it working again.
I unmerge nvidia-kernel and nvidia-glx, issue the command opengl-update, temporarily change my XF86Config from driver "nvidia" to driver "nv". Try to re-start the X server (which will fail because it's not properly set up for the "nv" driver. Then I emerge nvidia-kernel, and nvidia-glx, issue the command opengl-update nvidia, change my XF86Config back to driver "nvidia" and restart the X server (which will now start up no problem). After this process, the GLX RGB errors dissapear. Like I said, it's happened three times already, hopefully I don't have to keep doing this. |
|
Back to top |
|
|
axelmasok Apprentice
Joined: 08 Oct 2003 Posts: 171
|
Posted: Wed Sep 15, 2004 12:12 pm Post subject: glx problem? |
|
|
I wonder if anyone could put the solution in the Gentoo Nvidia guide?
All there needs to be is a step to check that users have DefaultDepth 24 in their Xfree/Xorg config file. So simple.
Axel |
|
Back to top |
|
|
Peruzulu n00b
Joined: 12 Oct 2004 Posts: 4
|
Posted: Tue Oct 12, 2004 6:36 pm Post subject: Re: glx problem? |
|
|
axelmasok wrote: | I wonder if anyone could put the solution in the Gentoo Nvidia guide?
All there needs to be is a step to check that users have DefaultDepth 24 in their Xfree/Xorg config file. So simple.
Axel |
Yep, I would have to agree, it would have save me.
But then again, I am learning more through fixing little mis-haps I suppose.
Thanks to Naan Yaar for the tip, it worked a treat
P |
|
Back to top |
|
|
|