You are not logged in.
Pages: 1
Every time I start my computer it starts it off with software rendering using mesa, and only after quitting X and logging back in do I get the nvidia driver to be the default.
I'm using lightdm as my display manager with i3 wm. I'm using the latest nvidia driver and it should be set as the primary gpu in the xconfig.
Offline
Please post the Xorg.log for X starting on boot, the X config you are using and the output of dmesg. Are you using early module loading to ensure the nvidia modules are loaded before X starts?
Offline
Xorg log:
https://pastebin.com/KnAVsk41
I assume this config:
https://pastebin.com/5MQw2kSx
And dmesg just returns "read kernel buffer failed: Operation not permitted"
I don't think I'm using early module loading, at least I haven't set up anything to do that,
Offline
I've set up a file for the nvidia modules in /etc/modules-load.d and it seems to have solved the issue.
Offline
Nope, it did not
Offline
You need to set them up in your mkinitcpio.conf for them to be considered for proper early loading: https://wiki.archlinux.org/index.php/NV … de_setting
Offline
Tried to add it to the default linux.preset like so:
# mkinitcpio preset file for the 'linux' package
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-linux"
PRESETS=('default' 'fallback')
MODULES=('nvidia', 'nvidia_modeset', 'nvidia_uvm', 'nvidia_drm')
#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-linux.img"
#default_options=""
#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-linux-fallback.img"
fallback_options="-S autodetect"and ran mkinitcpio, which ran without errors, but still, it starts off with mesa as the default.
Offline
space is the entry seperator rather than commas and you should double check with lsinitcpio on whether the modules actually landed in the initramfs
Offline
Also please undo the changes to the linux.preset and edit mkinitcpio.conf instead.
https://wiki.archlinux.org/index.php/Mkinitcpio#MODULES
https://wiki.archlinux.org/index.php/Ke … _KMS_start
Online
Pages: 1