Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
(2017-09-03, 23:46)qp9013625 Wrote:
(2015-07-12, 20:06)fritsch Wrote: now we write the following into the created /home/kodi/.config/openbox/autostart file, this will automatically switch your TV to full range (please copy the lines, don't try to type the '` and so on, this code only works for one (1) connected TV, if you have multiple devices extend it to a loop):
Code:
OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
xsetroot #000000
xset -dpms
devmon &
MALLOC_MMAP_THRESHOLD_=131072 /usr/bin/kodi --standalone
while [ $? -ne 0 ]; do
  MALLOC_MMAP_THRESHOLD_=131072 /usr/bin/kodi --standalone
done
openbox --exit

3. Color Management
If your TV is limited range. Go to System -> Video Output and choose "Use Limited Range", disable Dithering.
If your TV is full range. Go to System -> Video Output and unselect "Use Limited Range" and enable Dithering with 8 bits.
If your projector is of low quality, use a dithering setting of 6 or 7 bits.

Remember the above settings only make sense, when you output in Full Range (or in the special Video Range 16:235, that I provide in my custom kernels). With the default xrandr setting of Limited 16:235 - those settings are totally counter productive.

@ fritsch:

In another thread you wrote:

(2017-06-15, 19:58)fritsch Wrote: You can configure that _before_ you start wayland / weston whatever. A starting point is the proptest of libdrm. Example for my HDMI port:
Code:
proptest -M i915 -D /dev/dri/card0 61 connector 54 1
In my setup I used weston and kodi from the GSOC project.

When I try the proptest command on Ubuntu, it is not being recognized and not offered to be installed.

Can you possibly explain some more how to do it? And maybe that way we could set BroadcastRGB=Full even before X starts?

Just came across this:

https://www.brad-x.com/2017/08/07/quick-...n-wayland/

Wink
Reply


Messages In This Thread
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
RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - by qp9013625 - 2017-09-15, 17:57
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