Jump to content
Visual Boy Advance-M
bgK

GTK GUI

Recommended Posts

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

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

results in

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.)

Share this post


Link to post
Share on other sites

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)

2. ‘pAttr’ was not declared in this scope (by guessing, I decided it should have XvAttribute* type)

Share this post


Link to post
Share on other sites

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)

2. ‘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.

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×