Kodi Community Forum
Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - 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: Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 (/showthread.php?tid=165707)



RE: vaapi-sse4: Deinterlacing Testing - alex.ba - 2014-05-04

Hi all,

I have a few questions on Ubuntu. Maybe someone has an idea.

1) Is it possible to disable that purple Ubuntu Screen at statup? I would prefer just a black screen until XBMC has started. Same for the shutdown?
2) Sometime the HDMI Port is disabled (if I switch on the TV too late). Is there an option to force the HDMI Output.
3) Would it be possible to force an specific resolution? Best would be that HDMI is always enabled with 1920*1080.
4) Are all fixes from Gotham stable included in your release?

Thanks a lot for your great work. I really like your PPA :-)

Best Regards,

Alex


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-05-04

1) yes
2) no
3) Can be done via drm_kms_helper but you will loose audio
4) yes


RE: vaapi-sse4: Deinterlacing Testing - CrazyCoder - 2014-05-05

BTW, tried the splash screen via plymouth, doesn't work for me, probably because of https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1309617 .
This guide should probably also mention that one has to add "splash" to the kernel options in grub config.


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-05-05

Added, thx.


RE: vaapi-sse4: Deinterlacing Testing - alex.ba - 2014-05-05

Hi all,

Quote:1) Is it possible to disable that purple Ubuntu Screen at statup? I would prefer just a black screen until XBMC has started. Same for the shutdown?
2) Sometime the HDMI Port is disabled (if I switch on the TV too late). Is there an option to force the HDMI Output.
3) Would it be possible to force an specific resolution? Best would be that HDMI is always enabled with 1920*1080.
4) Are all fixes from Gotham stable included in your release?

Quote:Posted by fritsch - Yesterday 18:54
1) yes
2) no
3) Can be done via drm_kms_helper but you will loose audio
4) yes

Thanks a lot for the information and update for the splash :-)

Regarding to the HDMI Output. A working solution is to put a EDID Manager between TV and PC. It works for me on my main system. I just wanted to know if I could save the money for a second device and solve the problem via software. But if it's not possible then I will buy a second EDID manager.

Best Regards,

Alex


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-05-05

I wrote a howto in the amd oss vdpau forum on howto dump the EDID and overwrite it with drm_kms_helper and force the output to enable. Sadly I lost my Audio with that hack. So I don't know.


RE: vaapi-sse4: Deinterlacing Testing - lelouch - 2014-05-05

Hi, I have been using this ppa for a while and I must say it is really good. Specially for IPTV.
I have tested IPTV on this xbmc and it works really good. DeInterlacing is good and channel switching time is also fast [about 1-2 secs].
I took my xbmc setup to test an IPTV stream with different vendor. This is where I encountered a weird problem with IPTV. It started taking about 20 -25 secs to switch channels

This is the log - http://paste.ubuntu.com/7398504/
Any help would be really appreciated. Thank you


RE: vaapi-sse4: Deinterlacing Testing - CrazyCoder - 2014-05-05

> 2) Sometime the HDMI Port is disabled (if I switch on the TV too late). Is there an option to force the HDMI Output.

Did you try "xrandr --output HDMI1 --auto"?


RE: vaapi-sse4: Deinterlacing Testing - alex.ba - 2014-05-06

Hi all,

Quote:xrandr --output HDMI1 --auto
No I did not try yet. The output is: Can't open display. I use an Nuc Hswell with Intel Graphics.

One more question to the splash screen. I installed the package as described on the first page:

Quote:sudo apt-get update
sudo apt-get install plymouth-label v86d
wget http://excyle.nl/plymouth-theme-xbmc-logo.deb
sudo dpkg -i plymouth-theme-xbmc-logo.deb

I also added this line to the grub conf and updated: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Then I made the reboot.
Now The system starts then I get 2 or 3 lines then the login appears and after about 5 secs XBMC starts. There's no XBMC Logo. However when I shutdown, xbmc closes and the logo appears.

My grub looks like:


Quote:# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_RECORDFAIL_TIMEOUT=0
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



RE: vaapi-sse4: Deinterlacing Testing - CrazyCoder - 2014-05-06

Try this:

DISPLAY=:0 xrandr --output HDMI1 --auto

splash doesn't work because of this bug: https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1309617 .


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-05-06

Quote:I had the error 'This account is currently not available.' in my upstart jobs' logs because I was using :
exec su -c './myscript' nobody

instead of setuid. I changed all my scripts to use setuid and everything seems to be fine now

Can someone verify that?


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-05-06

That one:

Code:
# xbmc-upstart
# starts XBMC on startup by using xinit.
# by default runs as xbmc, to change edit below.
setuid xbmc

emits xbmc-started
description     "XBMC-barebones-upstart-script"
author          "Matt Filetto"

start on (filesystem and stopped udevtrigger)
stop on runlevel [016]

# tell upstart to respawn the process if abnormal exit
respawn
respawn limit 10 5
limit nice 21 21

script
exec xinit /usr/bin/xbmc --standalone -- /usr/bin/X -bs -nolisten tcp :0
# the following two are to get an idea, if you want to user a window manager
# sudo apt-get install fluxbox and comment the above exec line
# only one exec line is allowed.
#   xinit /usr/bin/fluxbox -- /usr/bin/X -bs -nolisten tcp :0
end script
# remove all those to set Full rgb range make sure to change HDMI2 to match your device
# starting from the next line, including end script
# post-start script
# sleep 1
# DISPLAY=:0 xrandr --output HDMI2 --set "Broadcast RGB" Full
# end script

This does not work


RE: vaapi-sse4: Deinterlacing Testing - lelouch - 2014-05-06

(2014-05-05, 14:57)lelouch Wrote: Hi, I have been using this ppa for a while and I must say it is really good. Specially for IPTV.
I have tested IPTV on this xbmc and it works really good. DeInterlacing is good and channel switching time is also fast [about 1-2 secs].
I took my xbmc setup to test an IPTV stream with different vendor. This is where I encountered a weird problem with IPTV. It started taking about 20 -25 secs to switch channels

This is the log - http://paste.ubuntu.com/7398504/
Any help would be really appreciated. Thank you

Anyone please help ?


RE: vaapi-sse4: Deinterlacing Testing - fritsch - 2014-05-06

No idea - but I have seen your post - the last time you posted it.


RE: vaapi-sse4: Deinterlacing Testing - illiac4 - 2014-05-07

(2014-05-06, 19:57)lelouch Wrote:
(2014-05-05, 14:57)lelouch Wrote: Hi, I have been using this ppa for a while and I must say it is really good. Specially for IPTV.
I have tested IPTV on this xbmc and it works really good. DeInterlacing is good and channel switching time is also fast [about 1-2 secs].
I took my xbmc setup to test an IPTV stream with different vendor. This is where I encountered a weird problem with IPTV. It started taking about 20 -25 secs to switch channels

This is the log - http://paste.ubuntu.com/7398504/
Any help would be really appreciated. Thank you

Anyone please help ?

Usually IPTV streams are multicast. And it happens that stock modem or. router is flooded with packets. This happens especially when switching different providers or. scanning network for new programs (with tvheadend i can kill my modem in few seconds).When i am doing testings i often have to restart the modem i have got from provider. I prefer to convert multicast traffic to unicast (http). This way it works great and if you have a router that can do this (tomato compatible router, dd-wrt did not work well for this thing) then you will also get rid of messing the network stream to the whole subnet. When modem gets flooded it can response slowly or even stops responding to multicast traffic. It is also back-end depended till now best for iptv streams was iptv simple addon (but no recording), tvheadend was ok till 3.5, i have tried VDR but i dont like that i can not mass control icons and xmltv (epg) with it.