Ubuntu VDR DVB-T mittels Xine und VDPAU - Grafikkarten Treiber

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Installation NVIDIA Grafikkarten Treiber)
(Beispiel xorg.conf)
Zeile 28: Zeile 28:
  
 
  # nvidia-xconfig: X configuration file generated by nvidia-xconfig
 
  # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  # nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Thu Feb 25 05:30:38 PST 2010
+
  # nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:35:23 PDT 2010
 
   
 
   
 
  Section "ServerLayout"
 
  Section "ServerLayout"
 
     Identifier    "Layout0"
 
     Identifier    "Layout0"
     Screen      0  "Screen0" 0 0
+
     Screen      0  "Screen0"
 
     InputDevice    "Keyboard0" "CoreKeyboard"
 
     InputDevice    "Keyboard0" "CoreKeyboard"
 
     InputDevice    "Mouse0" "CorePointer"
 
     InputDevice    "Mouse0" "CorePointer"
    Option        "Xinerama" "0"
+
  EndSection
  EndSection  
+
 
   
 
   
 
  Section "Files"
 
  Section "Files"
  EndSection  
+
  EndSection
 
   
 
   
 
  Section "InputDevice"
 
  Section "InputDevice"
 
 
     # generated from default
 
     # generated from default
 
     Identifier    "Mouse0"
 
     Identifier    "Mouse0"
Zeile 53: Zeile 51:
 
   
 
   
 
  Section "InputDevice"
 
  Section "InputDevice"
+
    # generated from default
    # generated from default
+
 
     Identifier    "Keyboard0"
 
     Identifier    "Keyboard0"
 
     Driver        "kbd"
 
     Driver        "kbd"
Zeile 62: Zeile 59:
 
     Identifier    "Monitor0"
 
     Identifier    "Monitor0"
 
     VendorName    "Unknown"
 
     VendorName    "Unknown"
     ModelName      "DON DENON-AVAMP"
+
     ModelName      "Unknown"
     HorizSync      15.0 - 68.0
+
     HorizSync      28.0 - 33.0
     VertRefresh    23.0 - 61.0
+
     VertRefresh    43.0 - 72.0
    ModeLine      "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@60" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@50i" 74.200 1920 1964 2052 2200 1080 1084 1088 1125 +hsync -vsync interlace
+
    ModeLine      "1920x1080@60i" 74.250 1920 2008 2052 2200 1080 1085 1095 1125 +hsync +vsync interlace
+
    ModeLine      "1920x1080@59.94" 148.350 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@59.94i" 74.175 1920 2008 2052 2200 1080 1085 1095 1125 +hsync +vsync interlace
+
    ModeLine      "1920x1080@25" 74.250 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@29.97" 74.175 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
+
    ModeLine      "1920x1080@30" 74.250 1920 2008 2052 2200 1080 1084 1089 1125 +hsync
+
 
     Option        "DPMS"
 
     Option        "DPMS"
    Option        "UseDisplayDevice" "DFP-0"
+
  EndSection
    Option        "ExactModeTimingsDVI" "True"
+
    Option        "UseEDIDFreqs" "False"
+
    # 1920x1080p @ 50Hz (EIA/CEA-861B)
+
  EndSection  
+
 
   
 
   
 
  Section "Device"
 
  Section "Device"
Zeile 87: Zeile 69:
 
     Driver        "nvidia"
 
     Driver        "nvidia"
 
     VendorName    "NVIDIA Corporation"
 
     VendorName    "NVIDIA Corporation"
    BoardName      "GeForce GT 220"
 
 
  EndSection
 
  EndSection
 
   
 
   
Zeile 95: Zeile 76:
 
     Monitor        "Monitor0"
 
     Monitor        "Monitor0"
 
     DefaultDepth    24
 
     DefaultDepth    24
    Option        "TwinView" "0"
 
    Option        "metamodes" "1920x1080_50 +0+0; nvidia-auto-select +0+0"
 
 
     SubSection    "Display"
 
     SubSection    "Display"
 
         Depth      24
 
         Depth      24
 
     EndSubSection
 
     EndSubSection
EndSection
 
 
Section "Extensions"
 
    Option        "Composite" "Disable"
 
 
  EndSection
 
  EndSection
  

Version vom 22. Juni 2010, 20:23 Uhr

Inhaltsverzeichnis

Prüfen der Grafikkarte

lspci -v

02:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 220] (rev a2)
        Subsystem: CardExpert Technology Device 0801
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at ee000000 (64-bit, prefetchable) [size=32M]
        I/O ports at dc00 [size=128]
        Expansion ROM at fcf00000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau

Installation NVIDIA Grafikkarten Treiber

sudo apt-get install nvidia-current
sudo nvidia-xconfig

System neu starten

sudo init 6

Beispiel xorg.conf

Zu finden unter:

cd /etc/X11
sudo vi xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:35:23 PDT 2010

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"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    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:

vdruser@vdr:~$ 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.tar.gz

Installation von qvdpautest

cd /tmp
tar -xzf /data/installfiles/qvdpautest/qvdpautest-0.5.tar.gz
cd qvdpautest
qmake
make

qvdpautest starten

cd /tmp/qvdpautest/
./qvdpautest

ermittelte Leistungsdaten

Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
NVIDIA GPU GeForce GT 220 (GT216) at PCI:1:0:0 (GPU-0)

VDPAU API version : 1
VDPAU implementation : NVIDIA VDPAU Driver Shared Library  190.53  Wed Dec  9 16:28:38 PST 2009

SURFACE GET BITS: 1095.34 M/s
SURFACE PUT BITS: 1159.63 M/s

MPEG DECODING (1920x1080): 72 frames/s
MPEG DECODING (1280x720): 163 frames/s
H264 DECODING (1920x1080): 65 frames/s
H264 DECODING (1280x720): 135 frames/s
VC1 DECODING (1440x1080): 47 frames/s

MIXER WEAVE (1920x1080): 633 frames/s
MIXER BOB (1920x1080): 1113 fields/s
MIXER TEMPORAL (1920x1080): 303 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 199 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 396 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 150 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 118 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 171 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 490 fields/s
MIXER TEMPORAL_SPATIAL + HQSCALING (720x576 video to 1920x1080 display): 283 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 0 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 266 fields/s

Links

  1. NVIDIA
  2. NVIDIA FTP-Server