Kodi Community Forum

Full Version: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(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
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
(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?
?
I said the issues showed in your first post are gone.
Your latest log does not show any issues.
(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
Feel free! Currently riding a snowboard :-) thx much!

We should file an upstream bug as well!
added to the howto
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?
See the how-to. It mentions!
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
?
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.
OT mode on :

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

OT mode off!
(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).
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
$
right, ubuntu 16.04's package doesn't include it, but should use the intel driver by default