Page 1 of 1

kde desktop and sddm on archlinux arm

Posted: Sun Sep 22, 2024 1:16 am
by illusoryseafloor
My device is a Raspberry Pi 5, and I installed archlinux arm according to kiljan's tutorial and used the latest linux-rpi kernel

I manually started kde and successfully entered the desktop and everything worked fine. But I can't enter it through sddm or other display managers (I tried lightdm). No matter what display manager systemctl is started, the screen is black with only a flashing underline in the upper left corner. Is there any driver I am missing?

I don't know what I did wrong, I successfully manually enabled KDE for Wayland and successfully entered the desktop, because everything works fine so I think my driver should be fine, but sddm can't start


This is the error message of my journalctl -u sddm

Failed to read display number from pipe
Error: Could not start Display server on vt 2

My installation process is

pacman -S mesa
pacman -S plasma
pacman -S kde-applications
systemctl start sddm

Since then, the screen is black, with only a flashing underline in the upper left corner.

The above command execution process will automatically include sddm, so I did not install it manually. After the problem occurred, I tried to install sddm manually, but the result was the same. Therefore, the problem of incomplete sddm package can be ruled out.

But I successfully entered the desktop through the following command, everything is normal, even if wayland is replaced by x11, it can be entered normally

/usr/bin/startplasma-wayland


If you have the same experience or insights as me, please tell me what to do, I will be very grateful to you

Re: kde desktop and sddm on archlinux arm

Posted: Sun Sep 22, 2024 2:41 am
by cjan
ManjaroArm-plasma work well, they are same packages repos.

Re: kde desktop and sddm on archlinux arm

Posted: Sun Sep 22, 2024 3:58 am
by illusoryseafloor
cjan wrote:
Sun Sep 22, 2024 2:41 am
ManjaroArm-plasma work well, they are same packages repos.
Thanks for the reminder. I tried manjaro before this and it worked fine on my device, everything was ok except the cursor flickering issue.

I'm trying this on archlinux arm and I'm having problems. I don't understand where I went wrong.

Re: kde desktop and sddm on archlinux arm

Posted: Sun Sep 22, 2024 9:40 am
by redvli
illusoryseafloor wrote:
Sun Sep 22, 2024 1:16 am
pacman -S mesa
pacman -S plasma
pacman -S kde-applications
After comparable steps in Debian Bookworm, systemd based of course, after a reboot, everything around sddm is set up as well. In Opensuse sddm is separate user AFAIR.
So your issue maybe typical ArchLinux that you have to set up everything yourself. Like changing from multi-user.target to graphical.target, I don't know. I have very little experience with pacman and Arch and Arch based distros, so just guessing.

Re: kde desktop and sddm on archlinux arm

Posted: Mon Sep 23, 2024 2:57 am
by illusoryseafloor
redvli wrote:
Sun Sep 22, 2024 9:40 am
illusoryseafloor wrote:
Sun Sep 22, 2024 1:16 am
pacman -S mesa
pacman -S plasma
pacman -S kde-applications
After comparable steps in Debian Bookworm, systemd based of course, after a reboot, everything around sddm is set up as well. In Opensuse sddm is separate user AFAIR.
So your issue maybe typical ArchLinux that you have to set up everything yourself. Like changing from multi-user.target to graphical.target, I don't know. I have very little experience with pacman and Arch and Arch based distros, so just guessing.
After trying it on other distributions, I did find that sddm was usable out of the box. When I tried it on archlinux, I only used the command to generate the default configuration file, but did not modify the parameters in the configuration file. I am not sure if this is the reason.

Re: kde desktop and sddm on archlinux arm

Posted: Thu Mar 06, 2025 1:29 am
by HEJOK254
I know I'm a little late, but I've also been running into issues with arch on my pi.
What I found worked, was creating an Xorg configuration file like shown here: https://archlinuxarm.org/forum/viewtopic.php?t=16827
/etc/X11/xorg.conf.d/99-v3d.conf

Code: Select all

Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
If you're also running into issues with Wi-Fi, https://github.com/raspberrypi/linux/is ... 2642566713 seems to help.

AltStyle によって変換されたページ (->オリジナル) /