Gentoo Archives: gentoo-user

From: Corbin Bird <corbinbird@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem matching latest kernel with latest Nvidia
Date: Tue, 10 Jan 2017 16:32:40
Message-Id: 58750C57.1080206@charter.net
In Reply to: Re: [gentoo-user] Problem matching latest kernel with latest Nvidia by "J. Roeleveld"
1 On 01/10/2017 04:22 AM, J. Roeleveld wrote:
2 > On January 10, 2017 10:01:12 AM GMT+01:00, Philip Webb <purslow@××××××××.net> wrote:
3 >> 170109 Nikos Chantziaras wrote:
4 >>> On 01/09/2017 10:09 AM, Philip Webb wrote:
5 >>>> I had a previous thread re Kernel 4.9.0 + Nvidia 375.26 (now
6 >> stable).
7 >>>> I tried recompiling that kernel with DRM disabled,
8 >>>> & remerged Nvidia 375.26 , but X won't start.
9 >>> The nvidia driver isn't "automatic". It's not used by X.Org by
10 >> default.
11 >>> X.Org only uses its own drivers by default.
12 >>> For the nvidia driver, you need a conf file.
13 >>> Something like this in /etc/X11/xorg.conf.d/nvidia.conf:
14 >>> http://pastebin.com/raw/0y3NMndp
15 >> I didn't need this with earlier versions of Nvidia-drivers,
16 >> but I've copied your template & am willing to give it a try.
17 >> It looks as if there are several lines which wouldn't fit my machine.
18 >>
19 >>> The nvidia driver has a tool to help with this too,
20 >>> it's called `nvidia-xconfig`.
21 >> It doesn't seem to be available on my machine :
22 >>
23 >> root:515 xorg.conf.d> which nvidia-xconfig
24 >> which: no nvidia-xconfig in
25 >> (/sbin:/usr/sbin:/usr/local/sbin::/bin:/usr/bin:/usr/local/bin:)
26 >> root:517 xorg.conf.d> nvidia-xconfig
27 >> bash: nvidia-xconfig: command not found
28 >>
29 >> Thanks to the others who replied. One asked for USE flags : here they
30 >> are :
31 >>
32 >> root:518 xorg.conf.d> eix nvidia-drivers
33 >> ...
34 >> Installed versions: 361.28^msd{tbz2}([2017-01-09 02:41:57])(X driver
35 >> gtk3 kms -acpi -multilib -pax_kernel -static-libs -tools -uvm
36 >> KERNEL="linux -FreeBSD")
37 >>
38 >> Those are for the version which works & which I've had to restore,
39 >> but I didn't change them for 375.26 .
40 >>
41 >> Further suggestions are very welcome.
42 > Add the "tools" USE flag to get nvidiasettings and similar.
43 >
44 > Am going to try a later version of drivers and kernel myself later.
45 >
46 > --
47 > Joost
48 You might want to add "static-libs" to the use flags as well. Another
49 useful utility gets built by it.

Replies

Subject Author
Re: [gentoo-user] Problem matching latest kernel with latest Nvidia "J. Roeleveld" <joost@××××××××.org>
[gentoo-user] Re: Problem matching latest kernel with latest Nvidia Nikos Chantziaras <realnc@×××××.com>