LibreELEC.tv icon indicating copy to clipboard operation
LibreELEC.tv copied to clipboard

[BUG] Collated Generic/Generic x86_64 GBM issues

Open heitbaum opened this issue 3 years ago • 22 comments

https://forum.libreelec.tv/thread/25212-kodi-flickering-tv-menu/?postID=166247

Who:

  • heitbaum - NUC11PAHi7 (TGL - i7-1165G7 - Intel Iris Xe)
  • JoeAverage/eldersixpack13 - NUC8i3BEH (CFL i3-8109U - Iris® Plus Graphics 655)
  • vhgroup - NUC5i3RYK (BDW - i3-5010U - HD Graphics 5500 GPU)
  • CvH - NUC5i3RYH (BDW - i3-5010U - HD Graphics 5500 GPU)

What is erroring:

  • Jitter menu on side - during playback or PVR
    • NUC5i3RYK
    • revert of https://github.com/xbmc/xbmc/pull/18812#issuecomment-734903719 as a potential fix.
  • ~was watching TV for some minutes and suddenly the audio sync error occurred. Stop and restart the channel again, all was fine again (means: no obvious audio sync errors on the same channel or others)~
    • ~@eldersixpack13~ - separated into #6187

heitbaum avatar Feb 01 '22 07:02 heitbaum

audio dropouts at the menu while playing something

2022-02-01 10:02:03.310 T:7326  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:02:10.272 T:7324     INFO <general>: Skipped 133 duplicate messages..
2022-02-01 10:02:10.272 T:7324     INFO <general>: CVideoPlayerAudio::Process - stream stalled
2022-02-01 10:02:10.284 T:7326  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:02:10.324 T:11373    INFO <general>: COutput::OnStartup: Output Thread created
2022-02-01 10:02:10.393 T:776      INFO <general>: VAAPI::Close
2022-02-01 10:02:10.393 T:7327     INFO <general>: COutput::OnExit: Output Thread terminated
2022-02-01 10:02:10.915 T:7326  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:02:19.564 T:7324     INFO <general>: Skipped 133 duplicate messages..
2022-02-01 10:02:19.564 T:7324     INFO <general>: CVideoPlayerAudio::Process - stream stalled
2022-02-01 10:02:19.596 T:7326  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:02:19.599 T:11408    INFO <general>: COutput::OnStartup: Output Thread created
2022-02-01 10:02:19.693 T:776      INFO <general>: VAAPI::Close
2022-02-01 10:02:19.693 T:11373    INFO <general>: COutput::OnExit: Output Thread terminated
2022-02-01 10:02:20.212 T:7326  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:02:28.671 T:7324     INFO <general>: Skipped 135 duplicate messages..
2022-02-01 10:02:28.671 T:7324     INFO <general>: CVideoPlayerAudio::Process - stream stalled
2022-02-01 10:02:28.695 T:7326  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:02:28.725 T:11441    INFO <general>: COutput::OnStartup: Output Thread created
2022-02-01 10:02:28.773 T:776      INFO <general>: VAAPI::Close
2022-02-01 10:02:28.773 T:11408    INFO <general>: COutput::OnExit: Output Thread terminated

CvH avatar Feb 01 '22 09:02 CvH

video flickering while switching from the menu to a channel

022-02-01 10:03:57.731 T:776      INFO <general>: VAAPI::Close - closing decoder context
2022-02-01 10:03:57.732 T:1543     INFO <general>: Deleting audio codec
2022-02-01 10:03:57.732 T:1543     INFO <general>: Closing stream player 3
2022-02-01 10:03:57.732 T:1543     INFO <general>: Closing stream player 4
2022-02-01 10:03:57.732 T:1543     INFO <general>: waiting for teletext data thread to exit
2022-02-01 10:03:57.732 T:7325    ERROR <general>: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
2022-02-01 10:03:57.732 T:7325     INFO <general>: thread end: data_thread
2022-02-01 10:03:57.738 T:776      INFO <general>: GLES: Selecting YUV 2 RGB shader
2022-02-01 10:03:57.769 T:800      INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-02-01 10:03:57.986 T:800      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "@:CARD=U5,DEV=0"
2022-02-01 10:03:57.991 T:800      INFO <general>: CAESinkALSA::Initialize - Opened device "surround51:CARD=U5,DEV=0"
2022-02-01 10:03:57.991 T:800      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-02-01 10:03:57.991 T:800      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2022-02-01 10:03:58.449 T:1543     INFO <general>: Opening stream: 1001 source: 256
2022-02-01 10:03:58.449 T:1543     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2022-02-01 10:03:58.450 T:1543     INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.000000 Hz (31) (weight: 194720.875)
2022-02-01 10:03:58.470 T:1543  WARNING <general>: OpenStream - Unsupported stream 1001. Stream disabled.
2022-02-01 10:03:58.470 T:1543     INFO <general>: Opening stream: 1004 source: 256
2022-02-01 10:03:58.470 T:1543     INFO <general>: Finding audio codec for: 86019
2022-02-01 10:03:58.471 T:1543     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2022-02-01 10:03:58.471 T:1543     INFO <general>: Creating audio thread
2022-02-01 10:03:58.471 T:11828    INFO <general>: running thread: CVideoPlayerAudio::Process()
2022-02-01 10:03:58.471 T:1543     INFO <general>: Opening stream: 1007 source: 256
2022-02-01 10:03:58.471 T:1543     INFO <general>: Opening stream: 1006 source: 256
2022-02-01 10:03:58.471 T:1543     INFO <general>: waiting for teletext data thread to exit
2022-02-01 10:03:58.472 T:1543     INFO <general>: Creating teletext data thread
2022-02-01 10:03:58.472 T:11829    INFO <general>: running thread: CDVDTeletextData
2022-02-01 10:03:58.474 T:776      INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2022-02-01 10:03:58.475 T:776      INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.000000 Hz (31) (weight: 0.000)
2022-02-01 10:03:58.496 T:1543     INFO <general>: Opening stream: 1001 source: 256
2022-02-01 10:03:58.496 T:1543     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2022-02-01 10:03:58.496 T:1543     INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.000000 Hz (31) (weight: 194720.875)
2022-02-01 10:03:58.510 T:1543     INFO <general>: Creating video codec with codec id: 27
2022-02-01 10:03:58.510 T:1543     INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2022-02-01 10:03:58.510 T:1543     INFO <general>: Creating video thread
2022-02-01 10:03:58.510 T:11830    INFO <general>: running thread: video_thread
2022-02-01 10:03:58.510 T:1543     INFO <general>: Opening stream: 1004 source: 256
2022-02-01 10:03:58.510 T:1543     INFO <general>: Closing stream player 3
2022-02-01 10:03:58.511 T:1543     INFO <general>: Opening stream: 1007 source: 256
2022-02-01 10:03:58.511 T:1543     INFO <general>: Opening stream: 1006 source: 256
2022-02-01 10:03:58.511 T:1543     INFO <general>: Opening stream: 1001 source: 256
2022-02-01 10:03:58.511 T:1543     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2022-02-01 10:03:58.512 T:11828    INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2022-02-01 10:03:58.512 T:11828    INFO <general>: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, no pass-through)
2022-02-01 10:03:58.512 T:1543     INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.000000 Hz (31) (weight: 194720.875)
2022-02-01 10:03:58.515 T:776      INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2022-02-01 10:03:58.515 T:11831    INFO <general>: COutput::OnStartup: Output Thread created
2022-02-01 10:03:58.515 T:776      INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.000000 Hz (31) (weight: 0.000)
2022-02-01 10:03:58.530 T:1543     INFO <general>: Opening stream: 1004 source: 256
2022-02-01 10:03:58.530 T:1543     INFO <general>: Finding audio codec for: 86019
2022-02-01 10:03:58.530 T:1543     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2022-02-01 10:03:58.530 T:1543     INFO <general>: Closing stream player 3
2022-02-01 10:03:58.530 T:1543     INFO <general>: Opening stream: 1007 source: 256
2022-02-01 10:03:58.530 T:1543     INFO <general>: Opening stream: 1006 source: 256
2022-02-01 10:03:58.532 T:800      INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-02-01 10:03:58.533 T:776      INFO <general>: [WHITELIST] Searching the whitelist for: width: 1280, height: 720, fps: 50.000, 3D: false
2022-02-01 10:03:58.534 T:776      INFO <general>: Display resolution ADJUST : 1920x1080 @ 50.000000 Hz (31) (weight: 0.000)
2022-02-01 10:03:58.743 T:800      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "@:CARD=U5,DEV=0"
2022-02-01 10:03:58.752 T:800      INFO <general>: CAESinkALSA::Initialize - Opened device "surround51:CARD=U5,DEV=0"
2022-02-01 10:03:58.753 T:800      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-02-01 10:03:58.753 T:800      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2022-02-01 10:03:58.913 T:11830 WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 10:04:00.194 T:11830    INFO <general>: Skipped 2 duplicate messages..
2022-02-01 10:04:00.194 T:11830    INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 21818

CvH avatar Feb 01 '22 09:02 CvH

me is JoeAverage !

audio sync error happened suddently to me today and usually do not suffering from it. was watching TV for some minutes and suddenly the audio sync error occured. stop and restart the channel again, all was fine again (means: no obvious audio sync errors on the same channel or others)

debug was off (will try to get a log with debug on)

+++ EDIT +++ bug seems not to be reproduceable (currently letting the TV running, with debug on and a tail -f /storage/.kodi/temp/kodi.log) ffmpeg throws sporadic some errors. I let debug ON ...

audiosync_error.txt

added below by @heitbaum

2022-02-01 13:22:33.395 T:1091     INFO <general>: CVideoSyncGbm::Setup: opened (fd:0 crtc:51 seq:18191 ns:303906613789:303947250731)
2022-02-01 13:22:33.398 T:560      INFO <general>: VideoPlayer::OpenFile: pvr://channels/tv/All%20channels/pvr.hts_1508701777.pvr
2022-02-01 13:22:33.399 T:1092     INFO <general>: Creating InputStream
2022-02-01 13:22:33.400 T:1092     INFO <general>: Creating Demuxer
2022-02-01 13:22:34.165 T:1092     INFO <general>: Opening stream: 1001 source: 256
2022-02-01 13:22:34.165 T:1092  WARNING <general>: OpenStream - Unsupported stream 1001. Stream disabled.
2022-02-01 13:22:34.165 T:1092     INFO <general>: Opening stream: 1002 source: 256
2022-02-01 13:22:34.165 T:1092     INFO <general>: Finding audio codec for: 86016
2022-02-01 13:22:34.167 T:1092     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp2
2022-02-01 13:22:34.167 T:1092     INFO <general>: Creating audio thread
2022-02-01 13:22:34.167 T:1093     INFO <general>: running thread: CVideoPlayerAudio::Process()
2022-02-01 13:22:34.167 T:1092     INFO <general>: Opening stream: 1004 source: 256
2022-02-01 13:22:34.167 T:1092     INFO <general>: waiting for teletext data thread to exit
2022-02-01 13:22:34.169 T:1092     INFO <general>: Creating teletext data thread
2022-02-01 13:22:34.169 T:1094     INFO <general>: running thread: CDVDTeletextData
2022-02-01 13:22:34.209 T:1092     INFO <general>: Opening stream: 1001 source: 256
2022-02-01 13:22:34.209 T:1092     INFO <general>: Creating video codec with codec id: 27
2022-02-01 13:22:34.209 T:1092     INFO <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2022-02-01 13:22:34.209 T:1092     INFO <general>: Creating video thread
2022-02-01 13:22:34.209 T:1095     INFO <general>: running thread: video_thread
2022-02-01 13:22:34.210 T:1092     INFO <general>: Opening stream: 1002 source: 256
2022-02-01 13:22:34.210 T:1092     INFO <general>: Opening stream: 1004 source: 256
2022-02-01 13:22:34.210 T:1092     INFO <general>: Opening stream: 1001 source: 256
2022-02-01 13:22:34.210 T:1092     INFO <general>: Opening stream: 1002 source: 256
2022-02-01 13:22:34.210 T:1092     INFO <general>: Finding audio codec for: 86016
2022-02-01 13:22:34.210 T:1092     INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp2
2022-02-01 13:22:34.210 T:1092     INFO <general>: Opening stream: 1004 source: 256
2022-02-01 13:22:34.212 T:1096     INFO <general>: COutput::OnStartup: Output Thread created
2022-02-01 13:22:34.217 T:1093     INFO <general>: Creating audio stream (codec id: 86016, channels: 2, sample rate: 48000, no pass-through)
2022-02-01 13:22:34.218 T:927      INFO <general>: CActiveAESink::OpenSink - initialize sink
2022-02-01 13:22:34.220 T:927      INFO <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=PCH,DEV=0"
2022-02-01 13:22:34.222 T:927      INFO <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=PCH,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"
2022-02-01 13:22:34.222 T:927      INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2022-02-01 13:22:34.222 T:927      INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE
2022-02-01 13:22:34.261 T:560      INFO <general>: GLES: Selecting single pass rendering
2022-02-01 13:22:34.261 T:560      INFO <general>: GLES: Selecting YUV 2 RGB shader
2022-02-01 13:22:34.265 T:560      INFO <general>: GLES: Selecting single pass rendering
2022-02-01 13:22:34.478 T:560      INFO <general>: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
2022-02-01 13:22:34.995 T:1095  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 13:22:36.429 T:1095     INFO <general>: Skipped 2 duplicate messages..
2022-02-01 13:22:36.429 T:1095     INFO <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 20000
2022-02-01 13:24:50.314 T:926   WARNING <general>: ActiveAE - large audio sync error: -89556.235466
2022-02-01 13:25:01.712 T:926   WARNING <general>: ActiveAE - large audio sync error: -89554.020351
2022-02-01 13:25:08.711 T:926   WARNING <general>: ActiveAE - large audio sync error: -90277.964491
2022-02-01 13:25:11.074 T:1137     INFO <general>: COutput::OnStartup: Output Thread created
2022-02-01 13:25:12.032 T:1093     INFO <general>: CVideoPlayerAudio::Process - stream stalled
2022-02-01 13:25:12.387 T:1095  WARNING <general>: OutputPicture - timeout waiting for buffer
2022-02-01 13:25:12.969 T:560      INFO <general>: VAAPI::Close
2022-02-01 13:25:12.969 T:1096     INFO <general>: COutput::OnExit: Output Thread terminated
2022-02-01 13:25:17.421 T:926   WARNING <general>: ActiveAE - large audio sync error: -1021.618603
2022-02-01 13:25:17.470 T:926   WARNING <general>: ActiveAE - large audio sync error: -1016.153423
2022-02-01 13:25:17.521 T:926   WARNING <general>: ActiveAE - large audio sync error: -1026.482323
2022-02-01 13:25:17.571 T:926   WARNING <general>: ActiveAE - large audio sync error: -1036.792501
2022-02-01 13:25:17.671 T:926   WARNING <general>: ActiveAE - large audio sync error: -1060.487929
2022-02-01 13:25:17.721 T:926   WARNING <general>: ActiveAE - large audio sync error: -1070.807275

eldersixpack13 avatar Feb 01 '22 23:02 eldersixpack13

flickering during channel switching

remote/keyboard is this: https://www.orbsmart.de/produkte/orbsmart-am-1/

channel switched via up/down-key at 00:37:04.791 without flickering channel switched via number key pad at 00:38:08.719 with flickering

what flickers: top and buttom area (width: ~5 cm each) and the displayed number until the tunning to the new channel has finished (< 5 sec)

I have a channel running selected from EPG and then switch. No menue pops up here, cause it's set to off (see: PVR & Live TV settings)

debug was on

kodi.log

eldersixpack13 avatar Feb 01 '22 23:02 eldersixpack13

Flickering is fixed after reverting this commit.

https://github.com/xbmc/xbmc/pull/18812#issuecomment-734903719

smp79 avatar Feb 02 '22 00:02 smp79

ping @heitbaum wouldn't it be better to move the audio sync bug to another thread ? as said it seem the audio sync bug is a tricky one, sorta: when "moon phases and weather" met at least here.

ping @CvH comments/rotten fruits ?

eldersixpack13 avatar Feb 03 '22 19:02 eldersixpack13

"ActiveAE - large audio sync error" usually means there was some sort of issue with the transport stream. This is not something specific to Generic/GBM.

smp79 avatar Feb 03 '22 19:02 smp79

