RPI4 - can not start sway

Ask questions about Arch Linux ARM. Please search before making a new topic.

RPI4 - can not start sway

Postby 71GA » Wed Mar 11, 2020 9:06 am

@Port rhombus

I am on clean Archlinux ARM installed system. I created a new user and added him to the video group added sudo privileges etc... Then I logged in with this user and synced my system with the mirrors:

$this->bbcode_second_pass_code('', 'sudo pacman -Syy
sudo pacman -Syu')

I then installed packages:

$this->bbcode_second_pass_code('', 'sudo pacman -S sway
sudo pacman linux-raspberrypi4-headers')

And set the "/boot/config.txt" file to:

$this->bbcode_second_pass_code('', 'initramfs initramfs-linux.img followkernel
gpu_mem=128
avoid_warnings=2
dtoverlay=vc4-fkms-v3d')

If I swap last line with

$this->bbcode_second_pass_code('', 'dtoverlay=vc4-kms-v3d')

operating system after reboot doesn't get to the login terminal and renders a blank screen on my 4k monitor instead. So this is not an option.

With the current settings RPI4 now starts and I can login. But as soon as I start Sway (with two parameters added to output debug/verbose info) I get an error:

$this->bbcode_second_pass_code('', 'sway -d -V
2020-03-11 08:44:19 - [sway/main.c:152] Linux ziga-rpi 4.19.108-1-ARCH #1 SMP PREEMPT Tue Mar 10 02:06:04 UTC 2020 armv7l GNU/Linux
2020-03-11 08:44:19 - [sway/main.c:168] Contents of /etc/os-release:
2020-03-11 08:44:19 - [sway/main.c:152] NAME="Arch Linux ARM"
2020-03-11 08:44:19 - [sway/main.c:153] PRETTY_NAME="Arch Linux ARM"
2020-03-11 08:44:19 - [sway/main.c:152] ID=archarm
2020-03-11 08:44:19 - [sway/main.c:152] ID_LIKE=arch
2020-03-11 08:44:19 - [sway/main.c:152] BUILD_ID=rolling
2020-03-11 08:44:19 - [sway/main.c:152] ANSI_COLOR="0;36"
2020-03-11 08:44:19 - [sway/main.c:152] HOME_URL="https://archlinuxarm.org/"
2020-03-11 08:44:19 - [sway/main.c:152] DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
2020-03-11 08:44:19 - [sway/main.c:152] SUPPORT_URL="https://archlinuxarm.org/forum"
2020-03-11 08:44:19 - [sway/main.c:152] BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
2020-03-11 08:44:19 - [sway/main.c:152] LOGO=archlinux
2020-03-11 08:44:19 - [sway/main.c:140] LD_LIBRARY_PATH=(null)
2020-03-11 08:44:19 - [sway/main.c:140] LD_PRELOAD=(null)
2020-03-11 08:44:19 - [sway/main.c:140] PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2020-03-11 08:44:19 - [sway/main.c:140] SWAYSOCK=(null)
2020-03-11 08:44:19 - [sway/server.c:40] Preparing Wayland server initialization
2020-03-11 08:44:19 - [backend/session/logind.c:217] Failed to activate session: Permission denied
2020-03-11 08:44:19 - [backend/session/direct-ipc.c:35] Do not have CAP_SYS_ADMIN; cannot become DRM master
2020-03-11 08:44:19 - [backend/session/session.c:96] Failed to load session backend
2020-03-11 08:44:19 - [backend/backend.c:286] Failed to start a DRM session
2020-03-11 08:44:19 - [backend/noop/backend.c:51] Creating noop backend
2020-03-11 08:44:19 - [sway/server.c:47] Unable to create backend')

What else am I missing? My RPI4 is the one with 4GB RAM.
71GA
 
Posts: 10
Joined: Fri Dec 12, 2014 5:17 pm

Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests