LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2005, 11:54 PM   #1
spikeygg
Member
 
Registered: Dec 2004
Location: America
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 0
fbset, doesn't do anything... does yours work?


I've been trying like the dickens to figure out how to set my console resolution using fbset. It seems easy enough from the manpage, and it looks like it's working, but it doesn't actually do anything. I'm currently using VESA framebuffers on my console (no X) at 1024x768 at 76Hz (0x318 in lilo.conf/menu.lst). I want to modify it but when I do using fbset, the screens resolution doesn't change. Here's an example:

Code:
# fbset -v
Linux Frame Buffer Device Configuration Version 2.1 (23/06/1999)
(C) Copyright 1995-1999 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Using current video mode from `/dev/fb0'

mode "1024x768-76"
    # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
    geometry 1024 768 1024 768 32
    timings 12714 128 32 16 4 128 4
    rgba 8/16,8/8,8/0,8/24
endmode
... so I ran it with verbose. Currently running 1024x768. Good, now I try to change the resolution...

Code:
# fbset -v 800x600-75
Linux Frame Buffer Device Configuration Version 2.1 (23/06/1999)
(C) Copyright 1995-1999 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Reading mode database from file `/etc/fb.modes'
Using video mode `800x600-75'
Setting video mode to `/dev/fb0'
... it looks like it's all good from the text. Found the correct settings in fb.modes and is "setting" the video mode, but I can tell you that the screen doesn't change. And if I run 'fbset -v' again, it spits out 'mode "1024x768-76"' just like it did BEFORE I tried to set it to 800x600-75.

Here's the thing, I have three Linux machines (two Debian and one Slackware) and they all have very unique hardware and software and they all run the VESA framebuffer but I can't get any of them changing resolutions with fbset. I can't even change the refresh rate of 1024x768. The fb.modes file looks correct as far as the timings are concerned.

Let me know if your fbset works... cause I can't get mine working.

Thanks,
-Greg
 
Old 08-14-2005, 03:45 AM   #2
infinity42
Member
 
Registered: Apr 2005
Location: England
Distribution: Gentoo
Posts: 142

Rep: Reputation: 16
I never got mine working here either.
 
Old 08-14-2005, 02:04 PM   #3
spikeygg
Member
 
Registered: Dec 2004
Location: America
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by infinity42
I never got mine working here either.
What kernel version are you running? I'm running 2.6.11+ on all three of my machines... maybe that's why it doesn't work.

-Greg
 
Old 08-14-2005, 03:34 PM   #4
infinity42
Member
 
Registered: Apr 2005
Location: England
Distribution: Gentoo
Posts: 142

Rep: Reputation: 16
I'm running 2.6.11.11 atm, I'm pretty sure that I haven't changed since I tried fbset. So maybe it is the kernel.. I have an old machine, I'll try and remember to compile an older kernel on there once it's compiled openoffice (so a few days lol) and give it a go. Shall I try something like 2.6.8.x?
 
Old 08-14-2005, 04:03 PM   #5
spikeygg
Member
 
Registered: Dec 2004
Location: America
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 0
Yeah, I'm gonna try it too... I thought I had it working too in the 2.6.8-2.6.9 days as well but that might just be my horrible memory playing tricks.

-Greg
 
Old 08-14-2005, 05:45 PM   #6
spikeygg
Member
 
Registered: Dec 2004
Location: America
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 0
This might work...

I emailed Geert, the author of fbset. He said that fbset cannot change the resolution of the VESA framebuffer. He said this was because it reads the resolution from the video bios at boot time just befor e the kernel loads. However, I have learned of a newer vesafb, called vesafb-tng (http://dev.gentoo.org/~spock/projects/vesafb-tng/). At this website it mentions that resolutions can be changed on the fly and that it is compatible with the nvidia binaries. I'm gonna try it out tonight.

Thanks,
-Greg
 
Old 08-15-2005, 06:27 AM   #7
infinity42
Member
 
Registered: Apr 2005
Location: England
Distribution: Gentoo
Posts: 142

Rep: Reputation: 16
OK then, good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fbset will not let me set an xres of 1680 hedpe Linux - Software 1 06-19-2005 04:30 PM
understanding fbset fizgig10 Linux - Hardware 2 04-21-2005 12:15 AM
fbset problems alaios Linux - General 0 01-08-2005 11:14 AM
help w/ XF86Config-4, fbset & ims twinturbo/ ppc rickenbacherus Debian 1 02-08-2004 01:59 AM
Executing fbset suriyamohan Linux - Software 3 04-28-2003 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration