You are not logged in.
Hi!
New to Arch, setting up my machine. I have a 3080 GeForce Nvidia graphics card. I followed the directions to setup Xorg with Nvidia drivers on the Arch wiki. When I try startx Xorg gives no error, and seems to start successfully. However, it freezes and ignores all keyboard and mouse input. No interrupt key combinations I could find on the Arch wiki worked- to get out of the freeze I have to power the machine down with the button. The closest thing I have seen to this issue in extensive googling is having an incorrect driver, but as far as I could tell from the Arch wiki nvidia should be the correct one? The attached Xorg log has no error (EE). I also attached my xorg.conf and .xinitrc files.
Thanks for any help!
/var/log/Xorg.0.log
______________________________
[ 921.265]
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[ 921.266] Current Operating System: Linux edm8950 5.18.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 15 Jul 2022 15:33:02 +0000 x86_64
[ 921.266] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=65c07074-1b33-4a64-b3d1-42caa4becd5d rw loglevel=3 quiet
[ 921.266]
[ 921.267] Current version of pixman: 0.40.0
[ 921.267] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 921.267] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 921.268] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 22 19:44:26 2022
[ 921.268] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 921.268] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 921.269] (==) ServerLayout "Layout0"
[ 921.269] (**) |-->Screen "Screen0" (0)
[ 921.269] (**) | |-->Monitor "Monitor0"
[ 921.269] (**) | |-->Device "Device0"
[ 921.269] (**) |-->Input Device "Keyboard0"
[ 921.269] (**) |-->Input Device "Mouse0"
[ 921.269] (==) Automatically adding devices
[ 921.269] (==) Automatically enabling devices
[ 921.269] (==) Automatically adding GPU devices
[ 921.269] (==) Automatically binding GPU devices
[ 921.269] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 921.269] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 921.269] Entry deleted from font path.
[ 921.269] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 921.269] Entry deleted from font path.
[ 921.269] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 921.269] Entry deleted from font path.
[ 921.269] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 921.269] Entry deleted from font path.
[ 921.270] (==) FontPath set to:
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 921.270] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 921.270] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 921.270] (WW) Disabling Keyboard0
[ 921.270] (WW) Disabling Mouse0
[ 921.270] (II) Module ABI versions:
[ 921.270] X.Org ANSI C Emulation: 0.4
[ 921.270] X.Org Video Driver: 25.2
[ 921.270] X.Org XInput driver : 24.4
[ 921.270] X.Org Server Extension : 10.0
[ 921.270] (++) using VT number 1
[ 921.272] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 921.274] (--) PCI:*(1@0:0:0) 10de:2216:1028:c890 rev 161, Mem @ 0x81000000/16777216, 0x4000000000/268435456, 0x4010000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/131072
[ 921.274] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 921.274] (II) LoadModule: "glx"
[ 921.274] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 921.277] (II) Module glx: vendor="X.Org Foundation"
[ 921.277] compiled for 1.21.1.4, module version = 1.0.0
[ 921.277] ABI class: X.Org Server Extension, version 10.0
[ 921.277] (II) LoadModule: "nvidia"
[ 921.277] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 921.277] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 921.277] compiled for 1.6.99.901, module version = 1.0.0
[ 921.277] Module class: X.Org Video Driver
[ 921.277] (II) NVIDIA dlloader X Driver 515.57 Wed Jun 22 22:37:27 UTC 2022
[ 921.277] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 921.277] (II) Loading sub module "fb"
[ 921.277] (II) LoadModule: "fb"
[ 921.277] (II) Module "fb" already built-in
[ 921.277] (II) Loading sub module "wfb"
[ 921.277] (II) LoadModule: "wfb"
[ 921.277] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 921.277] (II) Module wfb: vendor="X.Org Foundation"
[ 921.277] compiled for 1.21.1.4, module version = 1.0.0
[ 921.277] ABI class: X.Org ANSI C Emulation, version 0.4
[ 921.277] (II) Loading sub module "ramdac"
[ 921.277] (II) LoadModule: "ramdac"
[ 921.277] (II) Module "ramdac" already built-in
___________________________________
/etc/X11/xorg.conf.d/20-nvidia.conf
___________________________________
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 515.57
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
_____________________________
~/.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
exec i3Last edited by BlueGrisGris (2022-08-03 23:21:42)
Offline
When it hangs up, are any keyboard lights flashing?
Any chance you can change consoles using Ctrl-Alf-F2 (or F3 through F6)?
Can you ping the system from another computer? If sshd is enabled, can you log in from a remote computer?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for the reply!
When it hangs up, are any keyboard lights flashing?
No
Any chance you can change consoles using Ctrl-Alf-F2 (or F3 through F6)?
I have tried all of these keybindings, none of them get through
Can you ping the system from another computer? If sshd is enabled, can you log in from a remote computer?
I'm sorry, what do you mean by ping? I have not enabled sshd, would that be a worthwhile thing to try?
Also to clarify, I do not get the X cursor screen after I do startx. It remains on the terminal, showing the Xorg startup message, ending with the line:
(==) Using system config directory "/usr/share/X11/xorg.conf.d"Thanks!
Last edited by BlueGrisGris (2022-07-23 20:53:49)
Offline
[ 921.268] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 22 19:44:26 2022 looks like yesterday. Is your system clock wrong?
Next
[ 921.269] (**) |-->Screen "Screen0" (0)
[ 921.269] (**) | |-->Monitor "Monitor0"
[ 921.269] (**) | |-->Device "Device0"
[ 921.269] (**) |-->Input Device "Keyboard0"
[ 921.269] (**) |-->Input Device "Mouse0"get rid of /etc/X11/xorg.conf.d/20-nvidia.conf - it's at best pointless and at worst a problem.
Post a complete system journal
sudo journalctl -b | curl -F 'file=@-' 0x0.stAlso
[ 921.268] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 22 19:44:26 2022If you run startx, the log should™ end up in ~/.local/share/xorg
I'm sorry, what do you mean by ping?
ICMP request, "man ping"
Online
Thanks for the reply,
looks like yesterday. Is your system clock wrong?
My previous last attempt of startx was yesterday, my clock given by "date" is correct.
sudo journalctl -b | curl -F 'file=@-' 0x0.stresulted in
I do not see anything in the journal about Xorg, but I am not sure how to interpret it.
If you run startx, the log should™ end up in ~/.local/share/xorg
I looked in ~/.local/share/xorg and found xorg logs from April 27, the last time I tried to get this machine set up. So currently the Xorg logs are not saving to that directory but at some point they were?
I tried ping 8.8.8.8 and got 100% packet loss, I am guessing that is an unrelated issue though?
Thanks!
Offline
ewaller's plan was likely to ping the "frozen" host from a second machine, but your network setup failed in the posted journal.
Speaking of which
Jul 23 18:00:56 edm8950 kernel: traps: Missing ENDBR: _nv011433rm+0x0/0x10 [nvidia]See the note in https://wiki.archlinux.org/title/NVIDIA#Installation and pass "ibt=off" to the kernel.
Online
ewaller's plan was likely to ping the "frozen" host from a second machine, but your network setup failed in the posted journal.
Speaking of whichJul 23 18:00:56 edm8950 kernel: traps: Missing ENDBR: _nv011433rm+0x0/0x10 [nvidia]See the note in https://wiki.archlinux.org/title/NVIDIA#Installation and pass "ibt=off" to the kernel.
This fixed it! Thank you!
I will also link this forum post I found that helpful in how to pass options to the kernel for any other newbies who come through here.
Offline
Great.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online