Subject: Kodi does not run after installing kodi package

From: Ian Smith <[email-masked]>
Date: Thu, 17 Apr 2025 14:29:39 +0100

Simple one?

I cannot find any information on actually running Kodi.  Even their Wiki
seems to skip that step.  I did find this, but the result is below:
https://www.ipv6.rs/tutorial/Alpine_Linux_Latest/Kodi/

$ kodi
'this->recurse > 0' failed at ../src/pipewire/thread-loop.c:62
do_unlock() ERROR: Unable to create GUI. Exiting

This is a basic install on Raspberry Pi (plus Kodi of course!).  Any
ideas?

Ian.

---

From: "fossdd" <[email-masked]>
Date: Thu, 17 Apr 2025 16:01:22 +0200

> This is a basic install on Raspberry Pi (plus Kodi of course!).  Any

Thank you! Which Alpine version are you running, edge or v3.21?

For edge I opened
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82912
which should fix this issue. Let me know if I should backport it aswell
to stable.

---

From: Ian Smith <[email-masked]>
Date: Thu, 17 Apr 2025 15:12:01 +0100

Hi, thanks for replying!

I am running Alpine 3.21 on a Raspberry Pi 3B+.  (I was thinking of
installing lightdm in case there are missing X bits, but that would
negate the minimal install & I would then have to do it again from from
scratch!)

It is a basic setup-alpine install, plus zram-init and Kodi.

Cheers,

Ian.

---

From: Ian Smith <[email-masked]>
Date: Thu, 17 Apr 2025 15:17:16 +0100

Pardon, forgot to add . . .

That would really be appreciated (unless there is a new release of
Alpine coming very soon), if you are sure it is the same problem. I have
looked at the solution and it doesn't mean anything to me ;)

Cheers,

Ian.

---

From: Ian Smith <[email-masked]>
Date: Fri, 18 Apr 2025 11:28:15 +0100

Just upgraded to edge, same error.

Ian.

---

From: "fossdd" <[email-masked]>
Date: Fri, 18 Apr 2025 13:40:15 +0200

> Just upgraded to edge, same error.

Yeah, that's because the mentioned merge request isn't merged yet.

I opened another MR now to backport the fix now to 3.21:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82942

---

From: Ian Smith <[email-masked]>
Date: Fri, 18 Apr 2025 12:46:43 +0100

OK pardon me I misunderstood - thanks!