GTK GUI

mnk
Junior Member
Posts: 25
Joined: Thu Mar 20, 2008 7:04 pm

GTK GUI

Post 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.)
Last edited by mnk on Fri Jun 27, 2008 7:27 am, edited 1 time in total.
bgK
Member
Posts: 88
Joined: Thu Apr 17, 2008 3:58 pm

GTK GUI

Post by bgK »

Can you try with r581 ?

mnk
Junior Member
Posts: 25
Joined: Thu Mar 20, 2008 7:04 pm

GTK GUI

Post 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)
bgK
Member
Posts: 88
Joined: Thu Apr 17, 2008 3:58 pm

GTK GUI

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

Last edited by bgK on Sat Jun 28, 2008 2:06 am, edited 1 time in total.
mnk
Junior Member
Posts: 25
Joined: Thu Mar 20, 2008 7:04 pm

GTK GUI

Post 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 ?

Last edited by mnk on Sun Sep 14, 2008 11:09 am, edited 1 time in total.
bgK
Member
Posts: 88
Joined: Thu Apr 17, 2008 3:58 pm

GTK GUI

Post 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 ?

mnk
Junior Member
Posts: 25
Joined: Thu Mar 20, 2008 7:04 pm

GTK GUI

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

Post Reply