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 - Rumpelstiltskin - 2018-03-11

(2018-03-11, 16:15)fritsch Wrote:
(2018-03-11, 15:57)Rumpelstiltskin Wrote: I run it :
Quote:[Unit]
 Description=Job that runs Kodi
 After=default.target graphical.target getty.target sound.target
[Service]
 User=kodi
 Restart=always
 RestartSec=1s
AE_SINK=ALSA
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
[Install]
 WantedBy=default.target

So i dont have a wm  

Why not following this how-to you currently highjack? :-)  
 now run it in openbox : see the

DETAILED log
only video log


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - FernetMenta - 2018-03-11

now the problems indicated by your first log are gone


10:34:02.306 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-27091.608817, adjusted:-41708.333333
10:34:05.165 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:25594.026520, adjusted:41708.333333
10:34:09.165 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-27141.565297, adjusted:-41708.333333
10:34:10.307 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:23795.476816, adjusted:41708.333333
10:34:17.187 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-27184.440038, adjusted:-41708.333333

according to the log, video should be fine


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-03-11

(2018-03-11, 17:39)FernetMenta Wrote: now the problems indicated by your first log are gone


10:34:02.306 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-27091.608817, adjusted:-41708.333333
10:34:05.165 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:25594.026520, adjusted:41708.333333
10:34:09.165 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-27141.565297, adjusted:-41708.333333
10:34:10.307 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:23795.476816, adjusted:41708.333333
10:34:17.187 T:140513934833408 DEBUG: CDVDClock::ErrorAdjust - CVideoPlayerAudio::OutputPacket - error:-27184.440038, adjusted:-41708.333333

according to the log, video should be fine
Ok and thanks for ur support Smile
Now i have audio problem ? 

CVideoPlayerAudio::OutputPacket - error:-27184.440038, adjusted:-41708.333333

is this a delay?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - FernetMenta - 2018-03-11

?
I said the issues showed in your first post are gone.
Your latest log does not show any issues.


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

(2018-03-10, 19:36)wsnipex Wrote:
Code:
cd /etc/X11/xorg.conf.d/
sudo ln -s /usr/share/doc/xserver-xorg-video-intel/xorg.conf 10-intel.conf
reboot
 @fritsch this should be added to the howto


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

Feel free! Currently riding a snowboard :-) thx much!

We should file an upstream bug as well!


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

added to the howto


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-03-13

I wanted to thank you because it seems to be fine (except some soap opera effects but I think it's my my samsung tv ks8000)

I would like to ask you again for advice: in the video settings, in your opinion, what is the best combination between Deinterlace method and Video scaling mode?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-03-15

See the how-to. It mentions!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Schenckmeier - 2018-03-18

I followed the tut from the beginning but i don't have the directory on my Ubuntu 17.10:
Code:
/etc/X11/xorg.conf.d/

Can it be that the right lines are:
Code:
cd /usr/share/X11/xorg.conf.d/
sudo ln -s /usr/share/doc/xserver-xorg-video-intel/xorg.conf 10-intel.conf
?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-03-18

No you should not symlink to /usr/share cause this does belong to the distribution. Just create the directory:

Code:
sudo mkdir -p /etc/X11/xorg.conf.d

I updated it on page 1.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Rumpelstiltskin - 2018-03-18

OT mode on :

@fritsch : just a curiosity: which /htpc pc and tv do you have?

OT mode off!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-03-18

(2018-03-18, 16:23)Rumpelstiltskin Wrote: OT mode on :

@fritsch : just a curiosity: which /htpc pc and tv do you have?

OT mode off!
Nothing fancy. Currently a self-build Apollo Lake J4205 by ASRock with a FLIRC remote and and SSD. I replace the Board / memory quite often and only keep the Case / Power Supply. One does not buy a htpc for many years :-) Therefore consider the "max 200 rule" -> never spend more than 200 bucks (not including flirc, remote).


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Stanislav - 2018-03-20

Hmm. I don't have that file /usr/share/doc/xserver-xorg-video-intel/xorg.conf on my 16.04. 

Code:

$ ls -l /usr/share/doc/xserver-xorg-video-intel
total 64
-rw-r--r-- 1 root root 866 Nov 10 2016 changelog.Debian.gz
-rw-r--r-- 1 root root 19126 Nov 10 2016 copyright
-rw-r--r-- 1 root root 32298 Mar 25 2016 NEWS.gz
-rw-r--r-- 1 root root 1671 Mar 25 2016 README
-rw-r--r-- 1 root root 642 Nov 10 2016 README.Debian
$ dpkg -l | grep video-intel
ii xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 amd64 X.Org X server -- Intel i8xx, i9xx display driver
$ dpkg -L xserver-xorg-video-intel | grep conf
$



RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - wsnipex - 2018-03-20

right, ubuntu 16.04's package doesn't include it, but should use the intel driver by default