PDA

View Full Version : [SOLVED] SDDM shows black screen with Nvidia



onlyesterday16
29th November 2017, 03:41 AM
Hi. I'm using an optimus laptop. I installed Nvidia driver from negativo17's repository.
I followed tutorial from Arch Wiki (https://wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM) to add command "xrandr" to SDDM config file but it didn't work, though Plasma could work with "startx" if I add "xrandr" to .xinitrc. Do SDDM need any extra steps to make it work? Thanks.

This is my current situation:


Gnome
Work with default config


Plasma
Work if add "xrandr" to startup program


Xfce
Work if add "xrandr" to startup program


GDM
Work with default config


LightDM
Black screen. both on default config and custom config which contains "xrandr"


SDDM
Black screen. both on default config and custom config which contains "xrandr"

onlyesterday16
29th November 2017, 03:37 PM
After check /etc/sddm.conf, I found that I need to add "xrandr" to /etc/sddm/Xsetup, but not /usr/share/sddm/scripts/Xsetup. It works now :D

(don't know how to change title to [SOLVED]. Sorry)