Autor Thema: kaffeine Video Treiber  (Gelesen 1366 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline mtron

  • Server-Admin
  • *
  • Beiträge: 1514
    • some debs
kaffeine Video Treiber
« am: 28 November, 2007, 13:25 »
kaffeine Video Treiber

Die Qualität des DVB - Streams in Kaffeine hängt sehr stark von den verwendeten
video treibern der xine-lib ab. Verwende immer die letzte xine-lib Version von http://sourceforge.net/project/showfiles.php?group_id=9655&package_id=9732 . Einige Distros bieten nur "restricted" xine-lib Versionen an, die keine Codecs mit Patentproblemen enthalten.

Einstellungen können in kaffeine mithilfe des GUI unter Settings - xine Engine Parameters  - video oder direkt im Config file .kde/share/apps/kaffeine/xine-config bzw. ~/.xine/config vorgenommen werden.

Was ist der beste Treiber?

Das xine-lib FAQ dazu:
Zitat
Which is the best video driver to use?

xine supports several video drivers for outputing the image. These will differ on how the frames are copied to the video card memory, whether colourspace conversion and scaling is done in software or hardware, among other things. They may also differ on ease of use and stability.

Most of the time, Xv should give the users a good trade-off between quality, compatibility and ease of use. This is why xine tries to use Xv by default.

However some users may want to explore better the available hardware capabilities (eg. syncing frame drawing with monitor refresh). Also some Xv drivers contain slow copies and accessing the video card directly may yield performance gains.

Drivers that access hardware directly includes VIDIX (warning: requires root priviledges or kernel helper) and SyncFB (requires kernel helper - Matrox only). User may try one of those, but should be warned that with root access they can cause the system to crash hard. The support is also limited to a couple of graphics cards only.

Graphic workstations like SGI have usually a good support for OpenGL. In that case, using OpenGL may be a better choice than XShm. However for most desktop systems the performance of OpenGL will be quite bad.


Zu den Treibern:
Zitat
Try to use the Xv driver, it greatly improves performance and quality because your graphics card does image scaling and colourspace conversion. The video section contains important information about several Xv drivers.

If Xv cannot be used for some reason, make sure your display is set up to 16bpp, not 24 or higher (reduces memory bandwith). Some Xv drivers may also have better performance with 16bpp.

Hier ist eine kleine Auswahl an Problemlösungen von der xine-homepage. Eine gute deutsche Dokumentation (teilweise jedoch veraltet!) ist auf de Webpage von SelfLinux

I only see a blue (or green or black) video image most of the time.

You are either watching a very boring video (just kidding) or you are suffering from a bug in the Xorg 6.7 implementation of X11.

The workaround is to add the line

   Option "XaaNoOffscreenPixmaps"

in the Device section of your X server configuration (usually /etc/X11/xorg.conf or /etc/X11/XF86Config).

The image looks strange, it is shifted, cropped or shows weird lines!

This points to a problem with the Xv extension, which is used by xine to display the video image. To verify this, try running xine with the XShm video output plugin:

   xine -V XShm

If that works fine, you just proved, that the Xv extension is buggy. xine will remember the last used video output plugin, so the setting will stay at XShm. You could simply continue using this, but XShm is a lot slower than Xv, so read on and see if you can get it working. Usually you should look for updated versions of the X driver module that belongs to your graphics card.

Other possibilites are limitations in either your X driver module or your graphics hardware. If your card could somehow be running out of ressources (graphics RAM perhaps) and displays an incorrect Xv overlay because of that, try reducing the display resolution and/or colour depth.

How can I make xine use the Xv extension and what drivers do I need?

xine will normally use Xv by default if it is available. In some cases you might need to choose Xv playback manually (when the ~/.xine/config file for some reason says that you want to use XShm):

   xine -V Xv

If this doesn't work for you, it may be possible that Xv is not present on your system.

First you need to install/use X.org or XFree 4.x. Once you got that you have to make sure the X drivers you're using are supporting Xv on your hardware. Here are some hints for individual gfx chips:

    *3Dfx: if all you get is a solid black window, upgrade to X.org or XFree 4.1.0 or later.
    *ATI: if you only get "half a picture", try lowering your resolution or bit depth, disable DRI (looks like you ran out of video RAM)
    *Trident card: If you see vertical bands jumbled, upgrade to the latest xfree/experimental trident drivers (for the CyberBlade XP a driver exists here: http://www.xfree86.org/~alanh/ )
    *nVidia: With newer GeForce cards, Xv should work with XFree 4.2.0 or newer, for older RivaTNT cards use the binary drivers from nvidia (of course the binary drivers work as well for GeForce cards)
    *Mach64/Rage3D (not Rage128/Radeon) cards/chips get no XVideo with standard drivers, try GATOS drivers instead
    *intel: i815 has Xv support in XFree 4.x, others unknown
    *Permedia 2/3 has Xv support in XFree 4.x
    *Savage: at least some older drivers tend to lock up the whole machine, try the drivers available from http://www.probo.com/timr/savage40.html .
    *SIS: certain controllers (more info needed!) have Xv support in XFree 4.x
    *Chips and Tech 6555x, 68554, 69000, 69030 have Xv support in XFree 4.x
    *NeoMagic: certain controllers (more info needed!) have Xv support in Xfree 4.x
    * SiliconMotion: certain controllers (more info needed!) have Xv support in Xfree 4.x
    *Matrox: G200 or newer (but not Parhelia) have Xv support in XFree 4.x. For Parhelia, use the binary only drivers available from matrox' website.

The Xv video-out plugin fails to compile!

If you want to have Xv support compiled in, make sure you either have a shared Xv library on your system, e.g. ls /usr/X11R6/lib/libXv* should give you some .so libs, like this:

   /usr/X11R6/lib/libXv.a
   /usr/X11R6/lib/libXv.so
   /usr/X11R6/lib/libXv.so.1

Alternatively you need to have libtool 1.4 or newer installed, then libXv.a is sufficient. Otherwise you can create the shared versions yourself:

   ld --whole-archive -shared -o libXv.so.1 libXv.a
   ln -s libXv.so.1 libXv.so
   ldconfig

Now you should be ready to build the Xv video-out plugin on your system.


My xine is runing in black and white! / I only get a grey video output!

This frequently happens with new Xv drivers or when switching to a different video card. Background is that different Xv drivers often use different ranges for the contrast/brightness/saturation settings.

To fix this, try opening the xine settings window and try adjusting the sliders for contrast, brightness and saturation.

Please note that some frontends save these settings in their config file so when you have found a working combination, make sure you exit xine cleanly so the values are saved.

Starting xine crashes X, I am logged out of my desktop!

xine itself is unable to crash X, so when your X server just shuts down or restarts with the login screen, there is something wrong with your X setup. Most common are problems with the Xv extension. Try running xine with the XShm video output plugin:

   xine -V XShm

If that works fine, you just proved, that the Xv extension is buggy. xine will remember the last used video output plugin, so the setting will stay at XShm. You could simply continue using this, but XShm is a lot slower than Xv, so consult the section on Xv and see if you can get it working. Usually you should look for updated versions of the X driver module that belongs to your graphics card.
« Letzte Änderung: 30 April, 2009, 20:14 von mtron »
Signatur
PC: lshw | Sats: 19.2° & 13°Ost (DiSEqC, 80cmØ Blech) | DVB-Soft: vdr 2.1.7 mit softhddevice via va-api
- Hauppauge Nova-T USB 2.0 Stick mit DiBcom DiB7700P Frontend, MT2060 tuner, Firmware
- TerraTec Cinergy S2 PCI HD mit STB0899 demodulator und Mantis VP 1041 PCI bridge
- TerraTec Cinergy S2 USB mit Montage DS3000 demodulator und IR-receiver,  Firmware
[close]