You are not logged in.

#1 2016-01-11 04:53:26

sleeping
Member
Registered: 2016-01-09
Posts: 35

[solved] X doesn't start with nouveau drivers ('No devices detected')

Tried running X as root (and also as non-root for what it's worth), but it doesn't seem to start.
All other Linux distributions are working fine with the nouveau driver in combination with my notebook (MacBook Pro 4.1 with NVIDIA GeForce 8600M GT), so I am wondering what can be done about it.

This is on a clean installation of Arch with the xorg-server and xf86-nouveau packages installed.
I enabled early KMS like the wiki describes.

Here is the log:

[   367.782] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[   367.783] X Protocol Version 11, Revision 0
[   367.783] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[   367.783] Current Operating System: Linux localhost 4.3.3-2-ARCH #1 SMP PREEMPT Wed Dec 23 20:09:18 CET 2015 x86_64
[   367.783] Kernel command line: \boot\vmlinuz-linux ro root=UUID=3db1eba2-27ff-41c6-9f03-3e20125fd666 initrd=boot\initramfs-linux.img
[   367.783] Build Date: 18 November 2015  08:07:09AM
[   367.784]  
[   367.784] Current version of pixman: 0.32.8
[   367.784] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   367.784] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   367.785] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 11 05:42:55 2016
[   367.785] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   367.785] (==) No Layout section.  Using the first Screen section.
[   367.785] (==) No screen section available. Using defaults.
[   367.785] (**) |-->Screen "Default Screen Section" (0)
[   367.785] (**) |   |-->Monitor "<default monitor>"
[   367.785] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   367.785] (==) Automatically adding devices
[   367.785] (==) Automatically enabling devices
[   367.785] (==) Automatically adding GPU devices
[   367.785] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   367.785] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   367.785] 	Entry deleted from font path.
[   367.785] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   367.786] 	Entry deleted from font path.
[   367.786] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   367.786] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   367.786] 	Entry deleted from font path.
[   367.786] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   367.786] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[   367.786] (==) ModulePath set to "/usr/lib/xorg/modules"
[   367.786] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   367.786] (II) Loader magic: 0x819d40
[   367.786] (II) Module ABI versions:
[   367.786] 	X.Org ANSI C Emulation: 0.4
[   367.786] 	X.Org Video Driver: 20.0
[   367.786] 	X.Org XInput driver : 22.1
[   367.786] 	X.Org Server Extension : 9.0
[   367.786] (--) using VT number 2

[   367.786] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   367.787] (II) xfree86: Adding drm device (/dev/dri/card0)
[   367.789] (--) PCI:*(0:1:0:0) 10de:0407:106b:00a4 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00007000/128, BIOS @ 0x????????/131072
[   367.789] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   367.789] (II) LoadModule: "glx"
[   367.789] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   367.791] (II) Module glx: vendor="X.Org Foundation"
[   367.791] 	compiled for 1.18.0, module version = 1.0.0
[   367.791] 	ABI class: X.Org Server Extension, version 9.0
[   367.791] (==) AIGLX enabled
[   367.791] (==) Matched nouveau as autoconfigured driver 0
[   367.791] (==) Matched nv as autoconfigured driver 1
[   367.791] (==) Matched nouveau as autoconfigured driver 2
[   367.791] (==) Matched nv as autoconfigured driver 3
[   367.791] (==) Matched modesetting as autoconfigured driver 4
[   367.791] (==) Matched fbdev as autoconfigured driver 5
[   367.791] (==) Matched vesa as autoconfigured driver 6
[   367.791] (==) Assigned the driver to the xf86ConfigLayout
[   367.791] (II) LoadModule: "nouveau"
[   367.791] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[   367.791] (II) Module nouveau: vendor="X.Org Foundation"
[   367.791] 	compiled for 1.18.0, module version = 1.0.12
[   367.791] 	Module class: X.Org Video Driver
[   367.791] 	ABI class: X.Org Video Driver, version 20.0
[   367.791] (II) LoadModule: "nv"
[   367.791] (WW) Warning, couldn't open module nv
[   367.791] (II) UnloadModule: "nv"
[   367.792] (II) Unloading nv
[   367.792] (EE) Failed to load module "nv" (module does not exist, 0)
[   367.792] (II) LoadModule: "modesetting"
[   367.792] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   367.792] (II) Module modesetting: vendor="X.Org Foundation"
[   367.792] 	compiled for 1.18.0, module version = 1.18.0
[   367.792] 	Module class: X.Org Video Driver
[   367.792] 	ABI class: X.Org Video Driver, version 20.0
[   367.792] (II) LoadModule: "fbdev"
[   367.792] (WW) Warning, couldn't open module fbdev
[   367.792] (II) UnloadModule: "fbdev"
[   367.792] (II) Unloading fbdev
[   367.792] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   367.792] (II) LoadModule: "vesa"
[   367.792] (WW) Warning, couldn't open module vesa
[   367.792] (II) UnloadModule: "vesa"
[   367.792] (II) Unloading vesa
[   367.792] (EE) Failed to load module "vesa" (module does not exist, 0)
[   367.792] (II) NOUVEAU driver 
[   367.792] (II) NOUVEAU driver for NVIDIA chipset families :
[   367.792] 	RIVA TNT        (NV04)
[   367.792] 	RIVA TNT2       (NV05)
[   367.792] 	GeForce 256     (NV10)
[   367.792] 	GeForce 2       (NV11, NV15)
[   367.792] 	GeForce 4MX     (NV17, NV18)
[   367.792] 	GeForce 3       (NV20)
[   367.792] 	GeForce 4Ti     (NV25, NV28)
[   367.792] 	GeForce FX      (NV3x)
[   367.792] 	GeForce 6       (NV4x)
[   367.792] 	GeForce 7       (G7x)
[   367.792] 	GeForce 8       (G8x)
[   367.792] 	GeForce GTX 200 (NVA0)
[   367.792] 	GeForce GTX 400 (NVC0)
[   367.792] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   367.796] (II) [drm] nouveau interface version: 1.3.0
[   367.796] (WW) Falling back to old probe method for modesetting
[   367.796] (EE) No devices detected.
[   367.796] (EE) 
Fatal server error:
[   367.796] (EE) no screens found(EE) 
[   367.796] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   367.796] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   367.796] (EE) 

Any help is greatly appriciated

Last edited by sleeping (2016-01-12 11:05:21)

Offline

#2 2016-01-11 09:40:00

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,297

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

The solution is here:

[   367.786] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

I had to do that also, using in .bash_profile:

[[ -z $DISPLAY && $XDG_VTNR == 1 ]] && startx -- -keeptty &> $HOME/xsession.log

Offline

#3 2016-01-11 11:08:44

sleeping
Member
Registered: 2016-01-09
Posts: 35

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

Thank you so much for your response.

Unfortunetely, that did not solve the problem yet, although that message is gone:

[  1292.318] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[  1292.318] X Protocol Version 11, Revision 0
[  1292.318] Build Operating System: Linux 4.2.5-1-ARCH x86_64 
[  1292.318] Current Operating System: Linux localhost 4.3.3-2-ARCH #1 SMP PREEMPT Wed Dec 23 20:09:18 CET 2015 x86_64
[  1292.318] Kernel command line: \boot\vmlinuz-linux ro root=UUID=3db1eba2-27ff-41c6-9f03-3e20125fd666 initrd=boot\initramfs-linux.img
[  1292.318] Build Date: 08 January 2016  05:56:16PM
[  1292.318]  
[  1292.319] Current version of pixman: 0.32.8
[  1292.319] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1292.319] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1292.319] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 11 12:03:53 2016
[  1292.319] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1292.319] (==) No Layout section.  Using the first Screen section.
[  1292.319] (==) No screen section available. Using defaults.
[  1292.319] (**) |-->Screen "Default Screen Section" (0)
[  1292.319] (**) |   |-->Monitor "<default monitor>"
[  1292.319] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1292.319] (==) Automatically adding devices
[  1292.319] (==) Automatically enabling devices
[  1292.319] (==) Automatically adding GPU devices
[  1292.319] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1292.319] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1292.319] 	Entry deleted from font path.
[  1292.319] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1292.320] 	Entry deleted from font path.
[  1292.320] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1292.320] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1292.320] 	Entry deleted from font path.
[  1292.320] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1292.320] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  1292.320] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1292.320] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1292.320] (II) Loader magic: 0x819d40
[  1292.320] (II) Module ABI versions:
[  1292.320] 	X.Org ANSI C Emulation: 0.4
[  1292.320] 	X.Org Video Driver: 20.0
[  1292.320] 	X.Org XInput driver : 22.1
[  1292.320] 	X.Org Server Extension : 9.0
[  1292.320] (++) using VT number 1

[  1292.322] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c6
[  1292.323] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1292.323] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  1292.326] (--) PCI:*(0:1:0:0) 10de:0407:106b:00a4 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00007000/128, BIOS @ 0x????????/131072
[  1292.326] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1292.326] (II) LoadModule: "glx"
[  1292.326] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1292.328] (II) Module glx: vendor="X.Org Foundation"
[  1292.328] 	compiled for 1.18.0, module version = 1.0.0
[  1292.328] 	ABI class: X.Org Server Extension, version 9.0
[  1292.328] (==) AIGLX enabled
[  1292.328] (==) Matched nouveau as autoconfigured driver 0
[  1292.328] (==) Matched nv as autoconfigured driver 1
[  1292.328] (==) Matched nouveau as autoconfigured driver 2
[  1292.328] (==) Matched nv as autoconfigured driver 3
[  1292.328] (==) Matched modesetting as autoconfigured driver 4
[  1292.328] (==) Matched fbdev as autoconfigured driver 5
[  1292.328] (==) Matched vesa as autoconfigured driver 6
[  1292.328] (==) Assigned the driver to the xf86ConfigLayout
[  1292.328] (II) LoadModule: "nouveau"
[  1292.328] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  1292.328] (II) Module nouveau: vendor="X.Org Foundation"
[  1292.328] 	compiled for 1.18.0, module version = 1.0.12
[  1292.329] 	Module class: X.Org Video Driver
[  1292.329] 	ABI class: X.Org Video Driver, version 20.0
[  1292.329] (II) LoadModule: "nv"
[  1292.329] (WW) Warning, couldn't open module nv
[  1292.329] (II) UnloadModule: "nv"
[  1292.329] (II) Unloading nv
[  1292.329] (EE) Failed to load module "nv" (module does not exist, 0)
[  1292.329] (II) LoadModule: "modesetting"
[  1292.329] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1292.329] (II) Module modesetting: vendor="X.Org Foundation"
[  1292.329] 	compiled for 1.18.0, module version = 1.18.0
[  1292.329] 	Module class: X.Org Video Driver
[  1292.329] 	ABI class: X.Org Video Driver, version 20.0
[  1292.329] (II) LoadModule: "fbdev"
[  1292.329] (WW) Warning, couldn't open module fbdev
[  1292.329] (II) UnloadModule: "fbdev"
[  1292.329] (II) Unloading fbdev
[  1292.329] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1292.329] (II) LoadModule: "vesa"
[  1292.329] (WW) Warning, couldn't open module vesa
[  1292.329] (II) UnloadModule: "vesa"
[  1292.329] (II) Unloading vesa
[  1292.329] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1292.329] (II) NOUVEAU driver 
[  1292.330] (II) NOUVEAU driver for NVIDIA chipset families :
[  1292.330] 	RIVA TNT        (NV04)
[  1292.330] 	RIVA TNT2       (NV05)
[  1292.330] 	GeForce 256     (NV10)
[  1292.330] 	GeForce 2       (NV11, NV15)
[  1292.330] 	GeForce 4MX     (NV17, NV18)
[  1292.330] 	GeForce 3       (NV20)
[  1292.330] 	GeForce 4Ti     (NV25, NV28)
[  1292.330] 	GeForce FX      (NV3x)
[  1292.330] 	GeForce 6       (NV4x)
[  1292.330] 	GeForce 7       (G7x)
[  1292.330] 	GeForce 8       (G8x)
[  1292.330] 	GeForce GTX 200 (NVA0)
[  1292.330] 	GeForce GTX 400 (NVC0)
[  1292.330] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1292.330] (II) [drm] nouveau interface version: 1.3.0
[  1292.330] (WW) Falling back to old probe method for modesetting
[  1292.330] (EE) No devices detected.
[  1292.330] (EE) 
Fatal server error:
[  1292.330] (EE) no screens found(EE) 
[  1292.330] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1292.330] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1292.330] (EE) 

Last edited by sleeping (2016-01-11 11:09:52)

Offline

#4 2016-01-11 16:28:43

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,297

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

Give more details about your configuration and what you've done to install nouveau.
Please be very precise in your answer, ie preferably the exact commands you ran and any output on the screen.

Tell also how you enter graphical environment and what WM/DE you want to start.

This is not correct:

[  1292.319] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 11 12:03:53 2016

It should have been:

[    51.545] (==) Log file: "/home/berbae/.local/share/xorg/Xorg.0.log", Time: Mon Jan 11 10:20:18 2016

ie the log file is in $HOME/.local/share/xorg/Xorg.0.log

The nouveau driver needs KMS kernel modesetting to work, and in this mode the X server is run as user with the xorg log file in $HOME folder.
So in your case there is something not right in your configuration.

Offline

#5 2016-01-11 17:22:20

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

You should try to explicitly tell Xorg that you want nouveau driver to be loaded. Add a 20-video.conf to your /usr/share/X11/xorg.conf.d/ folder with the following :

Section "Device"
        Identifier "Nvidia Card"
        Driver "nouveau"
        VendorName "NVIDIA Corporation"
        Option "NoLogo" "true"
EndSection

The "NoLogo" option is only used by nvidia's proprietary driver but it doesn't hurt having that extra option there.
Also, "make sure you do not have nomodeset or vga= as a kernel parameter, since Nouveau requires kernel mode-setting" as stated in the wiki.

Offline

#6 2016-01-11 17:26:55

tom.ty89
Member
Registered: 2012-11-15
Posts: 896

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

It IS using the nouveau driver already, at least as per the log. Usually there are better approaches to make sure the correct driver is loaded (e.g. uninstall other xf86-video-*). And it's not recommended to add conf to /usr/share/ but /etc/. /usr/share/ should only be used by whatever shipped by the packages.

Offline

#7 2016-01-11 17:32:31

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,771

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

What is the output of lspci?

Offline

#8 2016-01-11 17:37:54

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

tom.ty89 wrote:

It IS using the nouveau driver already, at least as per the log. Usually there are better approaches to make sure the correct driver is loaded (e.g. uninstall other xf86-video-*). And it's not recommended to add conf to /usr/share/ but /etc/. /usr/share/ should only be used by whatever shipped by the packages.

In my notebook, I sometimes switch between nvidia and nouveau. Everytime I replace nvidia's proprietary driver by nouveau's or vice-versa, I have to edit that file manually otherwise X won't launch.

That's why I'm advising in this direction.

To be completely honest, I don't know why this happens. In my opinion, drivers such as nouveau or nvidia should be loaded automatically, but they aren't.. at least in my case.

EDIT : Added quote

Last edited by cafe (2016-01-11 17:39:50)

Offline

#9 2016-01-11 22:23:49

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,297

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

cafe wrote:

"make sure you do not have nomodeset or vga= as a kernel parameter, since Nouveau requires kernel mode-setting"

This is good advice, but the kernel command line is written in the xorg log file and it doesn't show these parameters in the provided view above.

I had a  /etc/X11/xorg.conf.d/20-nvidia.conf when I used the proprietary driver, because I had non default options in it.
But now with nouveau I don't need a 20-nouveau.conf, xorg chooses automatically it to start graphical environment.

It's not an error to use one, but to me it seems superfluous.

Offline

#10 2016-01-12 11:05:04

sleeping
Member
Registered: 2016-01-09
Posts: 35

Re: [solved] X doesn't start with nouveau drivers ('No devices detected')

Thanks guys. Setting nodemodeset parameter with nouveau broke the backlight for me.
I ended up installing Manjaro Linux.
Don't know how they do it, but everything worked out of the box with the nouveau drivers.

Trying vanilla Arch again when I get a more compatible machine.

Offline

Board footer

Powered by FluxBB