Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem matching latest kernel with latest Nvidia
Date: Tue, 10 Jan 2017 10:23:01
Message-Id: 390605D4-4733-4BE1-9A98-2E630DD27884@antarean.org
In Reply to: [gentoo-user] Problem matching latest kernel with latest Nvidia by Philip Webb
1 On January 10, 2017 10:01:12 AM GMT+01:00, Philip Webb <purslow@××××××××.net> wrote:
2 >170109 Nikos Chantziaras wrote:
3 >> On 01/09/2017 10:09 AM, Philip Webb wrote:
4 >>> I had a previous thread re Kernel 4.9.0 + Nvidia 375.26 (now
5 >stable).
6 >>> I tried recompiling that kernel with DRM disabled,
7 >>> & remerged Nvidia 375.26 , but X won't start.
8 >> The nvidia driver isn't "automatic". It's not used by X.Org by
9 >default.
10 >> X.Org only uses its own drivers by default.
11 >> For the nvidia driver, you need a conf file.
12 >> Something like this in /etc/X11/xorg.conf.d/nvidia.conf:
13 >> http://pastebin.com/raw/0y3NMndp
14 >
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 >
22 >It doesn't seem to be available on my machine :
23 >
24 > root:515 xorg.conf.d> which nvidia-xconfig
25 >which: no nvidia-xconfig in
26 >(/sbin:/usr/sbin:/usr/local/sbin::/bin:/usr/bin:/usr/local/bin:)
27 > root:517 xorg.conf.d> nvidia-xconfig
28 > bash: nvidia-xconfig: command not found
29 >
30 >Thanks to the others who replied. One asked for USE flags : here they
31 >are :
32 >
33 > root:518 xorg.conf.d> eix nvidia-drivers
34 > ...
35 >Installed versions: 361.28^msd{tbz2}([2017-01-09 02:41:57])(X driver
36 >gtk3 kms -acpi -multilib -pax_kernel -static-libs -tools -uvm
37 >KERNEL="linux -FreeBSD")
38 >
39 >Those are for the version which works & which I've had to restore,
40 >but I didn't change them for 375.26 .
41 >
42 >Further suggestions are very welcome.
43
44 Add the "tools" USE flag to get nvidiasettings and similar.
45
46 Am going to try a later version of drivers and kernel myself later.
47
48 --
49 Joost
50 --
51 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Problem matching latest kernel with latest Nvidia Corbin Bird <corbinbird@×××××××.net>