Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WTH Linux Freezes!?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Fri Sep 23, 2005 4:27 am    Post subject: WTH Linux Freezes!? Reply with quote

I'm having a few problems, one of which just started recently. First, occasionally when I open a program (usually those preceeded with a K, KDE is evil!) CPU usage will shoot up to 99% and everything freezes. The clock in fluxbox flickers and sticks and I can't change windows to do a killall -9. Clicking things does nothing, there's no HDD activity going on, and the hotkey set to kill the current window has no effect. The only thing I can do is hit the reset button. Like I said, this happens occaisionally. Mostly with KDE apps such as amarok, kaffeine, etc, but I've had it happen with other non-KDE apps. Checking /var/log/messages gives me nothing noticeable, not even if i have it tailed in the background and can see it while opening the program.

Second problem just started recently. I've been using gdesklets and a starterbar through it as a docker or launcher in fluxbox. I have some starters on it and they work great, but as of earlier today I can't open the "New Starter" or "Edit Starter" window. I can get the view source, configuration, move applet, restart applet and everything else to work fine, but not the windows to add/edit starters. I have tried restarting, reverting to an older kernel, restarting gdesklets and the applet and still nothing. Anyone have any ideas on either of these problems?

I'm running 64-bit gentoo, 2.6.13.2-nitro1 kernel, latest fluxbox, latest gdesklets, syslog-ng, and xorg-x11-6.8.2-r5.
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Fri Sep 23, 2005 8:06 am    Post subject: Reply with quote

Post your emerge info.
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Fri Sep 23, 2005 12:29 pm    Post subject: Reply with quote

crazycat wrote:
Post your emerge info.


My make.conf?
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Fri Sep 23, 2005 1:07 pm    Post subject: Reply with quote

satanskin wrote:
crazycat wrote:
Post your emerge info.


My make.conf?


No, the output from
Code:
emerge --info

_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
HermanR
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 293
Location: The Netherlands

PostPosted: Fri Sep 23, 2005 6:48 pm    Post subject: Reply with quote

For the freezes you have, take a look at the X.org Lockups forum thread to see that you're not alone, unfortunately. As you can see there, the lockups can have a number of reasons.

I solved my own problems by disabling the powernow stuff, but my symptoms were a bit different from yours. Good luck!
_________________
Gentoo (64 bits) on AMD64 X2 4400+, MSI K8T Neo2-FIR, 2 Gb RAM, 320 + 160 Gb SATA, nVidia Geforce 6600
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Fri Sep 23, 2005 8:07 pm    Post subject: Reply with quote

emerge --info gives the following:

Code:
Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13.2-nitro1 x86_64)
=================================================================
System uname: 2.6.13.2-nitro1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aim alsa arts avi berkdb bitmap-fonts bmp bzlib cdr crypt cups curl doc dvd dvdr dvdread eds emboss encode esd ethereal fam ffmpeg flac flash foomaticdb fortran freetype ftp gd gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 jack java javascript jikes jpeg junit kde libg++ libwww lmsensors lzw lzw-tiff mad mame mcal mikmod ming mmk mng motif mp3 mpeg msn ncurses nls nptl nptlonly ogg oggvorbis openal opengl oscar oss pam pdflib perl png python qt quicktime readline samba sdl spell sqlite ssl szip tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd videos vorbis wxwindow xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Wed Nov 02, 2005 3:03 am    Post subject: Reply with quote

Does no one have any idea what could be wrong? Just incase here is an updated emerge info:
Code:
Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-4.0.2, glibc-2.3.5-r3, 2.6.14-acid2 x86_64)
=================================================================
System uname: 2.6.14-acid2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.channelx.biz/ http://ftp.gentoo.or.kr/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aim alsa arts avi berkdb bitmap-fonts cairo cdr crypt cups curl dbus doc dvd dvdr dvdread eds emboss encode esd ethereal fam ffmpeg firefox flac flash foomaticdb fortran freetype ftp gd gif glibc-omitfp gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 java javascript jikes jpeg junit kde libg++ libwww lzw lzw-tiff mad mcal mikmod ming mng motif mozilla mp3 mpeg msn ncurses nls nomalloccheck nptl nptlonly nvidia ogg oggvorbis openal opengl oscar oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sqlite ssl szip tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd videos vorbis xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS


EDIT: This shows gcc 4.0.2, but amarok would not even compile with that so I switched to 3.4.4 to compile it, then back to my normal 4.0.2. It has been quite a few months since I last tried this and I still get the same thing with both amarok and kopete. The system locks up and I can't do anything but do a hard reboot. And the system tray clock in fluxbox flashes. I have tried with multiple versions of fluxbox, kde, kdelibs, amarok, etc. and all give the same thing. Has anyone else come across this?
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Nov 02, 2005 5:17 pm    Post subject: Reply with quote

there are several 'wrongs'.
O3 is no very stable
gcc 4.X is not 'stable'.

Change back to a saver gcc like 3.4.3 and rebuilt. Use -O2, and a more reasonable kernel (gentoo or vanilla sources)

If you still have problems, you might have a hardware problem. did you check dmesg when it hangs?
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
6D7474
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2005
Posts: 135

PostPosted: Wed Nov 02, 2005 7:20 pm    Post subject: Reply with quote

i used -03 and i can't actually say it's unstable (now i use -02 though), but if you want to experiment with gcc 4 -O2 is defenitely a better idea...
afaik gcc 4 still doesn't produce faster code than gcc 3.4...
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Wed Nov 02, 2005 8:04 pm    Post subject: Reply with quote

when anandtest did their Mac 'debunked' articles, they pitched the Macs against Opterons and Xeons - and gcc 4 produced much slower code for opteron.

So I stay with 3.4, knowing that it is much better than gcc4 ;)
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Wed Nov 02, 2005 9:23 pm    Post subject: Reply with quote

i wouldn't expect to have a stable system when using ~amd64... maybe you wanna revert to amd64
_________________
Get a life...
Code:
:(){ :|:& };:
Use at own risk...
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Wed Nov 02, 2005 11:49 pm    Post subject: Reply with quote

I'm sorry, I thought I had made this clear in my previous posts, but I have tried and received the same results with multiple versions of amarok built on multiple versions of gcc. I started trying back when I was originally using just straight amd64 (not ~amd64) with gcc 3.4.3 and -O2. I have tried it also with -O3, gcc 3.4.4 and 4.0.2 and with ~amd64. None of them have worked and I have not seen anything in dmesg. However I will try it again and then post the dmesg after if fails.

Offtopic, I have been using ~amd64 for quite a while now and KDE apps are the only thing to ever give me any trouble. They gave me the same trouble before I moved to unstable so that is not the problem. I have also had a very stable system using gcc 4.0.2 and -O3. I did use -O2 before for the longest time, but wanted the extra optimations. The only real difference is size which doesn't matter too much. Also gcc 4.0.2 is in testing and that's what I am doing. Testing it to help it be passed on to stable. Yes it does tend to produce some less than optimal code sometimes, but that is only because a lot it has been rewritten and changed. That is due to improve though with later releases. But enough of that. I'd like to keep this thread on topic and try to get this issue fixed. I'll post the dmesg in a bit when I get a chance.
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Tue Nov 15, 2005 10:52 pm    Post subject: A solution? Reply with quote

This describes the exact problem I am debugging on my 32 bit system, down to the blinking fluxbox clock.

For me it happens repeatably when I do certain things in kde like invoke kmail and begin typing into one of its password dialog boxes. Because this problem causes extreme lag at the X terminal, to the extent that my caps lock key will take several minutes to affect the light on the keyboard, and yet leaves my system perfectly responsive if I log in via ssh, I assumed this was down to a problem in my X server. Certainly, the fact that such behavior CAN happen indicates that there is indeed some design flaw in the X server but, frankly, this is hardly news.

HOWEVER, after consulting my divining rod, I realized that X11 was just a patsy for a more clever culprit. The problem was, in fact, fluxbox, which I notice you also happen to be running, satanskin. I am guessing that the KDE icon tray code in fb is broken with respect to modern kde's.

Remove the "kde" use flag from the fluxbox ebuild. Cut/pasting the following beautifully lucid command into a bash prompt as root may do the trick (once it finishes uploading all your passwords to my server in Ukraine and formatting all your hard drives):

