Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] gxine does not start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Sun Jan 20, 2008 9:05 am    Post subject: [solved] gxine does not start Reply with quote

When I try to start gxine, I receive the following error message:

The program 'gxine' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 322 error_code 8 request_code 143 minor_code 5)
(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.)

I have: gxine-0.5.11, xine-lib-1.1.9.1, gtk+-2.12.1-r2, xorg-server-1.3.0.0-r4.

As far as I can tell, the crash happens since the update of xorg-server.

Any ideas what is behind the crash and how to fix it?


Last edited by kds66 on Tue Jan 22, 2008 7:01 am; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Jan 20, 2008 9:39 am    Post subject: Reply with quote

If you haven't already, emerge gentoolkit. Then run
Code:
revdep-rebuild --pretend
If it shows that something needs to be rebuilt (and it looks reasonable) run it again without the "--pretend". You might also consider re-emerging xine-lib and gxine again. (if they aren't already by the revdep-rebuild)
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Sun Jan 20, 2008 10:08 am    Post subject: Reply with quote

I tried revdep-rebuild and emerge gxine, xine-lib, gtk+ and xorg-server but I keep getting the same error when launching gxine.

A few seconds after gxine crashes, a suspicious (although probably unrelated) message appears in .xsession-errors:

Gtk-Message: Failed to load module "gnomebreakpad"
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Sun Jan 20, 2008 10:20 am    Post subject: Reply with quote

Hmm, a minute or so after the gxine crash, the following gets written to .xsession-errors:

LoadPlugin: failed to initialize shared library /usr/lib64/gxine/gxineplugin.so [/usr/lib64/gxine/gxineplugin.so: wrong ELF class: ELFCLASS64]
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Jan 20, 2008 10:24 pm    Post subject: Reply with quote

You haven't tried to mix 32bit and 64bit libraries and applications have you?
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Mon Jan 21, 2008 12:09 pm    Post subject: Reply with quote

Quote:
LoadPlugin: failed to initialize shared library /usr/lib64/gxine/gxineplugin.so [/usr/lib64/gxine/gxineplugin.so: wrong ELF class: ELFCLASS64]


I found out that the above message has nothing to do with my gxine starting problem. I am using firefox-bin (32bit) because I want to use Java and Flash, and somehow it tries to pull in the 64bit gxineplugin.

The orginal problem persists. gxine does not start with the message:
Code:
 The program 'gxine' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 322 error_code 8 request_code 143 minor_code 5)
(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.)
Back to top
View user's profile Send private message
kds66
Apprentice
Apprentice


Joined: 17 Oct 2006
Posts: 166
Location: Manaus, Brazil

PostPosted: Tue Jan 22, 2008 7:05 am    Post subject: Reply with quote

gxine works again. The reason for the problem was that the xorg-server update set the opengl implementation to "xorg-x11" and I forgot to switch it back to "ati". Now that I have done that, gxine works fine. The crash persists with "xorg-x11" opengl, but that does not affect me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum