LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-30-2005, 08:33 PM   #1
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Rep: Reputation: 16
Nvidia FX 5200 driver trouble with x.org 6.8.2 and 2.6.13.2


Hi everybody.

I had a hard time picking the forum. This could be a hardware as well as software issue, but it's mostly a driver/software problem, I thought, so here it is:
- Mandriva 10.2 LE fresh install and newly compiled 2.6.13.2 kernel loaded
- X.org 6.8.2 as installed by 10.2
- NVidia 1.0-7676 driver from their site (IA32 architecture for my Athlon XP 2000+ CPU) compiled and installed successfully (according to the nvidia installer)
- updated xorg.conf as per the Readme file (all I really needed to do is rename the drver from nv to nvidia).

When I use the nv driver, X starts OK. With the nvidia driver, it doesn't.
I added nvidia to the /etc/modules and dmesg shows it as loading ok, except that it 'taints' the kernel, being proprietary code. A modprobe nvidia command also seems to load the module.

X won't start with a 'module nvidia can't be found' error. The date stamp of /usr/X11R6/lib/modules/drivers/nvidia_drv.o coincides with the moment I installed it.

The whole reason behind this exercise, other than having the latest kernel and the 3D enabled drivers, is the hope that I can get rid of another problem: the inability to play any video, as I get BadAlloc errors with xine, mplayer and kaffeine.

I'm running X with the nv driver right now and I don't have the x log with the exact error message, but I will re-post after I get a fresh 'bad' log.

Thanks very much for making it through this long post. Any direction would be greatly appreciated.

Regards,
somedude

Last edited by somedude; 09-30-2005 at 08:35 PM.
 
Old 09-30-2005, 09:36 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Did the nvidia driver work with the stock kernel?
http://mandrivausers.org/index.php?showtopic=4567
 
Old 10-01-2005, 11:31 AM   #3
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Original Poster
Rep: Reputation: 16
Nope, it wouldn't even complete the installation. Although I had the kernel souce linked as /usr/src/linux, the installer complained.

Thanks for the link. These are the steps I followed, except I use xorg.conf and I didn't need to set the .run package as executable.

Should I try the 5336 build referenced in that thread?

Thank you.
 
Old 10-01-2005, 12:37 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Post the errors, look in /var/log/nvidia-installer.log
 
Old 10-01-2005, 02:11 PM   #5
Timothy Winchester
Member
 
Registered: Sep 2005
Location: Virginia Beach
Distribution: SUSE 10.0; Fedora Core 4.1; Debian 3.1 (Attempting at least)
Posts: 29

Rep: Reputation: 15
Comment Out the DRI Statement/SELinux

Hi Ho,
I see you are on a different thread to solving the problems you are having with your nVidia card. I do not want to distract the process but thought I might weigh in with my good experience with the nVidia driver.

I do not know what version of xorg.conf I use; but I am using several kernels with the main one being 2.6.12.1389. As well I am running Fedora Core 4 with the latest updates. I, too, have installed a nVidia graphics card recently, with my card being GeForce FX 5700LE under the nVidia driver 1.0.-7676. . . . I noticed off hand that you have NOT done two things that I had to do to install the nVidia Driver on my machine.

1.) In the "section module" of the xorg.conf file you need to according to my instructions (a manual) comment out:

Load "dri"

so that it reads

# Load "dri".

I do not know what that "dri" really does, but apparently it needs to be commented out in order to run your non-generic drivers. In getting the nVdia card up in running, several times X attempted to load a defaut screne rather than show what I set it to display. It did so for various reasons that I fixed one by one until finally I got the splash screen for nVida right at the end of boot and before you log-in.

2.) The instructions I have state clearly that SELinux will interfer with the installation of the nVidia driver and thus the card. So, since you did not mention it, I do not know if you are running SELinux; but if you are you need to turn it off. The command that is given to turn off SELinux during installation of the nVida driver is

"/usr/sbin/setenforce 0"

The manual then says to run the driver.

To enable SELinux after you get the nVidia driver up and running you type:

"/usr/sbin/setenforce 1"

I hope that this additional information might help you. I had no real troubles getting my nVidia card up and running.

Take Care,

Tim

TDW

 
Old 10-03-2005, 01:09 PM   #6
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Original Poster
Rep: Reputation: 16
Re: Nvidia FX 5200 driver trouble with x.org 6.8.2 and 2.6.13.2

Thanks for your posts.


Tim,

The reason I haven't done the two things you're mentioning is because I didn't need to.
1) I didn't have the DRI module loaded, so I didn't need to comment it out.
2) I'm running the "stock" Mandriva distro, as you can see from my original post, so, no SELinux.


Comprookie2000,

[edit]The nvidia installer log looks clean. No errors.
I only get the error in xorg's log: [edit]

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.10-3mdksmp i686 [ELF]
Current Operating System: Linux <hostname> 2.6.13.2 #1 Mon Sep 26 22:09:56 EDT 2005 i686
Build Date: 06 April 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 3 20:40:03 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) | |-->Monitor "monitor1"
(**) | |-->Device "device1"
(**) |-->Input Device "Keyboard1"
[snip snip]
(II) Open APM successful
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
Using vt 7
(--) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0735 card 0000,0000 rev 01 class 06,00,00 hdr 80
[snip snip]
(--) PCI:*(1:0:0) nVidia Corporation NV34 [GeForce FX 5200] rev 161, Mem @ 0xce000000/24, 0xc0000000/27, BIOS @ 0xcfee0000/17
(II) Addressable bus resource ranges are
[snip snip]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 0.0.1
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.8.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.7676
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "nvdia"
(WW) Warning, couldn't open module nvdia
(II) UnloadModule: "nvdia"
(EE) Failed to load module "nvdia" (module does not exist, 0)

(II) LoadModule: "keyboard"
(II) Loading /usr/X11R6/lib/modules/input/keyboard_drv.o
(II) Module keyboard: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) v4l driver for Video4Linux
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.

Fatal server error:
no screens found


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[/edit]

Thank you all.

Last edited by somedude; 10-03-2005 at 08:46 PM.
 
Old 10-05-2005, 07:59 PM   #7
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Original Poster
Rep: Reputation: 16
Where is the driver supposed to be?

Hi again,

Still no solution.

I read some info that I can't seem to be able to find again about having to add an alias for the nvidia module.
Any ideas?

Thank you.
 
Old 10-05-2005, 08:21 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
check your /etc/X11/xorg.conf the driver name is "nvidia" not "nvdia" look at the log thats what it says ...
 
Old 10-05-2005, 09:43 PM   #9
686plus
Member
 
Registered: Nov 2004
Location: Portland, Oregon
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 17
I use fedora core 4 and have several of the same issues. I'm not sure if mandriva uses rpms ( I think it does). I added the livna repository to yum and typed:

yum install kernel-module-nvidia-$(uname -r)

as directed on their site http://rpm.livna.org

This configured all that for me and was the easiest. I didn't have to edit my xorg.conf or load the modules or any of that ( as I did the last three times I installed nvidia drivers). I did need to restart x though.
 
Old 10-06-2005, 07:21 PM   #10
somedude
Member
 
Registered: Nov 2003
Distribution: Mint, openSUSE, Mandriva, Knoppix, puppy, Arch
Posts: 68

Original Poster
Rep: Reputation: 16
Solved!

Quote:
Originally posted by comprookie2000
check your /etc/X11/xorg.conf the driver name is "nvidia" not "nvdia" look at the log thats what it says ...
Dude!!! I am such an idiot!
comprookie, you just added ten years to my life. Thank you very much for your help and your patience.
It's good old "vi". I did vi /etc/X1//xorg.conf, scrolled to the line that said "nv" and hit i for insert and then by force of habit, continued to type "dia". Obviously, the i was for insert and I was missing the "i" in "nvidia".
What a dope. Thanks a million. Needless to say, I'm using the accelerated driver to type this.

Oh, by the way - BONUS! I can now play media, such as DVD's.

Best regards,
somedude

Last edited by somedude; 10-06-2005 at 07:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yast & Nvidia 5200 3D driver philipbrown9 Linux - Newbie 3 03-17-2011 10:00 AM
Cannot Install Nvidia 5200 Graphics Driver (PLEASE PLEASE HELP) DesyphER Linux - Software 6 02-26-2005 05:35 AM
Updating Driver For Nvidia Geforce FX 5200 DozenEggs Linux - Hardware 2 07-17-2004 10:25 PM
Have Slackware - need help to install nvidia 5200 driver ignorant Linux - Newbie 6 05-06-2004 04:59 PM
GeForce FX 5200, Mandrake 9.1, nVidia Driver trouble - HELP! Chrisguy18 Linux - Software 11 01-08-2004 09:46 AM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration