1 |
On 01/09/2017 02:09 AM, Philip Webb wrote: |
2 |
> 170105 Nikos Chantziaras wrote: |
3 |
>> On 01/05/2017 08:05 AM, wabe wrote: |
4 |
>>> Make sure that you have also enabled CONFIG_DRM. |
5 |
>>> CONFIG_DRM=y |
6 |
>>> CONFIG_DRM_KMS_HELPER=y |
7 |
>>> CONFIG_DRM_KMS_FB_HELPER=y |
8 |
>>> CONFIG_DRM_FBDEV_EMULATION=y |
9 |
>> For nvidia, these need to be all disabled. Then it should work. |
10 |
> I had a previous thread re Kernel 4.9.0 + Nvidia 375.26 (now stable). |
11 |
> I tried recompiling that kernel with DRM disabled, |
12 |
> & remerged Nvidia 375.26 , but X won't start. |
13 |
> Here are the last lines of Xorg.0.log : |
14 |
> |
15 |
> (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules" |
16 |
> (II) The server relies on udev to provide the list of input devices. |
17 |
> If no devices become available, reconfigure udev or disable AutoAddDevices. |
18 |
> (II) Loader magic: 0x809c80 |
19 |
> (II) Module ABI versions: |
20 |
> X.Org ANSI C Emulation: 0.4 |
21 |
> X.Org Video Driver: 20.0 |
22 |
> X.Org XInput driver : 22.1 |
23 |
> X.Org Server Extension : 9.0 |
24 |
> (--) PCI:*(0:1:0:0) 10de:104a:1043:8496 rev 161, Mem @ 0xfd000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072 |
25 |
> (II) LoadModule: "glx" |
26 |
> (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so |
27 |
> (II) Module glx: vendor="NVIDIA Corporation" |
28 |
> compiled for 4.0.2, module version = 1.0.0 |
29 |
> Module class: X.Org Server Extension |
30 |
> (II) NVIDIA GLX Module 375.26 Thu Dec 8 17:59:51 PST 2016 |
31 |
> (==) Matched nouveau as autoconfigured driver 0 |
32 |
> (==) Matched nv as autoconfigured driver 1 |
33 |
> (==) Matched modesetting as autoconfigured driver 2 |
34 |
> (==) Matched fbdev as autoconfigured driver 3 |
35 |
> (==) Matched vesa as autoconfigured driver 4 |
36 |
> (==) Assigned the driver to the xf86ConfigLayout |
37 |
> (II) LoadModule: "nouveau" |
38 |
> (WW) Warning, couldn't open module nouveau |
39 |
> (II) UnloadModule: "nouveau" |
40 |
> (II) Unloading nouveau |
41 |
> (EE) Failed to load module "nouveau" (module does not exist, 0) |
42 |
> (II) LoadModule: "nv" |
43 |
> (WW) Warning, couldn't open module nv |
44 |
> (II) UnloadModule: "nv" |
45 |
> (II) Unloading nv |
46 |
> (EE) Failed to load module "nv" (module does not exist, 0) |
47 |
> (II) LoadModule: "modesetting" |
48 |
> (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so |
49 |
> (II) Module modesetting: vendor="X.Org Foundation" |
50 |
> compiled for 1.18.4, module version = 1.18.4 |
51 |
> Module class: X.Org Video Driver |
52 |
> ABI class: X.Org Video Driver, version 20.0 |
53 |
> (II) LoadModule: "fbdev" |
54 |
> (WW) Warning, couldn't open module fbdev |
55 |
> (II) UnloadModule: "fbdev" |
56 |
> (II) Unloading fbdev |
57 |
> (EE) Failed to load module "fbdev" (module does not exist, 0) |
58 |
> (II) LoadModule: "vesa" |
59 |
> (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so |
60 |
> (II) Module vesa: vendor="X.Org Foundation" |
61 |
> compiled for 1.18.4, module version = 2.3.4 |
62 |
> Module class: X.Org Video Driver |
63 |
> ABI class: X.Org Video Driver, version 20.0 |
64 |
> (II) modesetting: Driver for Modesetting Kernel Drivers: kms |
65 |
> (II) VESA: driver for VESA chipsets: vesa |
66 |
> (--) using VT number 7 |
67 |
> |
68 |
> (EE) open /dev/dri/card0: No such file or directory |
69 |
> (WW) Falling back to old probe method for modesetting |
70 |
> (EE) open /dev/dri/card0: No such file or directory |
71 |
> vesa: Ignoring device with a bound kernel driver |
72 |
> (WW) Falling back to old probe method for vesa |
73 |
> (EE) Screen 0 deleted because of no matching config section. |
74 |
> (II) UnloadModule: "modesetting" |
75 |
> (EE) Screen 0 deleted because of no matching config section. |
76 |
> (II) UnloadModule: "vesa" |
77 |
> (EE) Device(s) detected, but none match those in the config file. |
78 |
> (EE) |
79 |
> error: |
80 |
> (EE) no screens found(EE) -- final lines snipped |
81 |
> |
82 |
> Does anyone have any suggestions ? |
83 |
> |
84 |
|
85 |
Questions, more info please. |
86 |
|
87 |
What are your local / global USE flags for "x11-drivers/nvidia-drivers"? |
88 |
|
89 |
Did you try setting up a "*|/etc/X11/xorg.conf.d/nvidia.conf|*" file? |
90 |
|
91 |
------------ |
92 |
|
93 |
Reference Link : https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers |