Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
blackvd
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Ausitn,TX

PostPosted: Mon Dec 12, 2005 8:40 pm    Post subject: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] Reply with quote

Having trouble getting my video card to work. I followed the guide here: http://www.gentoo.org/doc/en/nvidia-guide.xml
Did everything it said which worked up until I tried this glxinfo | grep direct which said no for direct rendering. I went ahead and kept going though as it doesnt tell you how to solve the problem.Then I ran glxgears which worked fine then I restarted X which left me with a nvidia splash screen and a cursor. So I restarted X again and re-edited my xorg.conf back to "nv" instead of "nvidia" which allowed me load my GUI again. Here is my xorg.conf file:

Code:
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  "extmod"
        #Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
 Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mouse0"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        #DisplaySize      320   240     # mm
        Identifier   "Monitor0"
        VendorName   "VSC"
        ModelName    "A70"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 180.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"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        Identifier  "Card0"
 #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
         Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth     24
                Modes     "1152x864"
                Viewport  0 0
        EndSubSection
EndSection


After I changed my xorg.conf back to "nv" instead of "nvidia" for the driver I get this error when trying to run glxgears:

Code:
 glxgears
Xlib:  extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.


and when I try:

Code:
glxinfo | grep direct
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".


Sorry if this info seems out of order in any way new to Gentoo and all this manual editing of config files. Also I ran "lsmod" and got:

Code:
lsmod
Module                  Size  Used by
nvidia               3465244  -
snd_mixer_oss          16896  -
snd_seq_midi_event      6176  -
snd_ens1371            19300  -
snd_rawmidi            20128  -
snd_seq_device          6732  -


Thanks for any help, I tried searching the forums but a lot the help I found similiar probs sounded greek to me. :?
_________________
I wish I was a mechanically separated pork product.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Dec 12, 2005 8:50 pm    Post subject: Reply with quote

can you tell me which versions of nvidia-kernel and nvidia-glx you are using, also have you changed your kernel recently?
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
blackvd
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Ausitn,TX

PostPosted: Mon Dec 12, 2005 9:48 pm    Post subject: Reply with quote

How can I tell which versions of nvidia-kernel and nvidia-glx I'm using? And I haven't changed my kernel since I tried getting my video card to work.
_________________
I wish I was a mechanically separated pork product.
Back to top
View user's profile Send private message
blackvd
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Ausitn,TX

PostPosted: Tue Dec 13, 2005 12:02 am    Post subject: Reply with quote

Found out. I'm using nvidia-kernel-1.0.6629-r4 and nvidia-glx-1.0.6629-r6
_________________
I wish I was a mechanically separated pork product.
Back to top
View user's profile Send private message
blackvd
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Ausitn,TX

PostPosted: Tue Dec 13, 2005 12:24 am    Post subject: Reply with quote

So I tried running a word game I downloaded and I'm getting this error:

Code:
Xlib:  extension "GLX" missing on display ":0.0"


Think that might have something to do with my problem?
_________________
I wish I was a mechanically separated pork product.
Back to top
View user's profile Send private message
Wamp
n00b
n00b


Joined: 05 Sep 2004
Posts: 24
Location: Oslo, Norway

PostPosted: Tue Dec 13, 2005 12:45 am    Post subject: Reply with quote

I have the -exact- same problem as you..
however, after looking at nvidia's pages, I find this..

Quote:
The following products are not supported in the current ForceWare Release 75 driver. Please continue to use the previous ForceWare Release 70 drivers available here.

TNT2
TNT2 Pro
TNT2 Ultra
TNT2 Model 64 (M64)
TNT2 Model 64 (M64) Pro
Vanta
Vanta LT
GeForce 256
GeForce DDR
GeForce2 GTS
GeForce2 Pro
GeForce2 Ti
GeForce2 Ultra
GeForce2 MX Integrated graphics
Quadro
Quadro2 Pro
Quadro2 EX


the link just kicks back to the latest drivers tho', so I'm unsure what to do.. let me know if you find the 70 driver... hope this helps a bit :)

