Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: NVIDIA driver is not loaded
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SP2340
n00b
n00b


Joined: 01 Nov 2016
Posts: 50
Location: KeyStoneState

PostPosted: Fri Mar 31, 2017 3:53 pm    Post subject: ERROR: NVIDIA driver is not loaded Reply with quote

Hello,

So I have been running kernel 4.4.26-gentoo for the longest time. I did an upgrade and once it was finished I rebooted. Upon reboot the system no longer boots into Plasma and comes to a CLI prompt. So I log in and try to run startx which give the following error:

Code:
~ $ startx
xauth:  file /home/rjs/.serverauth.22419 does not exist


X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-gentoo x86_64 Gentoo
Current Operating System: Linux shnldt01 4.4.26-gentoo #1 SMP Wed Nov 2 16:42:36 EDT 2016 x86_64
Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.4.26-gentoo root=UUID=0c238468-72fc-401a-a9b3-b8bf46745426 ro
Build Date: 11 March 2017  05:51:22PM

Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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: Fri Mar 31 11:46:16 2017
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1920 1200

ERROR: NVIDIA driver is not loaded


ERROR: Error querying enabled displays on GPU 0 (Missing Extension).


ERROR: Error querying connected displays on GPU 0 (Missing Extension).

/etc/X11/xinit/xinitrc: line 59: xclock: command not found
/etc/X11/xinit/xinitrc: line 58: twm: command not found
/etc/X11/xinit/xinitrc: line 62: exec: xterm: not found
/etc/X11/xinit/xinitrc: line 60: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Couldn't get a file descriptor referring to the console


So I searched for this file and find it no where on system. What is this file and where can I get it or how can I generate it?
Or how can I get Plasma to boot again?

How can I help you help me?


Last edited by SP2340 on Fri Mar 31, 2017 7:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Fri Mar 31, 2017 6:06 pm    Post subject: Reply with quote

Your problem is not Plasma, your problem is X not starting up.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
SP2340
n00b
n00b


Joined: 01 Nov 2016
Posts: 50
Location: KeyStoneState

PostPosted: Fri Mar 31, 2017 7:28 pm    Post subject: Reply with quote

Thanks for your reply. How do I fix this then? What should I be looking at?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Fri Mar 31, 2017 7:38 pm    Post subject: Reply with quote

First of all, change the topic title to be correct and make other people look at it.

Code:
ERROR: NVIDIA driver is not loaded

So that points at failure to rebuild nvidia-drivers, if you use nvidia-drivers, after your kernel upgdate?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 829

PostPosted: Fri Mar 31, 2017 7:51 pm    Post subject: Reply with quote

It isn't clear if you changed kernel, but if you did, asturm is correct, you then need to rebuild nvidia-drivers. No need to reboot after that, the new module will load. Make sure /usr/src/linux points to the kernel you want to build nvidia-drivers for.
Back to top
View user's profile Send private message
SP2340
n00b
n00b


Joined: 01 Nov 2016
Posts: 50
Location: KeyStoneState

PostPosted: Fri Mar 31, 2017 8:30 pm    Post subject: Reply with quote

I believe that 4.4.26 was using the gentoo drivers for my nvidia card. When I tried to install 4.9.0 i believe I tried to install the nVidia drivers but everything was going wrong with 4.9.0 so i switches back to 4.4.26 and been using it ever since.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Fri Mar 31, 2017 8:39 pm    Post subject: Reply with quote

What exactly do you mean when talking about gentoo drivers (Gentoo doesn't do drivers) and nvidia drivers? If you downloaded them from Nvidia's website and installed them outside of portage, that's a big no-no right there unless you know what you are doing.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 829

PostPosted: Fri Mar 31, 2017 9:01 pm    Post subject: Reply with quote

Make sure /usr/src/linux points to /usr/src/linux-4.4.26-gentoo

Rebuild nvidia-drivers

Do as root (su, or sudo the commands that demand it) ...

Code:
cd /usr/src
rm linux
ln -s linux-4.4.26-gentoo linux
cd
emerge nvidia-drivers


There is an eselect command that does the kernel softlink, if you prefer.

I don't use nvidia-drivers since about a year and half ago, but I ran into kernel vs. nvidia updates probably 30 times before that. I had many occasions when I forgot to coordinate nvidia-drivers with the kernel, to the point that my kernel update script included a reminder to rebuild nvidia-drivers after rebuild and install of a "new" kernel. Scare quotes around "new" because the coordination has to be re-established no matter if one is upgrading or downgrading kernel.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6972
Location: Saint Amant, Acadiana

PostPosted: Fri Mar 31, 2017 9:22 pm    Post subject: Reply with quote

Code:
emerge nvidia-drivers

^^ This puts nvidia-drivers into world file, it does not belong there.
Code:
emerge @module-rebuild

This will rebuild all out of kernel modules.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Mar 31, 2017 10:23 pm    Post subject: Reply with quote

It seems the topic poster needs some informations

https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers

please also check informations on how to update gentoo / how to configure the X server / how to build a kernel

in the old days some guys would have said, RTFM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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