Hi Stefan,
Here's the info you asked for...
Stefan Lucke wrote:
To see which Xv ports are available, show us the output of command: xvinfo . For some cards switching between texture and overlay port can be done via X11 configuration parameters. For matrox cards it is: Option "TexturedVideo" "true"
But this means the card supports an overlay port but uses textures to display the data?
Yes video textures through OpenGL is a wonderful idea, but what in VDR land supports that? Softdevice (according to another list member) doesn't support XvMC so I assume it falls back on overlay support for OSD.
Video chipset: nVidia 6200TC, nVidia Binary driver 87.62, Xorg 6.8.1:
X-Video Extension version 2.2 screen #0 Adaptor #0: "NV17 Video Texture" number of ports: 1 port base: 53 operations supported: PutImage supported visuals: depth 24, visualID 0x21 depth 24, visualID 0x22 number of attributes: 3 "XV_SET_DEFAULTS" (range 0 to 0) client settable attribute "XV_ITURBT_709" (range 0 to 1) client settable attribute client gettable attribute (current value is 0) "XV_SYNC_TO_VBLANK" (range 0 to 1) client settable attribute client gettable attribute (current value is 1) maximum XvImage size: 2046 x 2046 Number of image formats: 4 id: 0x32595559 (YUY2) guid: 59555932-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x32315659 (YV12) guid: 59563132-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) id: 0x59565955 (UYVY) guid: 55595659-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x30323449 (I420) guid: 49343230-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) Adaptor #1: "NV05 Video Blitter" number of ports: 32 port base: 54 operations supported: PutImage supported visuals: depth 24, visualID 0x21 depth 24, visualID 0x22 number of attributes: 2 "XV_SET_DEFAULTS" (range 0 to 0) client settable attribute "XV_SYNC_TO_VBLANK" (range 0 to 1) client settable attribute client gettable attribute (current value is 0) maximum XvImage size: 2046 x 2046 Number of image formats: 5 id: 0x32595559 (YUY2) guid: 59555932-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x32315659 (YV12) guid: 59563132-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) id: 0x59565955 (UYVY) guid: 55595659-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x30323449 (I420) guid: 49343230-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) id: 0x3 guid: 03000000-0000-0010-8000-00aa00389b71 bits per pixel: 32 number of planes: 1 type: RGB (packed) depth: 24 red, green, blue masks: 0xff0000, 0xff00, 0xff
On Freitag 30 Juni 2006 02:18, CR wrote:
Hi Stefan,
Here's the info you asked for...
Stefan Lucke wrote:
To see which Xv ports are available, show us the output of command: xvinfo . For some cards switching between texture and overlay port can be done via X11 configuration parameters. For matrox cards it is: Option "TexturedVideo" "true"
But this means the card supports an overlay port but uses textures to display the data?
Yes. The lower 2 screenshots from: http://softdevice.berlios.de/ are from my matrox with TexturedVideo on, and osd-drawing set to software. So software osd-drawing, is the mode you have to choose, as your card does not support mixing in overlay mode.
A) If you get wrong colors (that should be both: video and osd with and without video) you could try to change FOURCC_YV12 to FOURCC_I420 in file softdevice.c (2 times).
If there are still troubles, please provide something like table for each fourrcc type.
B) Another try is to choose the "Video Blitter" instead of "Video Texture". For this you'll have to change variable use_xv_port = 54 (around line 740 in file video-xv.c). I don't know whats the difference between them.
C) In case you have a problem like OSD-colors ok and video-colors bad OSD-colors bad and video-colors ok you may try to change in video-xv.c the OSD u and v components, line 1643, and in line 1652 (OsdPu -> OsdPv): AlphaBlend(pixels[1]+i*xvWidth/2+cutLeft, OsdPv+i*OSD_FULL_WIDTH/2+cutLeft, //<-- !! change to OsdPu Pv+ i * UVstride+cutLeft, OsdPAlphaUV+i*OSD_FULL_WIDTH/2+cutLeft, fwidth/2-(cutLeft+cutRight));
As there are a few users who have nvidia cards and most of them complain about softdevice issues with them, some of those users should try to develop a clean support for these cards.
Yes video textures through OpenGL is a wonderful idea, but what in VDR land supports that? Softdevice (according to another list member) doesn't support XvMC so I assume it falls back on overlay support for OSD.
Video chipset: nVidia 6200TC, nVidia Binary driver 87.62, Xorg 6.8.1:
X-Video Extension version 2.2 screen #0 Adaptor #0: "NV17 Video Texture" number of ports: 1 port base: 53 operations supported: PutImage
Adaptor #1: "NV05 Video Blitter" number of ports: 32 port base: 54 operations supported: PutImage