Zur Installation der Software wollte ich noch ein paar Takte schreiben:
Basis für die Installation war meine vorhandene existierende Systempartition (40GB, mit yaVDR64 0.5.0a Hybrid) die ich auf ein neue HDD geklont habe.
Idee war, dass die ganzen Bibliotheken (VDR-Aufnahmen, XBMC-Bibliothekt)
ohne Aufwand nachher wiederverwendet werden können (und das funktioniert auch so) - die Daten liegen auf einer 2. HDD (2TB) die als extra Partition eingebunden wird.
Für das Setup habe ich nur die Systemplatte angehängt - keine Datenplatte damit beim rumspielen nicht irgendwelche Daten verlorengehen.
Nach dem Einbau und dem ersten Booten kam allerdings gleich die erste Ernüchterung - kein Bild und kein Netzwerk verfügbar ;(. Gut, das hätte man auch vorher wissen können wenn man hier im Forum besser recherchiert hätte.
Hier so ungefähr was ich gemacht habe...
1. Intel Netzwerk Treiber:
Geholfen hat mir die Diskussion in diesem Thread: 121220-gelöst-hilfe-intel-dh87rl-board-haswell-yavdr-0-5-erkennt-die-intel-onboard-lan-karte-nicht/
Habe den Kernel-Upgrade auf 3.9.0-030900rc8-generic gemacht, wie dort beschrieben bzw. verlinkt. Die Packages habe ich per USB-Stick reingeladen.
Da ich nicht soo oft mit Linux rummache, hatte ich hier auch viele neue Erkenntnisse... z.B. mit den Zugriffsrechten auf den USB-Stick.
Ergebnis:
root@yavdr:/# uname -a
Linux yavdr 3.9.0-030900rc8-generic #201304211835 SMP Sun Apr 21 22:35:53 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
2. drm i915 init error on boot:
Den Fehler hatte ich auch (hier beschrieben: drm-i915-init-error-on-boot ) und über einen blacklist Eintrag In der /etc/modprobe.d/blacklist.conf gelöst (am Ende hinzugefügt):
Update nicht vergessen:
2. Grafikkarte Nvidia GT730:
Da für die neue GraKa die Treiber (glaube 319) nicht mehr ausreichend waren, musste ein Update her. Daher gemäss folgender Anleitung installiert:
nvidia-gt-730-zum-laufen-bringen-gelöst
Nachdem ich per Terminal Zugriff hatte musste ich die Treiber für die Grafikkarte aktualisieren...
Irgendwie hat das mit den Splash-screens trotzdem nicht hingehauen...
3. Splash-Screens richten
Das Thema bekomme ich nicht mehr so richtig erinnerungsmässig hin. Es gab auch viele Artikel die ich dazu gelesen habe. Problem ist irgendwie der Framebuffer. Einige Diskussionen dazu gibts hier im Board aber auch ausserhalb in diversen Ubuntu-Foren... Geholfen hat mir u.a. dies hier: [Gelöst!] uefi-boot-fatal-error-inserting-vesafb-lib-modules-3-2-0-31-generic-initrd-vesafb-ko-no-such-device/
Aktuelle /etc/initramfs-tools/modules:
root@yavdr:/# cat /etc/initramfs-tools/modules
#################################################################################
# #
# The following configuration file is generated automatically by the yaVDR #
# system. Don't change this file as every update of yaVDR will overwrite #
# the local changes. Instead put your required customizations #
# into /etc/yavdr/templates_custom/ based on the original templates #
# under /usr/share/yavdr/templates. #
# #
# http://www.yavdr.org/developer-zone/template-overview/ #
# #
# #
#################################################################################
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
# uvesafb seems not to work for yaVDR according to fnu
#uvesafb mode_option=640x480-24 mtrr=3 scroll=ywrap
fbcon
uvesafb mode_option=1024x768-24 mtrr=3 scroll=ywrap
#vesafb
Aktuelle /etc/default/grub:
root@yavdr:/# cat /etc/default/grub
#################################################################################
# #
# The following configuration file is generated automatically by the yaVDR #
# system. Don't change this file as every update of yaVDR will overwrite #
# the local changes. Instead put your required customizations #
# into /etc/yavdr/templates_custom/ based on the original templates #
# under /usr/share/yavdr/templates. #
# #
# http://www.yavdr.org/developer-zone/template-overview/ #
# #
# #
#################################################################################
# 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'
#
# Do not make any changes here! They will be overwriten by the webserver
#
# If you want to change it add a custom_template and run
# process_template /etc/default/grub
# before update-grub
GRUB_DEFAULT=saved
#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="vmalloc=256m quiet splash video=uvesafb:mode_option=1024x768-24 noresume nohz=off acpi_enforce_resources=lax"
GRUB_CMDLINE_LINUX=""
# 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"
Erstellte/geänderte Templates:
/etc/yavdr/templates_custom/etc/default/grub/10_main
# 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'
#
# Do not make any changes here! They will be overwriten by the webserver
#
# If you want to change it add a custom_template and run
# process_template /etc/default/grub
# before update-grub
GRUB_DEFAULT=saved
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null echo Debian`
<?cs if:vdr.backend == "pvr350" ?>
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=normal fbcon=vc:64-63 fbcon=map:2"
<?cs else ?>
GRUB_CMDLINE_LINUX_DEFAULT="vmalloc=256m quiet splash video=uvesafb:mode_option=1024x768-24 noresume nohz=off acpi_enforce_resources=lax"
<?cs /if ?>
GRUB_CMDLINE_LINUX=""
# 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"
/etc/yavdr/templates_custom/etc/initramfs-tools/modules/10_main
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
# uvesafb seems not to work for yaVDR according to fnu
#uvesafb mode_option=640x480-24 mtrr=3 scroll=ywrap
fbcon
uvesafb mode_option=1024x768-24 mtrr=3 scroll=ywrap
#vesafb
Folgende Einstellungen sind jetzt bei mir aktiv:
hwinfo --framebuffer
root@yavdr:/# hwinfo --framebuffer
> hal.1: read hal dataprocess 3684: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
02: None 00.0: 11001 VESA Framebuffer
[Created at bios.464]
Unique ID: rdCR.t5tfVCWYRqF
Hardware Class: framebuffer
Model: "NVIDIA GK208 Board - 21320010"
Vendor: "NVIDIA Corporation"
Device: "GK208 Board - 21320010"
SubVendor: "NVIDIA"
SubDevice:
Revision: "Chip Rev"
Memory Size: 14 MB
Memory Range: 0xf1000000-0xf1dfffff (rw)
Mode 0x0300: 640x400 (+640), 8 bits
Mode 0x0301: 640x480 (+640), 8 bits
Mode 0x0303: 800x600 (+800), 8 bits
Mode 0x0305: 1024x768 (+1024), 8 bits
Mode 0x0307: 1280x1024 (+1280), 8 bits
Mode 0x030e: 320x200 (+640), 16 bits
Mode 0x030f: 320x200 (+1280), 24 bits
Mode 0x0311: 640x480 (+1280), 16 bits
Mode 0x0312: 640x480 (+2560), 24 bits
Mode 0x0314: 800x600 (+1600), 16 bits
Mode 0x0315: 800x600 (+3200), 24 bits
Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits
Mode 0x0333: 320x400 (+1280), 24 bits
Mode 0x0334: 320x240 (+320), 8 bits
Mode 0x0335: 320x240 (+640), 16 bits
Mode 0x0336: 320x240 (+1280), 24 bits
Mode 0x033d: 640x400 (+1280), 16 bits
Mode 0x033e: 640x400 (+2560), 24 bits
Mode 0x0345: 1600x1200 (+1600), 8 bits
Mode 0x0346: 1600x1200 (+3200), 16 bits
Mode 0x034a: 1600x1200 (+6400), 24 bits
Mode 0x034b: 1920x1080 (+1920), 8 bits
Mode 0x034c: 1920x1080 (+3840), 16 bits
Mode 0x034d: 1920x1080 (+7680), 24 bits
Mode 0x0360: 1280x800 (+1280), 8 bits
Mode 0x0361: 1280x800 (+5120), 24 bits
Config Status: cfg=new, avail=yes, need=no, active=unknown
root@yavdr:/# fbset -i
root@yavdr:/# fbset -i
mode "1024x768-85"
# D: 94.500 MHz, H: 68.677 kHz, V: 84.997 Hz
geometry 1024 768 1024 768 32
timings 10582 208 48 36 1 96 3
hsync high
vsync high
rgba 8/16,8/8,8/0,8/24
endmode
Frame buffer device information:
Name : VESA VGA
Address : 0xf1000000
Size : 14680064
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 4096
Accelerator : No
Danach ging's dann auch wieder mit dem yaVDR Splash-Screen.. Natürlich müssen die templates entsprechend verarbeitet und grub etc. updated werden...
4. Sonstiges
Skin: Habe irgendwo im Forum das Skin nOpacity gesehen und installiert. Zusammen mit den Channellogos sieht es Klasse aus. Zu den Logos: C3PO-skinnopacity-kanallogos/
TV-Guide: Nette Übersicht über das laufende Programm
Systeminfo: Das Plugin hatte ich schon bisher drin. Die Config musste ich natürlich anpassen und bekomme damit aber auch verschiedene Temperaturen etc...
Hier meine /usr/share/vdr-plugin-systeminfo/systeminfo.sh:
#!/bin/bash
# systeminfo.sh: external data collection script
# This file belongs to the VDR plugin systeminfo
#
# See the main source file 'systeminfo.c' for copyright information and
# how to reach the author.
#
# $Id$
#
# possible output formats:
# (blanks around tabs only for better reading)
# 1) Name \t Value displays Name and Value
# 2) Name \t Value1 \t Value2 displays Name, Value1 and Value2
# 3) Name \t total used displays an additional progress bar (percentage) after the values
# 4) s \t Name \t ... defines a static value, this line is only requested during the first cycle
#
# special keywords (they are replaced by the plugin with the actual value):
# CPU% CPU usage in percent
#
# test with: for i in $(seq 1 16); do systeminfo.sh $i;echo;done
#
PATH=/usr/bin:/bin:/sbin
case "$1" in
1) # kernel version (static)
KERNEL=$(uname -rm)
echo -ne "s\tLinux Kernel:\t"$KERNEL
;;
2) # distribution release (static)
if test -f /etc/SuSE-release; then
DISTRI="openSuSE"
RELEASE=$(head -n 1 /etc/SuSE-release)
elif test -f /etc/redhat-release; then
DISTRI="RedHat"
RELEASE=$(head -n 1 /etc/redhat-release)
elif test -f /etc/debian_version; then
DISTRI="Debian"
RELEASE=$(head -n 1 /etc/debian_version)
elif test -f /etc/gentoo-release; then
DISTRI="Gentoo"
RELEASE=$(head -n 1 /etc/gentoo-release)
elif test -f /etc/lsb-release; then
DISTRI=$(grep DISTRIB_ID /etc/lsb-release|cut -d"=" -f 2)
RELEASE=$(grep DISTRIB_DESCRIPTION /etc/lsb-release|cut -d"=" -f 2)
elif test -x /usr/bin/crux; then
DISTRI="Crux"
RELEASE=$(crux|cut -d" " -f 3)
elif test -f /etc/arch-release; then
DISTRI="Arch Linux"
RELEASE="rolling-release"
else
DISTRI="unknown"
RELEASE="unknow"
fi
echo -ne "s\tDistribution:\t"$RELEASE
exit
;;
3) # CPU type (static)
CPUTYPE=$(grep 'model name' /proc/cpuinfo | cut -d':' -f 2 | cut -d' ' -f2- | uniq)
echo -ne "s\tCPU Typ:\t"$CPUTYPE
;;
4) # current CPU speed
VAR=$(grep 'cpu MHz' /proc/cpuinfo | sed 's/.*: *\([0-9]*\)\.[0-9]*/\1 MHz/')
echo -ne "CPU Taktung:\t"$VAR
exit
;;
5) # hostname and IP (static)
hostname=$(hostname)
dnsname=$(dnsdomainname)
IP=$(ifconfig eth0 | grep inet | cut -d: -f2 | cut -d' ' -f1)
echo -ne "s\tHostname:\t"${hostname:-<unknown>}"."${dnsname:-<unknown>}"\tIP: "${IP:-N/A}
exit
;;
6) # fan speeds
CPU=$( sensors | grep -i 'CPU FAN' | tr -s ' ' | cut -d' ' -f 3)
# CASE=$(sensors | grep -i 'SYS Fan' | tr -s ' ' | cut -d' ' -f 3)
CASE0=$(sensors | grep -i 'fan5:' | tr -s ' ' | cut -d' ' -f 2)
CASE1=$(sensors | grep -i 'fan3:' | tr -s ' ' | cut -d' ' -f 2)
echo -ne "Lüfter:\tCPU: "$CPU" \tGehäuse: "$CASE0" rpm"
exit
;;
7) # temperature of CPU and mainboard and GPU
CPU0=$( sensors|sed -ne "s/Core 0: \+[-+]\([0-9]\+\).*/\1°C/p" )
CPU1=$( sensors|sed -ne "s/Core 1: \+[-+]\([0-9]\+\).*/\1°C/p" )
MB=$(sensors | grep -i 'SYSTIN' | awk '{print $2}' | tr -d +.0 )
echo -ne "Temperaturen:\tCore 0/1: "$CPU0"/"$CPU1
echo -ne "\tMB: "$MB
exit
;;
8) # temperature of motherboard and GPU
GFX=$(nvidia-smi -q|grep "Product Name"|awk '{print $4 " " $5 $6}' )
GPU=$(nvidia-smi -q|grep -A1 Temperature |tail -n1 |awk '{print $3 $5}' )
echo -ne "\tGPU: "$GPU"°C\tModell: "$GFX
exit
;;
9) # temperature of hard disks
DISK1=$(sudo hddtemp /dev/sda | cut -d: -f1,3)
DISK2=$(sudo hddtemp /dev/sdb | cut -d: -f1,3)
echo -ne "Festplatte:\t/dev/sda: n/a (SSD)\t"$DISK2
exit
;;
10) # CPU usage
echo -e "CPU Nutzung:\tCPU%"
exit
;;
11) # header (static)
echo -ne "s\t\tGesamt / Frei"
exit
;;
12) # video disk usage
VAR=$(df -Pk /data | tail -n 1 | tr -s ' ' | cut -d' ' -f 2,4)
echo -ne "Aufnahmen:\t"$VAR
exit
;;
13) # memory usage
VAR=$( grep -E 'MemTotal|MemFree' /proc/meminfo | cut -d: -f2 | tr -d ' ')
echo -ne "RAM:\t"$VAR
exit
;;
14) # swap usage
VAR=$(grep -E 'SwapTotal|SwapFree' /proc/meminfo | cut -d: -f2 | tr -d ' ')
echo -ne "SWAP:\t"$VAR
exit
;;
test)
echo ""
echo "Usage: systeminfo.sh {1|2|3|4|...}"
echo ""
exit 1
;;
esac
exit
Display More
5. Weitere geplante Installation:
- Das iStreamdev möchte ich mal installieren um besser zu streamen im Heimnetz auf iPad und Laptop. Geht zwar auch über VLC aber umständlich....siehe link: Announce-ivdr-0-3-3-istreamdev-1-0-1-ffmpeg-segmenter-paket-installation
6. Probleme mit Tonaussetzern und Rucklern:
- Zu Beginn hatte ich recht regelmässig Rucker und Tonaussetzer. Ich habe danach an den PArametern rumgeschraubt für die Buffer. Momentan habe ich das Gefühl das die Probleme behoben sind, aber da bin ich mir noch nicht 100% sicher... Mit der Einstellung klappts wohl:
Zu guter letzt...
7. yaVDR Package updates
Hier habe ich mir während meinen Versuchen beim Installieren irgendwie alles zerschossen und musste nochmal von vorne anfangen.
Kann es sein dass nach dem Kernel-Update der normale Package update nicht mehr sauber läuft?
Momentan sieht's so aus:
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.9.0-030900rc8-generic x86_64)
* Documentation: https://help.ubuntu.com/
53 packages can be updated.
39 updates are security updates.
Kann mir hier jemand einen Tipp zum weiteren Vorgehen geben???
Mein Fazit: Wenn man hier im Forum sucht, dann findet man meistens auch die Lösung!!!
VIELEN DANK AN ALLE DIE HIER MITMACHEN !!!
Grüsse
Sir Han