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: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-31

On your setup it switches to:
Quote:<mode id="0x108" name="1920x1080i" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>

Why? :-)


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-31

Can you get me the output of /usr/lib/kodi/kodi-xrandr | pastebinit _while_ playing this file? And also a mediainfo of the file, please.


RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-10-31

This while playing this file: http://sprunge.us/UNJX

Allgemein
UniqueID/String : 213925585409738909903445892426632317604 (0xA0F091AF4CD8DF10B6FF3A2EAB50CAA4)
Vollständiger Name : Y:\Download\Serie.S02E01.mkv
Format : Matroska
Format-Version : Version 4 / Version 2
Dateigröße : 2,33 GiB
Dauer : 55min
Gesamte Bitrate : 5 965 Kbps
Kodierungs-Datum : UTC 2015-09-18 12:18:02
Kodierendes Programm : mkvmerge v8.2.0 ('World of Adventure') 64bit
verwendete Encoder-Bibliothek : libebml v1.3.1 + libmatroska v1.4.2
DURATION : 00:55:49.440000000
NUMBER_OF_FRAMES : 104670
NUMBER_OF_BYTES : 187568640
_STATISTICS_WRITING_APP : mkvmerge v8.2.0 ('World of Adventure') 64bit
_STATISTICS_WRITING_DATE_UTC : 2015-09-18 12:18:02
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : High@L4
Format-Einstellungen für CABAC : Ja
Format-Einstellungen für ReFrames : 4 frames
Codec-ID : V_MPEG4/ISO/AVC
Dauer : 55min
Bitrate : 5 015 Kbps
Breite : 1 920 Pixel
Höhe : 1 080 Pixel
Bildseitenverhältnis : 16:9
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 25,000 FPS
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8 bits
Scantyp : progressiv
Bits/(Pixel*Frame) : 0.097
Stream-Größe : 1,96 GiB (84%)
Default : Ja
Forced : Nein
colour_range : Limited
colour_primaries : BT.709
transfer_characteristics : BT.709
matrix_coefficients : BT.709

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format_Settings_ModeExtension : CM (complete main)
Format-Einstellungen für Endianess : Big
Codec-ID : A_AC3
Dauer : 55min
Bitraten-Modus : konstant
Bitrate : 384 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Side: L R, LFE
Samplingrate : 48,0 KHz
Video Verzögerung : 862ms
Stream-Größe : 154 MiB (6%)
Sprache : Deutsch
Default : Ja
Forced : Nein

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Format_Settings_ModeExtension : CM (complete main)
Format-Einstellungen für Endianess : Big
Codec-ID : A_AC3
Dauer : 55min
Bitraten-Modus : konstant
Bitrate : 448 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Side: L R, LFE
Samplingrate : 48,0 KHz
Stream-Größe : 179 MiB (8%)
Sprache : Englisch
Default : Nein
Forced : Nein


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-31

That looks at least fine. I think we need a sample of this file, you can create one while using dd if=myfile.mkv of=sample.mkv bs=1M count=100

So let's hope the issue is present in the first 100 MB


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-10-31

framerate switch works perfectly, thank you


RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-10-31

(2015-10-31, 20:35)fritsch Wrote: That looks at least fine. I think we need a sample of this file, you can create one while using dd if=myfile.mkv of=sample.mkv bs=1M count=100

So let's hope the issue is present in the first 100 MB

The judder isn´t at the same postion, it´s after a few minutes, i uploaded a sample with 200 MB at the end i get this judder.

http://www.filedropper.com/sample_5

It´s not only this file, i tried a least 5 different files all with 25hz.
Sometime it played fine for 10min and then i´ll get the judder sometime it´s after a few minutes.

Same files played on a friends beebox 3150 same problem (also your javis build)

Thx for helping


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-31

Download started - does it work _anywhere_? :-) If you have the time, please try a 5.95.5/ Isengard build from an USB stick as reference, please.


RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-10-31

(2015-10-31, 23:48)fritsch Wrote: Download started - does it work _anywhere_? :-) If you have the time, please try a 5.95.5/ Isengard build from an USB stick as reference, please.

At least they are working on the Dune Base 3d ;-), but i sold mine and switched to kodi :-)


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-31

Ah - passthrough you said. Need to wait until tomorrow - don't run anything passthrough here ... if you want, please make a longer Debug Log in your old log I only see AE resyncing as video / audio goes out of sync - but it's directly before you press stop - so I don't know exactly.

Edit: Without passthrough everything is fine :-)


RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-11-01

Passthrough yes, thats the problem ;-) Without it plays fine for me too.
It was a few second before i stopped, there are also no skipped frames shown in codecinfo.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-01

Okay - I had the chance to test it, here is the Debug Log: http://paste.ubuntu.com/13048898/

All fine, no issue with AC3, see the RAW, RAW opening - don't get confused by my Spamming EPG ...

Curious on your longer Debug Log

Hardware: Asrock N3150 Braswell.


RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-11-01

Longer Debug Log: http://pastebin.com/beXW4pxr


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-01

Quote:23:17:35 T:140411037267712 DEBUG: CDVDClock:Big Griniscontinuity - CVideoPlayerAudio::OutputPacket - was:350108076.625000, should be:350098075.534467, error:-10001.090533

Yeah - this one. Let's wait for Fernet .. passthrough is always a pain. Does not look that heavy at all :-)


RE: New Era: VAAPI with EGL interoperation - a5ian300zx - 2015-11-01

I wanted to test the water with linux build on my i5 Haswell Nuc so will test this. Many Thanks


RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-11-01

(2015-11-01, 00:38)fritsch Wrote:
Quote:23:17:35 T:140411037267712 DEBUG: CDVDClock:Big Griniscontinuity - CVideoPlayerAudio::OutputPacket - was:350108076.625000, should be:350098075.534467, error:-10001.090533

Yeah - this one. Let's wait for Fernet .. passthrough is always a pain. Does not look that heavy at all :-)

Ok,it wasn´t so heavy, normally it´s quiet heavier.

Curious on Fernet feedback.