Page 6 of 6

GTK GUI

Posted: Fri Jun 27, 2008 7:26 am
by mnk

A new day, a new bug.

This is actually an old one, but I was hoping it was a driver bug,

but it doesn't seem that way.

 

xf86-video-ati has introduced textured video adaptor for Xv.

However, that adaptor has no port attributes, so

Code: Select all

 Atom oAtom = XInternAtom(m_pDisplay, "XV_AUTOPAINT_COLORKEY", True); 
 if (oAtom != None)  
XvSetPortAttribute (m_pDisplay, m_iXvPortId, oAtom, 1);

results in

Code: Select all

The program 'gvbam' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
 (Details: serial 120 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.)

GTK GUI

Posted: Fri Jun 27, 2008 8:01 am
by bgK

Can you try with r581 ?


GTK GUI

Posted: Fri Jun 27, 2008 6:57 pm
by mnk

That version doesn't compile.

In fact it looks like what you commited is a part of some changes,

that are not yet in the tree.

  1. there doesn't seem to be any m_poFilter2x (reverted that change)
  1. ‘pAttr’ was not declared in this scope (by guessing, I decided it should have XvAttribute* type)

GTK GUI

Posted: Sat Jun 28, 2008 2:05 am
by bgK

That version doesn't compile.

In fact it looks like what you commited is a part of some changes,

that are not yet in the tree.

  1. there doesn't seem to be any m_poFilter2x (reverted that change)
  1. ‘pAttr’ was not declared in this scope (by guessing, I decided it should have XvAttribute* type)

 

Oh, right, I have several non finished and non compiling filter related changes (mostly support for the hq filters) and I forgot the Xv file was modified too. Thanks for the report. It should work now.


GTK GUI

Posted: Sun Sep 14, 2008 10:58 am
by mnk

Long time no see.

 

This time something rather trivial.

Current svn is unbuildable with gcc 4.3.

 

Following files need

#include

:

src/gtk/configfile.cpp

src/gtk/screenarea.cpp

src/gtk/screenarea-cairo.cpp

src/gtk/screenarea-xvideo.cpp

src/gtk/screenarea-opengl.cpp

 

BTW, before when gvbam was run from terminal, Ctrl-C interrupted it,

now, it does not. Why ?


GTK GUI

Posted: Sun Sep 14, 2008 11:15 am
by bgK

Oh right, the header cleanup broke the build for gcc 4.3 ... It's strange it compiled fine with gcc 4.2.

 

I have no idea about the Ctrl-C issue. Did it appear recently ?


GTK GUI

Posted: Sun Sep 14, 2008 12:08 pm
by mnk

Well, I'm not sure.

Recently, I haven't been using vbam much.

Today I tested it simply to see if update to

xorg-server 1.5.0 fixed the performance issues

with open radeon driver/DRI/Composite combo

(it didn't, btw., maybe it gets better when dri2

gets fully implemented).