You are not logged in.

#1 2020-12-27 15:38:50

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Xorg config problems after installation of NVIDIA proprietary drivers

Hello,
I decided to install NVIDIA proprietary drivers after experiencing some bugs with Nouveau, but now Xorg doesn't want to run; it says it doesn't haev any screens, even when I generated the xorg.conf with nvidia-xconf. My screens are:
- A 1920x1080 HDMI
- A 1024x768 DVI

I have a GTX 1060 so I need the nvidia package.
Here are some commands output that, I think, can be useful to resolve this:

lspci -k | grep -A 2 -E "(VGA|3D)"

01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd Device 3739
	Kernel driver in use: nvidia

cat /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 455.45.01


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

cat /var/log.Xorg.0.log:

[    56.700] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    56.700]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    56.701] Build Operating System: Linux Arch Linux
[    56.701] Current Operating System: Linux QuentinDesktop 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64
[    56.701] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f24e7276-0dcb-41d3-85d1-e8a78c77da95 rw loglevel=3
[    56.702] Build Date: 14 December 2020  12:10:29PM
[    56.702]
[    56.702] Current version of pixman: 0.40.0
[    56.703] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    56.703] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.704] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27 17:28:51 2020
[    56.706] (==) Using config file: "/etc/X11/xorg.conf"
[    56.706] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    56.706] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    56.707] (==) ServerLayout "X.org Configured"
[    56.707] (**) |-->Screen "Screen0" (0)
[    56.707] (**) |   |-->Monitor "Monitor0"
[    56.707] (**) |   |-->Device "Card0"
[    56.707] (**) |   |-->GPUDevice "Device0"
[    56.707] (**) |   |-->GPUDevice "Device0"
[    56.707] (**) |-->Input Device "Mouse0"
[    56.707] (**) |-->Input Device "Keyboard0"
[    56.707] (==) Automatically adding devices
[    56.707] (==) Automatically enabling devices
[    56.707] (==) Automatically adding GPU devices
[    56.707] (==) Automatically binding GPU devices
[    56.707] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    56.709] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    56.709] 	Entry deleted from font path.
[    56.709] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    56.709] 	Entry deleted from font path.
[    56.709] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    56.709] 	Entry deleted from font path.
[    56.709] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    56.709] 	Entry deleted from font path.
[    56.709] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    56.709] (==) ModulePath set to "/usr/lib/xorg/modules"
[    56.709] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    56.709] (WW) Disabling Mouse0
[    56.709] (WW) Disabling Keyboard0
[    56.709] (II) Module ABI versions:
[    56.709] 	X.Org ANSI C Emulation: 0.4
[    56.709] 	X.Org Video Driver: 24.1
[    56.709] 	X.Org XInput driver : 24.1
[    56.709] 	X.Org Server Extension : 10.0
[    56.710] (--) using VT number 2

[    56.710] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    56.710] (II) xfree86: Adding drm device (/dev/dri/card0)
[    56.711] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    56.712] (--) PCI:*(1@0:0:0) 10de:1c03:1458:3739 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    56.712] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    56.712] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    56.712] (II) LoadModule: "glx"
[    56.713] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    56.724] (II) Module glx: vendor="X.Org Foundation"
[    56.724] 	compiled for 1.20.10, module version = 1.0.0
[    56.724] 	ABI class: X.Org Server Extension, version 10.0
[    56.724] (II) LoadModule: "nouveau"
[    56.724] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    56.727] (II) Module nouveau: vendor="X.Org Foundation"
[    56.727] 	compiled for 1.20.8, module version = 1.0.16
[    56.727] 	Module class: X.Org Video Driver
[    56.727] 	ABI class: X.Org Video Driver, version 24.1
[    56.727] (II) LoadModule: "nvidia"
[    56.727] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    56.744] (II) Module nvidia: vendor="NVIDIA Corporation"
[    56.744] 	compiled for 1.6.99.901, module version = 1.0.0
[    56.744] 	Module class: X.Org Video Driver
[    56.744] (II) NOUVEAU driver
[    56.744] (II) NOUVEAU driver for NVIDIA chipset families :
[    56.744] 	RIVA TNT            (NV04)
[    56.744] 	RIVA TNT2           (NV05)
[    56.745] 	GeForce 256         (NV10)
[    56.745] 	GeForce 2           (NV11, NV15)
[    56.745] 	GeForce 4MX         (NV17, NV18)
[    56.745] 	GeForce 3           (NV20)
[    56.745] 	GeForce 4Ti         (NV25, NV28)
[    56.745] 	GeForce FX          (NV3x)
[    56.745] 	GeForce 6           (NV4x)
[    56.745] 	GeForce 7           (G7x)
[    56.745] 	GeForce 8           (G8x)
[    56.745] 	GeForce 9           (G9x)
[    56.745] 	GeForce GTX 2xx/3xx (GT2xx)
[    56.745] 	GeForce GTX 4xx/5xx (GFxxx)
[    56.745] 	GeForce GTX 6xx/7xx (GKxxx)
[    56.745] 	GeForce GTX 9xx     (GMxxx)
[    56.745] 	GeForce GTX 10xx    (GPxxx)
[    56.745] (II) NVIDIA dlloader X Driver  455.45.01  Thu Nov  5 23:01:05 UTC 2020
[    56.745] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    56.748] (EE) [drm] Failed to open DRM device for (null): -2
[    56.748] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -2
[    56.748] (II) Loading sub module "fb"
[    56.748] (II) LoadModule: "fb"
[    56.748] (II) Loading /usr/lib/xorg/modules/libfb.so
[    56.750] (II) Module fb: vendor="X.Org Foundation"
[    56.750] 	compiled for 1.20.10, module version = 1.0.0
[    56.750] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    56.750] (II) Loading sub module "wfb"
[    56.750] (II) LoadModule: "wfb"
[    56.750] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    56.751] (II) Module wfb: vendor="X.Org Foundation"
[    56.751] 	compiled for 1.20.10, module version = 1.0.0
[    56.751] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    56.751] (II) Loading sub module "ramdac"
[    56.751] (II) LoadModule: "ramdac"
[    56.751] (II) Module "ramdac" already built-in
[    56.752] (EE) No devices detected.
[    56.752] (EE)
Fatal server error:
[    56.752] (EE) no screens found(EE)
[    56.752] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[    56.752] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    56.752] (EE)
[    56.755] (EE) Server terminated with error (1). Closing log file.

Can someone help me to resolve this issue ?

Offline

#2 2020-12-27 16:00:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Remove the /etc/X11/xorg.conf - a static server config is rarely the answer to your problems.
Next see https://wiki.archlinux.org/index.php/NV … de_setting and then elaborate on how you're starting X11
startx/xinit? Post your xinitrc and see the last link in my signature ;-)

Offline

#3 2020-12-27 16:07:19

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Hi !
Thanks you for the static config tip, now i know smile
I have put the famous kernel setting in grub as you told me.
My xinitrc only contains this:

exec i3

Offline

#4 2020-12-27 16:31:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

My xinitrc only contains this:

Yeah, it's broken.

Does the server now start?
It seems to run as root (for a rootless X11 you also want https://wiki.archlinux.org/index.php/Xinit#xserverrc ) so that shouldn't be a problem.

Offline

#5 2020-12-27 16:42:01

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

No, it doesnt run.
Btw I don't know if this is important but my desktop initially started with lightdm, I disabled it because of this topic subject, but changed nothing.

Offline

#6 2020-12-27 16:44:51

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

I forgot to say it, but I already have something in my xinitrc:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

Offline

#7 2020-12-27 16:49:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Please post an updated Xorg log and probably drop xf86-video-nouveau

Edit: that xinitrc runs twm & xterm. If you've esp. the latter not installed, ther X11 server will terminate immediately.

Last edited by seth (2020-12-27 16:50:52)

Offline

#8 2020-12-27 16:50:53

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

As you asked for, i removed nouveau. Btw, there is my Xorg log:

[  1619.529] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  1619.529]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[  1619.530] Build Operating System: Linux Arch Linux
[  1619.531] Current Operating System: Linux QuentinDesktop 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64
[  1619.531] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f24e7276-0dcb-41d3-85d1-e8a78c77da95 rw loglevel=3 nvidia-drm.modeset=1
[  1619.532] Build Date: 14 December 2020  12:10:29PM
[  1619.533]
[  1619.533] Current version of pixman: 0.40.0
[  1619.534] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1619.534] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1619.537] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27 18:40:03 2020
[  1619.537] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1619.538] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1619.538] (==) ServerLayout "X.org Configured"
[  1619.538] (**) |-->Screen "Screen0" (0)
[  1619.538] (**) |   |-->Monitor "Monitor0"
[  1619.538] (**) |   |-->Device "Card0"
[  1619.538] (**) |   |-->GPUDevice "Device0"
[  1619.538] (**) |-->Input Device "Mouse0"
[  1619.538] (**) |-->Input Device "Keyboard0"
[  1619.538] (==) Automatically adding devices
[  1619.538] (==) Automatically enabling devices
[  1619.538] (==) Automatically adding GPU devices
[  1619.538] (==) Automatically binding GPU devices
[  1619.538] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1619.538] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1619.538] 	Entry deleted from font path.
[  1619.538] (**) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[  1619.538] (**) ModulePath set to "/usr/lib/xorg/modules"
[  1619.538] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1619.538] (WW) Disabling Mouse0
[  1619.538] (WW) Disabling Keyboard0
[  1619.538] (II) Module ABI versions:
[  1619.538] 	X.Org ANSI C Emulation: 0.4
[  1619.538] 	X.Org Video Driver: 24.1
[  1619.538] 	X.Org XInput driver : 24.1
[  1619.538] 	X.Org Server Extension : 10.0
[  1619.539] (--) using VT number 2

[  1619.539] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1619.540] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1619.540] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[  1619.541] (--) PCI:*(1@0:0:0) 10de:1c03:1458:3739 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[  1619.541] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1619.541] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  1619.541] (II) LoadModule: "glx"
[  1619.541] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1619.542] (II) Module glx: vendor="X.Org Foundation"
[  1619.542] 	compiled for 1.20.10, module version = 1.0.0
[  1619.542] 	ABI class: X.Org Server Extension, version 10.0
[  1619.542] (II) LoadModule: "nouveau"
[  1619.542] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  1619.543] (II) Module nouveau: vendor="X.Org Foundation"
[  1619.543] 	compiled for 1.20.8, module version = 1.0.16
[  1619.543] 	Module class: X.Org Video Driver
[  1619.543] 	ABI class: X.Org Video Driver, version 24.1
[  1619.543] (II) LoadModule: "nvidia"
[  1619.543] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1619.543] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1619.543] 	compiled for 1.6.99.901, module version = 1.0.0
[  1619.543] 	Module class: X.Org Video Driver
[  1619.543] (II) NOUVEAU driver
[  1619.543] (II) NOUVEAU driver for NVIDIA chipset families :
[  1619.543] 	RIVA TNT            (NV04)
[  1619.543] 	RIVA TNT2           (NV05)
[  1619.543] 	GeForce 256         (NV10)
[  1619.543] 	GeForce 2           (NV11, NV15)
[  1619.543] 	GeForce 4MX         (NV17, NV18)
[  1619.543] 	GeForce 3           (NV20)
[  1619.543] 	GeForce 4Ti         (NV25, NV28)
[  1619.543] 	GeForce FX          (NV3x)
[  1619.543] 	GeForce 6           (NV4x)
[  1619.543] 	GeForce 7           (G7x)
[  1619.543] 	GeForce 8           (G8x)
[  1619.543] 	GeForce 9           (G9x)
[  1619.543] 	GeForce GTX 2xx/3xx (GT2xx)
[  1619.543] 	GeForce GTX 4xx/5xx (GFxxx)
[  1619.543] 	GeForce GTX 6xx/7xx (GKxxx)
[  1619.543] 	GeForce GTX 9xx     (GMxxx)
[  1619.543] 	GeForce GTX 10xx    (GPxxx)
[  1619.543] (II) NVIDIA dlloader X Driver  455.45.01  Thu Nov  5 23:01:05 UTC 2020
[  1619.543] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1619.545] (EE) [drm] Failed to open DRM device for (null): -2
[  1619.545] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -2
[  1619.545] (II) Loading sub module "fb"
[  1619.545] (II) LoadModule: "fb"
[  1619.545] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1619.546] (II) Module fb: vendor="X.Org Foundation"
[  1619.546] 	compiled for 1.20.10, module version = 1.0.0
[  1619.546] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1619.546] (II) Loading sub module "wfb"
[  1619.546] (II) LoadModule: "wfb"
[  1619.546] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1619.548] (II) Module wfb: vendor="X.Org Foundation"
[  1619.548] 	compiled for 1.20.10, module version = 1.0.0
[  1619.548] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1619.548] (II) Loading sub module "ramdac"
[  1619.548] (II) LoadModule: "ramdac"
[  1619.548] (II) Module "ramdac" already built-in
[  1619.548] (EE) No devices detected.
[  1619.548] (EE)
Fatal server error:
[  1619.548] (EE) no screens found(EE)
[  1619.548] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[  1619.548] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1619.548] (EE)
[  1619.551] (EE) Server terminated with error (1). Closing log file.

Offline

#9 2020-12-27 16:52:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

That log still has novueau, though.

Offline

#10 2020-12-27 16:55:08

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Oh I forgot to reboot, my bad

[    56.075] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    56.075]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    56.076] Build Operating System: Linux Arch Linux
[    56.076] Current Operating System: Linux QuentinDesktop 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64
[    56.076] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f24e7276-0dcb-41d3-85d1-e8a78c77da95 rw loglevel=3 nvidia-drm.modeset=1
[    56.076] Build Date: 14 December 2020  12:10:29PM
[    56.076]
[    56.076] Current version of pixman: 0.40.0
[    56.076] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    56.076] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.076] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27 18:54:19 2020
[    56.077] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    56.077] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    56.078] (==) ServerLayout "X.org Configured"
[    56.078] (**) |-->Screen "Screen0" (0)
[    56.078] (**) |   |-->Monitor "Monitor0"
[    56.078] (**) |   |-->Device "Card0"
[    56.078] (**) |   |-->GPUDevice "Device0"
[    56.078] (**) |-->Input Device "Mouse0"
[    56.078] (**) |-->Input Device "Keyboard0"
[    56.078] (==) Automatically adding devices
[    56.078] (==) Automatically enabling devices
[    56.078] (==) Automatically adding GPU devices
[    56.078] (==) Automatically binding GPU devices
[    56.078] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    56.080] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    56.080] 	Entry deleted from font path.
[    56.080] (**) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    56.080] (**) ModulePath set to "/usr/lib/xorg/modules"
[    56.080] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    56.080] (WW) Disabling Mouse0
[    56.080] (WW) Disabling Keyboard0
[    56.080] (II) Module ABI versions:
[    56.080] 	X.Org ANSI C Emulation: 0.4
[    56.080] 	X.Org Video Driver: 24.1
[    56.080] 	X.Org XInput driver : 24.1
[    56.080] 	X.Org Server Extension : 10.0
[    56.081] (--) using VT number 2

[    56.081] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    56.082] (II) xfree86: Adding drm device (/dev/dri/card0)
[    56.082] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    56.083] (--) PCI:*(1@0:0:0) 10de:1c03:1458:3739 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    56.083] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    56.083] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    56.083] (II) LoadModule: "glx"
[    56.084] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    56.094] (II) Module glx: vendor="X.Org Foundation"
[    56.094] 	compiled for 1.20.10, module version = 1.0.0
[    56.094] 	ABI class: X.Org Server Extension, version 10.0
[    56.094] (II) LoadModule: "nouveau"
[    56.094] (WW) Warning, couldn't open module nouveau
[    56.094] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    56.094] (II) LoadModule: "nvidia"
[    56.094] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    56.110] (II) Module nvidia: vendor="NVIDIA Corporation"
[    56.110] 	compiled for 1.6.99.901, module version = 1.0.0
[    56.110] 	Module class: X.Org Video Driver
[    56.110] (II) NVIDIA dlloader X Driver  455.45.01  Thu Nov  5 23:01:05 UTC 2020
[    56.110] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    56.112] (II) Loading sub module "fb"
[    56.112] (II) LoadModule: "fb"
[    56.112] (II) Loading /usr/lib/xorg/modules/libfb.so
[    56.113] (II) Module fb: vendor="X.Org Foundation"
[    56.113] 	compiled for 1.20.10, module version = 1.0.0
[    56.113] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    56.113] (II) Loading sub module "wfb"
[    56.113] (II) LoadModule: "wfb"
[    56.113] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    56.114] (II) Module wfb: vendor="X.Org Foundation"
[    56.114] 	compiled for 1.20.10, module version = 1.0.0
[    56.114] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    56.114] (II) Loading sub module "ramdac"
[    56.114] (II) LoadModule: "ramdac"
[    56.114] (II) Module "ramdac" already built-in
[    56.115] (EE) No devices detected.
[    56.115] (EE)
Fatal server error:
[    56.115] (EE) no screens found(EE)
[    56.115] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[    56.115] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    56.115] (EE)
[    56.118] (EE) Server terminated with error (1). Closing log file.

Offline

#11 2020-12-27 16:55:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,444

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Did you do the full setup, including adding the relevant modules to your mkinitcpio.conf/generating a new initramfs?

Offline

#12 2020-12-27 16:59:16

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

I generated a new initramfs. I followed this tutorial: https://wiki.archlinux.org/index.php/NVIDIA

Offline

#13 2020-12-27 16:59:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Does the GPU respond to "nvidia-smi" on the console?

Offline

#14 2020-12-27 17:03:35

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

It looks like yeah:

Sun Dec 27 19:03:15 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01    Driver Version: 455.45.01    CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   39C    P8    11W / 180W |      2MiB /  6075MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                    
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Offline

#15 2020-12-27 17:10:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

[    56.078] (==) ServerLayout "X.org Configured"
[    56.078] (**) |-->Screen "Screen0" (0)
[    56.078] (**) |   |-->Monitor "Monitor0"
[    56.078] (**) |   |-->Device "Card0"
[    56.078] (**) |   |-->GPUDevice "Device0"
[    56.078] (**) |-->Input Device "Mouse0"
[    56.078] (**) |-->Input Device "Keyboard0"

This smells like there's still a static config around, maybe one of the files in /etc/X11/xorg.conf.d ?
Edit: anything with this line is probably "bad"

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

Last edited by seth (2020-12-27 17:11:31)

Offline

#16 2020-12-27 17:12:02

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Yep, you were right, I removed them.
New logs:

[    25.883] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    25.883]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[    25.883] Build Operating System: Linux Arch Linux
[    25.883] Current Operating System: Linux QuentinDesktop 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64
[    25.883] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f24e7276-0dcb-41d3-85d1-e8a78c77da95 rw loglevel=3 nvidia-drm.modeset=1
[    25.883] Build Date: 14 December 2020  12:10:29PM
[    25.883]
[    25.883] Current version of pixman: 0.40.0
[    25.883] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    25.883] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    25.883] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 27 19:13:01 2020
[    25.885] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    25.885] (==) ServerLayout "X.org Configured"
[    25.885] (**) |-->Screen "Screen0" (0)
[    25.886] (**) |   |-->Monitor "Monitor0"
[    25.886] (**) |   |-->Device "Card0"
[    25.886] (**) |-->Input Device "Mouse0"
[    25.886] (**) |-->Input Device "Keyboard0"
[    25.886] (==) Automatically adding devices
[    25.886] (==) Automatically enabling devices
[    25.886] (==) Automatically adding GPU devices
[    25.886] (==) Automatically binding GPU devices
[    25.886] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    25.887] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    25.887] 	Entry deleted from font path.
[    25.887] (**) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    25.887] (**) ModulePath set to "/usr/lib/xorg/modules"
[    25.887] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    25.887] (WW) Disabling Mouse0
[    25.887] (WW) Disabling Keyboard0
[    25.887] (II) Module ABI versions:
[    25.887] 	X.Org ANSI C Emulation: 0.4
[    25.887] 	X.Org Video Driver: 24.1
[    25.887] 	X.Org XInput driver : 24.1
[    25.887] 	X.Org Server Extension : 10.0
[    25.888] (--) using VT number 2

[    25.888] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    25.888] (II) xfree86: Adding drm device (/dev/dri/card0)
[    25.889] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    25.890] (--) PCI:*(1@0:0:0) 10de:1c03:1458:3739 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    25.890] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    25.890] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    25.890] (II) LoadModule: "glx"
[    25.891] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    25.957] (II) Module glx: vendor="X.Org Foundation"
[    25.957] 	compiled for 1.20.10, module version = 1.0.0
[    25.957] 	ABI class: X.Org Server Extension, version 10.0
[    25.957] (II) LoadModule: "nouveau"
[    25.958] (WW) Warning, couldn't open module nouveau
[    25.958] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    25.958] (EE) No drivers available.
[    25.958] (EE)
Fatal server error:
[    25.958] (EE) no screens found(EE)
[    25.958] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[    25.959] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    25.959] (EE)
[    25.959] (EE) Server terminated with error (1). Closing log file.

Last edited by Quentincestino (2020-12-27 17:13:59)

Offline

#17 2020-12-27 17:12:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Status update?

Offline

#18 2020-12-27 17:14:22

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Sorry, noticed it then edited my answer

Offline

#19 2020-12-27 17:36:21

loqs
Member
Registered: 2014-03-06
Posts: 19,159

Re: Xorg config problems after installation of NVIDIA proprietary drivers

The Xorg.log still contains

[    25.885] (==) ServerLayout "X.org Configured"

rather than

[     25.885] (==) No Layout section.  Using the first Screen section.

Offline

#20 2020-12-27 17:38:05

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

Maybe because of this ?

quentin@QuentinDesktop ~> ls /etc/X11
xinit/  Xsession.d/

Offline

#21 2020-12-27 17:39:32

loqs
Member
Registered: 2014-03-06
Posts: 19,159

Re: Xorg config problems after installation of NVIDIA proprietary drivers

What is the output of:

find /etc/X11/ /usr/share/X11/xorg.conf.d/

Offline

#22 2020-12-27 17:45:05

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

/etc/X11/
/etc/X11/xinit
/etc/X11/xinit/xinitrc.d
/etc/X11/xinit/xinitrc.d/50-systemd-user.sh
/etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
/etc/X11/xinit/xinitrc.d/80xapp-gtk3-module.sh
/etc/X11/xinit/xinitrc
/etc/X11/xinit/xserverrc
/etc/X11/Xsession.d
/etc/X11/Xsession.d/90xbrlapi
/usr/share/X11/xorg.conf.d/
/usr/share/X11/xorg.conf.d/10-quirks.conf
/usr/share/X11/xorg.conf.d/xorg.conf
/usr/share/X11/xorg.conf.d/40-libinput.conf
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf

Offline

#23 2020-12-27 17:46:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

/usr/share/X11/xorg.conf.d/xorg.conf

Offline

#24 2020-12-27 17:47:44

Quentincestino
Member
Registered: 2020-12-26
Posts: 32

Re: Xorg config problems after installation of NVIDIA proprietary drivers

The content ?

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "WrappedFB"          	# [<bool>]
        #Option     "GLXVBlank"          	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapLimit"          	# <i>
        #Option     "AsyncUTSDFS"        	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# <i>
	Identifier  "Card0"
	Driver      "nouveau"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Offline

#25 2020-12-27 17:51:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,087

Re: Xorg config problems after installation of NVIDIA proprietary drivers

get rid of that ...

Offline

Board footer

Powered by FluxBB