Summary: | DirectFB <= 0.9.20 incompatible (locks up) with kernel 2.6.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | hollywoodb <hollywoodb> |
Component: | [OLD] Server | Assignee: | Gentoo Games <games> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | s4t4n, spock, x11, xlyz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 59340 |
Description
hollywoodb
2004-07-05 16:39:58 UTC
I don't know much about directfb and I'm not particularly interested in learning. Anyone want to take this on? games listed in DirectFB metadata.xml, so moving to them. I'm running development-sources-2.6.7 and dfbsee works without any problems. Sometimes it uses libc memcpy(), and sometimes kernel memcpy(), but it never hangs. I have glibc-2.3.3.20040420-r0, maybe it's glibc-2.3.4 that causes the problem here? Hello, if you want I can take care of this, altough I don't know exactly what to do. I'm the author of qingy (http://qingy.sourceforge.net), which is DirectFB based, thus I'm quite interested in this one ;-) What I made out this far is that this is a complex issue, because it depends on a number of different factors... nptl: if you built your glibc with the nptl enabled, your only hope is to revert to 2.6.5, otherwise DirectFB will always lock your machine. no nptl: you should teoretically be able to run DirectFB apps, but some bootsplash pacthes, like those included in gentoo-dev-sources (2.6.7-r11), make DFB lock, again... I am told that the latest love-sources (2.6.7 based) and 2.6.8-pre vanilla kernels work, but I have not tested these myself. Personally, I'm sticking with gentoo-dev-sources-2.6.5-r1 until I can find a more recent kernel that will work with dfb and nptl I wrote to the DirectFB mailing lists, but unfortunately the folks over there, hearing that I'm a Gentoo user, dismissed the issue as CFLAGS crap. Needless to say, I tested with my own CFLAGS (march=pentium3 -Os -fomit-frame-pointer, these kept me up and running for ages), with saner defaults, and with none at all, to no avail... For other info and a lot of feedback see the latest pages of this thread: http://forums.gentoo.org/viewtopic.php?t=72022 imho a sensible solution would be to add a USE flag to disable the bootsplash patch in our kernels, and a big fat warning against the nptl in DirectFB ebuilds... As you can see in these `emerge info` excerpts: Portage 2.0.51_pre13 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.8-rc2 i686 AMD Athlon(tm) Processor) USE="3dnow X aalib alsa apache2 apm avi berkdb bindist bonobo cdr crypt cups curl directfb encode esd ethereal f77 fbcon flash foomaticdb gd gdbm gdm gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jabber java jpeg libg++ libwww mad maildir mbox mikmod mmx mng motif mozilla moznocompose moznoirc mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl plotutils png postgres python quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex threads tiff tlen truetype wmf x86 xml xml2 xmms xosd xv zlib linguas_en linguas_pl linguas_us linguas_de" I'm using a nptl-enabled glibc and directfb does work (dfbsee, dfbpoint). It works with 2.6.8-rc* and it worked with 2.6.7 (vanilla patched with bootsplash). If I test any other dfb-based apps I'll let you know whether they worked, too. I'm running with gcc-3.3.3-r6 and glibc-2.3.3.20040420 (gentoo stable versions on x86), but I'm willing to try your gcc-3.3.4, glibc-2.3.4.20040619-r0 and see what happens. Are you experiencing issues, stability wise? I ask because I own a lone poor laptop and do work on it, so stability is paramount for me... No feedback? Too bad... But I'll try these updated gcc and glibc anyway next week, when I return from vacation. Michal, I upgraded to gcc-3.4.1-r2 and glibc-2.3.4.20040808 (nptl enabled) to no avail, it must be your bootsplash patch that does the trick... What's the status on this? Someone testing patches or what? I was just waiting for you to post the fix. In case noone noticed: kernels 2.6.8 and above apparently work nicely (or at least the flavours I tried: gentoo-dev-sources and development-sources) with DirectFB. Dunno, but maybe we can resolve this as fixed upstream? Sounds good to me. |