Kodi Community Forum
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955)



RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tutu - 2016-12-04

Can I safely upgrade to 16.10? Do I need to remove the wnipex ppa's first? (as no yakketty builds)

/etc/apt/sources.list.d
Quote:-rw-r--r-- 1 root root 130 Aug 29 15:01 wsnipex-ubuntu-vaapi-xenial.list
-rw-r--r-- 1 root root 130 Aug 29 15:01 wsnipex-ubuntu-vaapi-xenial.list.save
-rw-r--r-- 1 root root 166 Aug 29 15:01 wsnipex-ubuntu-xbmc-fernetmenta-master-xenial.list
-rw-r--r-- 1 root root 166 Aug 29 15:01 wsnipex-ubuntu-xbmc-fernetmenta-master-xenial.list.save



RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tutu - 2016-12-05

Anyone else have an issue that some times you goto kodi and quit - it doesn't go back to terminal?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-05

Anyone else without a Debug Log spamming this thread?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tutu - 2016-12-05

Your right, but I have observed the reason it hang on shutdown is because it continues to scan my SMB share - which isn't connected right now.

I can see the kodi.log continue to say:

19:01:54.332 T:140160947709696 WARNING: Process directory 'smb://DEFIANT/sdc1/TV Series/xx/' does not exist - skipping scan.
19:01:54.337 T:140160947709696 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 03:36


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-05

So - why do you ask in that thread if you exactly know what the issue is?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tutu - 2016-12-05

Aha well I was prompted to investigate it when you asked for a log Smile


Strange Behaviour - MicTie - 2016-12-07

I realized that updating my Video-Database (app 2000 movies) suddenly takes several hours, when it usually took a couple of minutes.

Further investigation shows that
* Kodi is constantly accessing one of the Samba-shares, with no WARNING or ERROR seen.
Code:
....
16:21:33.924 T:139867270928128   DEBUG: OpenDir: Using authentication url smb://[email protected]/HDD1/Movies/Burke%20And%20Hare%20(2010)
16:21:34.222 T:139867270928128   DEBUG: OpenDir: Using authentication url smb://[email protected]/HDD1/Watched%20Movies/Call%20Girl.2012
16:21:34.432 T:139867270928128   DEBUG: OpenDir: Using authentication url smb://[email protected]/HDD1/Watched%20Movies/Captain%20(2011)
.....
* There is another NFS-Video-Source connected, which never shows up in log.
* Other devices show no strange behaviour accessing this samba-share
* I was suspecting some access-right problems, so I added the username into the source, but no change
* starting a new database also did not change anything
* CPU usage is at app 80%, which slows down everything
* cleaning the library takes about 3 min, but I not sure if it's really cleaned, because afterwards at a re-scan I still find entries of removed movies in the log-file

Here is the logs:
dpkg -l |grep mesa --> http://paste.ubuntu.com/23592490/
DISPLAY=:0 vainfo --> http://paste.ubuntu.com/23592493/
cat ~/.kodi/temp/kodi.log --> http://paste.ubuntu.com/23592494/
dmesg --> http://paste.ubuntu.com/23592499/
id --> http://paste.ubuntu.com/23592501/
amixer --> http://paste.ubuntu.com/23592502/

Maybe you can help me to understand what is going on

Thanks!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-07

It's a generic kodi bug - please file on trac.kodi.tv


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - MicTie - 2016-12-08

OK, I have reported it at trac.kodi.tv
Thank you!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - MicTie - 2016-12-09

As I am still fighting with my permanent samba-accesses reported in #4207, I am looking for alternatives.

So I replaced the Video-Source from 'smb' to 'ftp' and I face a similar problem: now I see permanent a permanent 'ftp' -scanning
Code:
...
15:32:07.007 T:139671522764544   DEBUG: CurlFile::Open(0x7f07cf7fa110) ftp://USERNAME:[email protected]:21/Dramas/Moon%20Lovers%20Scarlet%20Heart%20Ryeo%20(2016)/
15:32:07.022 T:139671505979136   DEBUG: CurlFile::Open(0x7f07ce7f8110) ftp://USERNAME:[email protected]:21/Watched%20Movies/Gran%20Torino%20(2008)/
15:32:07.091 T:139671531157248   DEBUG: CurlFile::Open(0x7f07cfffb110) ftp://USERNAME:[email protected]:21/Movies/Swiss%20Army%20Man%20(2016)/
15:32:07.266 T:139671505979136   DEBUG: CurlFile::Open(0x7f07ce7f8110) ftp://USERNAME:[email protected]:21/Watched%20Movies/Grand%20Piano%20(2013)%20%5B1080p%5D/
...
( this server does not support NFS, so I am limited to SMB and FTP)

My question at the moment:
what is preferable: mount the shares on Ubuntu-level (via /etc/fstab), or mount them on Kodi-level which I am doing at the moment ??


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - wsnipex - 2016-12-09

definitely: mount the shares on Ubuntu-level (via /etc/fstab)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - andyxm715 - 2016-12-10

I have just upgraded from a 1080p tv to a 4k one, was getting stuck with kodi running at a 4k resolution with the option to change it greyed out, did a fresh install of ubuntu server but still having the same problem, does anyone have any idea how to force kodi to run at 1080p 60hz

DISPLAY=:0 vainfo | pastebinit - http://paste.ubuntu.com/23605969/
dpkg -l |grep mesa | pastebinit - http://paste.ubuntu.com/23605987/
dmesg | pastebinit - http://paste.ubuntu.com/23605998/
id | pastebinit - http://paste.ubuntu.com/23606001/
amixer | pastebinit - http://paste.ubuntu.com/23606003/
cat ~/.kodi/temp/kodi.log | pastebinit - http://paste.ubuntu.com/23606012/


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-10

You don't run kodi from this thread and you don't have debug logging enabled aaand the kernel is too old for the N3700 and the intel driver is also ... but not a kodi problem.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - gurabli - 2016-12-14

I see that after an update I have Kodi v18 installed. Which ppa shouls I use if I want to stay on v17, and how can I downgrade now to v17 (of course keeping all the VAAPI goodies here, which to my knowledge are already on v17). Thanks

Sent from my Xperia Z3 Compact


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - lovemachine - 2016-12-14

(2016-12-14, 07:24)gurabli Wrote: I see that after an update I have Kodi v18 installed. Which ppa shouls I use if I want to stay on v17, and how can I downgrade now to v17 (of course keeping all the VAAPI goodies here, which to my knowledge are already on v17). Thanks

Sent from my Xperia Z3 Compact (typie typie)

See the Linux installation guide on the Download page. Scroll down to the instructions on downgrading. Remove Nightly PPA, add Unstable PPA.