LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 10-27-2005, 06:31 PM   #1
MrDunk
LQ Newbie
 
Registered: Oct 2005
Location: London, Ontario
Distribution: Gentoo 2005.1 x86_64 & Windows XP Pro
Posts: 8

Rep: Reputation: 0
Question nVidia driver problems with Gentoo 2005.1 AMD64


Hello Everyone, I've been doing my searching and haven't been able to find a sufficient fix for this problem but I also haven't found a thread that contained all the information. So this is my effort to try and get this problem solved one way or another. This is basically my first question post and I hope I've included everything needed to help diagnose the problem. If you have any tips, complaints, or if you're suffering the same problem, please feel free to e-mail me.

I recently installed Gentoo 2005.1 x86_64 and everything fell in place pretty painlessly. I'm relatively new to linux but I have this recent desire to actually sit down and learn this very customizable O/S. Which windows has such an incredible lack there-of.

Everything went fine until I made it to the nVidia driver install and I'll trace the steps I followed as closely as possible and hopefully weasel out my errors or perhaps find another method of doing things.

After the base install I immediately upgraded my kernel to 2.6.13-gentoo-r3 since it was something I was looking forward to doing. I followed a guide off Gentoo's site and did a lot of cross-referencing and future-thinking hoping I would get all the settings I would need. Once that was completed and booting fine, I ran: emerge --update --deep --newuse world with no errors.

/etc/make.conf <- Complete file

Next I emerge kde and after a few grueling hours of building, it completed with out error.
First I loaded up kdm which uses X's default configuration (nv driver I believe) and KDE started up auto-magically. So I went to [http://www.gentoo.org/doc/en/nvidia-guide.xml].
and after saving it to text I returned to the shell and got through the guide with no errors.

Now when I try to startx as root, (I know the risks), or as any regular user I get this error:

(--) NVIDIA(0): MMIO registers at 0xCE000000
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"


Xorg.0.log <- For a complete log

I'm sure the nVidia kernel module is loaded since lsmod returns:

Module Size Used by
nvidia 4382216 0


and you can see in dmesg that it was loaded during start-up, which brings another question. I'm unsure of the first line, if someone can explain to me what tainting is. It would be much appreciated.
dmesg <- For complete output

nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-7676 Fri Jul 29 13:15:16 PDT 2005


I know this could also have a lot to do with my Xorg.conf, so I've used xorgcfg -textmode. The output is a lot cleaner then the rest of the generators so I figured it would be easier for you to read.

Here is my Xorg.conf.

Notes:

-- I have a dual-head display and both monitors are plugged in but for some reason X/KDE has defaulted to the monitor hooked up to the DVI port and in the shell it mirrors to the monitor but in KDE it's garbled up ASCII char. I've tried using one or the other with the same results. Not sure if it's relative but who knows.

-- I tried installing the source drivers from nVidia's website but I got the errors during install as described below:
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64'
(1.0-7676):
-> The installer has encountered the following error during installation: 'Cann
ot create symlink /usr/lib/libGL.so.1 (File exists)'. Continue anyway? ("no
" will abort)? (Answer: Yes)
...
ERROR: The runtime configuration check failed for library 'libGL.so.1.0.7676'
(expected: '/usr/lib64/libGL.so.1', found: 'not'). The most likely reason for this is that conflicting OpenGL libraries are installed in a location not inspected by `nvidia-installer`. Please be sure you have
uninstalled any third-party OpenGL and third-party graphics driver packages.
-> done.
-> Runtime sanity check failed.
ERROR: Installation has failed.
..
-> The installer has encountered the following error during installation: 'Cannot create symlink /usr/lib/libGL.so (File exists)'. Continue anyway? ("no" will abort)? (Answer: Yes)
Complains about symlinks for files as well.

I hope this can sort out the problem, and I imagine as you look around you'll find a similar but less extensive post about the same thing. I apologize but it was vague and messy but I feel that this will be a little more helpful to the people trying to help me and other users with the same problem. I'll continue to post my findings and I thank you all for helping out! Again, feel free to e-mail me if you care to flame, compliment or ask any questions that might not be related to this thread.

Dan
dandunk84 at hotmail dot com

Last edited by MrDunk; 10-27-2005 at 07:01 PM.
 
Old 10-27-2005, 09:47 PM   #2
MrDunk
LQ Newbie
 
Registered: Oct 2005
Location: London, Ontario
Distribution: Gentoo 2005.1 x86_64 & Windows XP Pro
Posts: 8

Original Poster
Rep: Reputation: 0
Well Low and behold the solution was a lot more simple then I had expected.

I rebooted, making sure I had only one monitor plugged in to the card

merge --unmerge nvidia-kernel and merge --unmerge nvidia-glx..

downloaded the drivers from nVidia and during the install I chose not install the 32bit compatibility libraries

and it worked fine with the rest of my settings.

I'm going to fool around bit and reverse different things I've been doing and post a more exact reasoning for this. Or if anyone reading this post has some information to add, on why it would do that then post away.
 
Old 10-30-2005, 04:25 AM   #3
MrDunk
LQ Newbie
 
Registered: Oct 2005
Location: London, Ontario
Distribution: Gentoo 2005.1 x86_64 & Windows XP Pro
Posts: 8

Original Poster
Rep: Reputation: 0
Used the testing ebuild: added to the package.keywords

media-video/nvidia-kernel ~amd64
media-video/nvidia-glx ~amd


emerge'd the files as usual and it works like a charm
 
  


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
Massive Nvidia Driver Problems, Gentoo insane_mepis_freak Linux - Distributions 5 10-24-2005 01:08 AM
nVidia Driver Problems on Gentoo goldenratiophi Linux - General 3 03-06-2005 06:26 AM
Nvidia driver w/ AMD64 + Mandrake10 Natfly Linux - Software 1 06-22-2004 01:36 PM
nVidia AMD64 Driver does not install Beaker Mandriva 0 06-14-2004 07:16 PM
Linux 9 (AMD64) and Nvidia driver goulartca Linux - Software 12 03-17-2004 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration