Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
File which works:

DISPLAY=:0
OUTPUT=`xrandr -q | sed '/ connected/!d;s/ .*//;q'`
xrandr --output $OUTPUT --set "Broadcast RGB" "Full"
xrandr --output $OUTPUT --set "Broadcast RGB" "Video 16:235 pass-through"
/usr/bin/kodi --standalone

File with problems:

DISPLAY=:0
OUTPUT=`xrandr -q | sed '/ connected/!d;s/ .*//;q'`
xrandr --output $OUTPUT --set "Broadcast RGB" "Full"
xrandr --output $OUTPUT --set "Broadcast RGB" "Video 16:235 pass-through"
xrandr --output $OUTPUT --off
sleep 1
xrandr --output $OUTPUT --auto
/usr/bin/kodi --standalone

But please remember:

1. Problematic file works - Kodi runs. Only display is black. And after running "xrandr --output $OUTPUT --auto" on terminal Kodi shows.
2. For some reason it doesn't work even if i run Kodi in the background ("/usr/bin/kodi --standalone &") and add "xrandr --output $OUTPUT --auto" as next line. Screen is still black. To show Kodi i need to run it from terminal (through ssh).
Reply


Messages In This Thread
RE: New Era: VAAPI with EGL interoperation - by BigL-New - 2015-10-01, 21:07
Live TV broken again? - by schamane - 2016-02-29, 19:56
Random crashes - by hal2100 - 2016-03-08, 22:03
Strange Behaviour - by MicTie - 2016-12-07, 10:46
Working lirc with mce remote - by fr1day - 2019-08-10, 17:36
Logout Mark Read Team Forum Stats Members Help
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server18