Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[announce 0/7] fbsplash - The Framebuffer Splash

70 views
Skip to first unread message

Michal Januszewski

unread,
Mar 7, 2005, 9:05:51 PM3/7/05
to linux-...@vger.kernel.org, linux-fb...@lists.sourceforge.net
Fbsplash - The Framebuffer Splash - is a feature that allows displaying
images in the background of consoles that use fbcon. The project is
partially descended from bootsplash.

Unlike bootsplash, fbsplash has no in-kernel image decoder. Picture
decompression is handled by a userspace helper which provides raw image
data to the kernel. There is also no support for things like the silent
mode and progress bars, as these are best handled by userspace programs.

Truecolor, directcolor and pseudocolor modes are supported. Fbsplash has
no dependency on a specific framebuffer driver. It has been tested with
at least vesafb, rivafb and radeonfb.

Technical details about the userspace<->kernelspace interface can be
found in patch 07/07, which contains the documentation.

The userspace utilities that make use of fbsplash can be found on:
http://dev.gentoo.org/~spock/projects/splashutils/

Live long and prosper.
--
Michal 'Spock' Januszewski Gentoo Linux Developer
cell: +48504917690 http://dev.gentoo.org/~spock/
JID: sp...@im.gentoo.org freenode: #gentoo-dev, #gentoo-pl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

James Simmons

unread,
Mar 8, 2005, 3:54:59 PM3/8/05
to linux-fb...@lists.sourceforge.net, linux-...@vger.kernel.org

> Fbsplash - The Framebuffer Splash - is a feature that allows displaying
> images in the background of consoles that use fbcon. The project is
> partially descended from bootsplash.

What are you trying to do exactly? I really don't see the point of this
patch.

Jon Smirl

unread,
Mar 8, 2005, 4:04:36 PM3/8/05
to linux-fb...@lists.sourceforge.net, linux-...@vger.kernel.org, James Simmons
On Tue, 8 Mar 2005 19:46:23 +0000 (GMT), James Simmons
<jsim...@www.infradead.org> wrote:
> What are you trying to do exactly? I really don't see the point of this
> patch.

I think it makes a graphical background on your console that stays in
place as the console text scrolls.

--
Jon Smirl
jons...@gmail.com

Antonino A. Daplas

unread,
Mar 9, 2005, 12:02:36 AM3/9/05
to linux-fb...@lists.sourceforge.net, Michal Januszewski, linux-...@vger.kernel.org, linux-fb...@lists.sourceforge.net
On Tuesday 08 March 2005 09:57, Michal Januszewski wrote:
> Fbsplash - The Framebuffer Splash - is a feature that allows displaying
> images in the background of consoles that use fbcon. The project is
> partially descended from bootsplash.
>
> Unlike bootsplash, fbsplash has no in-kernel image decoder. Picture
> decompression is handled by a userspace helper which provides raw image
> data to the kernel. There is also no support for things like the silent
> mode and progress bars, as these are best handled by userspace programs.
>

If splash support is really, really, really wanted in the kernel, it's probably better
to just add minimal Overlay support for the framebuffer. If overlay is added, it
won't be necessary to modify fbcon and the drivers, just core fb.

We can have 3 levels of support. In it's most basic form, we have the display
layer (what get's shown in your monitor) plus 2 buffers in system ram, the
primary layer (where the console output is written) and the overlay, the
static image in raw framebuffer format. Then we replace the basic
framebuffer operations (imageblit, fillrect and copyarea) with ones that
will read the contents of both buffers, do basic raster ops (colorkey, alpha
blend, etc) before writing to the actual display buffer.

The next level is both buffers are in video ram. This will need basic driver
support, at least to subdivide the framebuffer memory to display, primary,
and overlay. We can use the drivers accelerated drawing functions to
write to the primary layer, then use software to write the processed
contents to the display layer.

Finally, we can enable full hardware video overlay.

Tony

Jon Smirl

unread,
Mar 9, 2005, 1:03:58 AM3/9/05
to linux-fb...@lists.sourceforge.net, Michal Januszewski, linux-...@vger.kernel.org, Antonino A. Daplas

Another idea would be to build a console is user space. Think of it as
a full screen xterm. A user space console has access to full hardware
acceleration using the DRM interface.

--
Jon Smirl
jons...@gmail.com

Geert Uytterhoeven

unread,
Mar 9, 2005, 4:36:53 AM3/9/05
to Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Wed, 9 Mar 2005, Jon Smirl wrote:
> Another idea would be to build a console is user space. Think of it as
> a full screen xterm. A user space console has access to full hardware
> acceleration using the DRM interface.

Yep. And that's what Alan Cox wanted to do. Console in userspace, eye candy
(using Porter-Duff blending) as much as you want, full UTF-8 support, ...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Pavel Machek

unread,
Mar 9, 2005, 6:50:54 AM3/9/05
to James Simmons, linux-fb...@lists.sourceforge.net, linux-...@vger.kernel.org
Hi!

> > Fbsplash - The Framebuffer Splash - is a feature that allows displaying
> > images in the background of consoles that use fbcon. The project is
> > partially descended from bootsplash.
>
> What are you trying to do exactly? I really don't see the point of this
> patch.

At least some Debians, Gentoo and SUSE each use some variant of this
eye candy; each one with different bugs. It would be nice to at least
do the splash right (so that it does not require vesafb and therefore
allows working with suspend-to-RAM).
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

Alan Cox

unread,
Mar 9, 2005, 2:21:02 PM3/9/05
to Geert Uytterhoeven, Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Mer, 2005-03-09 at 09:34, Geert Uytterhoeven wrote:
> On Wed, 9 Mar 2005, Jon Smirl wrote:
> > Another idea would be to build a console is user space. Think of it as
> > a full screen xterm. A user space console has access to full hardware
> > acceleration using the DRM interface.
>
> Yep. And that's what Alan Cox wanted to do. Console in userspace, eye candy
> (using Porter-Duff blending) as much as you want, full UTF-8 support, ...

Jon is the origin of those ideas not me, I'm merely supporting them
providing there is still a basic kernel side console.

Alan

James Simmons

unread,
Mar 9, 2005, 3:55:14 PM3/9/05
to Alan Cox, Geert Uytterhoeven, Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas

> On Mer, 2005-03-09 at 09:34, Geert Uytterhoeven wrote:
> > On Wed, 9 Mar 2005, Jon Smirl wrote:
> > > Another idea would be to build a console is user space. Think of it as
> > > a full screen xterm. A user space console has access to full hardware
> > > acceleration using the DRM interface.
> >
> > Yep. And that's what Alan Cox wanted to do. Console in userspace, eye candy
> > (using Porter-Duff blending) as much as you want, full UTF-8 support, ...
>
> Jon is the origin of those ideas not me, I'm merely supporting them
> providing there is still a basic kernel side console.

Thank you. We need some kind of basic console in the kernel. I'm not the
biggest fan of eye candy. So moving the console to userspace for eye candy
is a dumb idea.

Geert Uytterhoeven

unread,
Mar 9, 2005, 5:25:53 PM3/9/05
to Alan Cox, Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Wed, 9 Mar 2005, Alan Cox wrote:
> On Mer, 2005-03-09 at 09:34, Geert Uytterhoeven wrote:
> > On Wed, 9 Mar 2005, Jon Smirl wrote:
> > > Another idea would be to build a console is user space. Think of it as
> > > a full screen xterm. A user space console has access to full hardware
> > > acceleration using the DRM interface.
> >
> > Yep. And that's what Alan Cox wanted to do. Console in userspace, eye candy
> > (using Porter-Duff blending) as much as you want, full UTF-8 support, ...
>
> Jon is the origin of those ideas not me, I'm merely supporting them
> providing there is still a basic kernel side console.

Thanks for correcting me!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Alan Cox

unread,
Mar 9, 2005, 6:29:05 PM3/9/05
to James Simmons, Geert Uytterhoeven, Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Mer, 2005-03-09 at 20:45, James Simmons wrote:
> Thank you. We need some kind of basic console in the kernel. I'm not the
> biggest fan of eye candy. So moving the console to userspace for eye candy
> is a dumb idea.

Thats why moving the eye candy console into user space is such a good
idea. You don't have to run it 8) It also means that the console
development is accessible to all the crazy rasterman types.

Christoph Hellwig

unread,
Mar 9, 2005, 6:59:21 PM3/9/05
to Pavel Machek, James Simmons, linux-fb...@lists.sourceforge.net, linux-...@vger.kernel.org
On Wed, Mar 09, 2005 at 12:38:42PM +0100, Pavel Machek wrote:
> Hi!
>
> > > Fbsplash - The Framebuffer Splash - is a feature that allows displaying
> > > images in the background of consoles that use fbcon. The project is
> > > partially descended from bootsplash.
> >
> > What are you trying to do exactly? I really don't see the point of this
> > patch.
>
> At least some Debians,

While there might be a kernel-patch-bootsplash package in Debian none of
the shipped binary kernels use this.

And there's a kernel-patch- package for just about every piece of random
junk.

Sebastian Kügler

unread,
Mar 9, 2005, 10:46:42 PM3/9/05
to linux-...@vger.kernel.org
Christoph Hellwig wrote:
> On Wed, Mar 09, 2005 at 12:38:42PM +0100, Pavel Machek wrote:
>> > > Fbsplash - The Framebuffer Splash - is a feature that allows
>> > > displaying images in the background of consoles that use fbcon. The
>> > > project is partially descended from bootsplash.
>> >
>> > What are you trying to do exactly? I really don't see the point of this
>> > patch.
>>
>> At least some Debians,
>
> While there might be a kernel-patch-bootsplash package in Debian none of
> the shipped binary kernels use this.

The standard Ubuntu kernel does.

Regards,

sebas
--
http://vizZzion.org | GPG Key ID: 9119 0EF9
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
One is not superior merely because one sees the world as odious. -
Chateaubriand (1768-1848)

Geert Uytterhoeven

unread,
Mar 10, 2005, 4:20:06 AM3/10/05
to Alan Cox, James Simmons, Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Wed, 9 Mar 2005, Alan Cox wrote:
> On Mer, 2005-03-09 at 20:45, James Simmons wrote:
> > Thank you. We need some kind of basic console in the kernel. I'm not the
> > biggest fan of eye candy. So moving the console to userspace for eye candy
> > is a dumb idea.
>
> Thats why moving the eye candy console into user space is such a good
> idea. You don't have to run it 8) It also means that the console
> development is accessible to all the crazy rasterman types.

Yep. The basic console we already have. Everyone who wants eye candy can switch
from basic console to user space console in early userspace.

Gr{oetje,eeting}s,

Geert

P.S. Many years ago, when I discussed integrating the so-called `abstract
console driver', which allowed to have vgacon and fbcon in the kernel, I
also pondered to make the console a simple tty in response to a `KISS'
request. Now it's time to make that happen ;-)


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Pavel Machek

unread,
Mar 10, 2005, 4:26:19 PM3/10/05
to Geert Uytterhoeven, Alan Cox, James Simmons, Linux Frame Buffer Device Development, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
Hi!

> > > Thank you. We need some kind of basic console in the kernel. I'm not the
> > > biggest fan of eye candy. So moving the console to userspace for eye candy
> > > is a dumb idea.
> >
> > Thats why moving the eye candy console into user space is such a good
> > idea. You don't have to run it 8) It also means that the console
> > development is accessible to all the crazy rasterman types.
>
> Yep. The basic console we already have. Everyone who wants eye candy can switch
> from basic console to user space console in early userspace.
>

Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
simply applies broken patch to their kernel... unless their distribution applied one
already.

Situation where we have one working eye-candy patch would certainly
be an improvement.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

James Simmons

unread,
Mar 11, 2005, 1:04:56 PM3/11/05
to Linux Frame Buffer Device Development, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas

> > > Thats why moving the eye candy console into user space is such a good
> > > idea. You don't have to run it 8) It also means that the console
> > > development is accessible to all the crazy rasterman types.
> >
> > Yep. The basic console we already have. Everyone who wants eye candy can switch
> > from basic console to user space console in early userspace.
> >
>
> Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
> simply applies broken patch to their kernel... unless their distribution applied one
> already.
>
> Situation where we have one working eye-candy patch would certainly
> be an improvement.

Why do we need patches in the kernel. Just set you config to
CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
vgacon. Then have a userspace app using /dev/fb and /dev/input create a
userland console. There is no need to do special hacks in the kernel.

Jon Smirl

unread,
Mar 11, 2005, 1:55:59 PM3/11/05
to linux-fb...@lists.sourceforge.net, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Fri, 11 Mar 2005 18:03:20 +0000 (GMT), James Simmons
<jsim...@www.infradead.org> wrote:
> > > > Thats why moving the eye candy console into user space is such a good
> > > > idea. You don't have to run it 8) It also means that the console
> > > > development is accessible to all the crazy rasterman types.
> > >
> > > Yep. The basic console we already have. Everyone who wants eye candy can switch
> > > from basic console to user space console in early userspace.
> > >
> >
> > Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
> > simply applies broken patch to their kernel... unless their distribution applied one
> > already.
> >
> > Situation where we have one working eye-candy patch would certainly
> > be an improvement.
>
> Why do we need patches in the kernel. Just set you config to
> CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> userland console. There is no need to do special hacks in the kernel.

/dev/fb is not accelerated, if you want full acceleration use
/dev/dri. Using /dev/dri you can write a fully composited console that
displays dengavi in realtime. This is also a path to getting multiuser
working without a lot of kernel patches.

--
Jon Smirl
jons...@gmail.com

Pavel Machek

unread,
Mar 13, 2005, 1:23:28 PM3/13/05
to James Simmons, Linux Frame Buffer Device Development, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
Hi!

> > > > Thats why moving the eye candy console into user space is such a good
> > > > idea. You don't have to run it 8) It also means that the console
> > > > development is accessible to all the crazy rasterman types.
> > >
> > > Yep. The basic console we already have. Everyone who wants eye candy can switch
> > > from basic console to user space console in early userspace.
> > >
> >
> > Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
> > simply applies broken patch to their kernel... unless their distribution applied one
> > already.
> >
> > Situation where we have one working eye-candy patch would certainly
> > be an improvement.
>
> Why do we need patches in the kernel. Just set you config to
> CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> userland console. There is no need to do special hacks in the kernel.

Except that I'll not get usefull reports from Oopsen and panic's,
right? Ideally I'd also like high-priority kernel messages to be
displayed during boot.


Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

Geert Uytterhoeven

unread,
Mar 13, 2005, 1:56:51 PM3/13/05
to Pavel Machek, James Simmons, Linux Frame Buffer Device Development, Alan Cox, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Sun, 13 Mar 2005, Pavel Machek wrote:
> > > > > Thats why moving the eye candy console into user space is such a good
> > > > > idea. You don't have to run it 8) It also means that the console
> > > > > development is accessible to all the crazy rasterman types.
> > > >
> > > > Yep. The basic console we already have. Everyone who wants eye candy can switch
> > > > from basic console to user space console in early userspace.
> > > >
> > >
> > > Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
> > > simply applies broken patch to their kernel... unless their distribution applied one
> > > already.
> > >
> > > Situation where we have one working eye-candy patch would certainly
> > > be an improvement.
> >
> > Why do we need patches in the kernel. Just set you config to
> > CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> > vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> > userland console. There is no need to do special hacks in the kernel.
>
> Except that I'll not get usefull reports from Oopsen and panic's,
> right? Ideally I'd also like high-priority kernel messages to be
> displayed during boot.

Indeed. I thought the idea was to use the existing fbcon support to draw
emergency messages to the screen.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Elladan

unread,
Mar 13, 2005, 2:36:16 PM3/13/05
to James Simmons, Linux Frame Buffer Device Development, Geert Uytterhoeven, Alan Cox, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Fri, Mar 11, 2005 at 06:03:20PM +0000, James Simmons wrote:
>
> > > > Thats why moving the eye candy console into user space is such a good
> > > > idea. You don't have to run it 8) It also means that the console
> > > > development is accessible to all the crazy rasterman types.
> > >
> > > Yep. The basic console we already have. Everyone who wants eye candy can switch
> > > from basic console to user space console in early userspace.
> > >
> >
> > Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
> > simply applies broken patch to their kernel... unless their distribution applied one
> > already.
> >
> > Situation where we have one working eye-candy patch would certainly
> > be an improvement.
>
> Why do we need patches in the kernel. Just set you config to
> CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> userland console. There is no need to do special hacks in the kernel.

Putting it in userland would make it impossible to debug what's wrong
with the system if there's a kernel error, since userland will die long
before it can spit out anything useful.


The primary purpose of these things is to make a distribution look
pretty while booting. Lots of people complain that Linux distros look
"old fashioned" or something because they don't show little dancing
girls during early boot.

I should think the primary features you need here are:

* Can display some pretty looking thing with a logo
* If there's a problem during boot (userspace error, oops, panic, etc.)
then it should become a regular console able to scroll back over the
boot-time spew.

I don't think a user-space version can do that for anything except
userspace errors, so a kernel console is better.

-J

Jon Smirl

unread,
Mar 13, 2005, 4:13:51 PM3/13/05
to linux-fb...@lists.sourceforge.net, Pavel Machek, James Simmons, Alan Cox, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Sun, 13 Mar 2005 19:53:55 +0100 (CET), Geert Uytterhoeven
<ge...@linux-m68k.org> wrote:
> On Sun, 13 Mar 2005, Pavel Machek wrote:
> > > > > > Thats why moving the eye candy console into user space is such a good
> > > > > > idea. You don't have to run it 8) It also means that the console
> > > > > > development is accessible to all the crazy rasterman types.
> > > > >
> > > > > Yep. The basic console we already have. Everyone who wants eye candy can switch
> > > > > from basic console to user space console in early userspace.
> > > > >
> > > >
> > > > Heh, I'm afraid it does not work like that. Anyone who wants eye-candy
> > > > simply applies broken patch to their kernel... unless their distribution applied one
> > > > already.
> > > >
> > > > Situation where we have one working eye-candy patch would certainly
> > > > be an improvement.
> > >
> > > Why do we need patches in the kernel. Just set you config to
> > > CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> > > vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> > > userland console. There is no need to do special hacks in the kernel.
> >
> > Except that I'll not get usefull reports from Oopsen and panic's,
> > right? Ideally I'd also like high-priority kernel messages to be
> > displayed during boot.
>
> Indeed. I thought the idea was to use the existing fbcon support to draw
> emergency messages to the screen.

That is the idea. I would like to even simplify the fbcon/dev even
more in this model and remove all in-kernel acceleration in fbdev.
The user space console would be fully accelerated using DRM. If we
aren't using fbcon for normal console then it doesn't need to be
accelerated and that source of conflicts can be removed. fbcon would
be used for system recovery, OOPs, boot, kdbg, etc only kernel use, no
normal logins.


>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
>

> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fb...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
>


--
Jon Smirl
jons...@gmail.com

James Simmons

unread,
Mar 15, 2005, 2:08:33 PM3/15/05
to Jon Smirl, linux-fb...@lists.sourceforge.net, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas

> > Why do we need patches in the kernel. Just set you config to
> > CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> > vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> > userland console. There is no need to do special hacks in the kernel.
>
> /dev/fb is not accelerated, if you want full acceleration use
> /dev/dri. Using /dev/dri you can write a fully composited console that
> displays dengavi in realtime. This is also a path to getting multiuser
> working without a lot of kernel patches.

Not every device has a 3D core!!! DRM is not the answer for the entire graphics
world. Its only for 3D functionality. If you want eye candy without 3D on small
devices use fbdev.

Jon Smirl

unread,
Mar 15, 2005, 2:13:00 PM3/15/05
to linux-fb...@lists.sourceforge.net, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Tue, 15 Mar 2005 18:58:08 +0000 (GMT), James Simmons
<jsim...@www.infradead.org> wrote:
>
> > > Why do we need patches in the kernel. Just set you config to
> > > CONFIG_DUMMY_CONSOLE, CONFIG_FB, CONFIG_INPUT and don't set fbcon or
> > > vgacon. Then have a userspace app using /dev/fb and /dev/input create a
> > > userland console. There is no need to do special hacks in the kernel.
> >
> > /dev/fb is not accelerated, if you want full acceleration use
> > /dev/dri. Using /dev/dri you can write a fully composited console that
> > displays dengavi in realtime. This is also a path to getting multiuser
> > working without a lot of kernel patches.
>
> Not every device has a 3D core!!! DRM is not the answer for the entire graphics
> world. Its only for 3D functionality. If you want eye candy without 3D on small
> devices use fbdev.

DRM doesn't know a thing about 3D. All it does is DMA, memory
management and queue things up for the GPU to work on. You don't even
have to have a GPU processor you could use the CPU to execute the
commands.

It's the code up in mesa that knows about 3D and builds the commands
to be sent to DRM.


--
Jon Smirl
jons...@gmail.com

James Simmons

unread,
Mar 15, 2005, 2:29:28 PM3/15/05
to Jon Smirl, linux-fb...@lists.sourceforge.net, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas

> DRM doesn't know a thing about 3D. All it does is DMA, memory
> management and queue things up for the GPU to work on. You don't even
> have to have a GPU processor you could use the CPU to execute the
> commands.
>
> It's the code up in mesa that knows about 3D and builds the commands
> to be sent to DRM.

Not all devices are DMA. Personally since it is generic DMA engine then
why not move it to the device api so everyone could use it. We already
have DMA pools. Actually I have started some work for some generic DMA
handling for the device api core but I have other fish to fry first.

Lee Revell

unread,
Mar 15, 2005, 3:48:56 PM3/15/05
to James Simmons, Jon Smirl, linux-fb...@lists.sourceforge.net, Geert Uytterhoeven, Alan Cox, James Simmons, Michal Januszewski, Linux Kernel Development, Antonino A. Daplas
On Tue, 2005-03-15 at 18:58 +0000, James Simmons wrote:
> Not every device has a 3D core!!! DRM is not the answer for the entire graphics
> world. Its only for 3D functionality.

Not quite. It's also to support hardware accelerated MPEG like on the
Unichrome boards.

Lee

James Simmons

unread,
Mar 29, 2005, 1:01:19 PM3/29/05
to Jon Smirl, linux-fb...@lists.sourceforge.net, linux-...@vger.kernel.org, James Simmons

Eye candy.
0 new messages