[Splashy-devel] patches needed for directfb

Luis Mondesi lemsx1 at gmail.com
Sat Sep 29 18:41:03 UTC 2007


Hello Guillem,

We finally found a solution to Splashy's oldest standing bug [1] -- thanks
to the guys from Rpath [2] of course. It looks like we were having the right
way of thinking all alone, but our solution wasn't effective enough because
of limitations in libdirectfb-dev (upstream). DirectFB doesn't provide with
a way to configure to what terminal (tty) directfb will bind to once it
launches. They seem to query the kernel using ioctl() and bind to whatever
console is available.

In short, when using Splashy from initramfs, directfb binds to tty2 right
the way, blocking all other processes from using it. When init starts then,
this creates a race condition on libdirectfb causing to loop forever. The
solution is fairly simple. We need to tell libdirectfb to use tty8. I have
included in this email the patch from rpath as well as a debdiff i did from
the latest package in Sid.

I was wondering if it was possible for you to include this patch in the
Debian package for directfb. This patch should not create any problems that
I can think of, for any application using directfb. Assuming, of course,
that people will use one directfb application at a time. If we patch
directfb this way, we can close that bug and allow Splashy to enter testing.
Then enable initramfs by default and be done with it.

The ideal solution, of course, would be to ask upstream to include a way so
that people can create their framebuffers in whatever tty they choose (or at
least to start at a minimum number with a given range to test).

Let me know what you think.

Regards,

-- 
----)(-----
Luis Mondesi
Maestro Debiano

----- START ENCRYPTED BLOCK (Triple-ROT13) ------
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur fbsgjner
jbeyq.
----- END ENCRYPTED BLOCK (Triple-ROT13) ------

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383060
[2] https://issues.rpath.com/browse/RPL-1593
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20070929/ec09b612/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: splashy-tty.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20070929/ec09b612/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: directfb-splashy-patch.diff
Type: text/x-patch
Size: 389 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20070929/ec09b612/attachment-0001.bin 


More information about the Splashy-devel mailing list