El Jueves, 19 de Agosto del 2004 3:13 PM, Robert S. Kerr escribiÃ:
> >Yep. In a small window the image shows right. In medium windows there are
> > 2 "zones". In a fullscreen window (1024x768) I can see 3 zones.
> >It's strange that nobody noticed it before.
>
> I've been experimenting with this problem a bit and I'm pretty sure at
> this point it relates to something in the horizontal scaling portions of
> the savage Xv stuff.  I found a simple program
> (http://www.xfree86.org/~mvojkovi/suzi.tar.gz, makes an executable
> called rotyuv) that repeatably demonstrates the issue and allows me to
> explore it a bit more.
>
> Running it shows an image (redrawn constantly so it is a 'still' video)
> that you can stretch and resize and the program scales the image
> accordingly.  You can stretch the image full screen vertically and no
> artifacts appear.  However when you stretch it past 703 pixels wide on
> my machine it flips into the 2 zone mode.

Ok. I'll describe some experiments I've made with that program:

1) A (very) few artifacts appear on the right side whatever you do.

2) The program starts at 704x480. A black vertical line of about 4 pixels 
width is shown on the right side of the image. If you put another window on 
top of the left edge of this window, that black line changes its width from 
the initial value (4?) to zero. 

3) Horizontal stretching (>352) seems to have no effect when the vertical size 
remains <=480 (that misterious vertical line on the right side is also 
stretching with the image).

4)However, when you stretch (horizontally) the window to 352 pixels (the half 
of the original width) you get a image 1 pixel wide. If you strech it to 351 
you get a 2 pixel wide image, 350 -> 4 pixels, 349 -> 8 pixels, and so on. To 
188. When you strech the window to 187 pixels you get similar behavior (one 
pixel wide), etc... but this time with some flickering. To 118. Before 
reaching this point the resulting image is larger (mosaic) than the original. 
117 shows an image of 2 pixels wide.

5) Vertical stretching is causing HEAVY artifacts on the right side of the 
image ONLY when you past 703 pixels wide. However 3 zones are showing (the 
3rd zone is difficult to see).
----------------------
So, summarizing:
a) Very few artifacts showing on the right side whatever happen.
b) A misteryous black vertical line showing on the right side, however its 
width depends on another window covering the left edge.
c) (width <= (704/2)) {strange horizontal zomming effects}
d) (width >= 704) && (height > 480) {heavy artifacts on the right side}

I have a Savage4 chip.
Hope this can help.

David.

> The program uses XvShmPutImage to draw.  I'm still trying to track down
> into the savage driver to see which method that ends up in when it gets
> down to the savage code. I think it is 'SavagePutImage' in the savage
> Xserver driver. (Alex could you point me in the right direction?)
>
> If that turns out to be right, my next adventure is to figure out how to
> debug a running driver.  Pointing gdb at my rotyuv process doesn't let
> me look down into the XvShmPutImage method.  Suggestions are welcome.
>
> Rob


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to