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

Framebuffer howto?

123 views
Skip to first unread message

Mayuresh Kathe

unread,
Dec 24, 2002, 11:53:06 AM12/24/02
to freebsd...@freebsd.org
Hi,

I am not on the list, and am new to BSD, just graduated from Linux :)

I wanted to port my OS (http://tisya.co.in/) to get away from Linux
completely...
For the same, the only hinderance lies in using framebuffer.
Our GUI is based on Linux framebuffer, we don't use X Win at all...
Is there something similar to Linux FB with FreeBSD?
If yes, how do I activate it?
(on linux there's ad evice at /dev/fb0)

Eagerly awaiting your reply and waiting to take the plunge at full
steam...

Best Regards,

~Mayuresh

--
BSD is for people who love Unix,
Linux is for people who hate winDOZE ;)
- Anonymous

To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

Ruslan Ermilov

unread,
Dec 24, 2002, 1:07:57 PM12/24/02
to Mayuresh Kathe, freebsd...@freebsd.org
On Tue, Dec 24, 2002 at 04:51:25PM +0000, Mayuresh Kathe wrote:
> Hi,
>
> I am not on the list, and am new to BSD, just graduated from Linux :)
>
> I wanted to port my OS (http://tisya.co.in/) to get away from Linux
> completely...
> For the same, the only hinderance lies in using framebuffer.
> Our GUI is based on Linux framebuffer, we don't use X Win at all...
> Is there something similar to Linux FB with FreeBSD?
> If yes, how do I activate it?
> (on linux there's ad evice at /dev/fb0)
>
> Eagerly awaiting your reply and waiting to take the plunge at full
> steam...
>
/sys/dev/fb/ might be relevant, not sure.


Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
r...@sunbay.com Sunbay Software AG,
r...@FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine

http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age

Mayuresh Kathe

unread,
Dec 24, 2002, 9:58:44 PM12/24/02
to Ruslan Ermilov, freebsd...@freebsd.org
Thanks for that hint, I'll check...

On Tue, 24 Dec 2002, Ruslan Ermilov wrote:

> /sys/dev/fb/ might be relevant, not sure.

To Unsubscribe: send mail to majo...@FreeBSD.org

Pedro F. Giffuni

unread,
Dec 27, 2002, 5:07:47 PM12/27/02
to Mayuresh Kathe, freebsd...@freebsd.org
Hello;

I don't think we have a framebuffer, at least not like
Linux. Check out the VESA module and wait for the KGI
port to arrive (not soon but work is going on).

cheers,

Pedro.

=====
---
Pedro F. Giffuni
M.SC. Industrial Eng. University of Pittsburgh
Mech. Eng. Universidad Nacional de Colombia
---
Yahoo is powered by FreeBSD http://www.FreeBSD.org/

______________________________________________________________________
Yahoo! Cellulari: scarica i loghi e le suonerie per le tue feste!
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

Mayuresh Kathe

unread,
Dec 28, 2002, 2:06:56 AM12/28/02
to Pedro F. Giffuni, freebsd...@freebsd.org
Thats bad, we could have ported our desktop grade OS to BSD :(

~Mayuresh


On Fri, 27 Dec 2002, [iso-8859-1] Pedro F. Giffuni wrote:

> Date: Fri, 27 Dec 2002 23:07:32 +0100 (CET)
> From: "[iso-8859-1] Pedro F. Giffuni" <giff...@yahoo.com>
> To: Mayuresh Kathe <mayu...@SDF.LONESTAR.ORG>
> Cc: freebsd...@freebsd.org
> Subject: Re: Framebuffer howto?

Emiel Kollof

unread,
Dec 28, 2002, 9:15:36 AM12/28/02
to Mayuresh Kathe, Pedro F. Giffuni, freebsd...@freebsd.org
* Mayuresh Kathe (mayu...@SDF.LONESTAR.ORG) wrote:
> Thats bad, we could have ported our desktop grade OS to BSD :(

Well, since you're writing in hackers@, might I suggest svgalib? If you
don't want to rely on svgalib, there's also libvgl, which comes with
FreeBSD. Example code is in /usr/share/examples/libvgl.

It might not be a framebuffer, but at least svgalib has accelerated
modes, and libvgl just works. Of course you could fall back to X, but
that's even more gross :)

I know that if you use those, it could be considered a gross hack, but
at least you have something to draw with until that KGI stuff is here.

Cheers,
Emiel
--
It's easier to fight for one's principles than to live up to them.

Pedro F. Giffuni

unread,
Dec 28, 2002, 2:14:54 PM12/28/02
to Emiel Kollof, Mayuresh Kathe, Pedro F. Giffuni, freebsd...@freebsd.org
--- Emiel Kollof <cool...@hackerheaven.org> ha
scritto:
...

> It might not be a framebuffer, but at least svgalib
> has accelerated
> modes, and libvgl just works. Of course you could
> fall back to X, but
> that's even more gross :)
>
> I know that if you use those, it could be considered
> a gross hack, but
> at least you have something to draw with until that
> KGI stuff is here.
>
Actually I suggested on private email to use GGI. GGI
can work on top of VGL or Linux's framebuffer, and
when KGI becomes available it will work fine.

Pedro.

______________________________________________________________________
Yahoo! Cellulari: scarica i loghi e le suonerie per le tue feste!
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to majo...@FreeBSD.org

Hiten Pandya

unread,
Dec 29, 2002, 9:16:04 AM12/29/02
to Pedro F. Giffuni, Emiel Kollof, Mayuresh Kathe, freebsd...@freebsd.org
--- "Pedro F. Giffuni" <giff...@yahoo.com> wrote:
> Actually I suggested on private email to use GGI. GGI
> can work on top of VGL or Linux's framebuffer, and
> when KGI becomes available it will work fine.

Hmm, someone said earlier on in this thread, that FreeBSD does
not have a framebuffer device; if so:

1) What is the FB_INSTALL_CDEV kernel option for?
2) What is the purpose of <sys/fbio.h>?

Clarification will be appreciated.
Cheers.

--
Hiten Pandya
http://www.unixdaemons.com/~hiten/
hi...@unixdaemons.com, hi...@uk.FreeBSD.org

Marcin Dalecki

unread,
Dec 29, 2002, 10:34:23 AM12/29/02
to Hiten Pandya, Pedro F. Giffuni, Emiel Kollof, Mayuresh Kathe, freebsd...@freebsd.org
Hiten Pandya wrote:
> --- "Pedro F. Giffuni" <giff...@yahoo.com> wrote:
> > Actually I suggested on private email to use GGI. GGI
> > can work on top of VGL or Linux's framebuffer, and
> > when KGI becomes available it will work fine.
>
> Hmm, someone said earlier on in this thread, that FreeBSD does not have
> a framebuffer device; if so:
>
> 1) What is the FB_INSTALL_CDEV kernel option for?
> 2) What is the purpose of <sys/fbio.h>?
>
> Clarification will be appreciated.
> Cheers.

Well as far as I can see the text console is considered
as kind of a frame buffer. Surely not what quite what
you are looking for.

Pedro F. Giffuni

unread,
Dec 29, 2002, 11:55:03 AM12/29/02
to Hiten Pandya, freebsd...@freebsd.org
--- Hiten Pandya <hi...@unixdaemons.com> ha scritto:
...
>
> Clarification will be appreciated.

I understand the Linux framebuffer device was
initially based on our VESA driver, but it has evolved
into a specialized device for specific graphic cards.
It's also a moving target, not something anyone in
FreeBSD has been willing to follow.

There are more important things to do in FreeBSD's
graphics end; fully newbussifying the VESA driver
would be nice, perhaps supporting VBE/AF (like in this
dead project
(http://www.talula.demon.co.uk/freebe/index.html), or
of course helping the KGI porting effort* (Hi Nicholas
;) ).

cheers,

Pedro.

* I understand a VM guru is needed there BTW


______________________________________________________________________
Yahoo! Cellulari: scarica i loghi e le suonerie per le tue feste!
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to majo...@FreeBSD.org

0 new messages