Code:
echo ; if [ "$(cat /etc/portage/package.use | grep -v -e '^[[:space:]]*#' | grep 'x11-wm/fluxbox' | wc -l)" -eq "0" ]; then echo 'x11-wm/fluxbox -kde' >> /etc/portage/package.use && echo 'Great, now type "emerge fluxbox"'; else echo 'Fuck you, fix it yourself.  Type: "nano -w /etc/portage/package.use" and add "-kde" to the x11-wm/fluxbox line, or replace "kde" with "-kde" if present.  Then re-emerge fluxbox.'; fi


Disclaimer: so far I have only tested this by doing "killall fluxbox; fluxbox" -- it might only work temporarily or something.

I should file a bug about this, eh? First I will have to do some homework though, since maybe there is a fix somewhere already.
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Thu Nov 17, 2005 12:03 am    Post subject: Re: A solution? Reply with quote

i_hate_your_os wrote:
This describes the exact problem I am debugging on my 32 bit system, down to the blinking fluxbox clock.

(snip)

Remove the "kde" use flag from the fluxbox ebuild. Cut/pasting the following beautifully lucid command into a bash prompt as root may do the trick (once it finishes uploading all your passwords to my server in Ukraine and formatting all your hard drives):

Code:
echo ; if [ "$(cat /etc/portage/package.use | grep -v -e '^[[:space:]]*#' | grep 'x11-wm/fluxbox' | wc -l)" -eq "0" ]; then echo 'x11-wm/fluxbox -kde' >> /etc/portage/package.use && echo 'Great, now type "emerge fluxbox"'; else echo 'Fuck you, fix it yourself.  Type: "nano -w /etc/portage/package.use" and add "-kde" to the x11-wm/fluxbox line, or replace "kde" with "-kde" if present.  Then re-emerge fluxbox.'; fi


Disclaimer: so far I have only tested this by doing "killall fluxbox; fluxbox" -- it might only work temporarily or something.

I should file a bug about this, eh? First I will have to do some homework though, since maybe there is a fix somewhere already.


So did this actually work for you after recompiling with -kde flag? And do the KDE apps run just fine afterward? Yes I think you should go ahead a file a bug for it and I'll be sure to post my shit on it as well.

EDIT: This did not work for me. I remerged fluxbox with USE="-kde" and rebooted and it still froze up on me when trying to start kopete. It will also freeze up on me with other programs as well. Most recently/notably using folding@home through wine. It freezes up everytime no matter what.
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Thu Nov 17, 2005 10:59 am    Post subject: Re: A solution? Reply with quote

satanskin wrote:

So did this actually work for you after recompiling with -kde flag? And do the KDE apps run just fine afterward? Yes I think you should go ahead a file a bug for it and I'll be sure to post my shit on it as well.

EDIT: This did not work for me. I remerged fluxbox with USE="-kde" and rebooted and it still froze up on me when trying to start kopete. It will also freeze up on me with other programs as well. Most recently/notably using folding@home through wine. It freezes up everytime no matter what.


I'm afraid it did solve my problem.

The entire body of (functional) code controlled by the kde use flag in fluxbox consists of:

Code:

#ifdef KDE
    if (screen().isKdeDockapp(w))
        client->resize(24, 24);
    else
#endif // KDE


in Slit.cc. Looks eminently debuggable but alas I have not found the time to look into it any further than to identify it.

My problem was pretty clearly kde <-> slit specific. You mention that a wine app exhibits this behavior, but it just so happens that wine has lots of special icon-tray magic designed to mollycoddle kde, amongst others, in particular (this is pretty obviously by necessity if you think about it for a minute). Since not all the kde related code in fluxbox is #ifdef'ed (see Slit.cc line 264, for example), then it is at least still plausible (but starting to look less likely) that your problem and mine are the same or related. The only problem with that hypothesis is, why does -kde fix mine and not yours?

Question: does running twm instead of fluxbox make the problem go away?
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Thu Nov 17, 2005 7:48 pm    Post subject: Reply with quote

Good question? I wonder if just getting rid of the toolbar all together would fix this? Either way, twm is masked for amd64 architecture period (not just ~amd64). So I'm gonna emerge fvwm and try it it what. I'll let you know how that one works out.
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Thu Nov 17, 2005 11:09 pm    Post subject: Reply with quote

Ok, so good/bad news. The good news is that I booted in to FVWM (looked like crap and I had no idea what i was doing! lol) and tried out the kde app and it ran just fine. No freezing, it ran just fine. So the bad news is that it means you were right. It is a problem with Fluxbox. So I would suggest you go ahead and file that bug. When you do, please post the link to it so I can watch it and post my stuff too. Thanks.
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Fri Nov 18, 2005 3:40 am    Post subject: Reply with quote

