[Fix] kodi-rpi 19.1-4: remove disable_fw_kms_setup=1

Problems with packages? Post here, using [tags] of the package name.

[Fix] kodi-rpi 19.1-4: remove disable_fw_kms_setup=1

Postby bnicolae » Thu May 13, 2021 1:28 am

Kernel 5.10.35-2-ARCH (package: linux-raspberrypi4 5.10.35-2) does not work with the default settings supplied by kodi-rpi 19.1-4 in the /boot/kodi.config.txt fie. To fix, remove the following line disable_fw_kms_setup=1
bnicolae
 
Posts: 4
Joined: Thu May 13, 2021 1:21 am

Re: [Fix] kodi-rpi 19.1-4: remove disable_fw_kms_setup=1

Postby graysky » Thu May 13, 2021 11:21 am

I cannot reproduce. Works as shipped for me. What is your /boot/config.txt and what error are you getting when you leave the line in the file, reboot, and try starting kodi?

Reference: https://github.com/LibreELEC/LibreELEC. ... b07c13704e
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [Fix] kodi-rpi 19.1-4: remove disable_fw_kms_setup=1

Postby bnicolae » Sat May 29, 2021 3:14 am

If I keep disable_fw_kms_setup=1 in /boot/kodi.config.txt, then my screen will simply blank out after the kernel switches the framebuffer mode and never manages to launch kodi. The logs show the following errors:

$this->bbcode_second_pass_code('', 'kernel: vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
kernel: vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
kernel: vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
kernel: vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
kernel: vc4_hdmi fef05700.hdmi: ASoC: error at snd_soc_dai_startup on fef05700.hdmi: -19
kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:76:crtc-3] flip_done timed out')

Here's my /boot/config.txt:
$this->bbcode_second_pass_code('', 'enable_uart=1
dtoverlay=disable-bt
hdmi_force_hotplug=1
hdmi_enable_4kp60=1
include kodi.config.txt
initramfs initramfs-linux.img followkernel')
bnicolae
 
Posts: 4
Joined: Thu May 13, 2021 1:21 am

Re: [Fix] kodi-rpi 19.1-4: remove disable_fw_kms_setup=1

Postby graysky » Sat May 29, 2021 9:03 am

You can comment out that line if it's not working for you setup. Fine for me and many LE users. Note the vc4_hdmi errors in the kernel logs are unrelated and expected.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to Packages

Who is online

Users browsing this forum: No registered users and 10 guests

cron