•   
  • 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 339
  •   
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS).
Reply
(2015-08-13, 03:52)cford1905 Wrote: Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS).

No logs, no issue.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2015-08-13, 01:23)trsqr Wrote: I mentioned yesterday that there seems to be some strange behaviour when it comes to memory usage of kodi. With the OpenELEC build from post #2 it crashes after watching n videos (where n seems to be something between 50 and 100 in my system). After each video, kodi seems to consume more memory according to system info page. The system became unusable when memory usage was at 72%.

Then I prepared an ubuntu system according to post #1 and #2. The memory usage is approximately 300 megs when I start kodi. After each video it seems to raise a bit. I took screen shots from the situation and stored them at http://trsqr.net/kodi . Strange thing is, the memory consumption reaches 83% (on my 4GB RAM system that corresponds to Kodi using 3120 MB RAM), but never goes further from that. Also, the system stays completely usable. When I quit Kodi everything is fine and all memory is available. When I start it again, this sequence starts from the beginning.

I did run valgrind with parameters --logfile=filename, --leak-check=full and --undef-value-errors=no, but the results do not show anything. The result is in the text file in the above link.

Another strange thing is, that if I disable VA-API from Kodi settings, the memory usage stays at around 300 megs no matter how many times I watch Big Buck Bunny. With VA-API enabled, it seemed to go up 5-30 MB after each video viewing. It seemed to grow fastest when using the video http://distribution.bbb3d.renderfarming....normal.mp4 .

dmesg: http://paste.ubuntu.com/12066513/
dpkg -l: http://paste.ubuntu.com/12065976/
vainfo: http://paste.ubuntu.com/12066521/
kodi.log with debugging, watched two movies with VA-API and exited (memory usage was 500 megs at that point): http://paste.ubuntu.com/12066571/

Can I somehow further debug this?

Thx much. Currently travelling for work ... will See when I get time again :-(

Edit: kodigrind.txt is not accessible.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
how do you measure memory usage? you know that Linux may consume mem for its own purposes and give it to apps on request. this memory is not flagged as free mem.
Reply
(2015-08-12, 14:26)wsnipex Wrote: your mesa is most probably missing the NV12 extension. But since you cut the log, I'm just guessing

(2015-08-12, 15:06)fritsch Wrote: Yeah +1 - the mesa extension is missing. Either build mesa git (master) or pick the patches wsnipex ships in his repository.

Hi,
Thanks for your support, this is my full kodi log

http://pastebin.com/mgXMThgm

As you can see, I'm already using mesa GIT release (10.7.0-devel - 26/07/2015), so I dunno why this extension is missing...
Reply
(2015-08-13, 06:19)fritsch Wrote:
(2015-08-13, 03:52)cford1905 Wrote: Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS).

No logs, no issue.

Here are the logs that you mentioned in post 1. To clarify, KODI doesn't crash.

http://paste.ubuntu.com/12069345/
http://paste.ubuntu.com/12069350/
http://paste.ubuntu.com/12069352/
http://paste.ubuntu.com/12069357/
Reply
(2015-08-13, 09:52)pxpert Wrote:
(2015-08-12, 14:26)wsnipex Wrote: your mesa is most probably missing the NV12 extension. But since you cut the log, I'm just guessing

(2015-08-12, 15:06)fritsch Wrote: Yeah +1 - the mesa extension is missing. Either build mesa git (master) or pick the patches wsnipex ships in his repository.

Hi,
Thanks for your support, this is my full kodi log

http://pastebin.com/mgXMThgm

As you can see, I'm already using mesa GIT release (10.7.0-devel - 26/07/2015), so I dunno why this extension is missing...

Not a Debug Log (but many, many banned addons installed). Please follow the howto for Ubuntu, which is the topic of this thread. We have no clue what gentoo currently does.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2015-08-13, 10:00)cford1905 Wrote:
(2015-08-13, 06:19)fritsch Wrote:
(2015-08-13, 03:52)cford1905 Wrote: Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS).

No logs, no issue.

Here are the logs that you mentioned in post 1. To clarify, KODI doesn't crash.

http://paste.ubuntu.com/12069345/
http://paste.ubuntu.com/12069350/
http://paste.ubuntu.com/12069352/
http://paste.ubuntu.com/12069357/

Same issues with local files?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2015-08-13, 13:05)fritsch Wrote:
(2015-08-13, 09:52)pxpert Wrote:
(2015-08-12, 14:26)wsnipex Wrote: your mesa is most probably missing the NV12 extension. But since you cut the log, I'm just guessing

(2015-08-12, 15:06)fritsch Wrote: Yeah +1 - the mesa extension is missing. Either build mesa git (master) or pick the patches wsnipex ships in his repository.

Hi,
Thanks for your support, this is my full kodi log

http://pastebin.com/mgXMThgm

As you can see, I'm already using mesa GIT release (10.7.0-devel - 26/07/2015), so I dunno why this extension is missing...

Not a Debug Log (but many, many banned addons installed). Please follow the howto for Ubuntu, which is the topic of this thread. We have no clue what gentoo currently does.

Aaah sorry, here is it, with debug enabled!

http://pastebin.com/yu21Dqbt
Reply
Nope - no idea. Please use Ubuntu as this is what the howto is about ...

On gentoo you are alone. Start with debugging permissions, then mesa compile flags and so on ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
mmmh... could it be due to missing gles1 and gles2 support in mesa? I'll tryito recompile mesa with them and let you know Wink

PS. do you know if latest stable mesa (10.6.2) can handle that extension?
Reply
No it does not have it. Please - this is not a gentoo support thread ... use the howto cause that's what this thread is about.
P1: http://cgit.freedesktop.org/mesa/mesa/co...72b25d9bb9
P2:http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd865d56d2229d8c5d7ea893ac1dba525d88e647
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Compiling latest GIT mesa (which required and update to llvm 3.6.2), and enabling glesX seems to have solved the problem.
Now it plays smootly!

Thanks for your support (and your patience Smile )
Reply
We don't use gles with X11, we use OpenGL.
Reply
(2015-08-13, 13:06)fritsch Wrote:
(2015-08-13, 10:00)cford1905 Wrote:
(2015-08-13, 06:19)fritsch Wrote: No logs, no issue.

Here are the logs that you mentioned in post 1. To clarify, KODI doesn't crash.

http://paste.ubuntu.com/12069345/
http://paste.ubuntu.com/12069350/
http://paste.ubuntu.com/12069352/
http://paste.ubuntu.com/12069357/

Same issues with local files?

Thanks for geting back to me. I tried with the same video from my local Downloads folder. The issue stopped completely.

It looks like an issue with non-local files. I also tried playing other videos from my NAS and had the same issue. Issues were exactly the same as in my original post. Could it be a buffering issue? Before updating I was running on Kodi 15 on Ubuntu Server 14.04 and did not have any issues. I read in someplace that there were some issues with samba in 15.04. I'm currently using kernel 3.19. Does it make any sense to go up to 4.1?
Reply
  •   
  • 1
  • 17
  • 18
  • 19(current)
  • 20
  • 21
  • 339
  •   



Logout Mark Read Team Forum Stats Members Help
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server18
This forum uses Lukasz Tkacz MyBB addons.