Ubuntu HD VDR mittels Xine und VDPAU - Grafikkarten Treiber
Aus VDR Wiki
(Unterschied zwischen Versionen)
Sewn4 (Diskussion | Beiträge) (→xorg.conf anpassen) |
Sewn4 (Diskussion | Beiträge) (→xorg.conf anpassen) |
||
Zeile 96: | Zeile 96: | ||
# nvidia-settings: X configuration file generated by nvidia-settings | # nvidia-settings: X configuration file generated by nvidia-settings | ||
− | # nvidia-settings: version | + | # nvidia-settings: version 260.19.06 (buildmeister@builder101) Mon Sep 13 04:59:25 PDT 2010 |
Section "ServerLayout" | Section "ServerLayout" | ||
Zeile 103: | Zeile 103: | ||
InputDevice "Keyboard0" "CoreKeyboard" | InputDevice "Keyboard0" "CoreKeyboard" | ||
InputDevice "Mouse0" "CorePointer" | InputDevice "Mouse0" "CorePointer" | ||
+ | Option "Xinerama" "0" | ||
EndSection | EndSection | ||
Zeile 128: | Zeile 129: | ||
Identifier "Monitor0" | Identifier "Monitor0" | ||
VendorName "Unknown" | VendorName "Unknown" | ||
− | ModelName " | + | ModelName "DENON, Ltd. DENON-AVAMP" |
HorizSync 15.0 - 68.0 | HorizSync 15.0 - 68.0 | ||
VertRefresh 23.0 - 61.0 | VertRefresh 23.0 - 61.0 | ||
Option "DPMS" | Option "DPMS" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
EndSection | EndSection | ||
Zeile 165: | Zeile 152: | ||
Depth 24 | Depth 24 | ||
EndSubSection | EndSubSection | ||
− | |||
− | |||
− | |||
− | |||
EndSection | EndSection | ||
Version vom 17. September 2010, 22:02 Uhr
Vorwort
Der Grafikkartentreiber muss direkt auf der Ubuntu Linux Konsole installiert werden. Ihr könnt von der grafischen Oberfläche auf eine der insgesamt sechs Konsolen mit folgender Tastenkombination wechseln:
STRG+ALT+F1 STRG+ALT+F2 STRG+ALT+F3 usw.
Username: vdruser Kennwort: Eurer Passwort
Downloadverzeichnis vorbereiten
cd /data/installfiles mkdir nvidia
Download NVIDIA Grafikkarten Treiber
cd /data/installfiles/nvidia wget ftp://download.nvidia.com/XFree86/Linux-x86_64/260.19.06/NVIDIA-Linux-x86_64-260.19.06.run
Prüfen der Grafikkarte
lspci -v 03:00.0 VGA compatible controller: nVidia Corporation ION VGA (rev b1) Subsystem: ASUSTeK Computer Inc. Device 83e2 Flags: bus master, fast devsel, latency 0, IRQ 20 Memory at fa000000 (32-bit, non-prefetchable) [size=16M] Memory at e0000000 (64-bit, prefetchable) [size=256M] Memory at f6000000 (64-bit, prefetchable) [size=32M] I/O ports at dc00 [size=128] Expansion ROM at fbee0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: nouveau Kernel modules: nvidiafb, nouveau
Vorhandenen Ubuntu NVIDIA Grafikkarten Treiber deinstallieren
blacklist.conf anpassen
sudo vi /etc/modprobe.d/blacklist.conf # NVIDIA Modules blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv options nouveau modeset=0
Ubuntu mitgelieferte NVIDIA Treiber deinstallieren
sudo apt-get --purge remove nvidia-*
System neu starten
sudo init 6
libvddpau installieren
cd /data/installfiles/nvidia/ wget http://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/libvdpau-0.4.1.tar.gz cd /tmp/ tar -xzf /data/installfiles/nvidia/libvdpau-0.4.1.tar.gz
su - root
cd /tmp/libvdpau-0.4.1/ ./autogen.sh --prefix=/usr --disable-documentation && make && make install && ldconfig
exit
NVIDIA Treiber installieren
sudo /etc/init.d/gdm stop cd /data/installfiles/nvidia/ sudo sh NVIDIA-Linux-x86_64-260.19.06.run Accept -> Yes -> No -> Yes -> Ok sudo init 6
xorg.conf erstellen
sudo nvidia-xconfig
System neu starten
sudo init 6
NVIDIA Treiber prüfen
Nachdem das System neu gestartet wurde kann unter der grafischen Oberfläche das NVIDIA Konfigurationsmenü aufgerufen werden.
- Anwendungen -> Zubehör -> Terminal
sudo nvidia-settings
xorg.conf erstellen
sudo nvidia-xconfig
xorg.conf anpassen
Gegebenfalls müsst Ihr eure xorg.conf auf eure Grafikkarte und TV anpassen. Anbei findet Ihr meine xorg.conf.
Zu finden unter:
cd /etc/X11 sudo vi xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 260.19.06 (buildmeister@builder101) Mon Sep 13 04:59:25 PDT 2010 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" Option "Xinerama" "0" EndSection Section "Files" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor0" VendorName "Unknown" ModelName "DENON, Ltd. DENON-AVAMP" HorizSync 15.0 - 68.0 VertRefresh 23.0 - 61.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "ION" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "1920x1080_50 +0+0; nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection
System neu starten
sudo init 6
Prüfen ob der Bildschirm richtig angesteuert wird
Es ist wichtig das euer LCD Bildschirm mit 50 Hz angesteuert wird. Es kann folgendermaßen geprüft werden:
DISPLAY=:0 nvidia-settings --query RefreshRate Attribute 'RefreshRate' (vdr:0.0; display device: DFP-1): 50,00 Hz. 'RefreshRate' is an integer attribute. 'RefreshRate' is a read-only attribute. 'RefreshRate' is display device specific. 'RefreshRate' can use the following target types: X Screen, GPU.
Leistungsdaten der Grafikkarte ermitteln
Mit dem Benchmarktool "qvdpautest" können die Leistungsdaten der Grafikkarte ermittelt werden.
Downloadverzeichnis vorbereiten
mkdir -p /data/installfiles/qvdpautest
Download qvdpautest
cd /data/installfiles/qvdpautest wget http://hftom.free.fr/qvdpautest-0.5.1.tar.gz
Installation von qvdpautest
cd /tmp tar -xzf /data/installfiles/qvdpautest/qvdpautest-0.5.1.tar.gz cd qvdpautest-0.5.1/ qmake make
qvdpautest starten
cd /tmp/qvdpautest/ ./qvdpautest
ermittelte Leistungsdaten
qvdpautest 0.5.1 Intel(R) Atom(TM) CPU 330 @ 1.60GHz NVIDIA GPU ION (C79) at PCI:3:0:0 (GPU-0) VDPAU API version : 1 VDPAU implementation : NVIDIA VDPAU Driver Shared Library 195.36.24 Thu Apr 22 19:52:55 PDT 2010 SURFACE GET BITS: 231.351 M/s SURFACE PUT BITS: 194.201 M/s MPEG DECODING (1920x1080): 57 frames/s MPEG DECODING (1280x720): 128 frames/s H264 DECODING (1920x1080): 53 frames/s H264 DECODING (1280x720): 104 frames/s VC1 DECODING (1440x1080): 69 frames/s MIXER WEAVE (1920x1080): 300 frames/s MIXER BOB (1920x1080): 426 fields/s MIXER TEMPORAL (1920x1080): 114 fields/s MIXER TEMPORAL + IVTC (1920x1080): 74 fields/s MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 156 fields/s MIXER TEMPORAL_SPATIAL (1920x1080): 34 fields/s MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 27 fields/s MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 38 fields/s MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 127 fields/s MULTITHREADED MPEG DECODING (1920x1080): 59 frames/s MULTITHREADED MIXER TEMPORAL (1920x1080): 94 fields/s