You are not logged in.

#1 Today 03:18:07

sCommaner
Member
Registered: Today
Posts: 2

[SOLVED] Issue with Nvidia drivers on hybrid laptop

I am unable to install the new nvidia-open drivers because when i do and then reboot the system,
after the systemd screen i am left with a black screen with a white cursor i can still access tty in this screen,
when i pacman -Ryn the nvidia drivers i can access normally the SDDM login screen, i am using KDE + X11.

MY pc is a OMEN by HP Gaming Laptop 16
CPU: AMD Ryzen 7 6800H (16) @ 4.79 GHz
GPU 1: NVIDIA GeForce RTX 3060 Mobile / Max-Q [Discrete]
GPU 2: AMD Radeon 680M [Integrated]

Last edited by sCommaner (Today 13:02:29)

Offline

#2 Today 10:01:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,631

Re: [SOLVED] Issue with Nvidia drivers on hybrid laptop

black screen with a white cursor i can still access tty in this screen

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General but most likely https://bbs.archlinux.org/viewtopic.php … 8#p2256418
Edit: that's a race condition, you'll have to edit sddm.service and yes, it affects SDDM as well - there're several threads for that as well. Just too lazy to search them up.

Last edited by seth (Today 10:02:58)

Online

#3 Today 12:54:37

sCommaner
Member
Registered: Today
Posts: 2

Re: [SOLVED] Issue with Nvidia drivers on hybrid laptop

Yea after i posted this i eventually found the posts talking about the race condition, i already solved it like this:

1.- Added nvidia-drm.modeset=1 to the kernel parameters "boot/loader/entries..."

2.- Created a xorg config file and added this:
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "no"
EndSection

3,- And for sddm
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

then made it exectuable sudo chmod +x /usr/share/sddm/scripts/Xsetup

4.- And added this to the Modules in mkinitcpio.conf
MODULES=(amdgpu nvidia nvidia_modeset nvidia_uvm nvidia_drm)

5.- And finally installed the proper nvidia driver packages.

Last edited by sCommaner (Today 13:01:39)

Offline

Board footer

Powered by FluxBB