Mentioned this bug on their bug tracker here https://sourceforge.net/tracker/index.php?func=detail&aid=1359442&group_id=35398&atid=413960 Feel free to either post a new one, or to post and make mine sound much better as I'm sure you could phrase it much better than I.
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Fri Nov 18, 2005 7:38 pm    Post subject: Reply with quote

Well at least there is one bug to fix and not two :)

I still want to look at fixing this myself before I go around filing bug reports; I'll try to take a look later today.
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)
Back to top
View user's profile Send private message
dwinks_gentoo
n00b
n00b


Joined: 09 Nov 2005
Posts: 8

PostPosted: Sat Nov 19, 2005 5:49 am    Post subject: Reply with quote

Was just wondering why you would rather use a light WM like *box or FVWM rather than KDE or Gnome?

I mean, unless I am mistaken, I don't think your AMD64 processor is anything less than 2GHz.

Most people use light WMs because they are running 500Mhz or less, or 128MB of ram, or both.

Both KDE and Gnome provide high levels of customizability, at least more than enough to likely keep you busy (FVWM is one of the most customizable, but a total pain to work with). From my estimations of your coding/linux skill, and your own statement about FVWM, I would guess that you don't need such extremes.

Try Gnome, with Metacity, or KDE (just google for a guide on a minimal install) so you can get them w/o much of the bloat. Superkaramba or Gdesklets both provide dockers and launchers and other stuff so you can get rid of the kicker or gnome panel if you so wish.

I run a minimal KDE install, with a decent amount of eye-candy and other toys on a machine that I would guess is about 50% as fast as yours (1.75Ghz Sempron 32bit, 1G ram) and it is snappy and responsive...and don't lock up my system.

Also, listen to the other people here, I would do:

1) emerge gcc 3.4, twice, rebuilding it the second time with itself.
2) emerge -P gcc 4.x
3) remove as many ~ packages as you can, especially ~amd64
4) emerge portage
5) emerge --deep --upgrade --newuse world

O3 makes your system SLOWER btw too. O2 or 0s are better options. O3 (when its not flat out ignored and interpreted as Os) makes the binaries RUN faster, but also tends to make them 30% bigger, or more. Faster, bigger binaries are great for servers and workstations that load up 1 or 2 programs and run them over and over. 30% more time spent reading data off a disk drive is ok for them, but its KILLER on a home PC.

Click on OOffice or Firefox with O3 and they will take 30% or more longer to load. Sure, that firefox might respond in 0.014 seconds to a mouseclick rather than 0.019 seconds, but took 1.9 seconds to load up rather than 1.2 seconds. 03 isnt worth it on a home pc.
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Sat Nov 19, 2005 12:38 pm    Post subject: Reply with quote

Well I get the impression you are adressing the original poster. But since most of these questions could equally apply to me I will give you my perspective. Just to be clear, since I do kind of disgree with some of your advice below, this is not intended as a flame (more of a rant or rambling screed I guess).

dwinks_gentoo wrote:
Was just wondering why you would rather use a light WM like *box or FVWM rather than KDE or Gnome?

I mean, unless I am mistaken, I don't think your AMD64 processor is anything less than 2GHz.


Well I have a 32 bit cpu but it's a nice one. The answer is: because it makes me happy. I have tried gnome and kde for years. I keep switching back and forth and tweaking them until I am blue in the face. They just don't feel like unix to me. They both feel oppressively monolithic whenever something breaks (often!) and I can't fix it without learning some gedanken half-implemented M/V/C message-passing psuedOOP framework with a 45 minute compile-test cycle.

Personally, I always end up looking back longingly at the days when I ran fvwm2 (it was the baddest kid on the block at the time, but controvercial because people thought it was too bloated :roll:). Man did I love that thing... interesting that it has come up in this thread.

But as you mention, fvwm2 was also a futzy environment with a high labor/eye-candy ratio. Frankly I'm too lazy to go back to fvwm, but I think I have decided (only recently) that I am nevertheless too much of a ricer to just turn up the "eye-candy" slider in KDE and call it a day. There just isn't enough there that I can call "mine." If you really try to customize KDE, it just breaks -- the code just isn't stable enough, it can't hold up to the kind of abuse I need to give my WM. Try using the programmable functionality in khotkeys or whatever it's called to configure several remotes and wireless gizmos to automagically work with several multimedia applications and you'll see what I'm talking about. After the 30th or 40th crash in a row, when all you are trying to do is basically change an AND into an OR you start to ask yourself: "Why did I stop using text files to configure my WM again?"

To my way of thinking, fvwm really captured the sprit of UNIX and Linux in particular: it was fun, REALLY configurable (without a bunch of access violations) lightning fast, and had a comprehensible code-base. In short it was elegant, and it did the trick without trying to be a pop-up-sticky-note-weather-applet- organizer-office-suite-IDE-session-manager-e-mail-client- kernel/font/network/printer/multiboot-configurator- and-kitchen-sink-inclusive "framework." It was a window manager and nothing more. It was configurable via simple text files and had man pages. There was more than one way to do it.

And that is why I am now running fluxbox. Basically, the same reason I run Gentoo. When I want a corporate desktop I can boot Windows or Red Hat. When I want a nerdy, ricer-friendly desktop that allows me to magically transform my workspace into something totally, utterly new every couple of months -- something that makes my friends say "wow, this is different and cool and makes using your computer fun and pleasant" (even if they are linuxers) -- I am no longer looking to kde/gnome. Those have now joined the pantheon of boring frameworks like Motif that have some killer apps but got hijacked by creeping featurism and wierd ergonomic directions that make them non-Unixy in a way is fine for other people but doesn't work so great for me.

dwinks_gentoo wrote:
Most people use light WMs because they are running 500Mhz or less, or 128MB of ram, or both.


Actually, most people just run Windows. But Larry the Cow told me it was OK to run fluxbox if I wanted to.

dwinks_gentoo wrote:
...and don't lock up my system.


Oh? You must not use arts then? But that means no audio in knotify. Or, do you have it run an audio player process for each sound like I eventually was forced to? Or stay with the legacy OSS? Blech. Sure, you can MAKE IT stable. But it is not inherently stable. It could very well be KDE that is causing this problem, not fluxbox, so your comment seems a bit off the mark.

Quote:

1) emerge gcc 3.4, twice, rebuilding it the second time with itself.
2) emerge -P gcc 4.x
3) remove as many ~ packages as you can, especially ~amd64
4) emerge portage
5) emerge --deep --upgrade --newuse world


You forgot:

Code:

1) sync ; sleep 5 ; sync
2) init 1; mount -o remont,ro / ; fsck /
3) pray
4) chinese firedrill
5) chinese firedrill
6) chinese firedrill
7) sync ; sleep 5 ; sync ...


OK, sorry now I am the one being snide. I don't mean to rag on you, I do appreciate your contribution to the discussion, which, even if I don't wholly agree, got me thinking about some things. But the guy is not crazy. There is a bug in the KDE icon tray code when used in conjunction with fluxbox. If you don't belive that such things exist go to kde bugzilla or take a gander at the code, which looks to me like a toxic waste dump with a pretty strip mall built on top of it. Not that the fluxbox code looks any better. I think this is a real problem that none of the above will fix. In fact, now that I look again, I have done every single one of those things you suggest, down to the CFLAGS, but removing the kde use flag from flux was the only fix that worked.

That is why I think the real solution is going to involve debug symbols and gdb and some time talking to a frozen computer over ssh. Of course, if I keep typing this screed that will never happen and it's way past my bed time, so I will leave it at that.

Sorry, again, if I was rude in saying this. I really don't mean to flame you, just respectfully to disagree with certain opinions you have expressed.

edit: added some whitespace to my ultra-hyphenated-word so the forum can be resized horizontally
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)


Last edited by i_hate_your_os on Sun Nov 20, 2005 3:04 am; edited 1 time in total
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Sat Nov 19, 2005 4:54 pm    Post subject: Reply with quote

I use Fluxbox because I don't need/want a Desktop Environment. I only need a Window Manager. I don't like how bloated and cluttery KDE/Gnome are. I take peace in the simplicity and minimalism of Fluxbox. It's also much simpler and easier for me to configure. I love the txt files. I also find fluxbox to be much quicker and easier. Like he said, it just makes using the computer much more pleasant.

