Hello,
I need some help getting my new installation running with my nvidia card. I have done this many times with other distros (void, arch) and also on other machines(including with artix) without issue. I just can't figure out what is going wrong here.
I did a minimal installation of artix to track this problem down. I used the base openrc artix image.
Here is my graphics card:
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560] (rev a1)
Installed packages:
pacman -S xorg xorg-xinit nvidia-390xx nvidia-390xx-settings
I generated the xorg.conf file.
nvidia-xconfig
After rebooting, when I launch startx I get this output:
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
This is the Xorg log:
[ 351.440] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 351.446]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 351.462] Build Operating System: Linux Artix Linux
[ 351.467] Current Operating System: Linux localhost 4.19.6-artix1-1-ARTIX #1 SMP PREEMPT Sun Dec 2 18:38:46 UTC 2018 x86_64
[ 351.467] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=67f7dbd4-0728-4655-9224-72904a7d6868 rw quiet
[ 351.479] Build Date: 26 October 2018 06:23:01PM
[ 351.485]
[ 351.491] Current version of pixman: 0.36.0
[ 351.503] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 351.503] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 351.529] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 9 10:45:03 2018
[ 351.537] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 351.544] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 351.546] (==) No Layout section. Using the first Screen section.
[ 351.546] (==) No screen section available. Using defaults.
[ 351.546] (**) |-->Screen "Default Screen Section" (0)
[ 351.546] (**) | |-->Monitor "<default monitor>"
[ 351.546] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 351.546] (**) | |-->Device "Nvidia Card"
[ 351.546] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 351.546] (==) Automatically adding devices
[ 351.546] (==) Automatically enabling devices
[ 351.546] (==) Automatically adding GPU devices
[ 351.546] (==) Automatically binding GPU devices
[ 351.546] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 351.546] (WW) 'fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 351.546] Entry deleted from font path.
[ 351.546] (Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 351.546] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 351.546] Entry deleted from font path.
[ 351.546] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 351.546] Entry deleted from font path.
[ 351.546] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 351.546] Entry deleted from font path.
[ 351.546] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 351.546] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 351.546] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 351.546] (II) Module ABI versions:
[ 351.546] X.Org ANSI C Emulation: 0.4
[ 351.546] X.Org Video Driver: 24.0
[ 351.546] X.Org XInput driver : 24.1
[ 351.546] X.Org Server Extension : 10.0
[ 351.547] (++) using VT number 2
[ 351.550] (EE) systemd-logind: failed to get session: Launch helper exited with unknown return code 127
[ 351.554] (--) PCI:*(1@0:0:0) 10de:1201:1462:2383 rev 161, Mem @ 0xfc000000/33554432, 0xd8000000/134217728, 0xd4000000/67108864, I/O @ 0x0000bc00/128, BIOS @ 0x????????/131072
[ 351.555] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 351.555] (II) LoadModule: "glx"
[ 351.555] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 351.557] (II) Module glx: vendor="X.Org Foundation"
[ 351.557] compiled for 1.20.3, module version = 1.0.0
[ 351.557] ABI class: X.Org Server Extension, version 10.0
[ 351.557] (II) LoadModule: "nvidia"
[ 351.557] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 351.557] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 351.557] compiled for 4.0.2, module version = 1.0.0
[ 351.557] Module class: X.Org Video Driver
[ 351.557] (II) NVIDIA dlloader X Driver 390.87 Tue Aug 21 15:44:49 PDT 2018
[ 351.557] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 351.558] (II) Loading sub module "fb"
[ 351.558] (II) LoadModule: "fb"
[ 351.558] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 351.558] (II) Module fb: vendor="X.Org Foundation"
[ 351.558] compiled for 1.20.3, module version = 1.0.0
[ 351.558] ABI class: X.Org ANSI C Emulation, version 0.4
[ 351.558] (II) Loading sub module "wfb"
[ 351.558] (II) LoadModule: "wfb"
[ 351.558] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 351.558] (II) Module wfb: vendor="X.Org Foundation"
[ 351.558] compiled for 1.20.3, module version = 1.0.0
[ 351.558] ABI class: X.Org ANSI C Emulation, version 0.4
[ 351.558] (II) Loading sub module "ramdac"
[ 351.558] (II) LoadModule: "ramdac"
[ 351.558] (II) Module "ramdac" already built-in
[ 351.561] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 351.561] (EE) NVIDIA: system's kernel log for additional error messages and
[ 351.561] (EE) NVIDIA: consult the NVIDIA README for details.
[ 351.564] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 351.564] (EE) NVIDIA: system's kernel log for additional error messages and
[ 351.564] (EE) NVIDIA: consult the NVIDIA README for details.
[ 351.564] (EE) No devices detected.
[ 351.564] (EE)
Fatal server error:
[ 351.564] (EE) no screens found(EE)
[ 351.564] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 351.564] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 351.564] (EE)
[ 351.599] (EE) Server terminated with error (1). Closing log file.
------------------------------------------
So Xorg fails to initialize the nvidia module. I checked if module is loaded or not
lsmod | grep nvidia
no output
I tried to load the module myself
modprobe nvidia
modeprobe: FATAL: Module nvidia not found in directory /lib/modules/4.19.6-artix1-1-ARTIX
Am I missing something obvious? Or should I start suspecting that the package is broken?
Why is the nvidia module missing?
I appreciate any help, thank you.