Skip to contentSkip to conversation

fbdev: uvesafb

PATCH In review Michal Januszewski 4 participants 6 messages Jun 23, 2007 – Jul 12, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

cover fbdev: uvesafb

uvesafb is a generic driver for VBE2+ compliant video cards; an enhanced version of vesafb and a direct successor of vesafb-tng [1].

uvesafb uses a userspace helper application (v86d, [2]) to run the x86 Video BIOS code. This makes it possible to include in uvesafb all the standard features (refresh rate control, video mode changes etc) that are missing from vesafb without resorting to ugly hacks such as the ones used in [1]. The current implementation of v86d can use either LRMI or x86emu to run the BIOS code and supports both x86 and x86_64.

[1] http://dev.gentoo.org/~spock/projects/vesafb-tng/
[2] http://dev.gentoo.org/~spock/projects/uvesafb/

Best regards.

Signature · 9 lines
Michal Januszewski                              JID: [email protected]
Gentoo Linux Developer                    http://people.gentoo.org/spock


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
#1 lore raw
Quoted 2 lines · Michal Januszewski

 The current implementation of v86d can use either LRMI or x86emu to run the BIOS code and supports both x86 and x86_64.

Is there a fundamental reason why you can't also run it on non-x86 machines, or has this simply not been tested so far?

	Arnd <><
#2 lore raw
Quoted 6 lines · Arnd Bergmann
Quoted 2 lines · Michal Januszewski

 The current implementation of v86d can use either LRMI or x86emu to run the BIOS code and supports both x86 and x86_64.

Is there a fundamental reason why you can't also run it on non-x86 machines, or has this simply not been tested so far?

AFAIK it should be possible to get it to work on non-x86. One would have to implement the IO functions for x86emu and mmap the Video BIOS, both of which should be relatively easy tasks. I don't however have direct access to hardware other than x86(_64) and thus haven't had a chance to write such code and test it.

Best regards,
Michal

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

#3 lore raw
In reply to Michal Januszewski
Quoted 9 lines · Michal Januszewski

uvesafb is a generic driver for VBE2+ compliant video cards; an enhanced version of vesafb and a direct successor of vesafb-tng [1].

uvesafb uses a userspace helper application (v86d, [2]) to run the x86 Video BIOS code. This makes it possible to include in uvesafb all the standard features (refresh rate control, video mode changes etc) that are missing from vesafb without resorting to ugly hacks such as the ones used in [1]. The current implementation of v86d can use either LRMI or x86emu to run the BIOS code and supports both x86 and x86_64.

Have you considered using libx86[1] in v86d? It looks very similar to what you have at present and there are plans to extend it to non x86(_64) archs.

J.

[1] http://www.codon.org.uk/~mjg59/libx86/

Signature · 4 lines
] http://www.earth.li/~noodles/ []         noodles is criminal         [
]  PGP/GPG Key @ the.earth.li   []                                     [
] via keyserver, web or email.  []                                     [
] RSA: 4DC4E7FD / DSA: 5B430367 []                                     [
#4 lore raw
Quoted 3 lines · Jonathan McDowell

Have you considered using libx86[1] in v86d? It looks very similar to what you have at present and there are plans to extend it to non x86(_64) archs.

It looks like an interesting solution and it is indeed similar to what I'm currently using. I'll consider switching to it in the next version of v86d.

Thanks,
Michal

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

#5 lore raw
In reply to Michal Januszewski

On Sat, 2007-06-23 at 12:49 +0200, Michal Januszewski wrote:

My apologies for the delayed response. I had problems with my ISP.

Quoted 10 lines

uvesafb is a generic driver for VBE2+ compliant video cards; an enhanced version of vesafb and a direct successor of vesafb-tng [1].

uvesafb uses a userspace helper application (v86d, [2]) to run the x86 Video BIOS code. This makes it possible to include in uvesafb all the standard features (refresh rate control, video mode changes etc) that are missing from vesafb without resorting to ugly hacks such as the ones used in [1]. The current implementation of v86d can use either LRMI or x86emu to run the BIOS code and supports both x86 and x86_64.

Quoted 3 lines

[1] http://dev.gentoo.org/~spock/projects/vesafb-tng/
[2] http://dev.gentoo.org/~spock/projects/uvesafb/

This is cool, I had a similar project before (which did work) but abandoned it. In fact, it need not be restricted to vbe, as long as the userspace daemon can interpret VESA.

Tony

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/