linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Andy Sy" <andy@nospam.com>
To: Linux-fbdev-devel@lists.sourceforge.net
Subject: Documentation for tdfxfb
Date: Sat, 14 Jun 2003 16:20:49 +0800	[thread overview]
Message-ID: <003f01c3324d$e6d49d30$0100a8c0@duron12> (raw)

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

I made some docs for the still undocumented tdfxfb
driver.  It was rather frustrating trying to get it
to work and I want to save others the trouble.  Should
this be included in Documentation/fb?

vesafb works with Voodoo 3 (and above I believe) but
the advantage of using tdfxfb is being able to use
refresh rates other than 60Hz.  

Text mode at 1152x864/70Hz on a decent 14" color monitor 
is just peachy!  (pseudo-) Text mode rulez!


===============================
a n d y @ n e t f x p h . c o m


[-- Attachment #2: tdfxfb.txt --]
[-- Type: text/plain, Size: 1456 bytes --]

This is just a quickly hacked together doc for using tdfxfb so
you don't have to look at the source or use trial and error to
know how to configure it.

Passing command lines to the tdfxfb driver works similar to
the other framebuffer drivers.

The syntax for kernel parameters is:

  video=tdfx:option1,option2,...

optionn is in the form:

  optionname:value

value being optional.

To set the resolution and refresh, use the following syntax:

WWWWxHHHH-BPP@RR
 
where WWWW = width, HHHH=height in pixels, BPP=bits per pixel,
and RR is the refresh rate.

example:

(in lilo.conf)

append="video=tdfx:font:VGA8x16,1152x864-16@70"

Other options are noaccel,nowrap,nopan,nowhwcursor,inverse,nomtrr.
I have not tried any of these yet, just saw them in tdfxfb_setup()
in /usr/src/linux/video/drivers/tdfxfb.c.

The syntax for setting a mode is explained in 
/usr/src/linux/video/drivers/modefb.c in the comments
for fb_find_mode().  The valid refresh rate/resolution 
combinations and settings for them are listed and will
be taken from there and not /etc/fb.modes.

If you own a Voodoo3/4/5, the nice thing with using the 
tdfxfb driver over vesafb (which also works nicely) is that
you can set the refresh rate for your fbcon mode.  No more 
having to live with 60Hz!  The con is that as of now (2.4.20)
the penguin logo display is still quite glitchy.


Written by: codeboy@postmark.net
Date: 2003-6-14


                 reply	other threads:[~2003-06-14  8:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='003f01c3324d$e6d49d30$0100a8c0@duron12' \
    --to=andy@nospam.com \
    --cc=Linux-fbdev-devel@lists.sourceforge.net \
    /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).