[patch] XVideo on my Radeon

Alex Deucher alexdeucher at gmail.com
Wed Jan 25 13:44:20 PST 2006


On 1/25/06, Jacek Popławski <jpopl at interia.pl> wrote:
> Hello.
>
> I have submitted bug report about my problem with XVideo on xorg 6.9 /
> 7.0:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=5623
>
> I asked people on newsgroup and forum, and found only one person with
> exactly same problem, but that person switched from DRI to fglrx and
> problem disappeared. I also found happy users with working XVideo on
> Radeons - so this bug is probably very rare. Anyway - I am using Radeon
> 9100, and that another person is using 9600 - so this is not related to
> chip version (maybe new gcc?).
>
> I used CVS version from 2005-08-01, compiled it, and realized that
> XVideo is working. So I started search and found that it stopped working
> between 2005-08-25 and 2005-08-26. Problem was in file radeon_bios.c:
>
> if (!RADEON_BIOS8(tmp + i*2) && i > 1) break; /* end of table */
>
> was changed to:
>
> if (!RADEON_BIOS16(tmp + i*2))
>         break; /* end of table */
>
> When I changed back that in the current CVS - XVideo started to work!
>
> Is this the right place to discuss such problems? Or is there any
> Radeon-related mailing-list?
>
> Where should I send proposed patch?

this shouldn't have anything to do with Xv; that code handles display
detection.  It might however affect the crtc mapping.  I suspect the
overlay is getting sourced to the wrong crtc in your case.  try using
the current driver, then use xvattr (or your favor xv attribute
program) and toggle the XV_SWITCH_CRT attribute and see is that fixes
the problem.

Alex

>
> --
> Free Software - find interesting programs and change them
> NetHack - meet interesting creatures, kill them and eat their bodies
> Usenet - meet interesting people from all over the world and flame them
> Decopter - unrealistic helicopter simulator, get it from http://decopter.sf.net


More information about the xorg mailing list