Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with Nvidia Drivers
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 1:44 pm    Post subject: Problem with Nvidia Drivers Reply with quote

I am trying to get the Nvidia Drivers to work on my system. I get a "no screens found" error. Here are some relevent pastes, sorry for the slight lack of coherency, but im doing this all in Links, with an unfortunate resolution.

My error
bpaste.net/show/33825

My Xorg.cong
bpaste.net/show/33825

If anyone has any thoughts or ideas I would appreciate the help. The only relevent result from google didnt work for me.
If you need anymore info, just let me know. Im running the latest kernel etc. releses, this install is only 2 days old.

Thanks

lspci
bpaste.net/show/33827
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 10015
Location: almost Mile High in the USA

PostPosted: Sat Jul 07, 2012 1:50 pm    Post subject: Reply with quote

Code:
[  1727.988] (II) LoadModule: "nvidia"
[  1727.988] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  1727.988] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1727.988]    compiled for 4.0.2, module version = 1.0.0
[  1727.988]    Module class: X.Org Video Driver
[  1728.034] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[  1728.035] (EE) NVIDIA:     system's kernel log for additional error messages.
[  1728.035] (II) UnloadModule: "nvidia"
[  1728.035] (II) Unloading nvidia
[  1728.035] (EE) Failed to load module "nvidia" (module-specific error, 0)
[  1728.035] (EE) No drivers available.


This looks like it had a problem finding the kernel module. The kernel module tends to need to match the kernel.

Do a lsmod and look for nvidia.ko, it should stick out as a sore thumb as a 1MB kernel module. Also check dmesg for some clues about why it didn't load.

It may be as simple as re-emerge nvidia-drivers to make it match up with your current kernel (if /usr/src/linux points to the right place...)
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 2:24 pm    Post subject: Reply with quote

I ran lsmod, and there is nothing about nvidia.ko, even afte a re-energe of nvidia-drivers, and a reboot.

Dmesg says
bpaste.net/show/33839

I looked through my kernel config though and none of the listed were active.
Here is my .config if that helps
bpaste.net/show/33840

Thanks
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 2:47 pm    Post subject: Reply with quote

thehighpander,

