LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-05-2005, 06:20 AM   #1
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Rep: Reputation: 0
nvidia driver Mandrake 10.1


Hello,

Iīve installed NVIDIA-Linux-x86-1.0-5336-pkg1.run in Mandrake 10.1

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

I wrote "nvidia" instead of "nv" in XF86Config

Here is a piece of the log file:

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xE4000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please also check the log file at "/var/log/Xorg.0.log" for additional information.


Can anyone tell me whatīs wrong?

Thank you,
 
Old 03-05-2005, 07:34 AM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Kill the dm...

Go to a console and type

service dm stop

Now run XFDrake and set up your display, do NOT adjust the display driver, merely the monitor configuration.
 
Old 03-05-2005, 09:16 AM   #3
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
My monitor is LG Flatron F700B, I executed XFdrake and itīs not in the list of monitors. I selected custom with Horz. freq. 30-70 and Vert. freq. 50-160 as the monitorīs manual recommends. Iīve try with different resolutions but always the same error:

(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
(EE) NVIDIA(0): *** Aborting ***

With the driver "nv" I donīt have any problems.
 
Old 03-05-2005, 09:20 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Did you remember to UNLOAD the existing driver when you switched from one to the other?

Also did you kill the DM?

Both of these will load a conflicting driver which will cause problems.
 
Old 03-05-2005, 12:11 PM   #5
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Yes, I did service dm stop as you said.
What driver? I do lsmod and "nv" is not in the list.
 
Old 03-05-2005, 12:13 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
How about "nvidia"?
 
Old 03-05-2005, 01:26 PM   #7
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Here is the output of lsmod:
Code:
Module                  Size  Used by
rfcomm                 32348  0 
l2cap                  19876  5 rfcomm
bluetooth              39076  4 rfcomm,l2cap
snd-pcm-oss            49480  0 
snd-mixer-oss          17376  1 snd-pcm-oss
snd-via82xx            22372  0 
snd-ac97-codec         69392  1 snd-via82xx
snd-pcm                81800  2 snd-pcm-oss,snd-via82xx
snd-timer              20356  1 snd-pcm
snd-page-alloc          7400  2 snd-via82xx,snd-pcm
gameport                3328  1 snd-via82xx
snd-mpu401-uart         5856  1 snd-via82xx
snd-rawmidi            19300  1 snd-mpu401-uart
snd-seq-device          6344  1 snd-rawmidi
snd                    45988  9 snd-pcm-oss,snd-mixer-oss,snd-via82xx,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
ppp_async               8896  0 
ppp_generic            24468  1 ppp_async
slhc                    6112  1 ppp_generic
crc-ccitt               1664  1 ppp_async
af_packet              16072  0 
floppy                 55088  0 
ide-cd                 37280  0 
cdrom                  37724  1 ide-cd
loop                   12520  0 
nls_cp850               4480  5 
vfat                   11168  5 
fat                    39776  1 vfat
nls_iso8859-15          4224  6 
ntfs                  147964  1 
supermount             34804  1 
via-agp                 7360  1 
agpgart                27752  1 via-agp
tuner                  18320  0 
tda9887                11204  0 
bttv                  145676  0 
video-buf              16868  1 bttv
i2c-algo-bit            8712  1 bttv
v4l2-common             4896  1 bttv
btcx-risc               3816  1 bttv
i2c-core               19060  4 tuner,tda9887,bttv,i2c-algo-bit
videodev                7168  1 bttv
soundcore               7008  2 snd,bttv
ehci-hcd               26244  0 
uhci-hcd               28752  0 
usbcore               103172  4 ehci-hcd,uhci-hcd
 
Old 03-06-2005, 06:00 AM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Good it's not present.

Try selecting a monitor type of about equal size to yours but lower specs.

Often when you try custom timings the script is unable to generate proper modelines.

Keep choosing monitor combinations that work for you and TEST each one.

Slowly raise the resolution (by choosing a "better" monitor) and again test.

X normally pushes your monitor to it's very limits. Often this is NOT what you want anyway.

e.g. what purpose does it server to run at a 110hz refresh rate at 1280x1024 ?

You can run at a lower refresh rate, say 85hz and get better results.
 
Old 03-06-2005, 09:30 AM   #9
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Iīve tried with all the configurations and always the same error.
 
Old 03-06-2005, 12:22 PM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
What video card are you using?
 
Old 03-06-2005, 04:36 PM   #11
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
My card is GeForce 4 MX 440
 
Old 03-07-2005, 03:03 AM   #12
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Ok, Kill the DM with

service dm stop


Configure your system with the "NV" driver.

Set everything up so it looks ok.

Make sure that your kernel sources are installed.


then

rmmod nvidia nv

Run the downloaded installation script and make sure that it says it succeeded.

Once it's done, edit the /etc/X11/XF86Config file and change the entry to nvidia, using and console based text editor.

Save the file.

Now type

depmod -a

(you should get back NO errors)

Then

modprobe nvidia

Again just a prompt should return.

Now just hit

X

all by itself.

The screen should clear and you should get a graphical display with a cursor that you can move via the mouse.

You will see NOTHING else.

If this comes up hit CTRL-ALT-[BACKSPACE] to get back to the console.

If it comes up, edit /etc/modprobe.preload and add the word

nvidia

Reboot.

Done.
 
Old 03-07-2005, 06:55 AM   #13
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the answers but it didnīt work.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
With the version 5336 I can load the module,
but with 6111 an 6629 I can compile it with my kernel but then the module canīt be loaded:
"Fata Error inserting NVIDIA (.......) No such device"
I have the kernel 2.6.8.1-12mdk Iīll try with other kernels
 
Old 03-07-2005, 07:00 AM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Are you SURE that the /usr/src/linux directory points to the same version kernel that you have currently installed?
 
Old 03-07-2005, 08:58 AM   #15
agalmat
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
I only have installed one kernel, I have compiled it another time without rivafb in order to avoid the warning during the installation
of nvidia drivers. I changed the lilo.conf to load the new kernel.

Code:
cd /usr/src/
ls -l
total 8
lrwxrwxrwx   1 root root   19 mar  1 19:15 linux -> linux-2.6.8.1-12mdk/
drwxr-xr-x  22 root root 4096 mar  7 12:49 linux-2.6.8.1-12mdk/
drwxr-xr-x   5 root root 4096 mar  3 11:42 RPM/
 
  


Reply



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
Can't compile Nvidia driver for Mandrake 10.1 Chudilo Linux - Hardware 2 12-14-2004 11:35 PM
(more) Mandrake 10.1 and Nvidia driver Grobbendonk Mandriva 2 12-04-2004 12:18 PM
Nvidia driver help on Mandrake 10 SLAY3R Linux - Newbie 3 11-16-2004 12:37 AM
Mandrake 10.1 CE and nvidia driver 6111 toddhd Mandriva 3 09-28-2004 07:47 AM
Mandrake 9.1 Nvidia Driver help Dijeeh Linux - Software 10 06-21-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration