Hi.
I hope to buy a NUC6 in a few weeks, so I installed yaVdr 0.6 in a virtual machine in order to reproduce the Eisbaer128 instructions.
Those are the step I did. I hope someone can correct me if I did some mistake.
First of all, the most recent version of intel graphics should be installed
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install xserver-xorg-video-intel
Next step, source of vdr-plugin-softhddevice should be downloaded.
sudo apt-get install devscripts # In order to run afterward the 'dch' command
sudo apt-get source vdr-plugin-softhddevice
sudo apt-get build-dep vdr-plugin-softhddevice
sudo apt-get install libva-dev # (only in case the file is not already installed)
IMPORTANT: DO NOT REMOVE manually vdr-plugin-softhddevice. As it is a part of yaVdr, some other software needed for yaVdr would be also removed
After download and run build-dep, the folder "vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231" was created (If git of plugin changes I guess the numbers in folder will be different next time)
cd vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231
In order to avoid intalling new versions of plugin softhdevice, we should increase the number of versión of our softhdevice:
sudo dch -i "added vaapi and opengl to compile options"
In order to edit needed files, I installed nano text editor:
sudo apt-get install nano
Makefile should be edited:
And some changes in file should be done. This content will change:
# support VA-API video output module (deprecated)
#VAAPI ?= $(shell pkg-config --exists libva && echo 1)
# support glx outputAfter that we change to a created folder in order to build the deb package:
#OPENGL ?= $(shell pkg-config --exists gl glu && echo 1)
for this one:
# support VA-API video output module (deprecated)
VAAPI ?= $(shell pkg-config --exists libva && echo 1)
# support glx output
OPENGL ?= $(shell pkg-config --exists gl glu && echo 1)
Instead of editing the Makefile you can run those commands that will do automaticaly the changes for you:
sudo sed -i s/#VAAPI/VAAPI/ Makefile
sudo sed -i s/#OPENGL/OPENGL/ Makefile
After that, buildpackage should be run:
sudo dpkg-buildpackage -b -us -uc -d
The result of the previous command is (I am sorry, some words are in spanish):
Display Spoiler
dpkg-buildpackage: paquete fuente vdr-plugin-softhddevice
dpkg-buildpackage: versión de las fuentes 1:0.6.1rc1.git20150924.1231-0yavdr3~trusty
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: fuentes modificadas por yavdr package builder <release@yavdr.org>
dpkg-buildpackage: arquitectura del sistema amd64
dpkg-source --before-build vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231
debian/rules clean
dh clean --with vdrplugin
dh_testdir
dh_auto_clean
make[1]: se ingresa al directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
make[1]: se sale del directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
dh_clean
debian/rules build
dh build --with vdrplugin
dh_testdir
dh_auto_configure
dh_auto_build
make[1]: se ingresa al directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
make[1]: se sale del directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
make[1]: se ingresa al directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual -c -o softhddevice.o softhddevice.cpp
cc -g -O3 -Wall -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o softhddev.o softhddev.c
cc -g -O3 -Wall -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o video.o video.c
video.c: In function ‘VaapiSetupVideoProcessing’:
video.c:2708:14: warning: variable ‘filter_n’ set but not used [-Wunused-but-set-variable]
unsigned filter_n;
^
video.c:2707:16: warning: unused variable ‘filters’ [-Wunused-variable]
VABufferID filters[VAProcFilterCount];
^
video.c:2706:16: warning: unused variable ‘color_filter’ [-Wunused-variable]
VABufferID color_filter;
^
video.c:2705:16: warning: unused variable ‘sharpen_filter’ [-Wunused-variable]
VABufferID sharpen_filter;
^
video.c:2704:16: warning: unused variable ‘deint_filter’ [-Wunused-variable]
VABufferID deint_filter;
^
video.c:2703:16: warning: unused variable ‘denoise_filter’ [-Wunused-variable]
VABufferID denoise_filter;
^
cc -g -O3 -Wall -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o audio.o audio.c
cc -g -O3 -Wall -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o codec.o codec.c
codec.c: In function ‘Codec_get_buffer’:
codec.c:281:5: warning: ‘avcodec_default_get_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:4267) [-Wdeprecated-declarations]
return avcodec_default_get_buffer(video_ctx, frame);
^
codec.c: In function ‘Codec_release_buffer’:
codec.c:333:5: warning: ‘avcodec_default_release_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:4268) [-Wdeprecated-declarations]
return avcodec_default_release_buffer(video_ctx, frame);
^
codec.c: In function ‘CodecVideoOpen’:
codec.c:508:2: warning: ‘get_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2410) [-Wdeprecated-declarations]
decoder->VideoCtx->get_buffer = Codec_get_buffer;
^
codec.c:509:2: warning: ‘release_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2424) [-Wdeprecated-declarations]
decoder->VideoCtx->release_buffer = Codec_release_buffer;
^
codec.c:510:2: warning: ‘reget_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2439) [-Wdeprecated-declarations]
decoder->VideoCtx->reget_buffer = Codec_get_buffer;
^
codec.c:525:2: warning: ‘get_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2410) [-Wdeprecated-declarations]
decoder->VideoCtx->get_buffer = Codec_get_buffer;
^
codec.c:526:2: warning: ‘release_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2424) [-Wdeprecated-declarations]
decoder->VideoCtx->release_buffer = Codec_release_buffer;
^
codec.c:527:2: warning: ‘reget_buffer’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2439) [-Wdeprecated-declarations]
decoder->VideoCtx->reget_buffer = Codec_get_buffer;
^
codec.c:539:5: warning: ‘avcodec_alloc_frame’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:3927) [-Wdeprecated-declarations]
if (!(decoder->Frame = avcodec_alloc_frame())) {
^
codec.c: In function ‘CodecAudioOpen’:
codec.c:847:2: warning: ‘request_channels’ is deprecated (declared at /opt/ffmpeg/include/libavcodec/avcodec.h:2314) [-Wdeprecated-declarations]
audio_decoder->AudioCtx->request_channels = 2;
^
cc -g -O3 -Wall -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o ringbuffer.o ringbuffer.c
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/alsa -I/usr/include/libdrm -I/opt/ffmpeg/include -I/opt/ffmpeg/include -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DHAVE_PTHREAD_NAME -DUSE_MPEG_COMPLETE -DH264_EOS_TRICKSPEED -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_VAAPI -DUSE_GLX -DUSE_SCREENSAVER -DUSE_SWRESAMPLE -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual -shared softhddevice.o softhddev.o video.o audio.o codec.o ringbuffer.o -lasound -lvdpau -lva-x11 -lva -lva-glx -lva -lGLU -lGL -lxcb-screensaver -lxcb-dpms -lxcb -L/opt/ffmpeg/lib/ -lswresample.ffmpeg -lrt -L/opt/ffmpeg/lib/ -lavcodec.ffmpeg -lX11-xcb -lX11 -lxcb-icccm -lxcb -o libvdr-softhddevice.so
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP \
-k_ -k_N --package-name=vdr-softhddevice --package-version=0.6.1rc1 \
--msgid-bugs-address='<see README>' -o po/softhddevice.pot `ls softhddev.c video.c audio.c codec.c ringbuffer.c softhddevice.cpp`
msgmerge -U --no-wrap --no-location --backup=none -q -N po/de_DE.po po/softhddevice.pot
msgfmt -c -o po/de_DE.mo po/de_DE.po
make[1]: se sale del directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
dh_auto_test
debian/rules binary
dh binary --with vdrplugin
dh_testroot
dh_prep
debian/rules override_dh_auto_install
make[1]: se ingresa al directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
dh_auto_install --destdir=debian/vdr-plugin-softhddevice
make[2]: se ingresa al directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
install -D libvdr-softhddevice.so /home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231/debian/vdr-plugin-softhddevice/usr/lib/vdr/plugins/libvdr-softhddevice.so.2.2.0
install -D -m644 po/de_DE.mo /home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231/debian/vdr-plugin-softhddevice/usr/share/locale/de_DE/LC_MESSAGES/vdr-softhddevice.mo
make[2]: se sale del directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
make[1]: se sale del directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
dh_install
dh_vdrplugin_enable
dh_vdrplugin_migrate
dh_installdocs
dh_installchangelogs
dh_pysupport
dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p
dh_perl
dh_link
dh_compress
dh_fixperms
debian/rules override_dh_strip
make[1]: se ingresa al directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
dh_strip --dbg-package=vdr-plugin-softhddevice-dbg
make[1]: se sale del directorio «/home/javier/vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231»
dh_makeshlibs
dh_shlibdeps
dh_vdrplugin_depends
dh_installdeb
dh_gencontrol
dpkg-gencontrol: aviso: paquete vdr-plugin-softhddevice-dbg: la variable de sustitución ${vdr:Depends} no está en uso
dh_md5sums
dh_builddeb
dpkg-deb: construyendo el paquete `vdr-plugin-softhddevice' en `../vdr-plugin-softhddevice_0.6.1rc1.git20150924.1231-0yavdr3~trusty_amd64.deb'.
dpkg-deb: construyendo el paquete `vdr-plugin-softhddevice-dbg' en `../vdr-plugin-softhddevice-dbg_0.6.1rc1.git20150924.1231-0yavdr3~trusty_amd64.deb'.
dpkg-genchanges -b >../vdr-plugin-softhddevice_0.6.1rc1.git20150924.1231-0yavdr3~trusty_amd64.changes
dpkg-genchanges: subida solo de binarios - no se incluye ningún código fuente
dpkg-source --after-build vdr-plugin-softhddevice-0.6.1rc1.git20150924.1231
dpkg-buildpackage: subida solo de binarios (no se incluye ninguna fuente)
Display More
We change to the previous folder with "cd .." and vdr plugin should be installed (install dependencies if they appeared in the instalation process):
sudo dpkg -i vdr-plugin-softhddevice_0.6.1rc1.git20150924.1231-0yavdr3~trusty_amd64.deb #Not install the packet with dbg on its name
nVidia drivers should be removed too:
sudo apt-get remove --purge nvidia*
Config file of plugin should be edited:
sudo nano /etc/vdr/conf.avail/softhddevice.conf
and the content should be:
[Softhddevice]
-D
-v va-api
# -v va-api-glx
xorg.conf.yavdr config file should be also edited:
sudo nano /etc/X11/xorg.conf.yavdr
and the content should be (Avoid to use CustomEdid in xorg.conf, because it cause fails in Kodi):
Section "Files"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "INTEL Corporation"
Option "AccelMethod" "SNA"
# old setup "uxa"
Option "TearFree" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "HDMI1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080@50p" "1920x1080@59.94p" "1920x1080@24p" "1920x1080@60p"
EndSubSection
EndSection
Section "Monitor"
Identifier "HDMI1"
HorizSync 14.0 - 70.0
VertRefresh 24.0 - 62.0
Modeline "1920x1080@24p" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@50p" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@59.94p" 148.352 1920 1960 2016 2200 1080 1082 1088 1125 +hsync +vsync
Modeline "1920x1080@60p" 148.500 1920 2008 2056 2200 1080 1084 1089 1125 +hsync +vsync
#Option "DPMS" "true"
EndSection
Section "Extensions"
Option "Composite" "false"
EndSection
Display More
That is that I understood that is needed to do, in order to make Intel HD work in NUC5. If some corrections are needed, please be free to tell me and I edit the post to fix them.
Thanks and regards.
Javier B.