[EDIT]
try with this driver:
http://www.nvidia.com/object/linux_display_ia32_1.0-6629.html

I'll give an update if I make it work :)

_________________
Help theese poor people :)
Back to top
View user's profile Send private message
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Tue Dec 13, 2005 5:19 am    Post subject: Reply with quote

I thought he was using 1.0.6629, and that was the problem? When I tried running the nvidia drivers on my TNT 64 I got panics in my Xorg.0.log saying that it wasn't supported. I couldn't seem to find any of the portage drivers supporting it, but I may have been doing something wrong.
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Tue Dec 13, 2005 7:59 am    Post subject: Reply with quote

See this thread.
It seems that 7174 is that last driver with legacy support. Install using ebuild and then if having problems read the man page /usr/share/doc/nvidia-glx-1.0.7174-r1/README.gz
Back to top
View user's profile Send private message
blackvd
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Ausitn,TX

PostPosted: Tue Dec 13, 2005 6:40 pm    Post subject: Reply with quote

I got the driver 7174 what I'm wondering is do I need to unmerge any thing nvidia I installed earlier? Also how do I ebuild the driver(run file)?
_________________
I wish I was a mechanically separated pork product.
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Tue Dec 13, 2005 8:28 pm    Post subject: Reply with quote

Code:
emerge -C nvidia-kernel nvidia-glx
cd /usr/portage/media-video/nvidia-kernel
emerge nvidia-kernel-1.0.7174.ebuild --oneshot
cd /usr/portage/media-video/nvidia-glx
emerge nvidia-glx-1.0.7174-r5.ebuild --oneshot
opengl-update nvidia

Its not the proper way, but the proper way sux :wink:
DO not use the nvidia-installer!


Last edited by blueworm on Tue Dec 13, 2005 8:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
blackvd
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Ausitn,TX

PostPosted: Tue Dec 13, 2005 8:29 pm    Post subject: Reply with quote

Awesome got it working! Thanks a lot for the replys! :D For anyone out there whose as slow as me I unmerged nvidia-kernel and nvidia-glx then rebooted to terminal and ran the install. Only prob was screen was off a little but fixed that with my monitor.
_________________
I wish I was a mechanically separated pork product.
Back to top
View user's profile Send private message
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Tue Dec 13, 2005 11:53 pm    Post subject: Reply with quote

For the record, the best way to set this up in portage so that it doesn't update your nvidia drivers during the next emerge world, you should have a file
Code:

/etc/portage/package.keywords

If the portage directory doesn't exist, then create it. Then you should put the following two lines in it:
Code:

=media-video/nvidia-glx-1.0.7174-r5
=media-video/nvidia-kernel-1.0.7174


Now, could you confirm that the original post is your setup for the video card. I just gave up on the nvidia drivers recently, but I would love to get them working. This is what I am using
Code:

$ sudo lspci | grep -i riva
0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)

Can you confirm this is what you have?
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Back to top
View user's profile Send private message
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Wed Dec 14, 2005 3:04 am    Post subject: Reply with quote

Actually, I think my problem may be the kernel I'm using. Could you tell me what kernel this is working on?
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Wed Dec 14, 2005 3:25 pm    Post subject: Reply with quote

nvidia-kernel and nvidia-glx have to be the same version and -r
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Wed Dec 14, 2005 4:42 pm    Post subject: Reply with quote

cokehabit wrote:
nvidia-kernel and nvidia-glx have to be the same version and -r


But the revisions don't match on all the legacy drivers in portage, how does one work around that?
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Wed Dec 14, 2005 5:09 pm    Post subject: Reply with quote

add the ones that match to /etc/portage/package.keywords, i just have the testing ones so this in mine:
Code:
george@steinbeck ~ $ cat /etc/portage/package.keywords
media-video/nvidia-kernel ~amd64
media-video/nvidia-glx ~amd64
app-admin/eselect-opengl ~amd64
app-admin/eselect ~amd64
That will get the latest drivers. If you want certain versions you have to add an "=" infront of it and a version at the end like =media-video/nvidia-kernel-7174
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum