Video and audio freezing on Kodi - Get - asked for new data packet, with nothing
#16
(2015-03-09, 18:19)vitaoudi Wrote: You talk to mount the drive by fstab ?
Because already mount by fstab:

192.168.1.60:/mnt/HD/HD_b2/Filmes/ /home/victor/Movies nfs rw,hard,intr 0 0

Try a cifs mount.
Reply
#17
Before trying anything - please measure the throughput over time. E.g. copy a 20 GB file from one to the other computer and check the throughput you are getting.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#18
Does this patch help: https://github.com/fritsch/xbmc/commit/6...be3847596c (after your tests of course)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#19
(2015-03-09, 20:34)pcdude Wrote: Try a cifs mount.

My first mount was CIFS. I change to NFS because the problem, and improved somewhat


Fritsch ,

I measure and the speed is constant in this situation:
NAS -> ZBOX
8.38GiB 0:03:25 [ 67MiB/s]8.45GiB 0:03:28 [41.4MiB/s] [=========================================================>] 100%

but in ZBOX -> NAS was moment that speed drop to 900KiB/s, 1 MiB/s

8.45GiB 0:04:08 [34.8MiB/s] [=========================================================>] 100%

Look its funny, my last test i setting to cache to my SSD <cachemembuffersize>0</cachemembuffersize>, and this moment the video is all cached, then the problem remains:

18:24:18 T:140439515609024 DEBUG: ------ Window Deinit (VideoOSD.xml) ------
18:50:23 T:140437607347968 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
18:50:24 T:140437598955264 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
18:50:24 T:140437607347968 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
18:50:24 T:140437607347968 DEBUG: CPullupCorrection: pattern lost on diff 208541.666667, number of losses 1
18:50:29 T:140438163908352 DEBUG: CDVDPlayer::SetCaching - caching state 1
18:50:29 T:140438163908352 DEBUG: CDVDPlayer::SetCaching - caching state 4
18:50:29 T:140438163908352 DEBUG: CDVDPlayer::HandleMessages - player started 1
18:50:29 T:140437598955264 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError1 - was:1935253137.807843, should be:1930805935.537480, error:-4447202.270363
18:50:29 T:140437607347968 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
18:50:29 T:140438163908352 DEBUG: CDVDPlayer::HandleMessages - player started 2
18:50:29 T:140438163908352 DEBUG: CDVDPlayer::SetCaching - caching state 0
18:50:29 T:140437607347968 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:50:29 T:140437598955264 WARNING: Previous line repeats 2 times.
18:50:29 T:140437598955264 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError1 - was:1931444094.643480, should be:1931316000.000000, error:-128094.643480
18:50:31 T:140437598955264 DEBUG: CDVDClock:Big Griniscontinuity - CDVDPlayerAudio::HandleSyncError2 - was:1933322085.259000, should be:1933237654.964735, error:-84430.294265
18:50:34 T:140437607347968 DEBUG: CPullupCorrection: detected pattern of length 1: 41708.33, frameduration: 41708.333333



How do i install this patch file?
Reply
#20
Is it possible for you to test the nightly ppa? Caching behaviour and waiting for data was changed. Especially a blocking lock was removed - curious. Please backup your .kodi directory before doing so.

Code:
sudo apt-add-repository ppa:team-xbmc/xbmc-nightly
sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install kodi kodi-bin i965-va-driver vainfo
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#21
No sucess... Still "Get - asked for new data packet, with nothing available"


Complete log, I left all afternoon running several videos
randomly the freeze happens


http://paste.ubuntu.com/10576837/
Reply
#22
Come on:

Everytime:
Quote:18:15:00 T:140426748311296 NOTICE: service.libraryautoupdate-0.9.4 : Player is running, wait until finished
is running that happens - can you remove that, please?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#23
Ouh and your BYT might improve its performance with: http://forum.kodi.tv/showthread.php?tid=...pid1952152 (don't forget the firmware from the first post).
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#24
I remove the addon and until now no freeze after I configure cache like this:

<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>20</readbufferfactor>


I installed your kernel plus firmware from first page , But the cpu usage is very high around 100% on Last CPU(CPU3) and anothers 3 is arround 10% when play a video.

Is This correct?

I will running a few test for freeze .. and post the result here.
Reply
#25
That cache is not used for local content. Only the readbufferfactor does something.

Find out with top (via ssh) _if_ it's really the kodi process that consume that much CPU. I have a kernel issue in mind.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#26
It really is the kodi that is consuming all CPU .
Now the freezing problem improved, but this happening sometimes . Do you think that was the readbufferfactor ? Do i incresae that?

The log , I took out the addons around 23 hours.
http://paste.ubuntu.com/10579612/

I have a new error to :
ERROR: VAAPI :: CheckSuccess error : unknown error libva
Reply
#27
Please disable: VDPAU (not used on your machine) only costs time
Post a mediainfo of this mpeg-4 file

Mpeg-4/Divx and the like are out of a time where standards were not that "standaradized" as in h264 world. Under Video -> Acceleration (Expert Settings), please disable Mpeg-4 acceleration of VAAPI.

Edit: The error is caused by VDPAU trying to open the vaapi to vdpau wrapper which does not have glinterop, should go away with the pimary line of my reply.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#28
Hello,

I have some improves on problem of freezing, in 6 hours straight running test apparently occurred only 5 freezes .
And so far personally have not seen any freeze after increase the buffer factor.

The new log is
http://paste.ubuntu.com/10582255/

Now the consumption of CPU is high (100%) especially in 720p and 1080p videos . Before the average was 35%.

There is a POSSIBILITY gave perform a downgrade of Custom Kernel without formatting and mounting all system?
Because i try sudo apt-get remove *3.19.1* but i quite because a warning.
I already downgrade kernel a few times without warning and i had success but was official kernels
Reply
#29
yes, of course.

Just use dpkg -l |grep 3.19.1 to find out how the package is called and then use:

sudo apt-get remove --purge linux-image-3.19.1-legacy-turbo linux-headers-3.19.1-legacy-turbo
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#30
Using GRUB i test last two kernels and the CPU usage still 100% in one core.

Is possible the problem is in firmware(linux-firmware_1.143_all.deb) ?
How i know the default version from kodibuntu 14 ?


(2015-03-11, 23:38)fritsch Wrote: yes, of course.

Just use dpkg -l |grep 3.19.1 to find out how the package is called and then use:

sudo apt-get remove --purge linux-image-3.19.1-legacy-turbo linux-headers-3.19.1-legacy-turbo
Reply

Logout Mark Read Team Forum Stats Members Help
Video and audio freezing on Kodi - Get - asked for new data packet, with nothing0