Does this return a count > 0 (don't do this from a chroot - do it from your installed gentoo)
Code:
grep -c nvidia /lib/modules/$(uname -r)/{modules.dep,modules.alias}

Does this return anything
Code:
find /lib/modules/$(uname -r)/kernel -type f -iname 'nvidia*'

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 3:06 pm    Post subject: Reply with quote

the first one returns file not found
if i do them seperatly .dep returns 1 and alies returns 5
the other returns nothing.
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 10015
Location: almost Mile High in the USA

PostPosted: Sat Jul 07, 2012 3:23 pm    Post subject: Reply with quote

Code:
[  510.357489] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[  510.357492] NVRM: This can occur when a driver such as nouveau, rivafb,
[  510.357493] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of
[  510.357494] NVRM: the NVIDIA device(s).
[  510.357495] NVRM: Try unloading the conflicting kernel module (and/or
[  510.357496] NVRM: reconfigure your kernel without the conflicting
[  510.357497] NVRM: driver(s)), then try loading the NVIDIA kernel module
[  510.357498] NVRM: again.
[  510.357499] NVRM: No NVIDIA graphics adapter probed!

This is kind of weird...Do you have any of these loaded (nouveau, rivafb, nvidiafb, rivatv?
It looks like you do have CONFIG_FB enabled but I don't see nvidiafb ...
weird...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 3:24 pm    Post subject: Reply with quote

thehighpander wrote:
the first one returns file not found
if i do them seperatly .dep returns 1 and alies returns 5
the other returns nothing.

Quote:
im doing this all in Links

It would be better if you chroot from systemrescuecd or some other live media.

If you have entries in modules.dep and modules.alias then you should have a nvidia.ko in /lib/modules/$(uname -r)

Can you chroot and
Code:
ebuild  $(equery w x11-drivers/nvidia-drivers) compile
and wgetpaste the log :?:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 3:48 pm    Post subject: Reply with quote

I ran it and got

http://bpaste.net/show/NvPweHvPFv0mbb4NpGlB/

It seemed to run ok.

EDIT:
I'm running off a chroot in a Lubuntu Live usb.

I rebooted back into gentoo, and nothing there changed.
Back in lubuntu now.
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 4:01 pm    Post subject: Reply with quote

thehighpander,

Except for one warning it looks good
Try the full emerge again then go to your /lib/modules/kernel-version (don't use uname -r because it will be lubuntu's version) and
find -iname 'nvidia*'
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 4:07 pm    Post subject: Reply with quote

lubuntu 3.3.8-gentoo # find -iname 'nvidia*'
./video/nvidia.ko


will reboot and let you know
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 4:11 pm    Post subject: Reply with quote

thehighpander,

You could have done the find from in the chroot :) Just don't use $(uname -r) to resolve the module path :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 4:15 pm    Post subject: Reply with quote

Sorry,

Code:

lubuntu 3.3.8-gentoo # find -iname 'nvidia*'
./video/nvidia.ko


was the response. I just rebooted to see if that fixed any thing

upon startx, now I get
http://bpaste.net/show/33856



back in lubuntu now, whats next?
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 4:25 pm    Post subject: Reply with quote

thehighpander,

Make sure you have VIDEO_CARDS="fbdev vesa nvidia" in make.conf and emerge -uavDN @world

When that's done emerge -av1 $(qlist -I -C x11-drivers)
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 4:40 pm    Post subject: Reply with quote

that all seemed to work fine.

rebooting to test
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 4:46 pm    Post subject: Reply with quote

Nope. Startx still produces No Screens found

bpaste.net/show/33866
Code:

[    42.792] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[    42.792] (EE) NVIDIA:     system's kernel log for additional error messages.

_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 4:50 pm    Post subject: Reply with quote

what's the output of
Code:
eselect opengl show

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 4:58 pm    Post subject: Reply with quote

Code:

lubuntu / # eselect opengl show
nvidia

_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 5:00 pm    Post subject: Reply with quote

Did you install a wm/de yet :?:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sat Jul 07, 2012 5:15 pm    Post subject: Reply with quote

yes. i installed lxde and had it running perfectly before this.
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Jul 07, 2012 5:31 pm    Post subject: Reply with quote

thehighpander,

Might be coincidence of timing with nvidia, but I got errors with lxde the other day after a udev update. What I did was

eix-sync && revdep-rebuild then emerge lxde-meta lxde-common

If that doesn't work, try dropping back to the prior version of nvidia
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 10015
Location: almost Mile High in the USA

PostPosted: Sat Jul 07, 2012 10:30 pm    Post subject: Reply with quote

Are you trying to run Gentoo in an ubuntu chroot? That's not going to work unless your ubuntu has the same kernel version as gentoo - the module versions won't match up...

But this still doesn't explain why it won't load the module...

If you modprobe nvidia and then do a dmesg|tail, does it still give you the "no cards detected" issue?

Also what's in your lsmod ?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sun Jul 08, 2012 8:59 am    Post subject: Reply with quote

@Billwho - after running those commands I see no change

@Eccerr0r - I was just using a lubuntu chroot to troubleshoot

If i modprobe nvidia the dmesg|tail i get

"nvidia 11531559 1"
_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jul 08, 2012 12:58 pm    Post subject: Reply with quote

thehighpander,

Can you paste back:

Code:
lsmod

modinfo -F vermagic nvidia

ls -l /boot

uname -a

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thehighpander
n00b
n00b


Joined: 04 Jul 2012
Posts: 20

PostPosted: Sun Jul 08, 2012 8:20 pm    Post subject: Reply with quote

lsmod
Code:

Module                  Size  Used by
vboxnetflt             15085  0
vboxnetadp             17542  0
vboxdrv              1780636  2 vboxnetflt,vboxnetadp


modinfo -F vermagic nvidia
Code:

3.3.8-gentoo SMP mod_unload



ls -l /boot
Code:

total 4668
-rw-r--r-- 1 root root 4779936 Jul  8 09:19 bzImage



uname -a
Code:

Linux thehighpander-pc 3.3.8-gentoo #2 SMP Wed Jul 4 05:54:08 Local time zone must be set--see zic m x86_64 AMD Phenom(tm) II X4 840 Processor AuthenticAMD GNU/Linux

_________________
"Look at you, hacker. A pathetic creature of meat and bone. Panting and sweating as you run through my corridors. How can you challenge a perfect immortal machine?"

AMD Phenom 2 x4 840, 8gb DDR3, 1x 64gb Kingston SSD, 1x WD 2TB HDD, Nvidia 9800gt
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jul 08, 2012 10:47 pm    Post subject: Reply with quote

thehighpander,

One thing that sticks out is the date disparity with the contents of /boot and kernel time stamp.

rw-r--r-- 1 root root 4779936 Jul 8 09:19 bzImage
3.3.8-gentoo #2 SMP Wed Jul 4 05:54:08

If you followed the handbook and created a separate /boot partition, then by the listing it's not mounted and you're copying bzImage to the wrong place thereby booting an older kernel.

If a modification was made and you did a make && make modules_install then the modules are not matched to the kernel.

The nvidia module is compiled against the correct kernel version so that's OK.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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