You are not logged in.
I don't have any nvidia conf file and everything runs fine. But I need to create one containing the coolbits options to be able to downvolt/downclock my GPU and thus avoid overheating while gaming (as per Wiki).
However, when I create the file /etc/X11/xorg.conf.d/20-nvidia.conf, the system does not start anymore. The file contains:
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce MX150"
Option "Coolbits" "24"
EndSection
And the xorg logs after create the conf file and reboot:
[ 29.619] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 29.620]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[ 29.620] Build Operating System: Linux Arch Linux
[ 29.620] Current Operating System: Linux HAL9000 5.7.11-arch1-1 #1 SMP PREEMPT Wed, 29 Jul 2020 21:38:21 +0000 x86_64
[ 29.620] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ea695f19-0b53-495d-9a29-e57ba49b97b3 rw audit=1 loglevel=3 intel_iommu=on apparmor=1 lsm=lockdown,yama,apparmor quiet
[ 29.620] Build Date: 31 July 2020 04:00:57PM
[ 29.621]
[ 29.621] Current version of pixman: 0.40.0
[ 29.621] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 29.621] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 29.622] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 2 20:46:21 2020
[ 29.622] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 29.622] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 29.622] (==) No Layout section. Using the first Screen section.
[ 29.622] (==) No screen section available. Using defaults.
[ 29.622] (**) |-->Screen "Default Screen Section" (0)
[ 29.622] (**) | |-->Monitor "<default monitor>"
[ 29.623] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 29.623] (**) | |-->Device "Nvidia Card"
[ 29.623] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 29.623] (==) Automatically adding devices
[ 29.623] (==) Automatically enabling devices
[ 29.623] (==) Automatically adding GPU devices
[ 29.623] (==) Automatically binding GPU devices
[ 29.623] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 29.623] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 29.623] Entry deleted from font path.
[ 29.623] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 29.623] Entry deleted from font path.
[ 29.623] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 29.623] Entry deleted from font path.
[ 29.623] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 29.623] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 29.623] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 29.623] (II) Module ABI versions:
[ 29.623] X.Org ANSI C Emulation: 0.4
[ 29.623] X.Org Video Driver: 24.1
[ 29.623] X.Org XInput driver : 24.1
[ 29.623] X.Org Server Extension : 10.0
[ 29.624] (++) using VT number 3
[ 29.628] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[ 29.629] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 29.631] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 29.631] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 29.633] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[ 29.635] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 29.924] (--) PCI:*(0@0:2:0) 8086:3ea0:1028:089c rev 0, Mem @ 0xa2000000/16777216, 0x80000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 29.924] (--) PCI: (2@0:0:0) 10de:1d10:1028:089c rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 29.924] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 29.924] (II) LoadModule: "glx"
[ 29.924] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 29.927] (II) Module glx: vendor="X.Org Foundation"
[ 29.927] compiled for 1.20.8, module version = 1.0.0
[ 29.927] ABI class: X.Org Server Extension, version 10.0
[ 29.927] (II) LoadModule: "nvidia"
[ 29.927] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 29.927] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 29.927] compiled for 1.6.99.901, module version = 1.0.0
[ 29.927] Module class: X.Org Video Driver
[ 29.928] (II) NVIDIA dlloader X Driver 450.57 Sun Jul 5 14:40:23 UTC 2020
[ 29.928] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 29.928] (II) systemd-logind: releasing fd for 226:1
[ 29.929] (II) Loading sub module "fb"
[ 29.929] (II) LoadModule: "fb"
[ 29.929] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 29.929] (II) Module fb: vendor="X.Org Foundation"
[ 29.929] compiled for 1.20.8, module version = 1.0.0
[ 29.929] ABI class: X.Org ANSI C Emulation, version 0.4
[ 29.929] (II) Loading sub module "wfb"
[ 29.929] (II) LoadModule: "wfb"
[ 29.929] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 29.930] (II) Module wfb: vendor="X.Org Foundation"
[ 29.930] compiled for 1.20.8, module version = 1.0.0
[ 29.930] ABI class: X.Org ANSI C Emulation, version 0.4
[ 29.930] (II) Loading sub module "ramdac"
[ 29.930] (II) LoadModule: "ramdac"
[ 29.930] (II) Module "ramdac" already built-in
[ 29.931] (EE) No devices detected.
[ 29.931] (EE)
Fatal server error:
[ 29.931] (EE) no screens found(EE)
[ 29.931] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 29.931] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 29.931] (EE)
[ 29.956] (EE) Server terminated with error (1). Closing log file.
My system is an optimus laptop running with PRIME.
OS: Arch Linux x86_64
Kernel: 5.7.11-arch1-1
DE: GNOME
WM: Mutter
CPU: Intel i7-8565U (8) @ 4.600GHz
GPU: NVIDIA GeForce MX150
GPU: Intel UHD Graphics 620
Nvidia driver: 450.57-5
nvidia-prime: 1.0-4
Any ideas?
Last edited by jecogeo (2020-08-03 05:42:28)
Offline
Following the Wiki - X fails with "no screens found" when using Multiple GPUs, I added the busID to the nvidia conf, but no success yet. Any ideas are welcome!
Offline
Ok, got it working. The /etc/X11/xorg.conf.d/20-nvidia.conf file must have both integrated and discrete GPUs as separated device sections in the file. My file, now booting normally, is:
Section "Device"
Identifier "Intel iGPU"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce MX150"
Option "Coolbits" "24"
BusID "PCI:2:0:0"
EndSection
Anyway, coolbits option is not working as expected. But it is an issue for another post (#257891).
Last edited by jecogeo (2020-08-03 06:01:05)
Offline