Posts by trex_daemon
-
-
-
-
-
I've noticed that unless the adjust display refresh is set, when watching live tv I've getting
CodeFeb 10 19:13:53 LibreELEC kernel: vidioc_qbuf skip: index:199056:199055 Feb 10 19:13:53 LibreELEC kernel: vidioc_qbuf skip: index:199058:199057 Feb 10 19:13:53 LibreELEC kernel: vidioc_qbuf skip: index:199060:199059 Feb 10 19:13:55 LibreELEC kernel: vidioc_qbuf skip: index:199164:199163 Feb 10 19:13:55 LibreELEC kernel: vidioc_qbuf skip: index:199166:199165 Feb 10 19:13:55 LibreELEC kernel: vidioc_qbuf skip: index:199168:199167 Feb 10 19:13:59 LibreELEC kernel: vidioc_qbuf skip: index:199379:199378
quite frequently.
I've read that this is an amlogic issue mostly. Is there no fix for it ? It's also visible on screen, as some frames are indeed skipped.
Frame skips happen all the time if the video is running inside a window (like when browsing the channel list)
-
It seems I've fixed the issue by resetting in Kodi the audio settings and re-setting back the same parameters.
Code
Display More.1", username="root", client="Kodi Media Center" Feb 04 22:47:03 LibreELEC kernel: vfm_map_store:rm default Feb 04 22:47:03 LibreELEC kernel: vfm_map_store:add default decoder ppmgr deinterlace amlvideo amvideo Feb 04 22:47:03 LibreELEC kernel: codec:vdec_create instance ffffff8004191000, total 1 Feb 04 22:47:03 LibreELEC kernel: codec:Video stbuf alloced at 000000006a700000, secure = 0, size = 3145728 Feb 04 22:47:03 LibreELEC kernel: codec:vdec_init, dev_name:amvdec_h264, vdec_type=VDEC_TYPE_SINGLE Feb 04 22:47:03 LibreELEC kernel: codec:vdec_init set vfm decoder ffffff8004191000 Feb 04 22:47:03 LibreELEC kodi.sh[6072]: OPEN es DEVICE Feb 04 22:47:03 LibreELEC kernel: decoder_bmmu_box_alloc_box, tvp_flags = 0 Feb 04 22:47:03 LibreELEC kernel: codec:H264 sysinfo: 1920x1080 duration=3840, pts_outside=1, Feb 04 22:47:03 LibreELEC kernel: codec:reset_userdata_fifo, bInit=1, wi=0, ri=0, rp=0, wp=0 Feb 04 22:47:03 LibreELEC kernel: codec:vdec_request_irq ffffffc0014b9590, vh264-irq Feb 04 22:47:03 LibreELEC kernel: DI: di_receiver_event_fun: vframe provider reg Feb 04 22:47:03 LibreELEC kodi.sh[6072]: [codec_pause]p->has_audio=0 Feb 04 22:47:03 LibreELEC kodi.sh[6072]: video_pause! Feb 04 22:47:03 LibreELEC kernel: set run_early_proc_fun_flag to 1 Feb 04 22:47:03 LibreELEC kernel: tv_vout: vout [tv_set_vframe_rate_hint] duration = 3840, policy = 1! Feb 04 22:47:03 LibreELEC kernel: tv_vout: tv_set_vframe_rate_hint: sent uevent FRAME_RATE_HINT=3840 Feb 04 22:47:03 LibreELEC kernel: codec:vdec_init, vf_provider_name = Feb 04 22:47:03 LibreELEC kernel: codec:video first pts = 0 Feb 04 22:47:03 LibreELEC kernel: codec:vdec_request_irq ffffffc0014a99c8, parser Feb 04 22:47:03 LibreELEC kernel: [tsync_avevent]event:1, param 1 Feb 04 22:47:03 LibreELEC kernel: video pause! Feb 04 22:47:03 LibreELEC kernel: codec:video_freerun_mode_store(1) Feb 04 22:47:03 LibreELEC kernel: codec:video first checkin pts = 1bc60 Feb 04 22:47:03 LibreELEC kernel: codec:first check in vpts <0x26:0x1bc60> ok! Feb 04 22:47:03 LibreELEC kernel: codec:Enter set parameter cmd1. Feb 04 22:47:03 LibreELEC kernel: codec:vdec1 video changed to 3840 x 2160 60 fps clk->648MHZ Feb 04 22:47:03 LibreELEC kernel: codec:actual_dpb_size 11 max_dpb_size 5 max_ref 5 Feb 04 22:47:03 LibreELEC kernel: codec:video first pts = 1bc60 Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: I2S playback disable Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: IEC958 playback disable Feb 04 22:47:03 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2, same source mode(1) Feb 04 22:47:03 LibreELEC kernel: aml_spdif_dai: share the same clock Feb 04 22:47:03 LibreELEC kernel: aml_audio_hw: IEC958 PCM32 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: aout notify rate 44100 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: aout notify size 32 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: no update Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: i2s/958 same source Feb 04 22:47:03 LibreELEC kernel: audio_dsp: buf=0 Feb 04 22:47:03 LibreELEC kernel: audio_dsp: IEC958_mode_raw=0 Feb 04 22:47:03 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, runtime->channels=2, same source mode(1) Feb 04 22:47:03 LibreELEC kernel: aml_spdif_dai: share the same clock Feb 04 22:47:03 LibreELEC kernel: aml_audio_hw: IEC958 PCM32 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: aout notify rate 48000 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: aout notify size 32 Feb 04 22:47:03 LibreELEC kernel: hdmtix: set audio Feb 04 22:47:03 LibreELEC kernel: hdmitx tx_aud_src = 0 Feb 04 22:47:03 LibreELEC kernel: hdmitx: fs = 3, cd = 4, tmds_clk = 74250 Feb 04 22:47:03 LibreELEC kernel: hdmitx aud_n_para = 6144 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: Audio Type: PCM Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: set audio param Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: i2s/958 same source Feb 04 22:47:03 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, runtime->channels=2, same source mode(1) Feb 04 22:47:03 LibreELEC kernel: aml_spdif_dai: share the same clock Feb 04 22:47:03 LibreELEC kernel: aml_audio_hw: IEC958 PCM32 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: aout notify rate 48000 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: aout notify size 32 Feb 04 22:47:03 LibreELEC kernel: hdmitx: audio: no update Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: i2s/958 same source Feb 04 22:47:03 LibreELEC kernel: channel count should be 8, we got 2 aborting Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: I2S playback enable Feb 04 22:47:03 LibreELEC kernel: aml_snd_m8_card aml_m8_snd.40: IEC958 playback enable Feb 04 22:47:03 LibreELEC kernel: pre_de_buf_config: source change: 0x0/0/0/0=>0x8009/1920/1080/0 Feb 04 22:47:05 LibreELEC kernel: codec:video_disable_store(0) Feb 04 22:47:05 LibreELEC kernel: DI: recycle_keep_buffer recycle keep cur di_buf 7 ( Feb 04 22:47:05 LibreELEC kernel: DI: 2 Feb 04 22:47:05 LibreELEC kernel: DI: 5 Feb 04 22:47:05 LibreELEC kernel: DI: 6 Feb 04 22:47:05 LibreELEC kernel: DI: ) Feb 04 22:47:05 LibreELEC kernel: vpts to scr, apts = 0x0, vpts = 0x1bc60 Feb 04 22:47:05 LibreELEC kernel: codec:[video4osd] first picture {1920,1080} pts:1ca70, Feb 04 22:47:05 LibreELEC kernel: vidioc_qbuf skip: index:21948:21947 Feb 04 22:47:05 LibreELEC kernel: codec:[video4osd] first picture {1920,1080} pts:0, Feb 04 22:47:05 LibreELEC kernel: codec:VsyncEnableVideoLayer Feb 04 22:47:05 LibreELEC kernel: tx queueing Feb 04 22:47:05 LibreELEC kernel: codec:finished correct frame dur Feb 04 22:47:05 LibreELEC kernel: codec: new=3840,old_duration=3840,cnt=25
Now the audio source seems to be detected as not DTS-HD. Pretty strange, as all the settings from Kodi are the same.
-
I've also observed on latest builds that the audio sometimes is not working until a new restart. I'll provide a log soon, but what I saw is that it starts complaining on an mp3 playback that expected channels were 2, found 8...
I'm using passthrough for all avaia;able formats (DTS, DTS-HD, AC3, etc.)
After restart everything gets back to normal.
Actually after some testing it seems the issue happens mostly with Live TV streams from tvheadend.
Here's the log;
Code
Display MoreFeb 04 22:27:56 LibreELEC tvheadend[3150]: mpegts: 11361.75H in Astra 19.2E - tuning on Sundtek DVB-S/S2 (VI) #1 : DVB-S #0 Feb 04 22:27:59 LibreELEC tvheadend[3150]: subscription: 0006: "127.0.0.1 [ root | Kodi Media Center ]" subscribing on channel "zdf_neo HD", weigx: 150, adapter: "Sundtek DVB-S/S2 (VI) #1 : DVB-S #0", network: "Astra 19.2E", mux: "11361.75H", provider: "ZDFvision", service: "zdf_neo HD", profile="htsp", hostname="127.0.0.1", username="root", client="Kodi Media Center" Feb 04 22:27:59 LibreELEC kernel: tx queueig Feb 04 22:28:00 LibreELEC kodi.sh[6072]: OPEN es DEVICE Feb 04 22:28:00 LibreELEC kodi.sh[6072]: codec_init amstream version : 2.0 Feb 04 22:28:00 LibreELEC kernel: vfm_map_store:rm default Feb 04 22:28:00 LibreELEC kernel: vfm_map_store:add default decoder ppmgr deinterlace amlvideo amvideo Feb 04 22:28:00 LibreELEC kernel: codec:vdec_create instance ffffff8003b8d000, total 1 Feb 04 22:28:00 LibreELEC kernel: codec:Video stbuf alloced at 000000006a700000, secure = 0, size = 3145728 Feb 04 22:28:00 LibreELEC kernel: codec:vdec_init, dev_name:amvdec_h264, vdec_type=VDEC_TYPE_SINGLE Feb 04 22:28:00 LibreELEC kernel: codec:vdec_init set vfm decoder ffffff8003b8d000 Feb 04 22:28:00 LibreELEC kernel: decoder_bmmu_box_alloc_box, tvp_flags = 0 Feb 04 22:28:00 LibreELEC kernel: codec:H264 sysinfo: 1280x720 duration=1920, pts_outside=1, Feb 04 22:28:00 LibreELEC kernel: codec:reset_userdata_fifo, bInit=1, wi=151, ri=0, rp=0, wp=0 Feb 04 22:28:00 LibreELEC kernel: codec:vdec_request_irq ffffffc0014b9590, vh264-irq Feb 04 22:28:00 LibreELEC kernel: DI: di_receiver_event_fun: vframe provider reg Feb 04 22:28:00 LibreELEC kodi.sh[6072]: [codec_pause]p->has_audio=0 Feb 04 22:28:00 LibreELEC kodi.sh[6072]: video_pause! Feb 04 22:28:00 LibreELEC kernel: set run_early_proc_fun_flag to 1 Feb 04 22:28:00 LibreELEC kernel: tv_vout: vout [tv_set_vframe_rate_hint] duration = 1920, policy = 1! Feb 04 22:28:00 LibreELEC kernel: tv_vout: tv_set_vframe_rate_hint: sent uevent FRAME_RATE_HINT=1920 Feb 04 22:28:00 LibreELEC kernel: codec:vdec_init, vf_provider_name = Feb 04 22:28:00 LibreELEC kernel: codec:video first pts = 0 Feb 04 22:28:00 LibreELEC kernel: codec:vdec_request_irq ffffffc0014a99c8, parser Feb 04 22:28:00 LibreELEC kernel: [tsync_avevent]event:1, param 1 Feb 04 22:28:00 LibreELEC kernel: video pause! Feb 04 22:28:00 LibreELEC kernel: codec:video first checkin pts = 1632a Feb 04 22:28:00 LibreELEC kernel: codec:first check in vpts <0x35:0x1632a> ok! Feb 04 22:28:00 LibreELEC kernel: codec:Enter set parameter cmd1. Feb 04 22:28:00 LibreELEC kernel: codec:vdec1 video changed to 3840 x 2160 60 fps clk->648MHZ Feb 04 22:28:00 LibreELEC kernel: codec:actual_dpb_size 15 max_dpb_size 9 max_ref 7 Feb 04 22:28:00 LibreELEC kernel: codec:video first pts = 1632a Feb 04 22:28:00 LibreELEC kernel: pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0 Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: aiu 958 playback disable Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2, same source mode(0) Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs Feb 04 22:28:00 LibreELEC kernel: aml_audio_hw: IEC958 16bit Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify rate 44100 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify size 16 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: no update Feb 04 22:28:00 LibreELEC kernel: audio_dsp: buf=0 Feb 04 22:28:00 LibreELEC kernel: audio_dsp: IEC958_mode_raw=0 Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, runtime->channels=2, same source mode(0) Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs Feb 04 22:28:00 LibreELEC kernel: aml_audio_hw: IEC958 16bit Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify rate 48000 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify size 16 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify format CT_DTS_HD Feb 04 22:28:00 LibreELEC kernel: hdmtix: set audio Feb 04 22:28:00 LibreELEC kernel: hdmitx tx_aud_src = 0 Feb 04 22:28:00 LibreELEC kernel: hdmitx: fs = 3, cd = 4, tmds_clk = 148352 Feb 04 22:28:00 LibreELEC kernel: hdmitx aud_n_para = 5824 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: Audio Type: DTS-HD Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: set audio param Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, runtime->channels=2, same source mode(0) Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs Feb 04 22:28:00 LibreELEC kernel: aml_audio_hw: IEC958 16bit Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify rate 48000 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: aout notify size 16 Feb 04 22:28:00 LibreELEC kernel: hdmitx: audio: no update Feb 04 22:28:00 LibreELEC kernel: aml_spdif_dai: aiu 958 playback enable Feb 04 22:28:01 LibreELEC kernel: vpts to scr, apts = 0x0, vpts = 0x1632a Feb 04 22:28:01 LibreELEC kernel: DI: recycle_keep_buffer recycle keep cur di_buf 9 ( Feb 04 22:28:01 LibreELEC kernel: DI: 8 Feb 04 22:28:01 LibreELEC kernel: DI: 7 Feb 04 22:28:01 LibreELEC kernel: DI: 6 Feb 04 22:28:01 LibreELEC kernel: DI: )
I can't really see anything that should be wrong.
Passthrough is always active, tried to disable it, but still no change.
I've tried also with a radio station, but still no sound.
Code
Display MoreFeb 04 22:37:15 LibreELEC tvheadend[3150]: mpegts: 12363V in Astra 19.2E - tuning on Sundtek DVB-S/S2 (VI) #1 : DVB-S #0 Feb 04 22:37:18 LibreELEC tvheadend[3150]: subscription: 0014: "127.0.0.1 [ root | Kodi Media Center ]" subscribing on channel "CHERIE FM", weigh: 150, adapter: "Sundtek DVB-S/S2 (VI) #1 : DVB-S #0", network: "Astra 19.2E", mux: "12363V", provider: "CSAT", service: "CHERIE FM", profile="htsp", hostname="127.0.0.1", username="root", client="Kodi Media Center" Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: aiu 958 playback disable Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2, same source mode(0) Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs Feb 04 22:37:18 LibreELEC kernel: aml_audio_hw: IEC958 16bit Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify rate 44100 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify size 16 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: no update Feb 04 22:37:18 LibreELEC kernel: audio_dsp: buf=0 Feb 04 22:37:18 LibreELEC kernel: audio_dsp: IEC958_mode_raw=0 Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, runtime->channels=2, same source mode(0) Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs Feb 04 22:37:18 LibreELEC kernel: aml_audio_hw: IEC958 16bit Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify rate 48000 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify size 16 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify format CT_DTS_HD Feb 04 22:37:18 LibreELEC kernel: hdmtix: set audio Feb 04 22:37:18 LibreELEC kernel: hdmitx tx_aud_src = 0 Feb 04 22:37:18 LibreELEC kernel: hdmitx: fs = 3, cd = 4, tmds_clk = 74250 Feb 04 22:37:18 LibreELEC kernel: hdmitx aud_n_para = 6144 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: Audio Type: DTS-HD Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: set audio param Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, runtime->channels=2, same source mode(0) Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: set normal 512 fs /4 fs Feb 04 22:37:18 LibreELEC kernel: aml_audio_hw: IEC958 16bit Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify rate 48000 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: aout notify size 16 Feb 04 22:37:18 LibreELEC kernel: hdmitx: audio: no update Feb 04 22:37:18 LibreELEC kernel: aml_spdif_dai: aiu 958 playback enable Feb 04 22:37:21 LibreELEC kernel: tx queueing Feb 04 22:37:27 LibreELEC kernel: tx queueing
Here it's interesting that audio type is detected to be DTS-HD. Actually I am pretty sure it's wrong, this radio station has MPEG3 format, and stereo.
-
I've also observed on latest builds that the audio sometimes is not working until a new restart. I'll provide a log soon, but what I saw is that it starts complaining on an mp3 playback that expected channels were 2, found 8...
I'm using passthrough for all avaia;able formats (DTS, DTS-HD, AC3, etc.)
After restart everything gets back to normal.
-
-
trex_daemon My DVBSky960 is detected with Crazycat in TVH as Montage Technology M88DS3103 #0 : DVB-S #0
I'm not sure there are different variation of that card.
After a second try and 2 reboots, the tuner is detected again.
Very strange, but now it works
-
-
-
No, with Odroid, but it's not recognized any more. With previous build it was working...
Actually something gets recognized, but no /dev/dvb/adapterx is created:
Code[ 3.625932@2] usb 1-1.1: new high-speed USB device number 3 using dwc_otg [ 3.726394@2] usb 1-1.1: New USB device found, idVendor=0572, idProduct=6831 [ 3.726406@2] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.726411@2] usb 1-1.1: Product: S960 [ 3.726416@2] usb 1-1.1: Manufacturer: Bestunar [ 3.726421@2] usb 1-1.1: SerialNumber: 20120511
-
Well, for me only LE default drivers and
DVB Drivers for TBS (CrazyCat) show up.
But unfortunately my DVBSKY S960 tuner stopped working with this release.
I've installed LE default drivers, but the tuner still doesn't show up...
The Sundtek SkyTV works, however.
I haven't tried yet.
Release rb-leia21 · Raybuntu/LibreELEC.tv · GitHub
New build:
-Caretaker Addon preinstalled. It detects malicious repo's or piracy addons and warns the user about it.
It can be disabled.
-DVB Driver Addons from CvH.
If you need additional Crazy Cat DVB drivers you need to enable the addon:
http://cvh.libreelec.tv/LibreELEC/9.0_Leia/le-addons.mp4
I wish everyone happy holidays and a happy new year.
-
I don't know if it's related, but since using this build i've experienced a couple of times during live tv playback a total lockup (the sound kept playing in a short looop - what was left in the buffer i suppose) but video was frozen and the Odroid was completely unreachable (Also from SSH).
It seems to be related, as I've flashed back previous version (19) and the random freezes are gone.
-
New build. Please remember to update your addons. Kodi API changed so some addons may bet disabled by default on first boot. You need to install updates from my repo and re-enable
those disabled binary addons (inputstream.adaptive).
Amlogic:
There are a few kodi patches I included from afl1 and adamg to improve video playback (hopefully).
Rockchip:
RetroPlayer works very well now on ROCK64. To enable games menu to you need to input a Konami code at Home Screen:
Up Up Down Down left right left right b a
Video Playback was improved too.
I don't know if it's related, but since using this build i've experienced a couple of times during live tv playback a total lockup (the sound kept playing in a short looop - what was left in the buffer i suppose) but video was frozen and the Odroid was completely unreachable (Also from SSH).
-
-