Discussion:
[directfb-users] How to start directfb pygtk-demo from /etc/rc/rc.local?
Jeff Chua
2014-10-09 16:15:56 UTC
Permalink
I just installed directfb (git pulled) with gtk+-2.24.20 and
pygtk-2.24. I tested on the console and can run gtk-demo and
pygt-demo.

But when I try to run the demos from boot up /etc/rc/rc.local script,
both gtk-demo and pygt-demo couldn't start, and got the errors below
...

(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x480) at 8 bit (LUT8), pitch 640
(*) FBDev/Mode: Setting 640x480 LUT8
(*) FBDev/Mode: Switched to 640x480 (virtual 640x480) at 8 bit (LUT8),
(!!!) *** UNIMPLEMENTED [fusion_get_fusionee_pid] *** [fusion.c:4147]
(*) Direct/Thread: Started 'EventBufferFeed' (1303) [MESSAGING -
OTHER/0] <8388608>...
(!) Core/LayerRegion: Could not lock region surface for SetRegion()!


The mode was reported as "640x480 LUT8" which is different than the
working on when I ssh and run it. The working one says ...

(*) Direct/Thread: Started 'EventBufferFeed' (1842) [MESSAGING -
OTHER/0] <8388608>...
(*) FBDev/Mode: Setting 1824x984 RGB16
(*) FBDev/Mode: Switched to 1824x984 (virtual 1824x984) at 16 bit
(RGB16), pitch 3648

I tried to add that mode 640x480 LUT8 to .directfbrc but it didn't work.

How can I fix this?

Thanks,
Jeff

Loading...