Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 278
  • 279
  • 280(current)
  • 281
  • 282
  • 342
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
xorg.conf you can fixate the modes there with a simple xorg.conf -> but yet again I am not an Ubuntu help desk :-)

That howto has totally nothing to do with Ubuntu Desktop ... it works the very same with a server based installation. It just adds modelines.

Follow the howto from Post 1, install the kernel from drm-intel-nightly, use oibaf ppa on top and it will just work.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi Fritsch,

appreciate your help and understood it's something wich is not supported here in this thread. I did what your recommended...

Kernel DRM Nightly
Code:
wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.79.18_all.deb
sudo dpkg -i *linux-firmware*deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/current/linux-headers-4.9.0-994-generic_4.9.0-994.201612022354_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/current/linux-image-4.9.0-994-generic_4.9.0-994.201612022354_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/current/linux-headers-4.9.0-994_4.9.0-994.201612022354_all.deb
sudo dpkg -i *4.9*deb

OIBAF REP
Code:
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update && sudo apt-get dist-upgrade

It installed Kernel and latest driver for Intel. I can now see latest MESA in KODI System information.
However still no 50Hz :-(

I will now try to mod the xorg.conf as mentioned above and asked in the Ubuntu Forum for help.
If you have a link I would highly appreciate. I will post solution as soon as I got it solved.

Again thanks for your support and help

Alex
Reply
Post me the modeline that you added manually I will give you an xorg.conf (also post your Xorg.0.log so that I see the output device).
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi Fritsch,

thanks. So here is what did work on Ubuntu Desktop:

Code:
gtf 3850 2160 50

Output:
Code:
3840x2160 @ 50.00 Hz (GTF) hsync: 111.10 kHz; pclk: 586.61 MHz
  Modeline "3840x2160_50.00"  586.61  3840 4136 4560 5280  2160 2161 2164 2222  -HSync +Vsync

Code:
xrandr --newmode "3840x2160_50.00"  586.61  3840 4136 4560 5280  2160 2161 2164 2222  -HSync +Vsync

Code:
xrandr --addmode DP-1 3840x2160_50.00

And finally with
Code:
xrandr --output DP-1 --mode 3840x2160_50.00

it switched to the 50Hz.

I did not find an xorg.conf in /etx/X11. Do I have to initiate that first?

Thanks

Alex
Reply
it's in /var/log/Xorg.0.log ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Put that to /etc/X11/xorg.conf
Quote:Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "INTEL Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "DP1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080@50p" "[email protected]" "1920x1080@23p" "1920x1080@24p" "1920x1080@60p" "3840x2160@50p"
EndSubSection
EndSection

Section "Monitor"
Identifier "DP1"
HorizSync 14.0 - 70.0
VertRefresh 24.0 - 62.0
Option "PreferredMode" "1920x1080@50p"
Modeline "1920x1080@23p" 74.176 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@24p" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@50p" 148.500 1920 2448 2492 2640 1080 1084 1094 1125 +hsync +vsync
Modeline "[email protected]" 148.352 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@60p" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "3840x2160@50p" 586.610 3840 4136 4560 5280 2160 2161 2164 2222 -hsync +vsync
EndSection

I still need your /var/log/Xorg.0.log file cause without that I don't know the name of your DP1 which is an assumption above.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi Fritsch,

here is the log file you asked for:

http://pastebin.com/LujJDL4V

Quote:Put that to /etc/X11/xorg.conf

There's no xorg.conf in that folder so I assume to create it, right?

Thanks

Alex
Reply
yeah ...

Make sure it's DP1 for you not DP-1 (I edited the above post).
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
I recently updated and I've noticed the version has now bumped upto Kodi 18.0-ALPHA1 Git:xx. However I noticed it says Compiled: Nov 4 2012

How do I switch from nightly ppa to the kodi 17 stable?
Reply
There is no stable yet ... but once it's there you remove the nightly ppa (ppa-purge) and add the stable ppa and reinstall kodi - done.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi Fritsch,

it's working - thanks a lot. However I had to reinstall cause the experimental Intel Kernel did some nasty things :-) It's working with the Standard How-To from 1 Post and add your modified xorg.conf.

The only problem I have now is that a 4K Video is not really watchable as CPU on both cores is climbing up to 100% :-) I guess the G3900 is just a little bit too weak for this.

Thanks again you made my day :-)

Alex
Reply
I can't say without a Debug Log. Problems with Skylake is: 8bit HEVC works perfectly - but not HEVC-10 bit as it cannot decode them.

Post me a mediainfo of that file please and also:
DISPLAY=:0 xrandr -q | pastebinit
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi again,

unfortunatelly I got another issue which stopped me from further testing. As soon as I switch the Audio to the HDMI/DP it disconnects and does not appear before rebooting the system. When I switch to 1080P I can easily switch to audio.

I reinstalled the system, tested with 16.10 and 16.04. Upgraded to latest Intel Kernel and Updated Grafics but result is the same. So Maybe someone here can see an erron on the log files:
I rebooted it started to 2160P (60Hz) and the I switched the Audio to DP-1.


DISPLAY=:0 xrandr -q | pastebinit
http://paste.ubuntu.com/23579588/

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/23579603/

DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.39.2
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/23579604/

cat ~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/23579605/

dmesg | pastebinit
http://paste.ubuntu.com/23579606/

id | pastebinit
http://paste.ubuntu.com/23579607/

amixer | pastebinit
http://paste.ubuntu.com/23579608/

Thanks

Alex
Reply
Besides you run a too old kernel ... nothing.

Please use LibreELEC (Milhouse) - your issue has zero to do with kodi but is an operating system issue.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi Fritsch,

ok thanks same with the actual Millhouse release of Libreelec.
Maybe there's something wrong with the Mainboard. I will test another one and report back.

On the other side with Windows it works...

An in regards to Kernel I tested already latest Kernel (Intel Nightly) V4.9 and it had the same issue.

Thanks

Alex
Reply
  • 1
  • 278
  • 279
  • 280(current)
  • 281
  • 282
  • 342

Logout Mark Read Team Forum Stats Members Help
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server18