Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: nvidia x server settings doesn't open
Date: Sun, 29 Nov 2020 19:26:59
Message-Id: 4538937.UJfJDUJd3W@eve
In Reply to: [gentoo-user] Re: nvidia x server settings doesn't open by Nikos Chantziaras
1 On Sunday, November 29, 2020 1:34:46 PM CET Nikos Chantziaras wrote:
2 > On 29/11/2020 05:53, thelma@×××××××××××.com wrote:
3 > > On 11/28/2020 07:19 AM, Nikos Chantziaras wrote:
4 > >> On 27/11/2020 02:56, thelma@×××××××××××.com wrote:
5 > >>> I just installed nvidia-drivers-455.28-r1 and can not start "nvidia x
6 > >>> server setting" it doesn't open.
7 > >>>
8 > >>> running: $ nvidia-smi
9 > >>> NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA
10 > >>> driver. Make sure that the latest NVIDIA driver is installed and
11 > >>> running.
12 > >>
13 > >> What's the output of:
14 > >> lsmod
15 > >>
16 > >> and:
17 > >> emerge --info
18 > >
19 > > Here it is.
20 > > [...snip...]
21 >
22 > Your system is using the nouveau driver. You need to disable it and only
23 > enable the nvidia driver. In your make.conf, change this:
24 >
25 > VIDEO_CARDS="nvidia nouveau"
26 >
27 > to:
28 >
29 > VIDEO_CARDS="nvidia"
30 >
31 > Also, add "nvidia" to your make.conf USE flags (this might not be
32 > actually needed, but better safe than sorry.)
33 >
34 > Then also see if you have nouveau enabled for something elsewhere in
35 > your portage configuration. Do this:
36 >
37 > grep -r nouveau /etc/portage
38 >
39 > This should print nothing. If it does, then you should edit the files
40 > and disable nouveau.
41 >
42 > Finally, tell portage to check what needs to be re-emerged due to these
43 > changes:
44 >
45 > emerge -auDN --with-bdeps=y @world
46 >
47 > Reboot.
48
49 Don't forget to disable loading of the nouveau kernel-module.
50 (Or simply remove it from the kernel-config entirely)
51
52 --
53 Joost