Quote:
1) emerge gcc 3.4, twice, rebuilding it the second time with itself.
2) emerge -P gcc 4.x
3) remove as many ~ packages as you can, especially ~amd64
4) emerge portage
5) emerge --deep --upgrade --newuse world


As for this. It would be pointless to waste my time with it. As noted in the rest of thread, I have tried this with same result using gcc 3.4, gcc4.x, different CFLAGS, etc. So doing it one more time isn't going to just magically fix things. And I have gone back to O3 btw. Did that a little while ago as well.
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Mon Nov 21, 2005 12:16 am    Post subject: Reply with quote

Argh.

Well now I am unable to recreate the problem. Instead, there is a new problem, Fluxbox does not put KDE dockapps into the slit any more -- or, at least, it doesn't put the kde icons there. Instead, they go into the standard icon tray location. BScreen::isKdeDockapp() returns true for these and BScreen::addKdeDockapp is called by BScreen::CreateWindow ... in other words, AFAICS this is exactly what is supposed to happen. But the slit magic simply never happens. The Slit works perfectly for windowmaker dockapps so it doesn't seem to be completely broken.

Anyhow without kde icons in the slit (where they are supposed to be!) I can't recreate the problem. I am having trouble visualizing what is the correct code-path that is supposed to occur.

If you are willing to do so, SatanSkin, could you produce a backtrace for me?

just be root and do

Code:
# CFLAGS="-g -O0" CXXFLAGS="-g -O0" FEATURES="noclean nostrip" USE="kde gnome" emerge fluxbox


and once it's done log out and back into fluxbox like normal (don't run any kde apps yet). Now go to a console (that's important as you are about to lock up X11) and become root. You will want to make sure "gpm" is running for this so if need be run

Code:
/etc/init.d/gpm start


Now do:

Code:
# gdb /usr/bin/fluxbox $(pidof fluxbox)


once gdb is loaded up do

Code:
(gdb) break Slit::addClient
(gdb) cont


Switch back to X11, and run a kde app with an icon, like korganizer, kwalletmanager, etc -- any will do. WARNING: see the edit below.

Now X11 will lock up. Switch back to the console and gdb should be at a breakpoint. Enter:

Code:
(gdb) bt full


And then copy-paste the results to me (this might be the hardest part! if you can't figure out how to copy-paste all that garbage -- not sure I would know how to be honest -- then just do "bt" without the "full" and give me that).

You can then issue

Code:
(gdb) detach


and your X11 should come back to life (then again you may have triggered this bug and it may lock up, sorry. If that happens and you are feeling adventurous it would be a good time to return to gdb and debug fluxbox some more, but you will have to do it via ssh or a serial console or something like that, since your keyboard will be dead).

This way I can figure out why my Slit is not holding kde tray icons like its supposed to ... and then if I can fix that I can get back on track to try and debug the real problem, :?

sigh.

Thanks for any help you can give, and sorry that this is turning out to be such a darn hassle.

Edit: added the following

I forgot something, so sorry!

Since you may lock up X11 when the KDE icon appliction runs, you may not be able to hit Ctrl-Alt-F1 (for example) to swtich back to the linux console.

There is a solution to this. Instead of running

Code:
kwalletmanager


run

Code:
sleep 20 && kwalletmanager


Now you will have twenty seconds to switch to the linux console before X11 freezes.

HTH,
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Wed Nov 23, 2005 12:15 am    Post subject: Bingo Reply with quote

Eureka, it's theme dependent! fluxmod style "bunker-one" is a crasher and style "lingo" is a non-crasher for me. Sorry if I asking you to do stuff, but can you at confirm this result, satanskin? I really would like to know if these problems are idiosyncratic to my system or more universal. Either way when I reach a point where I can afford to crash my system (feels like it's about to crash right now after killing the rogue fluxbox process) I will definitely get back to this debugging!
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Wed Nov 23, 2005 4:38 am    Post subject: Reply with quote

Hah no shit? I'm using bunker-one also! Great minds think alike they say....I'll try a new theme now...

EDIT: Lingo works just fine for me. DAMNIT! The only half decent style for fluxbox has to be flawed and cause me tons of horrible problems! Why can't there be more decent dark themes that don't SUCK!? Have you tried bunker-one-xpm to see if it crashes also?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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