@smp79 quiet clear to me. that's why I suggested to split "audio sync error" out to another bug report, even when I assume that the flickering bug will be fixed soon.

@CvH is to blame ;-) he misled me to post the audio sync error here, too

eldersixpack13 avatar Feb 03 '22 19:02 eldersixpack13

it seems "moon phase and weather" met...

opened a new report: https://github.com/LibreELEC/LibreELEC.tv/issues/6187

eldersixpack13 avatar Feb 03 '22 21:02 eldersixpack13

that's why I suggested to split "audio sync error" out to another bug report

not sure thats something different, my bug happens after I switched from any video back to the menu (while video is still playing), ~5secs later the audio drops out - wasn't happening with x11 build (didn't tested a recent one)

CvH avatar Feb 04 '22 07:02 CvH

@CvH which "menu" is meant, channel menu ?

eldersixpack13 avatar Feb 04 '22 11:02 eldersixpack13

audio sync Error and Flickering seems to be fixed (never seen again since some longer time now) therefore I closed my separat opened audio sync bug report (#6187) on request of @heitbaum today

@CvH, what's up with your issues here ?

eldersixpack13 avatar Apr 15 '22 14:04 eldersixpack13

@eldersixpack13 just ran the x11 builds without any problems for ~2 months now, switched to yesterdays gbm build and the issues appear right away again :( It worked for ~30min perfect, then the issues happen every 2-3min, even after reboot. I am not sure if maybe a thermic aspect results in that problem ? Could be pure coincidence, need to run it a bit more.

So far GBM is basically not usable at my NUC.

CvH avatar May 07 '22 11:05 CvH

I tried the current master on a Tiger Lake based Acer EN2580 nettop and came across an annoying issue. Sometimes when trying to switch from 1080p to a 4K video mode it fails. The top left corner of the image will become zoomed to a full screen and it stays like that until I restart Kodi. This shows up in the log when the failure occur: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument)

Never seen anything like that on my Gemini Lake box.

@heitbaum have you experienced a similar problem on your TGL-based NUC?

smp79 avatar May 08 '22 01:05 smp79

I tried the current master on a Tiger Lake based Acer EN2580 nettop and came across an annoying issue. Sometimes when trying to switch from 1080p to a 4K video mode it fails. The top left corner of the image will become zoomed to a full screen and it stays like that until I restart Kodi. This shows up in the log when the failure occur: CDRMAtomic::DrmAtomicCommit - test commit failed: (Invalid argument)

Never seen anything like that on my Gemini Lake box.

@heitbaum have you experienced a similar problem on your TGL-based NUC?

I have seen it. Not for while though. I’ll put a note to check the log next time it happens. I’m running bleeding edge on the daily - and it has been very stable last couple of months - only issue I have been having is loosing audio and needing to restart the nuc to fix it (last time was at least a week ago.)

heitbaum avatar May 08 '22 04:05 heitbaum

Note: End user lose of audio issue

  • https://forum.libreelec.tv/thread/25590-intel-nuc-too-slow-looking-for-an-other-device/?postID=169466#post169466
  • Wonder if it is the same issue..

heitbaum avatar May 08 '22 22:05 heitbaum

I have seen it.

I figured out how to reproduce. Opened this kodi issue. This seem to be affecting only Tiger Lake.

smp79 avatar Jun 02 '22 23:06 smp79

I have updated to NUC11PAHi7/NUC11PABi7, BIOS PATGL357.0046.2022.0608.1909 06/08/2022 with no issues yet to report. The newer 0xa4 microcode was not included in the bios.

The release notes mention a number of video and audio fixes.

  • https://www.intel.com/content/www/us/en/download/19694/bios-update-patgl357.html
  • https://downloadmirror.intel.com/736382/PA_0046_ReleaseNotes.pdf
=== tested on ===
Generic.x86_64-devel-20220701093209-f449b38
Linux nuc11 5.18.9-rc1 #1 SMP Fri Jul 1 09:32:51 UTC 2022 x86_64 GNU/Linux
Starting Kodi (20.0-ALPHA1 (19.90.701) Git:20.0a1-Nexus). Platform: Linux x86 64-bit
Using Release Kodi x64
Kodi compiled 2022-07-01 by GCC 12.1.0 for Linux x86 64-bit version 5.18.9 (332297)
Running on LibreELEC (heitbaum): devel-20220701093209-f449b38 11.0, kernel: Linux x86 64-bit version 5.18.9-rc1
FFmpeg version/source: 4.4-Kodi
Host CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores available
[    0.000000] microcode: microcode updated early to revision 0xa4, date = 2022-02-01
[    0.000000] DMI: Intel(R) Client Systems NUC11PAHi7/NUC11PABi7, BIOS PATGL357.0046.2022.0608.1909 06/08/2022
CApplication::CreateGUI - trying to init gbm windowing system
RetroPlayer[PROCESS]: Registering process control for GBM
CApplication::CreateGUI - using the gbm windowing system
EGL_VENDOR = Mesa Project
GL_RENDERER = Mesa Intel(R) Xe Graphics (TGL GT2)
GL_VERSION = OpenGL ES 3.2 Mesa 22.1.3
libva info: VA-API version 1.15.0
vainfo: VA-API version: 1.15 (libva 2.15.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 (3c47f4538fc)

heitbaum avatar Jul 01 '22 12:07 heitbaum

just a heads up, the same issue with gbm with todays build - just that it took longer to actually happen (no idea how that works out) x11 still works like a charm

CvH avatar Sep 11 '22 13:09 CvH

I'm running nightly-20220910-f329064 with GBM (and GBM since month) I sporadic see some of this error's "ActiveAE - large audio sync error: -89441.302337", when I explicit look in my log files, but I don't notice them when running SAT-TV, means: No hickup or such.

even on my worst SAT-TV channel I have here, which is according to a manual search on my DigiBit R1: ntv, vox (TP:77, Freq: 12188) with Signalqualität: only 33 and Signalstärke: only 24. (for comparison the best values I could get here: 81, 27) anyway, with the both worst values I do not have "Continuity Errors " or such (WEB-IF TvH: Status) or noticeable sync error at large. currently only six above audio sync errors 30 minutes ago (running tail -f ~/.kodi/temp/kodi.log)

I'm not running audio passthrough

eldersixpack13 avatar Sep 11 '22 18:09 eldersixpack13

ping @CvH

you're aware of a newer bios (in case you haven't the last) release note doesn't mention anythings what could fix your issue, but who knows ...

https://www.intel.de/content/www/de/de/download/18082/bios-update-rybdwi35.html

I usually do: bios install, reset to defaults, configure my special bios settings

P.S. if unknown: It seems I have fixed my issue with a complete fresh install in April

eldersixpack13 avatar Sep 17 '22 19:09 eldersixpack13

I moved from the TGL to ADL yesterday. Just moved the nvme across - and all continued to work (I am running mesa 22.2rc and kernel 6.0rc) the only issue I have had with GBM is sometimes loosing Audio (pass through) and having to reboot to fix.

heitbaum avatar Sep 18 '22 00:09 heitbaum

AMD Athlon 5350 Kabini, so likewise not the intel driver https://forum.libreelec.tv/thread/26560-libreelec-nexus-11-beta1/?postID=176262#post176262

CvH avatar Jan 29 '23 20:01 CvH

AMD Athlon 5350 Kabini, so likewise not the intel driver https://forum.libreelec.tv/thread/26560-libreelec-nexus-11-beta1/?postID=176262#post176262

as I was CC'ed (though I was reading this thread and was waiting for the fix to land in nightly) anyway thanks @CvH ! :-)

my box is an intel NUC8i3. with today's GBM nightly (20230129-c2ff0c7) the flickering bug is still there. though I couldn't figure if it's already in nightly !

somewhere I read something like "couldn't reproduce":

with the keyboard/remote from above fifth comment in this thread I could switch channels in 3 diff. ways

  • up/down button where the "OK" is (frontside)
  • with cursor keys (backside, bottom right)
  • with directly keying in the number (top row, backside) and with the last I (mostly) see flickering for ~3 seconds until the new channel has settled : a) the displayed number I keyed in jumps out of the middle ( back and forth) and b) the top and bottom bar "pumps"

one could also easily reproduce it by doing the following:

  • run a local movie
  • pause (not stop) it
  • go to EPG
  • start a TV channel l see the display is flickering for ~3 seconds

maybe i need to mention: I have some options ON in config menu "Player":

  • adjust display refresh rate: on start/stop
  • sync playback to display

and in config menu "System" :

  • a whitelist what my monitor can do
  • allow 3:2 pulldown refresh rates
  • allow double refresh rate

to me (no developer here) it seems that the content of the previous channel/movie is still in an buffer when I switch channels. that left over gets thrown to the display until the buffer is filled with the correct content of the new channel

???!

eldersixpack13 avatar Jan 29 '23 21:01 eldersixpack13

thanks @smp79 !

eldersixpack13 avatar Mar 12 '23 18:03 eldersixpack13

https://github.com/xbmc/xbmc/issues/22921 is not backportable to Kodi 20 because its basically a new feature

@sarbes did a fix that is worth a try if it works and should be easily backportable kodi-200.01-video_clear.patch

CvH avatar Mar 12 '23 18:03 CvH

@sarbes did a fix that is worth a try if it works and should be easily backportable

It works

smp79 avatar Mar 12 '23 18:03 smp79

"it works" and I would image it could fix another observation: when I start the box (default starts to EPG) and directly view a TV channel the temperature of the box (sometimes) stays at ~33°.

when I temporary leave the TV channel view and play with LE config menu (e.g. to check the CPU/GPU temperature) the temperature goes up to ~40° and usually stays there until I stop the TV channel. - don't know... -

P.S. I'm on LE 12 (someone need to be the alpha tester ...)

P.P.S to me it's sufficing that the bugs/shortcomings of LE are getting ironed out (anytime); exactly when is my minor interest (clear: as long as the bugs aren't hardcore regressions or such)

Thanks everyone !

eldersixpack13 avatar Mar 12 '23 19:03 eldersixpack13

"it works" and I would image it could fix another observation: when I start the box (default starts to EPG) and directly view a TV channel the temperature of the box (sometimes) stays at ~33°.

when I temporary leave the TV channel view and play with LE config menu (e.g. to check the CPU/GPU temperature) the temperature goes up to ~40° and usually stays there until I stop the TV channel. - don't know... -

P.S. I'm on LE 12 (someone need to be the alpha tester ...)

P.P.S to me it's sufficing that the bugs/shortcomings of LE are getting ironed out (anytime); exactly when is my minor interest (clear: as long as the bugs aren't hardcore regressions or such)

Thanks everyone !

Thanks for the feedback. Good to hear it’s going well.

heitbaum avatar Mar 17 '23 10:03 heitbaum

@heitbaum

maybe I wrote a somewhat misleading comment: "it works" is a cit. of @smp79, cause "the eagle hasn't landed, yet" (AFAIK, patch isn't in Kodi/LE, yet).

apart from that LE 12 runs well here ! Thanks @All

eldersixpack13 avatar Mar 17 '23 16:03 eldersixpack13