[MPlayer-dev-eng] [PATCH] very experimenal nvidia_vid
Dmitry Baryshkov
mitya at school.ioffe.ru
Thu Sep 25 04:23:44 CEST 2003
Helo!
В Срд, 24.09.2003, в 04:00, Sascha Sommer пишет:
> An very experimental nvidia vidix driver based on rivatv sources.
> Very experimental, but in case someone wants to help with development.
> I tested it with RIVA128 and TNT2 VANTA on windows. RIVA128 has also been
> tested on linux but there are some issues with vo_xvidix and the colorkeying.
> If I open gimp and create a magenta image I can see the overlay, but not
> with the default xvidix window. Does anyone know what might be wrong here?
Tested on Vanta (0x002c) on Linux 2.6.0-test5, X 4.3.0 (pre1v1 from
Debian), nv and nvidia drivers. But not out-of-box.
First, I needed to increase RIVATV_MAX_ORG_WIDTH (1024 works for 672x288
movie). 720 - crashes. By changing rivatv_overlay_colorkey, it worked
with depths 24, 16, 15.
> Other cards are not tested. If you are brave enough please test it out
> and send me the pci ids that work with the driver. Be carefull,
> it may lock your system and damage your data !
0x002c - Vanta (NV06 => NV04 arch)
>
> Another problem is that it currently only support uyvy overlay and there
> is no yv12 -> uyvy converter. Therefore you will
> have to use the dll codecs or our native cyuv codecs to test it.
> Not talking about the missing vsync support...
According to DirectFB driver, you can support YV12 on archs >= NV10, by
using pitch|1<<16|0x00100000 on setting NV_PVIDEO_FORMAT for archs>=NV10
(cannot test. I have only Vanta :)
Dunno, if using YV12 is possible for NV04, but if you change 0x011 to
0x111 on line 668 (when setting NV_PVIDEO_OVERLAY (KEY_ON, VIDEO_ON,
FORMAT_CCIR)), you will select yuy2 output format :) (tested)
So uyvy isn't really problem :)
I see another problem: vidix API must be expanded to pass bpp to vidix
driver (for rivatv_overlay_colorkey). Also dunno, if BPP <15 or >24 are
supported by all cards. (IIRC RIVA128 didn't support even 16bpp).
There is another problem. I couldn't get it work with vesa:vidix and
fbdev:vidix. (vesa:vidix plays, but video isn't shown. trying setting
colorkey to r=0,g=0,b=0, uncommenting block, and trying different
bufferdepth's gave nothing).
Anyway, thank you. Good work!
> Sascha
>
> ______________________________________________________________________
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
--
With best wishes
Dmitry Baryshkov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: ??? ????? ????????? ????????? ???????? ????????
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030925/4dab6d06/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list