Fedora Linux Support Community & Resources Center
  #1  
Old 21st May 2007, 02:11 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Where's VESA Framebuffer module (vesafb)?

I'd like to use the VESA framebuffer (vesafb), but the module doesn't seem to be present. The config for the installed kernel (2.6.20-1.2948) says Y to CONFIG_VESA_FB. Has the name changed? I'm looking for 'vesafb' but can't find it.

Thanks,

David
Reply With Quote
  #2  
Old 21st May 2007, 05:38 PM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,622
If the kernel's .config file says "Y" for CONFIG_VESA_FB then that means the vesafb driver was built directly in the kernel, not as a module. So you just have to tell the kernel to use it. On the line in your /boot/grub/grub.conf file that loads your kernel, try something like this:

kernel /vmlinuz-2.6.20-1.2948 ro root=... video=vesafb:1024x768-8@76

where the "..." part is whatever your current options are. The "1024x768-8@76" part says to run the vesafb framebuffer console at 1024x768 resolution in 8-bit color depth at a 76Hz vertical refresh rate. You may have to experiment with those numbers to get a combination that works for your video card and monitor (the ones above work for mine). Usually it's the refresh rate that you'll need to play with, I had to try several values before finding one that worked for me.
Reply With Quote
  #3  
Old 21st May 2007, 06:25 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Quote:
Originally Posted by RupertPupkin
If the kernel's .config file says "Y" for CONFIG_VESA_FB then that means the vesafb driver was built directly in the kernel, not as a module.
You're absolutely right, I hadn't even considered that. Strange that all the other framebuffer devices are available as a module.

Quote:
Originally Posted by RupertPupkin
So you just have to tell the kernel to use it. On the line in your /boot/grub/grub.conf file that loads your kernel, try something like this:

kernel /vmlinuz-2.6.20-1.2948 ro root=... video=vesafb:1024x768-8@76

where the "..." part is whatever your current options are. The "1024x768-8@76" part says to run the vesafb framebuffer console at 1024x768 resolution in 8-bit color depth at a 76Hz vertical refresh rate. You may have to experiment with those numbers to get a combination that works for your video card and monitor (the ones above work for mine). Usually it's the refresh rate that you'll need to play with, I had to try several values before finding one that worked for me.
Thanks for this. I don't understand why this particular device is builtin rather than a module. Is there another module specifically for S3 (Virge DX/GX) cards?

Thanks,

David
Reply With Quote
  #4  
Old 21st May 2007, 06:54 PM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,622
In the 2.6.20-rc2-mm1 kernel there was a patch for a new S3 framebuffer called s3fb. I don't know if that made it into the 2.6.20 kernel you're using. Look in your kernel source directory, under Documentation/fb there may be a file called s3fb.txt. If not then you're probably stuck with vesafb. The generic VESA console framebuffer should work for you, but it definitely is better to use one for your specific card. I know that the radeonfb driver I use for my Radeon 9250 is much better than vesafb.
Reply With Quote
  #5  
Old 21st May 2007, 09:41 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Quote:
Originally Posted by RupertPupkin
In the 2.6.20-rc2-mm1 kernel there was a patch for a new S3 framebuffer called s3fb. I don't know if that made it into the 2.6.20 kernel you're using. Look in your kernel source directory, under Documentation/fb there may be a file called s3fb.txt. If not then you're probably stuck with vesafb. The generic VESA console framebuffer should work for you, but it definitely is better to use one for your specific card. I know that the radeonfb driver I use for my Radeon 9250 is much better than vesafb.
Strange that a framebuffer driver is only now being featured for such an old card (S3), though performance is not of importance.

I'd rather work with modules than configuring/enabling the fb at boot time. There's so many other module based framebuffer drivers it makes you wonder why vesa got builtin. Maybe it's unstable otherwise, who knows?

I'm using fbtv which doesn't work with VGA16 (which would be sufficient for my purposes). Any suggestions welcome on console output from v4l devices (other than setting up X).

Thanks,

David
Reply With Quote
  #6  
Old 22nd May 2007, 04:10 PM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,622
My guess is that the vesafb is built in to the kernel because virtually every video card is VESA-compliant and hence can use vesafb. Also, it gives you the console framebuffer with the nice little color Tux logo at boot time, which I don't think you get by using a module, IIRC. In fact, I think the Fedora installer uses vesafb.

For fbtv to work you need a console framebuffer, period. It won't work in standard VGA16 console mode. If you don't need the framebuffer at boot time then you could just load the appropriate framebuffer module with the options I mentioned before, and then run fbtv.
Reply With Quote
  #7  
Old 22nd May 2007, 04:36 PM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Quote:
Originally Posted by RupertPupkin
My guess is that the vesafb is built in to the kernel because virtually every video card is VESA-compliant and hence can use vesafb. Also, it gives you the console framebuffer with the nice little color Tux logo at boot time, which I don't think you get by using a module, IIRC. In fact, I think the Fedora installer uses vesafb.
I was expecting something like this as the reason for building it into the kernel.

Quote:
Originally Posted by RupertPupkin
For fbtv to work you need a console framebuffer, period. It won't work in standard VGA16 console mode. If you don't need the framebuffer at boot time then you could just load the appropriate framebuffer module with the options I mentioned before, and then run fbtv.
Forgive me but isn't the VGA16 (vga16fb) a console framebuffer?

The problem is that there doesn't seem to be an appropriate framebuffer module at hand for the S3 card. The closest (module) was VGA16 but fbtv complains 'can handle only packed pixel frame buffers' . The vesafb will probably work but requires a reboot to change settings or enable/disable the framebuffer.

All I want to do is output a webcam picture to change the focus. I used to do this with a matrox g400 card which is well supported and for which a module exists. Regretfully that card is in another machine.

Many roads lead to Rome. Is there an easier route to focusing a webcam?

Thanks,

David
Reply With Quote
Reply

Tags
framebuffer, module, vesa, vesafb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to boot F10 with Vesa? maladeus Installation and Live Media 1 23rd December 2008 05:26 PM
framebuffer confusion with Hauppauge PVR 350 framebuffer /dev/fb0 amiga Using Fedora 0 1st September 2008 05:42 PM
anaconda X force vesafb, no nvidia gaggga Installation and Live Media 4 29th September 2006 04:20 PM
Vesafb and MTRR Overlapping ter Hardware & Laptops 1 12th October 2004 02:02 AM


Current GMT-time: 02:48 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat