You are not logged in.
Hi,
I am facing this strange issue with sddm, nvidia(gtx970) and plasma.
After reboot i am stuck at the screen where i see only the sddm wallpaper with cursor. Installed through vanilla arch iso 1st and same thing, then tried with Architect Linux installation and again the same issue. I have two monitors, one showing the wallpaper and another one without. But still both can use move mouse cursor(one pointer, one cross).
I can switch to tty2 etc. Blacklisted nouveau just in case. Added sddm to video group. Sddm greeter test also does not work, cant remember what was the exact errors though.
I am away from the PC(desktop pc, not laptop) right now, but will post any output needed for debug purposes.
Last edited by mmarif4u (2015-10-03 17:07:41)
Offline
I have two monitors and I had the same issue. Are the two monitors with the same resolution?
Anyway, the solution is to goto the console and at the /etc/X11/xorg.conf.d directory add the monitor configuration that is loaded before SDDM, namely the dual monitor setup.
What I recommend is that you boot up with one monitor to see if you can login, and then connect the second one, and with the info from the xrandr command generate the configuration file. For example create something like 20-monitor.conf with the correct content where you define the primary monitor and if the second monitor is left or right of it.
Offline
Yes, the resolution is the same for both.
I will try with one monitor and will report back.
Offline
Tested last night and YES it worked with single display.
After some digging find out that can setup XSetup to one monitor(need to test) and it will show the login screen on one display but for this, have to disable the 2nd display. Few drawbacks which i guess is with every approach here is that an update will overwrite the files of sddm and have to be updated again manually. Also in case of manjaro plasma live cd sddm works on both screens with non free drivers. So to turn off one monitor is a workaround but not the correct one to me.
For the 20-monitor.conf file, which need to be setup manually too, i assume it will not be changed after an update unless i change it. I have to check the conf file from nvidia settings and use that as monitor.conf file(well i guess so) and add the 2nd monitor to it OR any sample conf file just for the sake of testing.
Also heard it was working with .11 release of sddm but is broken in .12 for dual monitors.
Last edited by mmarif4u (2015-09-22 03:11:10)
Offline
Yes. SDDM is, again, broken. Today after updating I've just got blank screens and seg faults at sddm-help. After some fiddling arounds with pacman -U and S, I was able to login, but alas, now at the login prompt, the secondary monitor is blank, but at least the primary is working and shows the login prompt.
Anyway, my settings, for helping you out:
------------> xrandr output:
xrandr -q
Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 16384 x 16384
DVI-I-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
1280x1024 60.02 + 75.02*
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.95 59.94
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected primary 1920x1080+1280+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
DP-1 disconnected (normal left inverted right x axis y axis)
And my 20-monitor.conf
-----------------------> 20-monitor.conf
Section "Monitor"
Identifier "DVI-D-0"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "DVI-I-0"
Option "LeftOf" "DVI-D-0"
EndSection
Offline
Just a thinly-veiled "me too" post. I have a single monitor (this is a laptop), it is an I7 with the microcode installed and an nVidia 980 GTX. I have started booting to a black screen using SDDM and Openbox. If I switch to a second TTY and run:
systemctl restart sddm.serviceThe laptop will usually show SDDM as normal after an attempt or two. I dumped the journalctl for the current boot and included the restarts (had to do it twice) and I see twice in the log:
:
Sep 23 18:16:36 rustyhump kernel: sddm-helper[2018]: segfault at 14 ip 000000000042965e sp 00007ffd64d39c10 error 4 in sddm-helper[400000+3a000]
:
Sep 23 18:16:36 rustyhump sddm[507]: Auth: sddm-helper exited with 11
:
:
:
Sep 23 18:20:51 rustyhump kernel: sddm-helper[12776]: segfault at 14 ip 000000000042965e sp 00007ffc785b6de0 error 4 in sddm-helper[400000+3a000]
:
Sep 23 18:20:51 rustyhump sddm[12762]: Auth: sddm-helper exited with 11
:This laptop has the Optimus capability, but I am running it on only the nVidia card -- but that requires some xrandr setup as I cannot shut off my Intel card through BIOS. The lines I use are:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoI can post the entire SDDM output I retrieved from the journal for the last boot (with the two segfaults) if you want. I hope this help.
Matt
"It is very difficult to educate the educated."
Offline
After a bit of tweaking to adjust it for my system, i finally make it worked. But there is always a problem around the cornor with sddm{screen lock issue now}.
This is how i fixed it(just workaround not a fix tbh).
Used single display 1st and login to the desktop, then plugged the 2nd monitor which technically will not work and show blank screen but it will be detected:
xrandrScreen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.00*+ 59.94 50.00 60.05 60.00 50.04
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00 50.08
720x480 59.94 60.05
640x480 75.00 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.00*+ 59.94 50.00 60.05 60.00 50.04
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00 50.08
720x480 59.94 60.05
640x480 75.00 59.94 59.93Created 20-monitor.conf in /etc/X11/xorg.conf.d and added the following:
Section "Monitor"
Identifier "HDMI-0"
Option "Primary" "true"
EndSection
Section "Monitor"
Identifier "DVI-D-0"
Option "RightOf" "HDMI-0"
EndSectionI can see the login screen now and can login.
Now the fun part, i went out for few minutes and came back to see the locked screen, tried to unock it and boom, it did not work. New session worked though.
Switched user and tried again, and this time greeted with black screen after hitting the enter key. Great so far of sddm.
I guess i will switch to Gnome. One damn sddm is really wasting my time(which i dont have much atm for fixing things).
Anyway for more info, i got this from manjaro /etc/X11/xorg.conf.d/90-mhwd.conf file:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 355.11 (buildmeister@swio-display-x86-rhel47-07) Wed Aug 26 17:15:49 PDT 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
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"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSectionI will play more with manjaro(live cd) setup files for sddm, nvidia(just for fun, if got time).
Offline
Follow up on this.
After downgrading to .11 version the login screen now shows off(i changed the theme to breeze). It was showing though after creating the 20-monitor.conf file, but as i mentioned it was a temp workaround for me.
Today got some time to dig more on this including the screen lock issue.
For login screen:
Create 20-monitor.conf(explained above) for temp use. Login to plasma and trigger nvidia settings:
sudo nvidia-settingsAdjust the monitors(primary, resulotion etc) and click Apply button, then click Save to X configuration File. Browse to /etc/X11/xorg.conf.d and overwrite 20-nvidia.conf(or anything nvidia). Don't worry if you did not take backup, nvidia will take backup for you.
Now mv the 20-monitor file to your home dir OR delete it if you want.
sudo mv /etc/X11/xorg.conf.d/20-monitor.conf /home/USERNAMEChange USERNAME to your username.
Reboot and enjoy.
For screen lock:
If you are unable to unlock the screen in plasma, try these:
sudo pacman -S intel-ucodesudo grub-mkconfig -o /boot/grub/grub.confsudo mkinitcpio -p linuxReboot, and check if that works. If not, check out the kcheckpass. As it worked for me so i stopped looking into kcheckpass.
References:
https://forums.opensuse.org/showthread. … -on-resume
https://bbs.archlinux.org/viewtopic.php?id=196536&p=2
Offline