No Kodi GUI on RPi 4 8GB (with AArch64)

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

No Kodi GUI on RPi 4 8GB (with AArch64)

Postby BoberMod » Sat Oct 09, 2021 11:27 am

I've installed AArch64 on my RPi 4 (8GB) using https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4 guide.
I also installed kodi-rpi from alarm repo - https://archlinuxarm.org/packages/aarch64/kodi-rpi. But after lunching kodi.service I don't have picture on my TV (no signal on TV).

HDMI cable and TV are OK - I see logs when I boot up the system.
The system is up to date.

/var/lib/kodi/.kodi/temp/kodi.log - https://pastebin.com/8WUS1d6c

/boot/config.txt:
$this->bbcode_second_pass_code('', 'enable_uart=1

[all]
include kodi.config.txt
')

/boot/kodi.config.txt
$this->bbcode_second_pass_code('', 'dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=rpivid-v4l2
### leave this next entry blank as ensures dt parameters like dtparam=audio=on
### which could appear after "include kodi.config.txt" in /boot/config.txt are
### applied to the base dt instead of to the last dtoverlay loaded
dtoverlay=
disable_overscan=1
disable_fw_kms_setup=1

### RPi 4B/400 ONLY
### For 4k content @ 60 Hz refresh rate, uncomment hdmi_enable_4kp60=1
#
### If it breaks video output as detailed in the following bug, also uncomment
### force_turbo=1 see: https://github.com/raspberrypi/linux/issues/4446
#hdmi_enable_4kp60=1
#force_turbo=1

### uncomment to use the analog audio jack
### the 2nd option prevents crackling audio when HW accel decoding is active
#dtparam=audio=on
#audio_pwm_mode=1')

/proc/cmdline
$this->bbcode_second_pass_code('', 'console=ttyS1,115200 console=tty0 root=PARTUUID=eca8ed0a-02 rw rootwait smsc95xx.macaddr=dc:a6:32:XX:XX:XX')

When starting kodi from command line:
$this->bbcode_second_pass_code('', 'ERROR: Unable to create GUI. Exiting')

Looks like it also uses display-manager (why?):
$this->bbcode_second_pass_code('', '$ systemctl stop display-manager
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to stop 'kodi.service'.
')

Service status:
$this->bbcode_second_pass_code('', '* kodi.service - Kodi standalone (GBM)
Loaded: loaded (/usr/lib/systemd/system/kodi.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-10-09 11:24:21 UTC; 16s ago
Main PID: 536 (kodi-standalone)
Tasks: 0 (limit: 9265)
Memory: 696.0K
CPU: 15ms
CGroup: /system.slice/kodi.service
> 536 /bin/sh /usr/bin/kodi-standalone

Oct 09 11:24:21 rpi systemd[1]: Started Kodi standalone (GBM).
Oct 09 11:24:21 rpi systemd[536]: pam_systemd_home(login:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Oct 09 11:24:21 rpi systemd[536]: pam_unix(login:session): session opened for user kodi(uid=974) by (uid=0)
Oct 09 11:24:21 rpi systemd[536]: pam_env(login:session): deprecated reading of user environment enabled
')
Last edited by BoberMod on Sat Oct 09, 2021 12:07 pm, edited 1 time in total.
BoberMod
 
Posts: 3
Joined: Sat Oct 09, 2021 11:11 am

Re: No Kodi GUI on RPi 4 8GB (with AArch64)

Postby BoberMod » Sat Oct 09, 2021 11:34 am

After starting systemd-homed.service I got these errors in service log:
$this->bbcode_second_pass_code('', 'Oct 09 11:32:38 rpi systemd[1]: Started Kodi standalone (GBM).
Oct 09 11:32:38 rpi systemd[655]: pam_systemd_home(login:account): Not a user managed by systemd-homed: No home for user kodi known
Oct 09 11:32:38 rpi systemd[655]: pam_unix(login:session): session opened for user kodi(uid=974) by (uid=0)
Oct 09 11:32:38 rpi systemd[655]: pam_env(login:session): deprecated reading of user environment enabled
')
BoberMod
 
Posts: 3
Joined: Sat Oct 09, 2021 11:11 am

Re: No Kodi GUI on RPi 4 8GB (with AArch64)

Postby graysky » Sat Oct 09, 2021 1:55 pm

$this->bbcode_second_pass_quote('your log file', '
')INFO <general>: Running on Arch Linux ARM 0.0, kernel: Linux ARM 64-bit version 5.14.10-1-ARCH


You need the rpi4 kernel not the arrch64 kernel for HW accel/normal gbm kodi:
$this->bbcode_second_pass_code('', '% pacman -Si kodi-rpi
...
Optional Deps :
...
linux-raspberrypi4: HW accelerated decoding
...')

Install the rpi4 kernel.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: No Kodi GUI on RPi 4 8GB (with AArch64)

Postby BoberMod » Tue Oct 19, 2021 7:02 pm

I've installed rpi4 kernel, it started working but only on my monitor.
When I'm trying to connect my old TV (using the same HDMI cable) - no signal on the TV.
BoberMod
 
Posts: 3
Joined: Sat Oct 09, 2021 11:11 am

Re: No Kodi GUI on RPi 4 8GB (with AArch64)

Postby graysky » Tue Oct 19, 2021 7:05 pm

That is odd. Same HDMI port (the one nearest to the power connector)? Do you see anything, boot messages, etc?
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: No Kodi GUI on RPi 4 8GB (with AArch64)

Postby unformatted » Wed Oct 20, 2021 9:06 am

In /boot/config.txt try changing

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

$this->bbcode_second_pass_code('', '
dtoverlay=vc4-fkms-v3d,cma-512
')
and reboot.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 9 guests