LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-21-2008, 06:21 PM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
xine and xfce4 using compiz-fusion


Running xine gives the following error

Code:
This is xine (X11 gui) - a free video player v0.99.6cvs.
(c) 2000-2007 The xine Team.
xiTK WARNING(_x_error_handler:258): X error received: 'BadWindow (invalid Window parameter)'
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0xe000ae
  Serial number of failed request:  43
  Current serial number in output stream:  43
However there seems to be a solution here. Problem is that I have no idea what to do with this solution.

Please help.
 
Old 12-22-2009, 03:48 PM   #2
MewBlood
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 1
Re: xine and xfce4 using compiz-fusion (Solution)

Howdy.

This bug is still a problem in vanilla Archlinux with xfce4 + xine-ui + compiz-fusion as of 22th december 2009.

You've probably already moved on/fixed the problem, but I'll throw a possible solution up here for other users googling the problem. I apologize in advance for bumping an year-old thread. There's red text above the reply-box which warns me against posting old, irrelevant replies.

The solution the OP is directing to is a CVS-commit-log for a specific revision of xitk.c, ie. a change in some code in the xine-ui source tree. Essentially you'd have to build xine-ui from the sourcecode yourself, with the specified changes to the relevant file.

(I'll be very explicit)
I downloaded the latest source code release (0.99.5 at the time of writing) for xine-ui. (Note: Download the code for "xine-ui", not xine-lib or any of the others listed.) Sadly I cannot link to urls directly because of my brand new account on linuxquestions, so you'll have to google for it. It's located on sourceforge.
After that, I extracted the sourcecode and attempted to build the source code (./configure && make in the xine-ui-0.99-5 directory), to see if it could compile without modification.

(You'd obviously need some of the basic compiling tools to do this, but you should be able to find them on your distribution's website and download them through the package managers.)

In order to incorporate the fix, I downloaded the revised version of the xitk.c file from the site the OP is linking to. Scroll up to the top and click Code -> CVS browse. You'll have to traverse through some directories: xine-ui > src > xitk > xine-toolkit > xitk.c
When you click on the file, you'll be presented with a list of revisions for xitk.c. The changes specified in the "solution log" is from revision 1.162 to 1.163 - ie: Head down to the entry and download xitk.c with the 1.163 revision.
After that you'll have to replace the old xitk.c file (located in in your extracted directory xine-ui-0.99.5/src/xitk/xine-toolkit/xitk.c) with the revised xitk.c from the cvs-directory.

After that I did another make and tried executing the new xine executable while compiz was enabled: ./xine located at xine-ui-0.99.5/src/xitk/xine

If it works succesfully, I recommend copying the new xine executable to /usr/bin/xine (or whereever it is installed), so It'll replace the old one. (note: Doing a "make install" will probably do something similar.)

I've only noticed one bug with this setup so far: When compiz is enabled, there's some completely transparent borders to the right and bottom of xine's video feed. This, of course, could just be a problem with my chosen window manager theme and some inaccuracies in border sizes. Be ready to reinstall the packaged version for your given distribution though, if this fix breaks more than it helps.

Well, I hope it helps.

Last edited by MewBlood; 12-22-2009 at 03:50 PM.
 
Old 12-29-2009, 11:58 AM   #3
ninja master
Member
 
Registered: May 2008
Distribution: gentoo amd64 xwrt
Posts: 407

Rep: Reputation: 30
caugh HIGH 5!!!! MewBlood the front end http://prdownloads.sourceforge.net/x...-0.99.5.tar.gz the cvs file to fix the issue http://xine.cvs.sourceforge.net/view...revision=1.163
 
  


Reply

Tags
compiz, xfce4, xine, compiz fusion


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiz-fusion has no borders oldsko0l Linux - Software 4 08-01-2011 11:51 AM
Fedora 8 and compiz fusion.... sblantipodi Fedora 13 02-24-2008 11:02 AM
Compiz Fusion problem phantom_cyph Linux - Software 4 11-05-2007 10:54 PM
Compiz-Fusion help tekgek Linux - Desktop 10 10-24-2007 10:39 PM
compiz fusion plugins BCarey Slackware 5 08-04-2007 03:26 PM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration