You are not logged in.
I'm still new to arch and trying my best to learn, but i'm clueless on why this is happening. I installed arch earlier with no problems, and then xorg, i3, and lightdm all with just the default configs. Everything works but performance is pretty slow, if I try to open a game it runs at around 2fps. If I run "sudo systemctl restart display-manager" everything is fixed and performance is good again, but the issue comes back any time I reboot. Sorry for the lack of details but I'm not really sure where to start with this one.
My only guess is something is wrong with a startup script somewhere, but ~/.xprofile and /etc/xprofile don't exist. ~/.xinitrc doesn't exist either. Not sure where else to look. Thanks in advance.
Last edited by windows refugee (2021-06-28 08:05:24)
Offline
Post the xorg logs from the slow and the fast session.
I assume you're running into the common race condition, the GPU isn't ready when X11 starts and you end w/ te VESA driver.
Offline
Post the xorg logs from the slow and the fast session.
I assume you're running into the common race condition, the GPU isn't ready when X11 starts and you end w/ te VESA driver.
The slow one: https://pastebin.com/HAtuR1yi
After restarting display-manager: https://pastebin.com/8Pzg2Zvi
Offline
Well, close enough… ;-)
[ 2.784] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[ 2.784] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 2.784] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 2.784] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 2.784] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 2.784] (EE) NVIDIA(0): reinstalling the NVIDIA driver.https://wiki.archlinux.org/title/NVIDIA … de_setting
Add the parameter AND the kernel modules.
On a sidenote, /etc/X11/xorg.conf looks nvidia-settings generated. Remove that and arrange your outputs with a drop-in https://wiki.archlinux.org/title/Multih … _xorg.conf
Offline
Well, close enough… ;-)
[ 2.784] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0) [ 2.784] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X [ 2.784] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X [ 2.784] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If [ 2.784] (EE) NVIDIA(0): you continue to encounter problems, Please try [ 2.784] (EE) NVIDIA(0): reinstalling the NVIDIA driver.https://wiki.archlinux.org/title/NVIDIA … de_setting
Add the parameter AND the kernel modules.On a sidenote, /etc/X11/xorg.conf looks nvidia-settings generated. Remove that and arrange your outputs with a drop-in https://wiki.archlinux.org/title/Multih … _xorg.conf
Thank you, I did all this and it's fixed now. It seems that specifically the nvidia-settings config was causing my problem though. Why does restarting the display manager make it run well? I would still rather use nvidia-settings if there's a way.
Offline
It seems that specifically the nvidia-settings config was causing my problem though.
No.
Why does restarting the display manager make it run well?
The nvidia-drm driver match condition isn't met, hence the xorg configlet in /usr/share doesn't extend the modulepath, hence you don't load the nvidia glx module and hence you render in software on the CPU.
I would still rather use nvidia-settings if there's a way.
For what?
The static xorg server layout it generates when using it to write an xorg.conf is inflexible and full of garbage on top - there's no way to use that to produce a sane server configuration and the general approach is to rely on the HW autodetection and only augment it w/ elements you want to adjust. nvidia-settings, nvidia-xconfig and Xorg -configure all cannot provide that.
Offline