Installation: sddm_greeter failure

It’s a 2016 Dell inspiron 5555 laptop with an AMD A10, 1Tb and 12Gb ram.

I did the install and after the reboot/restart, it failed to start the greeter/password request with the the error:


localhost.localdomain sddm_greeter: failed to create wl_display

TTY1 to 6 worked. That’s how I was able to see the error message with journalctl. What should I look for?

I can’t provide the inxi -Faz because I’m at somebody’s else computer.

Thanks

Therefore, we have to assume that, the installation GUI executed without any visible failures – please confirm.

2016 Laptop with AMD A10

Probably has a Radeon R5 or R6 integrated into the GPU …

In the Kernel command line – use the YaST Bootloader module to apply the changes –

  • modprobe.blacklist=amdgpu
  • Depending on the (AMD Radeon) “Southern Islands” or “Sea Islands” – also, either “radeon.si_support=1” or “radeon.cik_support=1” …

I don’t think that’s the problem:

# inxi -Cy
CPU:
  Info: Quad Core model: **AMD A10**-7850K Radeon R7 12 Compute Cores 4C+8G  bits: 64 type: MCP L2 cache: 2048 KiB
  Speed: 1696 MHz min/max: 1700/3700 MHz Core speeds (MHz): 1: 1699 2: 1690  3: 1699 4: 1699
# inxi -GISay
System:
  Host: asa88 Kernel: 5.3.18-lp152.47-default x86_64 bits: 64 compiler: gcc v: 7.5.0
  parameters: noresume ipv6.disable=1 net.ifnames=0 mitigations=auto consoleblank=0
  **radeon.cik_support=0 amdgpu.cik_support=1**
  Desktop: Trinity R14.0.8 tk: Qt 3.5.0 info: kicker wm: Twin 3.0 dm: startx
  Distro: **openSUSE Leap 15.2**
Graphics:
  Device-1: **AMD Kaveri [Radeon R7 Graphics]** vendor: ASUSTeK **driver: amdgpu**
  v: kernel alternate: radeon bus ID: 00:01.0 chip ID: 1002:130f
  Display: **server: X.Org 1.20.3 driver: amdgpu**
  unloaded: fbdev,modesetting,vesa alternate: ati display ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 120 s-size: 406x254mm (16.0x10.0")
  s-diag: 479mm (18.9")
  Monitor-1: DisplayPort-0 res: 1920x1200 hz: 60 dpi: 94
  size: 519x324mm (20.4x12.8") diag: 612mm (24.1")
  OpenGL: renderer: AMD KAVERI (DRM 3.33.0 5.3.18-lp152.47-default LLVM 9.0.1)
  v: 4.5 Mesa 19.3.4 direct render: Yes
Info:...Shell: Bash v: 4.4.23 running in: konsole **inxi: 3.1.09**

There have been considerable SDDM complaints lately. I don’t have any 15.2 installations using SDDM to check them out.

Check for a proper hostname. Starting with localhost.localdomain comes down to asking for trouble. Just updated Leap 15.2, no problems with sddm whatsoever:

3400G:~ # journalctl --directory /mnt/@/var/log/journal/ -b -u display-manager.service -o short-monotonic --quiet 
    6.173951] **Leap** systemd[1]: Starting X Display Manager...
    6.192624] Leap display-manager[1162]: /etc/vconsole.conf available
    6.192854] Leap display-manager[1162]: KEYMAP: de-latin1-nodeadkeys
    6.192854] Leap display-manager[1162]: Command: localectl set-keymap de-latin1-nodeadkeys
    6.197187] Leap display-manager[1162]: I: Using systemd /usr/share/systemd/kbd-model-map mapping
    7.950138] Leap sddm[2087]: Initializing...
    7.954930] Leap sddm[2087]: Starting...
    7.955157] Leap sddm[2087]: Logind interface found
    7.956401] Leap sddm[2087]: Adding new display on vt 7 ...
    7.956619] Leap sddm[2087]: Loading theme configuration from ""
    7.956734] Leap sddm[2087]: Display server starting...
    7.956833] Leap sddm[2087]: Adding cookie to "/run/sddm/{59301efc-47e1-4f17-8e9f-a41c225c2d33}"
    7.964716] Leap sddm[2087]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{59301efc-47e1-4f17-8e9f-a41c225c2d33} -background none -noreset -displayfd 17 -seat seat0 vt7
    8.414263] Leap display-manager[1162]: Starting service sddm..done
    8.414729] Leap systemd[1]: Started X Display Manager.
    8.665309] Leap sddm[2087]: Setting default cursor
    8.679454] Leap sddm[2087]: Running display setup script  "/etc/X11/xdm/Xsetup"
    8.757323] Leap sddm[2087]: Display server started.
    8.757702] Leap sddm[2087]: Socket server starting...
    8.758081] Leap sddm[2087]: Socket server started.
    8.758924] Leap sddm[2087]: Loading theme configuration from "/usr/share/sddm/themes/breeze-openSUSE/theme.conf"
    8.759208] Leap sddm[2087]: Greeter starting...
    8.779673] Leap sddm-helper[2653]: [PAM] Starting...
    8.780083] Leap sddm-helper[2653]: [PAM] Authenticating...
    8.780294] Leap sddm-helper[2653]: [PAM] returning.
    8.886985] Leap sddm[2087]: Greeter session started successfully
    9.033465] Leap sddm[2087]: Message received from greeter: Connect
   15.836662] Leap sddm[2087]: Message received from greeter: Login
   15.836887] Leap sddm[2087]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
   15.837063] Leap sddm[2087]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
   15.837487] Leap sddm[2087]: Session "/usr/share/wayland-sessions/plasmawayland.desktop" selected, command: "dbus-run-session /usr/bin/startplasma-wayland"
   15.852545] Leap sddm-helper[5833]: [PAM] Starting...
   15.853008] Leap sddm-helper[5833]: [PAM] Authenticating...
   15.854188] Leap sddm-helper[5833]: [PAM] Preparing to converse...
   15.854461] Leap sddm-helper[5833]: [PAM] Conversation with 1 messages
   15.858369] Leap sddm-helper[5833]: [PAM] returning.
   15.858608] Leap sddm[2087]: Authenticated successfully
   15.858818] Leap sddm[2087]: Jumping to VT 2
   15.858999] Leap sddm[2087]: VT mode didn't need to be fixed
   16.239536] Leap sddm[2087]: Session started
  220.404230] Leap systemd[1]: Stopping X Display Manager...
...

A pertinent question might be what version of SDDM is in use by the OP.

This version 0.18.0-lp152.5.3.1 is the one causing issues, although as it was down to a race condition, it didn’t always manifest itself.

Versions prior to that worked OK, 0.18.0-lp152.4.11 is in the leap OSS repo.

There is a fixed version: 0.18.0-lp152.5.7.1 available here: Welcome - openSUSE Build Service (It’s not yet progressed to the update repository).

FYI:

**3400G:~ #** zypper if sddm 
Loading repository data... 
Reading installed packages... 


Information for package sddm: 
----------------------------- 
**Repository     : Haupt-Repository (OSS) **
Name           : sddm 
**Version        : 0.18.1-5.1 **
Arch           : x86_64 
Vendor         : openSUSE 
Installed Size : 4.4 MiB 
Installed      : Yes (automatically) 
**Status         : up-to-date **
Source package : sddm-0.18.1-5.1.src 
Summary        : QML-based display manager 
Description    :  
    SDDM is a display manager for X11. It uses technologies like QtQuick, 
    which in turn gives the designer the ability to create animated user 
    interfaces. 

**3400G:~ #**



The Leap 15.2 Main Update Repository ( https://download.opensuse.org/update/leap/15.2/oss ), still has 0.18.0-lp152.5.3.1

paul@HP255G7:~> sudo zypper if sddm
[sudo] password for root: 
Loading repository data...
Reading installed packages...


Information for package sddm:
-----------------------------
Repository     : Main Update Repository
Name           : sddm
Version        : 0.18.0-lp152.5.3.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 4.7 MiB
Installed      : Yes
Status         : up-to-date
Source package : sddm-0.18.0-lp152.5.3.1.src
Summary        : QML-based display manager
Description    : 
    SDDM is a display manager for X11. It uses technologies like QtQuick,
    which in turn gives the designer the ability to create animated user
    interfaces.

paul@HP255G7:~>

Yes there are later versions in some of the community home repositories, V19 is there for those who care for the very latest.

Edit: This machine is quite happy with 0.18.0-lp152.5.3.1, although I now use LightDM by choice on all my machines.

You have a Radeon R7 – “Kaveri” – which is “Sea Islands” – therefore the “amdgpu” drive is correct …

  • With a Radeon R5 or Radeon R6 – GCN 1st generation – “Southern Islands” – it’s wrong …

Not reproducible with Southern Islands here on TW:

# inxi -Cy
CPU:
  Info: Dual Core model: Intel Core2 6700 bits: 64 type: MCP
  L2 cache: 4096 KiB
  Speed: 1600 MHz min/max: 1596/2660 MHz Core speeds (MHz): 1: 1600 2: 1600
# inxi -GISay
System:
  Host: fi965 Kernel: 5.8.14-1-default x86_64 bits: 64 compiler: gcc v: 10.2.1
  parameters:...**radeon.si_support=0 amdgpu.si_support=1**...
  Desktop: KDE Plasma 5.20.2 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM
  Distro: openSUSE Tumbleweed 20201114
Graphics:
  Device-1: AMD Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM]
  vendor: Dell driver: amdgpu v: kernel alternate: radeon bus ID: 01:00.0
  chip ID: 1002:6611
  Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 driver: modesetting
  display ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 120 s-size: 541x304mm (21.3x12.0")
  s-diag: 621mm (24.4")
  Monitor-1: DP-1 res: 2560x1440 hz: 60 dpi: 109 size: 598x336mm (23.5x13.2")
  diag: 686mm (27")
  OpenGL: renderer: AMD Radeon HD 8500 Series (OLAND DRM 3.38.0
  5.8.14-1-default LLVM 11.0.0)
  v: 4.6 Mesa 20.2.2 direct render: Yes
Info:...Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.09

Tumbleweed has a newer Kernel which seems to have an amdgpu driver which is supporting “Southern Islands” …

  • Unfortunately, my older (Windows 7 ready) AMD system with an “Oland” card has been dropped into our local recycling container – I have no chance to confirm your findings …

Current Leap 15.2 system:


 # inxi -CG
CPU:       Info: Quad Core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64 type: MT MCP L2 cache: 2048 KiB 
           Speed: 1258 MHz min/max: 1400/3700 MHz Core speeds (MHz): 1: 1266 2: 1342 3: 1258 4: 1275 5: 1264 6: 1391 7: 1264 
           8: 1261 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Picasso driver: amdgpu v: kernel 
           Display: server: X.Org 1.20.3 driver: amdgpu resolution: 3840x2160~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.33.0 5.3.18-lp152.50-default LLVM 9.0.1) v: 4.5 Mesa 19.3.4 
 #