From: Denis Oliver Kropp <dok-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
To: directfb-dev-iGvX3keArt1g9hUCZPvPmw@public.gmane.org,
directfb-users-iGvX3keArt1g9hUCZPvPmw@public.gmane.org
Cc: linux-fbdev-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [directfb-dev] DirectFB without FBDev
Date: Sun, 01 Jun 2008 11:31:34 +0200 [thread overview]
Message-ID: <48426C76.5080606@directfb.org> (raw)
In-Reply-To: <483D7344.6030503-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
Denis Oliver Kropp wrote:
> Hi,
>
> after getting too depressed by the current state of the FBDev backend with the new
> surface core I decided to drop FBDev support as it no longer fits into the architecture.
>
> If you feel you like to fix the frame buffer device system module or better the frame
> buffer device itself, you're welcome to help the FBDev backend to creep over the 1.2 hurdle...
>
> One major bug at the moment is mode switching and pitch values being wrong. It's dumb to
> return the pitch of the variable mode settings in the fixed settings structure anyhow, but
> if you like to start with the above mentioned mission, that's where it could begin.
>
> And while you're at it, please also add an ioctl to just simply set the display offset without
> a virtual resolution and x/y offset values within the whole frame buffer...
>
> I have no idea why the FBDev backend uses the wrong pitch (4096) after switching to RGB16 which
> should have a pitch of 2048. One out of ten tries did work though. I remember it has been
> working once I added several workarounds and hacks to keep the FBDev backend alive, but somehow
> the code or core have changed, I don't know and I'm not in the mood of spending time on cruft
> like VTs, FBDev etc...
It seems the bug is not happening that often on other
systems, I was using vmwarefb with a 2.4 kernel.
Right now I can only reproduce it when switching from a fullscreen
application back to the window stack and that's due to the weird
workarounds I've added.
> Volunteers are welcome, urgently, I'm going to make a first release candidate of 1.2 tomorrow,
> most likely after removing the fbdev system module.
I'm partly rewriting the FBDev system module now. Without those
workarounds, but a different overall structure it should behave
much better.
Still my wish is to set the frame buffer via byte offset/pitch!
I also forget about those extensions like layer transparency,
scaling, YUV formats, ...
But I suggest everyone planning some more sophisticated stuff
not to start writing a frame buffer driver, but starting off
cleanly in user space with a simple DirectFB driver using the
devmem system module or writing one yourself.
http://www.directfb.org/docs/ELC2008/elc2008_directfb_gfx.pdf
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
next prev parent reply other threads:[~2008-06-01 9:31 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-28 14:59 DirectFB without FBDev Denis Oliver Kropp
2008-05-28 17:04 ` Geert Uytterhoeven
2008-05-28 17:20 ` Denis Oliver Kropp
[not found] ` <483D9453.1080700-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
2008-05-28 17:53 ` [Linux-fbdev-devel] " Brian G. Rhodes
2008-05-28 18:07 ` [directfb-users] " Denis Oliver Kropp
2008-05-28 18:24 ` Alex Deucher
[not found] ` <a728f9f90805281124y53df86e7n7ae1918ac97907fc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-05-28 18:57 ` [Linux-fbdev-devel] " Denis Oliver Kropp
2008-05-28 19:33 ` [directfb-users] " Alex Deucher
2008-05-28 18:55 ` Brian G. Rhodes
[not found] ` <483DAAB7.6080208-3mWahjwryh5BDgjK7y7TUQ@public.gmane.org>
2008-05-28 19:11 ` [Linux-fbdev-devel] " Denis Oliver Kropp
2008-05-28 19:38 ` [directfb-users] " Brian G. Rhodes
[not found] ` <483D9F4E.4000707-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
2008-05-29 16:54 ` [directfb-dev] [Linux-fbdev-devel] " Sven Luther
2008-05-31 6:08 ` [directfb-dev] [directfb-users] " Denis Oliver Kropp
2008-05-31 6:21 ` Sven Luther
2008-05-31 6:29 ` Denis Oliver Kropp
2008-05-31 6:45 ` Sven Luther
[not found] ` <20080531064501.GA7526-XkLrfMvk983aVgXGlvhGPA@public.gmane.org>
2008-05-31 20:32 ` George Tsalikis
2008-06-01 7:10 ` [directfb-dev] " Denis Oliver Kropp
[not found] ` <48424B49.8080202-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
2008-06-01 9:20 ` [directfb-dev] " George Tsalikis
2008-06-01 9:38 ` Denis Oliver Kropp
2008-05-28 17:55 ` Geert Uytterhoeven
2008-05-28 18:33 ` Denis Oliver Kropp
[not found] ` <483D7344.6030503-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
2008-06-01 9:31 ` Denis Oliver Kropp [this message]
[not found] ` <48426C76.5080606-iGvX3keArt1g9hUCZPvPmw@public.gmane.org>
2008-06-01 11:57 ` [directfb-dev] " Denis Oliver Kropp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48426C76.5080606@directfb.org \
--to=dok-igvx3keart1g9huczpvpmw@public.gmane.org \
--cc=directfb-dev-iGvX3keArt1g9hUCZPvPmw@public.gmane.org \
--cc=directfb-users-iGvX3keArt1g9hUCZPvPmw@public.gmane.org \
--cc=linux-fbdev-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).