newest rpi-kodi-update breaks other audio applications

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

Re: newest rpi-kodi-update breaks other audio applications

Postby foobar » Tue Mar 02, 2021 12:59 pm

Standard hdmi cable.
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: newest rpi-kodi-update breaks other audio applications

Postby graysky » Tue Mar 02, 2021 1:26 pm

Post a kodi debug log.

1. stop kodi
2. edit/create /var/lib/kodi/.kodi/userdata/advancedsettings.xml
$this->bbcode_second_pass_code('', '<advancedsettings>
<loglevel>1</loglevel>
</advancedsettings>')
3. start kodi

Paste /var/lib/kodi/.kodi/temp/kodi.log to pastebin or something and link it here
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: newest rpi-kodi-update breaks other audio applications

Postby graysky » Tue Mar 02, 2021 1:27 pm

Post a kodi debug log.

1. stop kodi
2. edit/create /var/lib/kodi/.kodi/userdata/advancedsettings.xml
$this->bbcode_second_pass_code('', '<advancedsettings>
<loglevel>1</loglevel>
</advancedsettings>')
3. start kodi

Paste /var/lib/kodi/.kodi/temp/kodi.log to pastebin or something and link it here
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: newest rpi-kodi-update breaks other audio applications

Postby foobar » Tue Mar 02, 2021 1:44 pm

foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: newest rpi-kodi-update breaks other audio applications

Postby graysky » Tue Mar 02, 2021 2:11 pm

If you're using the pkg defaults, I am unsure. You did not customize any kodi stuff, right?

Post:
$this->bbcode_second_pass_code('', 'sudo pacman -Qkk kodi-rpi')

If not, I recommend you post a brief description to kodi rpi forums and the debug log.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: newest rpi-kodi-update breaks other audio applications

Postby foobar » Tue Mar 02, 2021 2:19 pm

$this->bbcode_second_pass_code('', '
sudo pacman -Qkk kodi-rpi
[sudo] password for user:
warning: kodi-rpi: /boot/kodi.config.txt (Permissions mismatch)
warning: kodi-rpi: /usr/lib/systemd/system/kodi.service (Modification time mismatch)
warning: kodi-rpi: /usr/share/polkit-1/rules.d (GID mismatch)
kodi-rpi: 2588 total files, 3 altered files
')

I did not touch any kodi setting after installation.
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: newest rpi-kodi-update breaks other audio applications

Postby graysky » Tue Mar 02, 2021 2:46 pm

$this->bbcode_second_pass_quote('graysky', 'I')f not, I recommend you post a brief description to kodi rpi forums and the debug log.


https://forum.kodi.tv/forumdisplay.php?fid=166
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: newest rpi-kodi-update breaks other audio applications

Postby foobar » Tue Mar 02, 2021 4:38 pm

I will do that, have to create an account there first. Just one final question from my side, and I hope this is not inappropriate, would you be so kind to post your cmdline.txt, config.txt and kodi.config.txt so I can copy paste into my RPi4 just to be 100% sure?
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

Re: newest rpi-kodi-update breaks other audio applications

Postby graysky » Tue Mar 02, 2021 6:17 pm

$this->bbcode_second_pass_code('', '% cat /boot/cmdline.txt
root=/dev/mmcblk0p2 rw rootwait console=serial0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200

% cat /boot/config.txt
[all]
include kodi.config.txt

% cat /boot/kodi.config.txt
dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=rpivid-v4l2
disable_overscan=1
disable_fw_kms_setup=1
')
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: newest rpi-kodi-update breaks other audio applications

Postby foobar » Thu Mar 04, 2021 5:34 pm

I've done a little search on various platforms trying to understand what the kms (dtoverlay=vc4-kms-v3d) is doing and to my knowledge is has something to do with the graphics. I also read on raspberry pi forum that "KMS and DRM rely almost exclusively on the EDID of the display, so if that is wrong then you will have issues" which may explain why on my test monitor which is using a DVI to HDMI cable, there is no sound output available in kodi 19. Disabling the kms line enables audio while on that monitor.

Meanwhile I' ve grabbed a small HMDI display with onboard sound and viola, now I have sound output and also sound with the hdmi audio extractor between Pi and display.

So my conclusion is that including dtoverlay=vc4-kms-v3d is not working with all kinds of displays. Strange though that this line is included in the default config.txt when doing a fresh install (http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz). I also tested in on my kids RPI4 with LXDE desktop and it produced a very distorted GUI. Trying his RPi4 on another display and it was working fine. Running headless RPI4 like I do on my NAS doesn't even require graphics
foobar
 
Posts: 37
Joined: Wed Oct 21, 2020 12:33 pm

PreviousNext

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests