I have installed Raspberry Pi OS bookworm on a Pi 3, and the MythTV Light image from orangedox (20231014-mythtv-light_33.1-22-g26e76a3949-0_arm64_bookworm.deb). I am using the recommended video playback profile per https://www.mythtv.org/wiki/Raspberry_P ... ck_Profile, i.e.
- decoder: V4L2-decode
- MAX CPUs: 4
- deblocking filter: Y
- renderer: OpenGL YV12
- deinterlacer (SR): medium
- prefer OpenGL deinterlacer: Y
But playback shows just a green screen.
I am a long time MythTV enthusiast (on my fifth backend since 2006-ish, perhaps), and a decently competent programmer (C and a little C++), though not familiar with the MythTV codebase, and I am at the limit of my debugging skills, and stuck. I could do with some expert help.
Based on the notes in https://www.mythtv.org/wiki/Release_Not ... d_playback about deinterlacing, I also tried low quality instead of medium, but with the same result.
There are OpenGL errors in the mythfrontend log when creating input textures in MythOpenGLVideo::SetupFrameFormat:
Code: Select all
2024-01-06 15:27:56.874275 I [3797/3797] CoreContext mythopenglvideo.cpp:477 (SetupFrameFormat) - GLVid: New frame format: None:None 704x576 (Tex: 2D) -> YUV420P:YUV420P 704x576 (Tex: 2D)
2024-01-06 15:27:57.124684 I [3797/3797] CoreContext mythrenderopengl.cpp:189 (MessageLogged) - OpenGL: Src: API Type: Error Msg: GL_INVALID_ENUM in glTextureStorage2DEXT(internalformat = GL_R8)
2024-01-06 15:27:57.207274 I [3797/3797] CoreContext mythrenderopengl.cpp:189 (MessageLogged) - OpenGL: Src: API Type: Error Msg: GL_INVALID_ENUM in glTextureStorage2DEXT(internalformat = GL_R8)
2024-01-06 15:27:57.207470 I [3797/3797] CoreContext mythrenderopengl.cpp:189 (MessageLogged) - OpenGL: Src: API Type: Error Msg: GL_INVALID_ENUM in glTextureStorage2DEXT(internalformat = GL_R8)
2024-01-06 15:27:57.207595 I [3797/3797] CoreContext mythopenglvideo.cpp:514 (SetupFrameFormat) - GLVid: Created 3 input textures for 'opengl-yv12'
Code: Select all
2024-01-06 15:27:59.660299 I [3797/3797] CoreContext mythrenderopengl.cpp:189 (MessageLogged) - OpenGL: Src: API Type: Error Msg: GL_INVALID_OPERATION in glTextureSubImage2DEXT(invalid texture level 0)
2024-01-06 15:27:59.660332 I [3797/3797] CoreContext mythrenderopengl.cpp:189 (MessageLogged) - OpenGL: Src: API Type: Error Msg: GL_INVALID_OPERATION in glTextureSubImage2DEXT(invalid texture level 0)
2024-01-06 15:27:59.660353 I [3797/3797] CoreContext mythrenderopengl.cpp:189 (MessageLogged) - OpenGL: Src: API Type: Error Msg: GL_INVALID_OPERATION in glTextureSubImage2DEXT(invalid texture level 0)
Code: Select all
2024-01-06 15:19:47.917312 I [3797/3797] CoreContext mythrenderopengl.cpp:238 (Init) - OpenGL: GPU debug logging started (async)
2024-01-06 15:19:47.925213 I [3797/3797] CoreContext mythrenderopengl.cpp:419 (DebugFeatures) - OpenGL: OpenGL vendor : Broadcom
2024-01-06 15:19:47.925227 I [3797/3797] CoreContext mythrenderopengl.cpp:420 (DebugFeatures) - OpenGL: OpenGL renderer : VC4 V3D 2.1
2024-01-06 15:19:47.925235 I [3797/3797] CoreContext mythrenderopengl.cpp:421 (DebugFeatures) - OpenGL: OpenGL version : 2.1 Mesa 23.2.1-1~bpo12+rpt2
2024-01-06 15:19:47.925245 I [3797/3797] CoreContext mythrenderopengl.cpp:422 (DebugFeatures) - OpenGL: Qt platform : xcb
2024-01-06 15:19:47.925495 I [3797/3797] CoreContext mythrenderopengl.cpp:425 (DebugFeatures) - OpenGL: EGL display : Yes
2024-01-06 15:19:47.925503 I [3797/3797] CoreContext mythrenderopengl.cpp:426 (DebugFeatures) - OpenGL: EGL images : Yes
2024-01-06 15:19:47.925512 I [3797/3797] CoreContext mythrenderopengl.cpp:428 (DebugFeatures) - OpenGL: Qt OpenGL module : OpenGL (not ES)
2024-01-06 15:19:47.925519 I [3797/3797] CoreContext mythrenderopengl.cpp:429 (DebugFeatures) - OpenGL: Qt OpenGL format : OpenGL 2.1
2024-01-06 15:19:47.925528 I [3797/3797] CoreContext mythrenderopengl.cpp:430 (DebugFeatures) - OpenGL: Qt OpenGL surface : RGBA: 8:8:8:0 Depth: 0 Stencil: 0
2024-01-06 15:19:47.925537 I [3797/3797] CoreContext mythrenderopengl.cpp:431 (DebugFeatures) - OpenGL: Max texture size : 2048
2024-01-06 15:19:47.925549 I [3797/3797] CoreContext mythrenderopengl.cpp:432 (DebugFeatures) - OpenGL: Shaders : Vertex,Fragment
2024-01-06 15:19:47.925557 I [3797/3797] CoreContext mythrenderopengl.cpp:433 (DebugFeatures) - OpenGL: 16bit framebuffers : Yes
2024-01-06 15:19:47.925563 I [3797/3797] CoreContext mythrenderopengl.cpp:434 (DebugFeatures) - OpenGL: Unpack Subimage : Yes
2024-01-06 15:19:47.925570 I [3797/3797] CoreContext mythrenderopengl.cpp:435 (DebugFeatures) - OpenGL: Buffer mapping : Yes
2024-01-06 15:19:47.925576 I [3797/3797] CoreContext mythrenderopengl.cpp:436 (DebugFeatures) - OpenGL: Rectangular textures : Yes
2024-01-06 15:19:47.925583 I [3797/3797] CoreContext mythrenderopengl.cpp:437 (DebugFeatures) - OpenGL: NPOT textures : Yes
2024-01-06 15:19:47.925590 I [3797/3797] CoreContext mythrenderopengl.cpp:438 (DebugFeatures) - OpenGL: Max texture units : 32
2024-01-06 15:19:47.925598 I [3797/3797] CoreContext mythrenderopengl.cpp:439 (DebugFeatures) - OpenGL: GL_RED/GL_R8 : Yes
Thank you.