> -----Ursprüngliche Nachricht----- > Von: Jeff Wicks [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 14. Dezember 2006 14:04 > An: Unger Richard; [email protected] > Betreff: Re: AW: [directfb-dev] console text is dull gray. > (Directfb and Ncurses) > > Thank you for responding > > Using something like this: > --dfb:bg-none,no-vt-switch,no-banner,no-vt,no-graphics-vt,tran > slucent-windows,desktop-buffer-mode=frontonly > oddly, gave me what I was looking for, sometimes. I think > this is what you mean by "unpredictable". > > I noticed a printf line didn't output until the application > quit. Either that or I didn't see it until the app ended. > > I took your advice and tried to run DFBTerm. Had problems > loading the lite shared lib. I will work on your second > suggestion next because I want to support as much hardware as I can. >
Yeah, it can be a bit of trouble to get everything up and running... If you want to run 2 DFB apps at the same time you will also need to install the fusion kernel module, and compile directfb with the option "--enable-multi" > Out of curiosity, what about writing an image to one terminal > and running the console text in another? I noticed no matter > which vt I switch to, if the graphic is running (needs to be > updating or moving) I can still see it. But perhaps this is > not a good idea and I would be best to follow your advice? > Well, I'm really not an expert, but in my experience, and according to what I've read what you're doing really shouldn't be possible. AFAIK it's the framebuffer device is exclusive access - after all, conceptually it offers a "memory map" of the screen for you to write to. So when you switch the console to gfx mode, you're really grabbing control of the framebuffer from the console, and the console suspends output, at least that's my understanding. A question: What happens if you "blank" or erase the screen in your DFB app, before drawing the image? Does that erase the text? One suspicion I have is that the console text is simply "left in the framebuffer" - when you draw your image over it in translucent mode, you end up with the grey text - but that does not mean the console is active... > > I would like to include a screenshot but print scrn doesn't > do anything. I saw in a different post a reference to print > screen button not working. I didn't see a fix for that. > Yeah, I don't know what's up there. Maybe it is a keymap issue, I know from the list lots of people have issues with keymaps... I had the same problem, I ended up hacking around in the DFB code and ended up somehow making "F1" work for print-screen... Regards, Richie > Thank you for your valuable time. > Jeff Wicks > > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
