Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't start x. nVidia device not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Rolf007
n00b
n00b


Joined: 07 Sep 2011
Posts: 14

PostPosted: Sat Jun 15, 2013 12:31 pm    Post subject: Can't start x. nVidia device not found Reply with quote

Hi all,
I've been stuggling with this for a long time now, and really need you help.
I emerge'd world for the first time in about 100 days and realized that I was not able to reboot because CONFIG_DEVTMPFS was now required to be set to 'y' in my kernel. Unfortunately the makefile from my kernel 3.0.6 had mysteriously disappeard.

So I installed the newest kernel 3.8.13 but I had to configure it.

When I try to start x, `startx` i get this:
Code:
modprobe: ERROR: could not insert 'nvidia': No such device
NVIDIA: failed to load the NVIDIA kernel modul.

Fatal server error:
no screens found


I would expect modprobe to look here:
Code:
/lib/modules/3.8.13-gentoo/kernel/drivers/

an no wonder, all I see here is
Code:
gpu/drm/gma500/gam500_fx.ko


Could that be my problem?

I followed the guide from here
Code:
http://www.gentoo.org/doc/en/xorg-config.xml


So I have set this is the kernel config
Code:
Device Drivers  --->
    Graphics support  --->
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
            <*> Nouveau (nVidia) cards


and this in my make.conf:
Code:
VIDEO_CARDS="vesa nvidia"

(unchanged from when it worked)

I should also mention that I moved my make.conf from /etc/ to /etc/portage/.

my graphics card is a NVIDIA GT218



My question is where do I go from here? I think I have tried everything now.
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2180
Location: Netherlands

PostPosted: Sat Jun 15, 2013 12:35 pm    Post subject: Reply with quote

The nVidia driver has to be installed separately.
Just do
Code:
 emerge nvidia-drivers

Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has midori to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Rolf007
n00b
n00b


Joined: 07 Sep 2011
Posts: 14

PostPosted: Sat Jun 15, 2013 12:48 pm    Post subject: Reply with quote

I have already done that...
Back to top
View user's profile Send private message
Rolf007
n00b
n00b


Joined: 07 Sep 2011
Posts: 14

PostPosted: Sat Jun 15, 2013 1:21 pm    Post subject: Reply with quote

lsmod show this:
Code:
Module Size   Used by
jme     31911  0


which also looks wrong to me...
Back to top
View user's profile Send private message
Rolf007
n00b
n00b


Joined: 07 Sep 2011
Posts: 14

PostPosted: Sat Jun 15, 2013 1:32 pm    Post subject: Reply with quote

/var/log/Xorg.0.log say this:

Code:
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading nvidia
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.


If "system's kernel log" means `dmesg`, then it says:

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


Not sure what that means, but I will try.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7403
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Jun 15, 2013 2:38 pm    Post subject: Reply with quote

The nvidia-drivers package (among others) is external to the kernel source. When you build a new kernel, you must re-emerge nvidia-drivers. There's a handy set to rebuild exactly what's needed:
Code:
emerge --oneshot @x11-module-rebuild
:wink:

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Rolf007
n00b
n00b


Joined: 07 Sep 2011
Posts: 14

PostPosted: Sat Jun 15, 2013 3:01 pm    Post subject: Reply with quote

Thanks a lot Gerard and John,

It turned out that the problem was that I nvidia in both my kernel and the emerged ones.
I removed kernel support for nouveau (nVidia) and then it worked. Only took 22 hours to figure that out :oops:
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 718
Location: philadelphia

PostPosted: Tue Jun 25, 2013 7:19 am    Post subject: Reply with quote

Remove the Nouveau from your kernel config entirely (unless you like to suck, no offence). Vesa graphics support is ok but nothing else. The nvidia driver will be in /lib/modules/{kernel version}/drivers. You may need to "modprobe nvidia".
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 718
Location: philadelphia

PostPosted: Tue Jun 25, 2013 7:20 am    Post subject: Reply with quote

Oh yeah you got that. WTG! Mark this solved.
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
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