Opened 11 years ago

Last modified 4 years ago

#9917 new bug

Overlay video lack some of the right part

Reported by: AlienSoldier Owned by: gerald.zajac
Priority: normal Milestone: R1.1
Component: Drivers/Graphics/ati Version: R1/alpha4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I have a PC with an onboard 3D rage xl PCI (this is an Intel entry level server). With VLC (the one that can run on R5) the video look stretched horizontally a bit and i miss something around 25%-30% of the right part of the video because of that.

Media Player does not have Overlay working for that card (or for any card i tested so far for the matter).

Attachments (1)

DSC00258.JPG (2.9 MB ) - added by AlienSoldier 8 years ago.
picture showing missing right part in overlay

Change History (10)

comment:1 by anevilyak, 11 years ago

Component: - GeneralDrivers/Graphics/ati
Owner: changed from nobody to gerald.zajac

comment:2 by diver, 10 years ago

FYI, you can disable video overlay in VLC in Window->Preferences->Video->General video settings->Overlay video output.

comment:3 by AlienSoldier, 10 years ago

I know, or by launching 2 VLC in a row, the second one will use bitmap, but i want overlay badly :) (especially that it is almost there, just a scaling problem).

comment:4 by AlienSoldier, 10 years ago

Good news! tested hrev46791 and the bug is gone. I have a small black square around the hand cursor in 24 bit (i don't have it in 16 bit) but i can live with that (would still be nice if that would be fixed as it would look more polished when demoing the OS).

comment:5 by AlienSoldier, 10 years ago

I got happy too fast. Today i experienced the problem again but when i rebooted it was fine. I guess there is some register/flag that are electrically in random state because of a lack of proper initialization from the driver. Interestingly i can up scale with that video chip in overlay but not downscale (the window resizing block when i reach the native video size).

comment:6 by AlienSoldier, 8 years ago

Looking at that again, it seem i miss 50% horizontally, so perhaps it is only a problem of double pixel size or wrote two time in a row.

comment:7 by rudolfc, 8 years ago

AlienSoldier, Perhaps some screenshots (taken with a camera, lower res will do) will make things clearer. Sounds like a programming error in the gfx driver indeed. Also, please be aware that the exact error might become evident if you do some explicit tests:

  • keep scaled at 1:1, to prevent scaling errors to kick in: draw window halfway outside screen at left, top, right and bottom (one at a time) and see how the visible part of the video progresses (still video, paused please)
  • scale up to so 150% and redo the tests
  • scale down to say 75% and redo the tests.

None of the above things goes well without explicit programming of the overlay card hardware. With these tests you'll notice most of the problems.

Please test with a video in resolution range 320x240..640x480, or DVD quality. Doing the tests with a few resolutions helps determining granularity and sizing restrictions..

Currently I test overlay using VLC 0.86D since indeed mediaplayer does not work: probably due to missing translation options inside/attached to that player: overlay mostly uses one colorspace only in our drivers which mediaplayer apparanly does not support.

Last edited 8 years ago by rudolfc (previous) (diff)

by AlienSoldier, 8 years ago

Attachment: DSC00258.JPG added

picture showing missing right part in overlay

comment:8 by rudolfc, 8 years ago

Hi, thats a nice picture. So, actually, the problem seems to be that the horizontal scaling factor is set twice the value it should me. A result of that is the right horizontal part not fittling on the screen. I guess this is a fault that should't be to hard to fix. A picture is really helpfull indeed :-)

comment:9 by pulkomandy, 4 years ago

Milestone: R1R1.1
Note: See TracTickets for help on using tickets.