[Bug 15879] Various issues: xvideo/dri/composite

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 20 02:32:27 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15879





--- Comment #14 from galtgendo at o2.pl  2008-05-20 02:32:23 PST ---
Created an attachment (id=16647)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16647)
output of xvinfo

OK, major update.
The key is my xvinfo.
The question is why did it work with fglrx ?
gvbam does following
m_iFormat = FOURCC_YUY2;
  for (int i = 0; i < iNumFormats; i++)
  {           
    if (pFormats[i].id == 0x3 || pFormats[i].type == XvRGB)
    {         
      /* Try to find a 32-bit mode */
      if (pFormats[i].bits_per_pixel == 32)
      {
        m_iFormat = pFormats[i].id;
      }
    }
  }
(where pFormats is the result of XvListImageFormats)
for fglrx that code was working, for this driver it seems
to choose an incorrect format.
Is that code incorrect, if so, why did it work with fglrx ?
(maybe fglrx simply doesn't have a format for those conditions,
so this change of format is never triggered.
And as a side note: yesterday I fetched this driver's git.
Well, this actually seems to be a bug in the driver:
if Adaptor #0: "ATI Radeon Video Overlay" is chosen, program works,
if Adaptor #1: "Radeon Textured Video" is chosen, program exits with:
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 1667 error_code 8 request_code 141 minor_code 13)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

But there's still the question, if anything can be done about that major
slowdown with (OpenGl/Cairo)+Composite+dri (actually, for cairo, it's there
even when dri is disabled, but then it's only a major slowdown, instead of
near-freeze, when with dri) (for OpenGL, while slowdown with dri is major,
system doesn't seem to freeze).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xorg-driver-ati mailing list