Ben NanoNote

Sign in or create your account | Project List | Help

Issue 55: DIrectFB withe screen on exit applications

Reported by David Samblas, Mar 26, 2010

Checked  on startdict using gtk(Issue 43) and gmenu2x using sdl (
issue 40)
Also happens on a dingux binary app  than works but fail on exit 
Dinimavie, a simple commandline piture viewer  using SDL
http://www.gp32x.com/board/index.php?/topic/52364-dinimavie-ver-20100
303/
But other apps like gtkperf or dgclock cleanly exit.

Some test done:
-Starting gmenu2x /exit gmenu2x with the empty script trick
-Result White screen
-connect trough ssh and ps -e
635 root      1280 S    /bin/sh /usr/bin/gmenu2x 
  636 root      9952 S    ./gmenu2x 
  637 root      9952 S    ./gmenu2x 
  638 root      9952 S    ./gmenu2x 
  639 root      9952 S    ./gmenu2x 
  641 root      9952 S    ./gmenu2x 
  642 root      1284 R    ps -e 

-screen stills white
-start gtkperf
-gtkpeft start but screen is flickering like a monitor with low 
refresh rates, with a black square like a cursor in the higher left 
corner
-ps -e
635 root      1280 S    /bin/sh /usr/bin/gmenu2x 
  635 root      1280 S    /bin/sh /usr/bin/gmenu2x 
  636 root      9952 S    ./gmenu2x 
  637 root      9952 S    ./gmenu2x 
  638 root      9952 S    ./gmenu2x 
  639 root      9952 S    ./gmenu2x 
  641 root      9952 S    ./gmenu2x 
  643 root     16160 S    gtkperf 
  644 root     16160 S    gtkperf 
  645 root     16160 S    gtkperf 
  646 root     16160 S    gtkperf 
  647 root     16160 S    gtkperf 
  648 root     16160 S    gtkperf 
  649 root     16160 S    gtkperf
-top
657   651 root     R     1288   5%   1% top 
  643   630 root     S    16160  56%   0% gtkperf 
  644   643 root     S    16160  56%   0% gtkperf 
  645   644 root     S    16160  56%   0% gtkperf 
  646   644 root     S    16160  56%   0% gtkperf 
  647   644 root     S    16160  56%   0% gtkperf 
  649   644 root     S    16160  56%   0% gtkperf 
  648   644 root     S    16160  56%   0% gtkperf 
  636   635 root     S     9952  35%   0% ./gmenu2x 
  638   637 root     S     9952  35%   0% ./gmenu2x 
  637   636 root     S     9952  35%   0% ./gmenu2x 
  639   637 root     S     9952  35%   0% ./gmenu2x 
  641   637 root     S     9952  35%   0% ./gmenu2x
-kill -9 the first gmenu2x proccess
-flickering and squares continue
-Ctrl+C in the console that launch gtkperf
-black screen no reaction to keyborad

Done similar tests with Startdict and the log give one thing that 
may be a clue

 (!!!)  *** WARNING [Application exited without deinitialization of 
DirectFB!] *** [core.c:859 in dfb_core_deinit_check()]

Comment 1 by Mirko Lindner, Apr 1, 2010

when using directfb with the "no-deinit-check" option, the 
stardict exits correctly.

to test this create a file ".directfbrc" in your /root/ 
folder on the NN and create a line "no-deinit-check" 
(without the quotation marks).

for reference check the directfbrc man page[1].

[1] http://linux.die.net/man/5/directfbrc

Comment 2 by Xiangfu Liu, Apr 13, 2010

Tested with 08-Apr-2010 firmware:
Tested with "stardict" "dgclock"
when application exit. then system back to gmenu2x.
Status: Fixed

Comment 3 by Jennifer Kirby, Mar 11, 2019

When application will open for the whole and the direct screen 
competition that will also be good for the application. Most people 
like the open screen application on the 
https://askpetersen.com/edubirdie-com-review/ website that screen 
will also be operate the better to that application.

Created: 9 years 5 months ago by David Samblas

Updated: 6 months 9 days ago

Status: Fixed

Followed by: 4 persons

Labels:
Type:Defect
Priority:Medium



interactive