rpi2 + live TV + MMAL decoder = wrong framerate
#16
You enabled debug logging 10 minutes after the system started, of course there's not much information in the log! You need to enable debug logging as soon as the system starts (or enable debug logging and reboot so that debug is enabled immediately), then reproduce your problem (play a video etc.), and then finally, upload the whole log.

This is too hard.

/unsubscribed
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#17
yes it is very many hard Big Grin

new debug log

*debug enabled from boot till shutdown
*no video played since problem is not with playback, just booted, idling, shutdown
*problem is happening all the time kodi is up an running (RSS scroll freezes every infotoggleinterval secs)
*overlay debug display shows GUI frame drop (60->20FPS) in time of RSS freeze
*cannot tell if debug overlay display freezes too since it's refresh rate is similar to freeze period


we should focus on CPVRGUIInfo:Tonguerocess and not on empty logs Wink If you can please put some LOGDEBUGs there and compile it for rpi2, we can narrow it to specific function call....
Reply
#18
(2015-07-22, 00:58)a1bert Wrote: we should focus on CPVRGUIInfo:Tonguerocess and not on empty logs Wink If you can please put some LOGDEBUGs there and compile it for rpi2, we can narrow it to specific function call....

you seem to be knowledgeable in this area. please go ahead and do so.
Reply
#19
NO! NO! you made public promise that If i provide logs I will get the help!.. just kidding...

any link to cross compiler settings guide (amd64->rpi2)?
Reply
#20
checkout this doc for building for RPi: https://github.com/xbmc/xbmc/blob/master...aspberrypi
Reply
#21
this should fix stuttering https://github.com/xbmc/xbmc/pull/7587
Reply
#22
Thanks, it will be in the next test build later this evening.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#23
thanx, looks good here.....
Reply
#24
(2015-07-23, 00:33)a1bert Wrote: thanx, looks good here.....

does this mean it has fixed the issue?
Reply
#25
yes, RSS feed is scrolling smoothly....

UPDATE:

*RSS feed scrolling, menu browsing is smooth without live playback
*with live playback problem still persisting causing video stuck (bufferring, VNSI: no data, VNSI encrypted messages).
*when I start playing the same channel as played on kodi at the same time from my PC by streamdev-server (I get no buffering, VNSI: no data, VNSI encrypted messages, stream is played continuously on kodi
*lagging is also noticeable when browsing channels in "channels" GUI, in EPG scrolling there too


your last patch releases lock in UpdateBackendCache, but that something "expensive" is still there, affecting PVR Gui and live playback but not the recordings playback (or recording playback is more resistant to it)??

can I increase live tv playback buffer?
Reply
#26
I am not skilled coder but isn't there another lock in the CPVRClients::GetBackendProperties()

Code:
std::vector<SBackend> CPVRClients::GetBackendProperties() const
{
  std::vector<SBackend> backendProperties;
  CSingleLock lock(m_critSection);

I am suspecting client->GetRecordingsAmount() is taking too long in my setup....
Reply
#27
after temporarily disabling my GetRecordingsAmount() thus speeding up CPVRClients::GetBackendProperties():

* RSS feed (channel browsing, epg scrolling) NO LONGER stucks when playing live TV
* live tv playback STILL FREEZES with "bufferring, VNSI: no data, VNSI encrypted" (workaround*)

conclusion: I am experiencing 2 different problems:

1) slowness on VDR server side affects kodi GUI probably by locking in CPVRClients::GetBackendProperties()

2) live TV playback is suffering buffer underruns

* if I start playing the same live channel through vdr's streamdev server, kodi playback resumes, when I stop it kodi playback stops too...
Reply
#28
Did you try setting priority to 0? vnsi config dialog
Reply
#29
(2015-07-23, 10:08)a1bert Wrote: I am not skilled coder but isn't there another lock in the CPVRClients::GetBackendProperties()

Code:
std::vector<SBackend> CPVRClients::GetBackendProperties() const
{
  std::vector<SBackend> backendProperties;
  CSingleLock lock(m_critSection);

I am suspecting client->GetRecordingsAmount() is taking too long in my setup....

thanks for the pointer:
https://github.com/xbmc/xbmc/pull/7596
Reply
#30
Ehm excuse me! it was set to -1, now live TV playbacks looks OK.. will continue testing...
Reply

Logout Mark Read Team Forum Stats Members Help
rpi2 + live TV + MMAL decoder = wrong framerate0