• 1
  • 210
  • 211
  • 212(current)
  • 213
  • 214
  • 342
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
(2016-02-16, 09:03)scf2k Wrote:
(2016-02-16, 00:02)fritsch Wrote: mediainfo or I am not interested

(2016-02-16, 00:56)noggin Wrote: Are they 8 or 10 bit? Are they 4:2:2 ? Are they interlaced ?

ProRes will rely entirely on CPU for decoding (there isn't a VAAPI ProRes implementation), though not sure if VAAPI rendering will deinterlace.

one http://pastebin.com/HiUiFi1r
two http://pastebin.com/VwqqzEYi
three http://pastebin.com/zecZ9s6Z

log http://pastebin.com/ssa629c4

Two may be a bit hopeful - it's 330Mbs 4:4:4, but one and three are 4:2:2 at sensible bitrates for ProRes 4:2:2.

As fritsch says, and as I suspect you realise, these will only be played back with CPU decode, and if the fffmpeg implementation is single-threaded it will require a pretty high spec CPU. From memory the ffmbc implementation of ProRes was a bit better than ffmpeg at one point, but I suspect the ffmbc stuff has been folded back into ffmpeg now. (Same is true for w3fdif and frame rate conversion code I hope. There's a not-terrible frame rate converter in ffmbc based on BBC work in the 80s. It's not Alchemist, but it is a lot better than frame drop/dupe)

I use ProRes 4:2:2 HQ 1080/50i a lot for my 'day job' and have no major issues with it in Quicktime player on a Quad Core i7 Macbook Pro (though no deinterlacing) and it plays back fine over a Thunderbolt HD-SDI/HDMI output device.

Not sure I've ever had much success with 'pro' codecs (ProRes, DNXHD, AVC Intra or DVC Pro HD) in Kodi though - I tend to transcode everything to 4:2:0 H264 if I want to play it in 'consumer' devices.
Reply
(2016-02-17, 15:54)movi Wrote: Hi

Just a simple question for those of us not using openelec and ubuntu, has all of this found it's way into upstream?

Yes - everything is in kodi v17 git repo. The drivers you need to search yourself. kernel (with the non upstream color range patch) you need to build yourself of course.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2016-02-17, 16:43)fritsch Wrote: Yes - everything is in kodi v17 git repo.

For ubuntu on braswell machines, is it still required to use FernetMenta ppa or xbmc-nightly ppa should be ok?
My guess would be yes for H.265 hw decoding...
Beebox N3150 - LibreELEC 7.90.009 | Synology DS212+ NAS 6TB
Panasonic DMP-BD65 bluray | Yamaha RX-A3030 AVR - Kef KHT3005SE 5.1 speakers | Optoma HD87 projector - Exclusiv-Home 2.8m 16:9 screen
Reply
No. All that code is pushed into kodi v17 branch.

You need the updated vaapi drivers / intel xorg drivers / modern kernel separately.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
In the case it was already working with FernetMenta ppa (as per the 1st post) a switch to xbmc-nightly ppa should not break it, right ?
Beebox N3150 - LibreELEC 7.90.009 | Synology DS212+ NAS 6TB
Panasonic DMP-BD65 bluray | Yamaha RX-A3030 AVR - Kef KHT3005SE 5.1 speakers | Optoma HD87 projector - Exclusiv-Home 2.8m 16:9 screen
Reply
(2016-02-17, 18:43)incubus Wrote: In the case it was already working with FernetMenta ppa (as per the 1st post) a switch to xbmc-nightly ppa should not break it, right ?

Yes.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2016-02-17, 10:44)scf2k Wrote:
(2016-02-17, 09:51)VirtualRain Wrote: Refresh rate changes are not handshaking properly between my Mac Mini and AVR, (I need to unplug-replug the HDMI cable on every refresh rate change to get a signal)

You have this in EVERY change? There is a bug in intel driver which is not fixed yet. It makes handshakes to fail, but not always in my case.

I don't know. My workaround of running the GUI at 23.98 eliminates the need to change refresh rate on 99% of my content. It fails to Handshake on the odd video that's not 23.98.

Is there anything I can do to force Kodi GUI to 23.98 after booting without diving into the settings menu?
Reply
Good! Many thanks fritsch!
Beebox N3150 - LibreELEC 7.90.009 | Synology DS212+ NAS 6TB
Panasonic DMP-BD65 bluray | Yamaha RX-A3030 AVR - Kef KHT3005SE 5.1 speakers | Optoma HD87 projector - Exclusiv-Home 2.8m 16:9 screen
Reply
(2016-02-17, 18:46)VirtualRain Wrote:
(2016-02-17, 10:44)scf2k Wrote:
(2016-02-17, 09:51)VirtualRain Wrote: Refresh rate changes are not handshaking properly between my Mac Mini and AVR, (I need to unplug-replug the HDMI cable on every refresh rate change to get a signal)

You have this in EVERY change? There is a bug in intel driver which is not fixed yet. It makes handshakes to fail, but not always in my case.

I don't know. My workaround of running the GUI at 23.98 eliminates the need to change refresh rate on 99% of my content. It fails to Handshake on the odd video that's not 23.98.

Is there anything I can do to force Kodi GUI to 23.98 after booting without diving into the settings menu?

DISPLAY=:0 /usr/lib/kodi/kodi-xrandr --mode 0xWTF <- whatever your 23.98 mode is ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2016-02-17, 18:48)fritsch Wrote:
(2016-02-17, 18:46)VirtualRain Wrote:
(2016-02-17, 10:44)scf2k Wrote: You have this in EVERY change? There is a bug in intel driver which is not fixed yet. It makes handshakes to fail, but not always in my case.

I don't know. My workaround of running the GUI at 23.98 eliminates the need to change refresh rate on 99% of my content. It fails to Handshake on the odd video that's not 23.98.

Is there anything I can do to force Kodi GUI to 23.98 after booting without diving into the settings menu?

DISPLAY=:0 /usr/lib/kodi/kodi-xrandr --mode 0xWTF <- whatever your 23.98 mode is ...

Hmmm... Thanks, but I'm guessing this is going to cause a failed refresh rate change/handshake on boot. Currently, after a restart I go into settings, select 23.98 for GUI which causes a failed refresh rate change. I then pull/replug the HDMI to get a signal and I'm good to go until a restart. I gather this is still going to require an HDMI cord pull. I'm trying to find a solution that doesn't require my lazy ass to get off the couch Smile
Reply
Fix the cause of the problem ... not its symptomes -> bugs.freedesktop.org
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Why do you have to change refresh rate each boot? It's a saved setting. What am I missing?
Reply
(2016-02-17, 18:57)VirtualRain Wrote: Hmmm... Thanks, but I'm guessing this is going to cause a failed refresh rate change/handshake on boot. Currently, after a restart I go into settings, select 23.98 for GUI which causes a failed refresh rate change. I then pull/replug the HDMI to get a signal and I'm good to go until a restart. I gather this is still going to require an HDMI cord pull. I'm trying to find a solution that doesn't require my lazy ass to get off the couch Smile

In my case switching source on AVR to something else and back helps restoring the signal.
Reply
(2016-02-17, 16:41)noggin Wrote: Two may be a bit hopeful - it's 330Mbs 4:4:4, but one and three are 4:2:2 at sensible bitrates for ProRes 4:2:2.

As fritsch says, and as I suspect you realise, these will only be played back with CPU decode, and if the fffmpeg implementation is single-threaded it will require a pretty high spec CPU. From memory the ffmbc implementation of ProRes was a bit better than ffmpeg at one point, but I suspect the ffmbc stuff has been folded back into ffmpeg now. (Same is true for w3fdif and frame rate conversion code I hope. There's a not-terrible frame rate converter in ffmbc based on BBC work in the 80s. It's not Alchemist, but it is a lot better than frame drop/dupe)

I use ProRes 4:2:2 HQ 1080/50i a lot for my 'day job' and have no major issues with it in Quicktime player on a Quad Core i7 Macbook Pro (though no deinterlacing) and it plays back fine over a Thunderbolt HD-SDI/HDMI output device.

Not sure I've ever had much success with 'pro' codecs (ProRes, DNXHD, AVC Intra or DVC Pro HD) in Kodi though - I tend to transcode everything to 4:2:0 H264 if I want to play it in 'consumer' devices.

Thanks for your detailed reply. Is the main problem with apple codecs is that implementation is not optimised? Or codec itself is that advanced that requires powerful hardware? I guess I'll just encode with H264/H265 high bitrate and it will play flawlessly then.
Reply
(2016-02-17, 18:58)fritsch Wrote: Fix the cause of the problem ... not its symptomes -> bugs.freedesktop.org

Filed a bug months ago.

(2016-02-17, 19:18)jjslegacy Wrote: Why do you have to change refresh rate each boot? It's a saved setting. What am I missing?

It's not saving this setting for me. Sad Resets to 60Hz on a reboot.
Reply
  • 1
  • 210
  • 211
  • 212(current)
  • 213
  • 214
  • 342

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