Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Kodi 20.4 in ubuntu 24.04, Python fatal error #1122

Open
allidep opened this issue Nov 6, 2024 · 0 comments
Open

Bug Report: Kodi 20.4 in ubuntu 24.04, Python fatal error #1122

allidep opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@allidep
Copy link

allidep commented Nov 6, 2024

What happened?

Ubuntu 24.04, Kodi 20.4 works as expected for Radxa Zero 3E 1GiB, using DRM PRIME decoder with PRIME Render Method to Direct to plane.
But when browsing the samba shares or sorting the videos or getting movie info, It crashes with error.

Fatal Python error: PyImport_AppendInittab: PyImport_AppendInittab() may not be called after Py_Initialize()
Python runtime state: initialized

Thread 0x0000ffff667ce0c0 (most recent call first):
<no Python frame>
Aborted (core dumped)
Crash report available at /home/user/kodi_crashlog-20241104_174516.log

System Python version 3.12 might be not compatible with Kodi.

So, I have sourced new Kodi-Omega and compiled it with ffmpeg from Nyanmisaka/ffmpeg-rockchip. It work better and no python error, HW acceleration works as expected but now I cannot see controls/UI during video playback, Video playback is always foreground and blocks the UI elements. Kernel shows error on screen
error:

[drm:vop2_plane_atomic_check] *ERROR* Esmart0-win0 is invisible(src: pos[0, 0] rect[1920 x 800] dst: pos[0, 0] rect [0 x 0]

This might be related to rockchip dtbs and I have no idea how to fix or debug them. There is a Open Issue here related to same error for different device(Orange pi 5), Not sure if it will work for zero3E.
At this point I am looking for any fix related to both problems.

Kernel version

6.1.0-1025-rockchip

SBC model

Radxa Zero 3E

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

No response

@allidep allidep added the bug Something isn't working label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants