You are not logged in.

#1 2016-03-23 21:36:41

Draenin
Member
Registered: 2016-03-23
Posts: 5

Wayland + KDE Plasma NOT loading.

Hello,

I just finished a fresh installation as per "Installation guide" and "Beginners' guide", everything went nice and smoothly.

But, I'm unable to get the Desktop Environment running. I wanted to give Wayland a shot, so I'm trying to install it together with KDE Plasma.

My system is:
Motherboard: Intel® DP55KG.
CPU: Intel® Core™ i7 CPU 860 @ 2.80GHz × 8.
Graphic Card: ATI Radeon HD 5700 (Juniper LE). According to Debian (where I'm writing this post) description: "Graphics: Gallium 0.4 on AMD JUNIPER".

The installation procedure I followed just after finishing the installation guide was:

# pacman -S xf86-video-ati     // the graphic card driver.
# pacman -S mesa-vdpau     // some lib for graphics acceleration
# pacman -S wayland     // the display server
# pacman -S weston      // the compositor
# pacman -S plasma      // the desktop environment
# pacman -S sddm       // the display manager.

# systemctl enable sddm
# systemctl start sddm

The KMS (Kernel Mode Setting) is loaded, I rebuilt the kernel image editing /etc/mkinitcpio.conf to add MODULES="radeon" and:
# mkinitcpio -p linux
Also, no video resolution parameter is set for the kernel when booting it.

PROBLEM:

The problem is that when booting the system is unable to launch the Desktop Environment. It displays the boot messages:
[OK] whatever
[OK] i don't remember
...
[OK] and so on...

And freezes, tty1 hangs. With no error whatsoever shown. I go to tty2 and the system seems fine, it's responsive I mean. Dmesg doesn't show any error nor warning message, if I don't remember bad I even did: #systemctl is-active sddm, and it showed it as active.

So, I don't have a clue where the thing went south. Any help will be well appreciated, or if you could point me to the right direction to look for info it would be nice too.

Thanks in advance.

Offline

#2 2016-03-23 22:21:44

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 749

Re: Wayland + KDE Plasma NOT loading.

Does Weston run normally?

Offline

#3 2016-03-23 22:48:19

Draenin
Member
Registered: 2016-03-23
Posts: 5

Re: Wayland + KDE Plasma NOT loading.

Yes. As far as I can tell.

In tty2 I typed:

# weston

And the window environment came up. I ran the Weston terminal (upper left corner) and a shell opened up. Inside I ran:

(weston)# weston-terminal

And a new terminal window opened. I tried:

(weston)# weston-flower

And a nice flower like image appeared, which I could click on and drag to other place in the window.

The only thing was:

(weston)# weston-gears   ---> the result was command not found. Which I'd say has nothing to do with my problem.

So, yes. I would say Weston has no problem to run.

By the way, as an aside, If I get KDE Plasma running could I uninstall Weston? or I need it for Plasma to work?  I guess I will need it anyway, but let's ask just in case.

Last edited by Draenin (2016-03-23 22:54:04)

Offline

#4 2016-03-24 19:20:46

Draenin
Member
Registered: 2016-03-23
Posts: 5

Re: Wayland + KDE Plasma NOT loading.

Update:

I missed an installation step: to generate the sddm configuration file. So I did:

# sddm --example-config > /etc/sddm.conf

and I edited the file to change  [Theme] to "breeze".

Didn't solved anything, though.

What I also did was to install the package for starting Plasma on Wayland session from a console:

# pacman -S plasma-wayland-session

Now:

# startplasmacompositor

Will start the Plasma desktop environment. But it still refuses to start the normal way from the booting scripts.

Last edited by Draenin (2016-03-24 19:21:15)

Offline

#5 2016-03-24 19:24:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Wayland + KDE Plasma NOT loading.

Not an Installation issue, moving to Apps and DEs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-03-24 19:33:38

miku84
Member
Registered: 2015-03-31
Posts: 45

Re: Wayland + KDE Plasma NOT loading.

Hi,

Kwin can run wayland, you do not need to have weston. I do not have weston on Plasma5 but can run wayland. You can run it via Opengl EGL or xrender (software rendering). Do you have also xorg-server-xwayland installed? Check it, remove weston and choose Plasma5 wayland in SDDM login and it should run.

Last edited by miku84 (2016-03-24 19:35:11)

Offline

#7 2016-03-24 22:01:45

Draenin
Member
Registered: 2016-03-23
Posts: 5

Re: Wayland + KDE Plasma NOT loading.

Hi miku, thanks for the response.

I remove Weston and installed the Xorg Wayland server:
# pacman -Rns weston
# pacman -S xorg-server-xwayland

Then, I'm not quite sure if I quite followed you in the "choose Plasma5 wayland in SDDM login" part.

I edited /etc/sddm.conf:

[Autologin]
# Autologin session
Session=

I don't have any other place in the whole file where the word login shows up, so I assumed it's this autologin part. I'm supposed to put here only sessions which I have under /usr/share/xsessions/, which are:

/usr/share/xsessions/
   plasma.desktop
   plasma-mediacenter.desktop

So I tried with:
Session=Plasma
Session=plasma.desktop
Session=Plasma5 wayland

None worked.

Most probably, that wasn't the SDDM login you were referring to though.

Last edited by Draenin (2016-03-24 22:35:30)

Offline

#8 2016-03-25 07:05:40

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: Wayland + KDE Plasma NOT loading.

You don't need manually edit sddm.conf file. Check /usr/share/wayland-session/ and look for plasmawayland.desktop. Install plasma-wayland-session if there isn't. After that in SDDM menu, you can choose Plasma or Plasma (Wayland).
But... Plasma5 on Wayland is far from perfect.

Offline

#9 2016-04-03 12:50:42

Draenin
Member
Registered: 2016-03-23
Posts: 5

Re: Wayland + KDE Plasma NOT loading.

UPDATE:

The problem is not with Plasma (methinks), it's with SDDM which fails to initiate.

sudo systemctl status sddm gives:

● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2016-04-03 13:51:06 CEST; 6min ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
 Main PID: 380 (sddm)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/sddm.service
           └─380 /usr/bin/sddm

Apr 03 13:51:06 archlinux systemd[1]: Started Simple Desktop Display Manager.
Apr 03 13:51:07 archlinux sddm[380]: Initializing...
Apr 03 13:51:07 archlinux sddm[380]: Starting...
Apr 03 13:51:07 archlinux sddm[380]: Adding new display on vt 1 ...
Apr 03 13:51:07 archlinux sddm[380]: Display server starting...
Apr 03 13:51:07 archlinux sddm[380]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{31b42db6-fcb4-4d92-9b8e-450f975cf186} -background none -noreset -displayfd 18 vt1
Apr 03 13:51:07 archlinux sddm[380]: Failed to start display server process.

In the second to last line it shows SDDM trying to run /usr/bin/X. There is NOT a X file in that directory, there is Xwayland though. So, either I missing some package to install (that puts that X file there) or I don't have SDDM configured properly (It should be looking for Xwayland, I guess). This is my /etc/sddm.conf:

[Autologin]
# Autologin again on session exit
Relogin=false

# Autologin session
Session=plasmawayland.desktop

# Autologin user
User=


[General]
# Halt command
HaltCommand=/usr/bin/systemctl poweroff

# Initial NumLock state
# Valid values: on|off|none
# If property is set to none, numlock won't be changed
Numlock=none

# Reboot command
RebootCommand=/usr/bin/systemctl reboot


[Theme]
# Current theme name
Current=breeze

# Cursor theme
CursorTheme=

# Face icon directory
# The files should be in username.face.icon format
FacesDir=/usr/share/sddm/faces

# Theme directory path
ThemeDir=/usr/share/sddm/themes


[Users]
# Default $PATH
DefaultPath=/bin:/usr/bin:/usr/local/bin

# Hidden shells
# Users with these shells as their default won't be listed
HideShells=

# Hidden users
HideUsers=

# Maximum user id for displayed users
MaximumUid=60000

# Minimum user id for displayed users
MinimumUid=1000

# Remember the session of the last successfully logged in user
RememberLastSession=true

# Remember the last successfully logged in user
RememberLastUser=true


[WaylandDisplay]
# Wayland session script path
# A script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session

# Session description directory
SessionDir=/usr/share/wayland-sessions

[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Xstop script path
# A script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# Minimum VT
# The lowest virtual terminal number that will be used.
MinimumVT=1

# X server arguments
ServerArguments=-nolisten tcp

# X server path
ServerPath=/usr/bin/X

# Xsession script path
# A script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Session description directory
SessionDir=/usr/share/xsessions

# Xauth path
XauthPath=/usr/bin/xauth

# Xephyr path
XephyrPath=/usr/bin/Xephyr

I tried adding a symlink: X -> Xwayland to no avail. This is the "sudo systemctl status sddm" after that:

● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
   Active: inactive (dead) (Result: core-dump) since Sun 2016-04-03 14:03:43 CEST; 2min 44s ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
  Process: 494 ExecStart=/usr/bin/sddm (code=dumped, signal=SEGV)
 Main PID: 494 (code=dumped, signal=SEGV)

Apr 03 14:03:43 archlinux systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
Apr 03 14:03:43 archlinux systemd[1]: Stopped Simple Desktop Display Manager.
Apr 03 14:03:43 archlinux systemd[1]: Started Simple Desktop Display Manager.
Apr 03 14:03:43 archlinux systemd[1]: sddm.service: Main process exited, code=dumped, status=11/SEGV
Apr 03 14:03:43 archlinux systemd[1]: sddm.service: Unit entered failed state.
Apr 03 14:03:43 archlinux systemd[1]: sddm.service: Failed with result 'core-dump'.
Apr 03 14:03:43 archlinux systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
Apr 03 14:03:43 archlinux systemd[1]: Stopped Simple Desktop Display Manager.
Apr 03 14:03:43 archlinux systemd[1]: sddm.service: Start request repeated too quickly.
Apr 03 14:03:43 archlinux systemd[1]: Failed to start Simple Desktop Display Manager.

Sorry for the lengthy post.

Offline

#10 2016-04-03 13:09:43

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: Wayland + KDE Plasma NOT loading.

Draenin wrote:

In the second to last line it shows SDDM trying to run /usr/bin/X. There is NOT a X file in that directory

Well there should be. It's owned by xorg-server and it's a symlink to /usr/bin/Xorg

Offline

#11 2016-06-20 17:32:32

miku84
Member
Registered: 2015-03-31
Posts: 45

Re: Wayland + KDE Plasma NOT loading.

I also could not boot to Wayland default. Also the autologin is not working.
Someone managed it?

Offline

#12 2017-08-23 17:39:52

smldis
Member
Registered: 2009-05-15
Posts: 10

Re: Wayland + KDE Plasma NOT loading.

Yes, I managed to.

The problem is that if you install evreything for running plasma/kwin on wayland and sddm the package xorg-server is not pulled in by any  other package. In this situation I was not able to start SDDM but kwin/wayland was working fine with `export $(dbus-launch) && startplasmacompositor`.

So the fix for me was installing xorg-server. And it should be a dependency of sddm.

Offline

Board footer

Powered by FluxBB