aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Question gtk-qt-engine  (Read 10180 times)

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Question gtk-qt-engine
« on: December 19, 2004, 08:29:25 AM »

Is this supported with aMule? I installed the engine and it works perfect with all my gtk apps except aMule.
Logged
-- El payaso cabron me dice que tengo que consumir!

lfroen

  • Guest
Re: Question gtk-qt-engine
« Reply #1 on: December 19, 2004, 11:36:12 AM »

gtk-qt - WTF is that ? url would be helpful.
Logged

Gusar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 27
Re: Question gtk-qt-engine
« Reply #2 on: December 19, 2004, 12:02:58 PM »

gtk-qt is a gtk-theme-engine that uses qt widgets for drawing, making gtk apps look like kde apps. It worked fine with aMule the last time I tested it. I think Ateo's problem is that he has aMule (wxWidgets actually) linked against gtk1, whereas gtk-qt is gtk2 only.
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #3 on: December 19, 2004, 07:30:08 PM »

Gusar: I compiled amule against gtk2.

Here's the link for gtk-qt-engine: http://xserver.freedesktop.org/Software/gtk-qt

The exact issue is.... I *CAN* open aMule but anytime I click on the transfer button to view my transfers, it bombs out. I can access every other part of aMule. Here is some info when I launch amule from terminal:
Code: [Select]
dracco@epitaph ~ $ amule
Initialising aMule
Userhash loaded: 33B46DxxxxxxxxxC6FEE
*** UDP socket at 4664
*** UDP socket at 4672
External connections disabled in config file .eMule
*** reading servers
Loading temp files from /media/p2p/temp.
Empty dir /media/public/ shared
*** TCP socket at 4661
ListenSocket: Ok.
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
AICH Thread: No new files found.
AICH Thread: Thread terminated.
QPainter::begin: Cannot paint null pixmap
QPainter::setPen: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setBrush: Will be reset by begin()
QPainter::setPen: Will be reset by begin()

OOPS! - Seems like aMule crashed.
        Version is: aMule 2.0.0rc7 using wxGTK2 v2.4.2
--== BACKTRACE FOLLOWS: ==--

[0] amule(_ZN9CamuleApp16OnFatalExceptionEv+0x24a) [0x824606e]
[1] /usr/lib/libwx_gtk2-2.4.so(wxFatalSignalHandler+0x28) [0xb7e6ca7c]
[2] /lib/libpthread.so.0 [0xb7f89167]
[3] [0xffffe420]
[4] /usr/X11R6/lib/libX11.so.6(XSetTile+0x1e) [0xb7162dce]
[5] /usr/kde/3.3/lib/kde3/plugins/styles/keramik.so(_ZN7Keramik11TilePainter4drawEP8QPainteriiiiRK6QColorS5_bNS0_9PaintModeE+0x8a3) [0xb664ca3b]
[6] [0x40033e]
Aborted

I'm pretty sure you're going to tell me "not supported" but it never hurts to ask.
« Last Edit: December 19, 2004, 07:31:32 PM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Question gtk-qt-engine
« Reply #4 on: December 19, 2004, 10:24:37 PM »

not supported

:P

no, really, that's soem gtk-qt bug then :-(
you should report them.

Greets!
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #5 on: December 19, 2004, 10:56:01 PM »

Okie dokie. Thanks. I just didn't know how I should have addressed first. :)
Logged
-- El payaso cabron me dice que tengo que consumir!

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #6 on: December 27, 2004, 12:19:03 PM »

Well. It was me. My compile flags were too aggressive.  8o
« Last Edit: December 27, 2004, 12:19:30 PM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Question gtk-qt-engine
« Reply #7 on: December 27, 2004, 03:34:23 PM »

Please Ateo, tell us your wrong and your right compilation flags, just in case somebody else is having problems with this.

Regards.
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #8 on: December 27, 2004, 08:31:40 PM »

Quote
Originally posted by skolnick
Please Ateo, tell us your wrong and your right compilation flags, just in case somebody else is having problems with this.

Regards.

The flags I was using were:
Code: [Select]
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays

I admit I was a bit creative with my flags. 2 packages started to give me headaches with those flags so I shaved down my flags to:
Code: [Select]
-march=athlon-xp -O2 -pipe -mno-sse
... and now my system seems even faster.

I run an "unstable" gentoo system so I like to try out different things. The new flags was a suggestion from a gentoo developer.

P.S. aMule looks really nice with gtk2 using this gtk-qt engine. Works great too! Visually, to me, it looks much better than emule or any other p2p I've tried in recent times. =)
« Last Edit: December 27, 2004, 08:36:24 PM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

Theetjuh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: Question gtk-qt-engine
« Reply #9 on: December 28, 2004, 12:22:29 AM »

So you say wxWidgets has no memory leakes anymore with gtk2 enabled ?
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #10 on: December 28, 2004, 01:20:08 AM »

I haven't used rc8 long enough to say yes. I can say this... with amule running, my cpu usage lingers at around 16%.. average.. depending on what I'm doing. Memory usage seems normal to me.

This is aMule 2.0.0rc8 using wxGTK2 v2.4.2.
« Last Edit: January 02, 2005, 03:59:01 AM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

Theetjuh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: Question gtk-qt-engine
« Reply #11 on: December 28, 2004, 10:48:04 PM »

I've heard that GTK2 support in 2.4.2 is very bad ... but you're using it ?(
Logged

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
Re: Question gtk-qt-engine
« Reply #12 on: December 28, 2004, 10:59:31 PM »

mmh tell me how can you ride your mule with gtk2 ...

rc7+wxGTK-2.4.2/2.5.3 [USE=gtk2 unicode] linked to gtk2 worked well
rc8+wxGTK-2.4.2/2.5.3 [USE=gtk2 unicode] linked to gtk2 work well 'till open connections are   limited to a bunch

are you using an ebuild or compiling by hand?
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #13 on: December 29, 2004, 01:05:05 AM »

I made my own ebuild for rc7-rc8. I've attached it if you want to try it out. It's unsupported by gentoo and by me. From my understanding, it's amule + gtk2 + wxGTK 2.5.3 that's a problem. amule + gtk2 + wxGTK 2.4.2 is fine. You can also use gtk1 + wxGTK-2.5.3... Again, from my understanding. I may be wrong.

Assuming you're using gentoo just drop the attachment into your {portage_overlay}/net-p2p/amule and good luck.
« Last Edit: December 29, 2004, 01:13:44 AM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: Question gtk-qt-engine
« Reply #14 on: December 29, 2004, 01:14:43 AM »

Got me... I linked wxGTK 2.4.2 to gtk2 just fine. Works with amule even. This is so cool it makes me want to slap my mother! :-P
« Last Edit: December 29, 2004, 01:15:24 AM by Ateo »
Logged
-- El payaso cabron me dice que tengo que consumir!
Pages: [1] 2