Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[SOLVED] Compiz Fusion + Azureus

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
einheitlix
Tux's lil' helper
Tux's lil' helper
Posts: 144
Joined: Tue Aug 03, 2004 10:02 pm
Location: Saarbrücken, Germany
Contact:
Contact einheitlix
Website

[SOLVED] Compiz Fusion + Azureus

  • Quote

Post by einheitlix » Sat Sep 01, 2007 9:09 am

Hi,

I recently switched from Beryl to Compiz Fusion and I like it better, but I since then I couldn't get Azureus running (it worked fine before).

The problem is the following: to compile Compiz, it is required to compile libX11 with the "xcb" USE flag. Otherwise Compiz won't even start to compile, as the ebuild of Compiz from the xeffects overlay checks this.

But, as it is described in use.local.desc...
x11-libs/libX11:xcb - Support the X C-language Binding, a replacement for Xlib (can break proprietary binaries, for example Sun Java)
...now Azureus, which runs on the Sun Java VM, doesn't work anymore. It starts the GUI for a split second, then immediately crashes with the following error message:
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
I googled for this and it seems like compiling libX11 with xcb breaks any package using AWT/Swing with the Sun Java VM.

I thought of using the Blackdown JRE instead, but Azureus requires at least Java version 1.5.0, and Blackdown only provides Java versions up to 1.4.2.

So now I'm stuck. Any ideas on how to resolve this problem? Does anyone know if it is possible to run Azureus along with Compiz Fusion at all? Has anyone got this combination of programs working?
Any help would be greatly appreciated :)
Last edited by einheitlix on Sun Sep 02, 2007 7:52 pm, edited 1 time in total.
Collecting data is only the first step toward wisdom. But sharing data is the first step toward community.
Top
wizard69
Apprentice
Apprentice
User avatar
Posts: 178
Joined: Mon Sep 22, 2003 10:43 am
Location: Berlin

  • Quote

Post by wizard69 » Sat Sep 01, 2007 10:43 am

have you thought about using ktorrent instead or one of the other torrent apps in Portage. The xcb use flags seems to break Java apps. There is a patch to address the issue on the xeffects forum

have a look here


http://forums.gentoo-xeffects.org/viewt ... ?f=3&t=576

I haven't tried it myself please report if it works
Top
omidxo
n00b
n00b
User avatar
Posts: 71
Joined: Wed Feb 23, 2005 12:19 pm

  • Quote

Post by omidxo » Sat Sep 01, 2007 12:37 pm

The following workarounds address this problem:

For sun-java5-bin:
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/sun-jdk-1.5.0.12/jre/lib/amd64/xawt/libmawt.so

For sun-java6-bin:
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/sun-jdk-1.6.0.02/jre/lib/amd64/xawt/libmawt.so

The same fix (applied to the appropriate file) might work for other
proprietary JDKs.
Sorry for forgot the provenance.
Top
wizard69
Apprentice
Apprentice
User avatar
Posts: 178
Joined: Mon Sep 22, 2003 10:43 am
Location: Berlin

  • Quote

Post by wizard69 » Sat Sep 01, 2007 6:45 pm

Thanks a lot java works with no problems. All i had to do was to substitute the amd64 for i386 in the given path.
Top
einheitlix
Tux's lil' helper
Tux's lil' helper
Posts: 144
Joined: Tue Aug 03, 2004 10:02 pm
Location: Saarbrücken, Germany
Contact:
Contact einheitlix
Website

  • Quote

Post by einheitlix » Sun Sep 02, 2007 7:50 pm

Thanks, this solved the problem for me, too! Although this is quite a hack, it will do fine until Sun fixes its code :)

I didn't try the patched libX11 ebuild... for one thing, I don't really like to mess around with third-party ebuilds that don't even belong to any overlay and will certainly not be maintained, that would just be a very temporary workaround at best; plus, it seems the xeffects forums were just completely erased and the above link doesn't work anymore ;)
Collecting data is only the first step toward wisdom. But sharing data is the first step toward community.
Top
B.marc
n00b
n00b
Posts: 40
Joined: Sun Oct 16, 2005 5:26 pm
Location: Braunschweig / Germany

  • Quote

Post by B.marc » Thu Sep 13, 2007 11:19 am

wizard69 wrote:Thanks a lot java works with no problems. All i had to do was to substitute the amd64 for i386 in the given path.
Worked for me, too (dev-java/sun-jdk-1.5.0.12).

Thanks
Marc
Top
Roums
n00b
n00b
Posts: 24
Joined: Sat Apr 01, 2006 12:12 pm

  • Quote

Post by Roums » Thu Sep 20, 2007 7:24 pm

me too :D
sun-jre-bin-1.5.0.12
Top
region-g
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Wed May 04, 2005 11:30 pm
Location: Ελλάς
Contact:
Contact region-g
Website

  • Quote

Post by region-g » Sat Oct 27, 2007 8:04 pm

@omidxo Thank you worked in my system too, sun-jdk-1.6 .
wanna react ?
Top
luche
n00b
n00b
User avatar
Posts: 21
Joined: Fri Apr 19, 2002 12:58 pm
Location: Quebec

  • Quote

Post by luche » Sun Oct 28, 2007 4:23 pm

Didn't work for me... Although I don't have an amd64...

Athlon-xp, sun-jre-1.5.0.13

Oh well, i'm off compiling KTorrent !
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sun Oct 28, 2007 7:07 pm

just use the live-builds (9999) and disable xcb use-flag - works fine for me

both under x86 and amd64

have fun 8)
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
aussiemale
n00b
n00b
User avatar
Posts: 32
Joined: Sat Oct 21, 2006 10:18 pm
Location: Melbourne, Australia
Contact:
Contact aussiemale
Website

  • Quote

Post by aussiemale » Thu Mar 13, 2008 10:55 pm

Another thing you can try is to set 'AWT_TOOLKIT=MToolkit' as part of your environment variables. However this doesn't seem to work with Java 1.6 yet.
(IRC: weirdedout)
9 Gentoo Boxes & growing!
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Thu Mar 13, 2008 11:01 pm

AFAIK compiling libxcb with -DNDEBUG flag also resolves problem with java.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Thu Mar 13, 2008 11:24 pm

unK wrote:AFAIK compiling libxcb with -DNDEBUG flag also resolves problem with java.
good to know,

thanks :)

do you think it would be wise / sane to enable that flag globally ?
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
unK
l33t
l33t
User avatar
Posts: 769
Joined: Tue Feb 06, 2007 5:08 pm

  • Quote

Post by unK » Fri Mar 14, 2008 11:51 am

kernelOfTruth wrote:do you think it would be wise / sane to enable that flag globally ?
I read that using -DNDEBUG -DG_DISABLE_ASSERT globally might break some apps, so probably it wouldn't, although I don't know anything about -DNDEBUG itself.
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Top
Post Reply

14 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy