You are not logged in.

#1 2016-11-17 23:32:11

arshesney
Member
Registered: 2016-09-20
Posts: 7

Problem with sddm, no graphical login displayed

Hi, I'm having a weird problem on my secondary pc mainly with sddm.
PC is running Kernel 4.4.31 (lts), GPU is a 7970 (radeon driver) connected via HDMI: sddm starts, doesn't write any errors in logs, but I only get my tty1 text from boot (with the various daemon starting) with the base X cursor. Lightdm: just a black screen with both gtk and kde greeter.
LXDM works! But with a quirk, over VNC (x11vnc server, tightvnc or KRDC client), the Enter key doesn't work for the password input, making impossible to log in, yet it works for user selection.

I tried to fix the problem with sddm the most, since I'm most familiar with it:
Xorg log: https://gist.github.com/2012af53513729e … e58894ce2d
sddm.conf: https://gist.github.com/de7f6c2b05ef425 … 22bd959913
The xorg log for sddm user is empty

This is the journal for /usr/bin/sddm:

sddm[13610]: Initializing...
sddm[13610]: Starting...
sddm[13610]: Adding new display on vt 7 ...
sddm[13610]: Display server starting...
sddm[13610]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{67e7c37b-0255-46ca-911e-385eabf2b253} -background none -noreset -displayfd 18 vt7
sddm[13610]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
sddm[13610]: Display server started.
sddm[13610]: Socket server starting...
sddm[13610]: Socket server started.
sddm[13610]: Greeter starting...
sddm[13610]: Adding cookie to "/var/run/sddm/{67e7c37b-0255-46ca-911e-385eabf2b253}"
sddm[13610]: Greeter session started successfully
sddm[13610]: Message received from greeter: Connect

Apparently all is good, but the journal from /usr/bin/sddm-greeter show something intresting:

sddm-greeter[13670]: No Fill10 element found in your theme's battery.svg - Using legacy 20% steps for battery icon
sddm-greeter[13670]: Adding view for "HDMI-0" QRect(0,0 -2147483648x-2147483648)
sddm-greeter[13670]: QXcbConnection: XCB error: 2 (BadValue), sequence: 587, resource id: 0, major code: 1 (CreateWindow), minor code: 0
sddm-greeter[13670]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 588, resource id: 2097170, major code: 2 (ChangeWindowAttributes), minor code: 0
sddm-greeter[13670]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 589, resource id: 2097170, major code: 18 (ChangeProperty), minor code: 0
sddm-greeter[13670]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 590, resource id: 2097170, major code: 18 (ChangeProperty), minor code: 0

The second line from this snippet shows that the greeter doesn't pick up the screen geometry. On my other pc that line is

Adding view for "HDMI-A-0" QRect(0,0 640x360)

for reference (yet the resolution is 1080p correctly).

With the same GPU, sddm works on the other pc, both with radeon (any kernel) and amdgpu (kernel 4.9), I have KDE installed on both, no gnome, no wayland. The only difference is btrfs vs zfs filesystem. Main shell is zsh, I checked that the fix for the shell bug was present in the version I have installed.
I tried diiferent themes, different VTs, sddm-git from the AUR. Also tried forcing a resolution with this as /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Monitor"
    Identifier             "Monitor0"
EndSection

Section "Device"
    Identifier             "Radeon"
    Driver                 "radeon" #Choose the driver used for this monitor
EndSection

Section "Screen"
    Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    Device                 "Device0"
    Monitor                "Monitor0"
    DefaultDepth           24 #Choose the depth (16||24)
    SubSection             "Display"
        Depth              24
        Modes              "1920x1080_60.00" #Choose the resolution
    EndSubSection
EndSection

The only other custom files for X are 00-keyboard.conf and 20-radeon.conf.
I'm really out of ideas at this point.

Offline

Board footer

Powered by FluxBB