2nd xv adaptor

Markus Hahn markus.o.hahn at gmx.de
Fri Mar 28 18:20:44 PDT 2008


Hi there, 
the last anwers aren` t so precisely 

For mplayer the driver options has to be a colon `:' 
for examle 
mplayer -vo xv:port=324 

Since mplayer says a lot with -v -v -v .. nothing about xv ports, 
or do I ingore something. 

you can  do:

ltrace -C -o mplayerPort. log  mplayer -vo xv:port=xxx 

abort witch ^C  and grep for XvSetPortAttribute:

grep XvSetPortAttribute *.log 

mplayer325.log:XvSetPortAttribute(0x89ab980, 325, 73, 1, 3)                                                                
                                                      dspy ptr     port   ...

refer man XvSetPortAttribute 

if xv is chosen as driver it has to take one of your ports, 
otherwise it fails. Normaly  the programm  woud take the first 
supported image format like YUV depends on video. 


my card nvidia xvinfo (shortend)

Adaptor #0: "NV17 Video Texture"
    number of ports: 32
    port base: 325
   operations supported: PutImage

 Adaptor #1: "NV05 Video Blitter"
    number of ports: 32
    port base: 357
    operations supported: PutImage



it seems that port 357 Video Blitter is the better chose 

regards markus 


Here the initial  x11/xv settup : 

does anybody knows for what is this DPMS good for? 

XOpenDisplay(":0.0")                                                                                          

 XInternAtom(0x89ab980, 0x8699396, 0, 0xbfcedf98, 0xb769ed41)  
... 
 XInternAtom(0x89ab980, 0x8699396, 0, 0xbfcedf98, 0xb769ed41)  

  XGetWindowAttributes(0x89ab980, 391, 0xbfcebb94, 0xbfcedf98, 0xb769ed41) 
  XGetImage(0x89ab980, 391, 0, 0, 1)
  __strtol_internal("0.0", NULL, 10)     
  XGetWindowProperty(0x89ab980, 391, 586, 0, 16384)
  XGetWindowProperty(0x89ab980, 391, 260, 0, 16384)
  XFree(0x89ab730, 6, 0x8699c08, 0, 16384)
  DPMSQueryExtension(0x89ab980, 0xbfcebb18, 0xbfcebb18, 0xb7eb8b2c, 0x89ab980)
  DPMSInfo(0x89ab980, 0xbfcebb2a, 0xbfcebb14, 0xb7eb8b2c, 0x89ab980)
  DPMSDisable(0x89ab980, 6, 0x86991c3, 0xb7eb8b2c, 0x89ab980)
  XGetScreenSaver(0x89ab980, 0x88431e4, 0xbfcebb24, 0xbfcebb20, 0xbfcebb1c)
  XvQueryExtension(0x89ab980, 0x88440d4, 0x88440d8, 0x88440dc, 0x88440e0)
  XvQueryAdaptors(0x89ab980, 391, 0x88440ec, 0x8844080, 0x88440e0)
  XvGrabPort(0x89ab980, 325, 0, 0x8844080, 0x88440e0)
  XvQueryPortAttributes(0x89ab980, 325, 0xbfcebc08, 1, 0x806a161)
  XFree(0x89ab850, 325, 0xbfcebc08, 1, 0x806a161)
  XvQueryPortAttributes(0x89ab980, 325, 0xbfcebc08, 0x89ab850, 3)
  XInternAtom(0x89ab980, 0x8699107, 0, 0x89ab850, 3)
  XFree(0x89ab850, 0x8699107, 0, 0x89ab850, 3)
  XvSetPortAttribute(0x89ab980, 325, 73, 1, 3)    


Am Donnerstag, 27. März 2008 06:57:23 schrieb Dave Airlie:
> On Thu, Mar 27, 2008 at 2:47 PM, Daniel Kasak <dan at entropy.homelinux.org> 
wrote:
> > I've now got a 2nd xv adaptor - textured video. Cool. How do I use it?
> >
> >  I don't see any obvious way of making gstreamer use it. gstreamer would
> >  be my preference, but itsuported  looks like it's either the default 
adaptor, or
> >  software.
>
> gstreamer-properties should allow it to be selected.
>
> Dave.
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg



-- 
##########################

Dipl.-Ing(FH)  Markus Hahn 
Karlstr. 100
80335 München 

Tel.: 089 / 550 63 886 
mobil: 0172 / 672 8 593 

##########################



More information about the xorg mailing list