Ubuntu HD VDR mittels SoftHDDevice und VDPAU/Grafikkarte
Aus VDR Wiki
Version vom 9. Mai 2016, 16:59 Uhr von Hulk (Diskussion | Beiträge)
Inhaltsverzeichnis |
Inbetriebnahme Grafikkarte
Prüfen der Grafikkarte
lspci -v 01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 630 Rev. 2] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ZOTAC International (MCO) Ltd. Device 1308 Flags: fast devsel, IRQ 16 Memory at f6000000 (32-bit, non-prefetchable) [size=16M] Memory at e8000000 (64-bit, prefetchable) [size=128M] Memory at f0000000 (64-bit, prefetchable) [size=32M] I/O ports at e000 [size=128] Expansion ROM at f7000000 [disabled] [size=512K] Capabilities: <access denied>
01:00.1 Audio device: NVIDIA Corporation Device 0e0f (rev a1) Subsystem: ZOTAC International (MCO) Ltd. Device 1308 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f7080000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel
Grafikkartentreiber installieren
sudo apt-get install nvidia-331
sudo init 6
Prüfen der Treiberversion
nvidia-smi
+------------------------------------------------------+ | NVIDIA-SMI 331.38 Driver Version: 331.38 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GT 630 Off | 0000:01:00.0 N/A | N/A | | N/A 60C N/A N/A / N/A | 259MB / 1023MB | N/A Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Compute processes: GPU Memory | | GPU PID Process name Usage | |=============================================================================| | 0 Not Supported | +-----------------------------------------------------------------------------+
xorg.conf erstellen
sudo nvidia-xconfig
sudo init 6
edid.bin erstellen
Nachdem das System neu gestartet wurde kann unter der grafischen Oberfläche das NVIDIA Konfigurationsmenü aufgerufen werden.
- Dash-Startseite -> Suchen -> Terminal
sudo nvidia-settings
GPU-0 (GeForce GT 630) -> DFP-1 (DENON, Ltd. DENON-AVAMP) -> Acquire EDID...
Die erstellte Datei unter folgendem Pfad ablegen:
/etc/X11/edid.bin
Falls Ihr die edid.bin nicht direkt unter /etc/X11 abspeichern könnt speichert diese vorerst unter /tmp und kopiert diese dann manuell nach /etc/X11:
sudo cp /tmp/edid.bin /etc/X11
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:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_orig sudo vi /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 331.38 (buildmeister@swio-display-x64-rhel04-15) Wed Jan 8 19:53:14 PST 2014 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" 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" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" Option "CustomEdid" "DFP-1:/etc/X11/edid.bin" Option "ConnectedMonitor" "DFP-1" Option "UseDisplayDevice" "DFP-1" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "ExactModeTimingsDVI" "True" Option "FlatPanelProperties" "Dithering = disabled" Option "NoLogo" "True" Option "CustomEdid" "DFP-1:/etc/X11/edid.bin" Option "ConnectedMonitor" "DFP-1" Option "UseDisplayDevice" "DFP-1" SubSection "Display" Depth 24 Modes "1920x1080_50" "1920x1080_60_0" "1920x1080_24" EndSubSection EndSection
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[dpy:2]): 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, Display Device.
Toneinstellungen
Der Ton wird über HDMI der Grafikkarte ausgegeben.
sudo cp /etc/pulse/client.conf /etc/pulse/client.conf_orig sudo vi /etc/pulse/client.conf
Ändern von:
;autospawn = yes
Abändern in:
autospawn = no
sudo init 6