Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

2.6 kernel and framebuffer

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
awilisch
n00b
n00b
Posts: 21
Joined: Sun Nov 21, 2004 2:38 pm
Location: Loveland, OH

2.6 kernel and framebuffer

  • Quote

Post by awilisch » Tue Feb 01, 2005 5:53 pm

I've installed both 2.4 and 2.6 kernels. With 2.4 I don't have any problems with the framebuffer coming up at 1024x768. With 2.6 though it always seems to default to 800x600 no matter what I set it to in grub. I know it's more of a cosmetic thing, but has anyone else run into this issue and know how to resolve it?
Top
eelke
Guru
Guru
User avatar
Posts: 406
Joined: Mon May 17, 2004 7:11 pm
Location: Earth, Netherlands, Friesland

  • Quote

Post by eelke » Tue Feb 01, 2005 6:51 pm

More details needed. What framebuffer driver are you using, what is the contents of your grub.conf?
Top
awilisch
n00b
n00b
Posts: 21
Joined: Sun Nov 21, 2004 2:38 pm
Location: Loveland, OH

  • Quote

Post by awilisch » Tue Feb 01, 2005 7:10 pm

I'm using whatever the standard framebuffer driver that comes from using an initial compile using genkernel. I'm in the process of reinstalling the whole os right now, but the grub.conf should look something like:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.10-gentoo-r6
root (hd0,0)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 video=1024x768-16@60 splash=verbose
initrd /initrd-2.6.10-gentoo-r6

At one point I even changed the video statement back to the vga=788 statement that kernel 2.4 uses and it made no difference, still showed up at 800x600.

Aric
Top
kepik_k
n00b
n00b
Posts: 40
Joined: Sat Nov 27, 2004 12:41 am
Location: USA

  • Quote

Post by kepik_k » Tue Feb 01, 2005 7:40 pm

What is the output of your

Code: Select all

 
less /proc/fb0/modes 
?

And have you tried fbset?
I'm still learning, so I guess that means I'm still alive
Top
awilisch
n00b
n00b
Posts: 21
Joined: Sun Nov 21, 2004 2:38 pm
Location: Loveland, OH

  • Quote

Post by awilisch » Tue Feb 01, 2005 8:09 pm

640x400-8
640x480-8
800x600-8
1024x768-8
1280x1024-8
320x200-16
320x200-32
640x480-16
640x480-32
800x600-16
800x600-32
1024x768-16
1024x768-32
1280x1024-16
320x200-8
320x400-8
320x400-16
320x400-32
320x240-8
320x240-16
320x240-32
640x400-16
640x400-32
1600x1200-8
1600x1200-16

Actually I didn't know that command existed. I just emerged and tried it. Assuming the proper syntax is

fbset -xres 1024 -yres 768
It reset it to 1024x768, but it then abended the system completely locking it up. Had to hard reboot it.
Top
active
Apprentice
Apprentice
User avatar
Posts: 228
Joined: Mon Jun 23, 2003 9:32 pm
Location: Something not a structure or union
Contact:
Contact active
Website

  • Quote

Post by active » Tue Feb 01, 2005 8:16 pm

It depends on the vesa driver which you use.
If you use the old Vesa you should go with the old "vga=7xx"; otherwise if you set up the new vesa-tng you can set your modes in the kernel configuration to: (for example) 1024x768@60 and set the grub command line to "video=vesafb"

bye
GIT d- s:+>: a-- C+++ UBS+++ P++ L+++
E--- W+ N+ w M- PS+(++) PE PGP+ !t
X++ tv+ b++ D+ G e h! r++ x*
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

  • Quote

Post by Sith_Happens » Tue Feb 01, 2005 8:19 pm

Yeah, line in grub should read video=vesafb vga=0x318 for the vesa framebuffer at 1024x768, 16 million colors (0x317 for 64k). With vesa-tng, you set the resolution in the kernel config, or you can do it in the command line as well, depending on what suits you.
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
kepik_k
n00b
n00b
Posts: 40
Joined: Sat Nov 27, 2004 12:41 am
Location: USA

  • Quote

Post by kepik_k » Tue Feb 01, 2005 9:53 pm

Also, incase you know what your vid card is (dmesg) here are a few option on the kernel level:

Code: Select all

 Linux Kernel v2.6.10-gentoo-r6 Configuration
 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌──────────────────────────────────────────────────────── Graphics support ─────────────────────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are hotkeys.  Pressing <Y> includes, <N>      │
  │  excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded │
  │  <M> module  < > module capable                                                                                                   │
  │                                                                                                                                   │
  │ ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                                 [*] Support for frame buffer devices                                                          │ │
  │ │                                 ---   Enable Video Mode Handling Helpers                                                      │ │
  │ │                                 [ ]   Enable Tile Blitting Support                                                            │ │
  │ │                                 < >   Cirrus Logic support                                                                    │ │
  │ │                                 < >   Permedia2 support                                                                       │ │
  │ │                                 < >   CyberPro 2000/2010/5000 support                                                         │ │
  │ │                                 [ ]   Chips 69000 display support                                                             │ │
  │ │                                 [ ]   IMS Twin Turbo display support                                                          │ │
  │ │                                 < >   VGA 16-color graphics support                                                           │ │
  │ │                                 < >   VESA VGA graphics support                                                               │ │
  │ │                                 < > Hercules mono graphics support                                                            │ │
  │ │                                 < > nVidia Riva support                                                                       │ │
  │ │                                 < > Intel 810/815 support (EXPERIMENTAL)                                                      │ │
  │ │                                 < > Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)                                   │ │
  │ │                                 < > Matrox acceleration                                                                       │ │
  │ │                                 < > ATI Radeon display support (Old driver)                                                   │ │
  │ │                                 <*> ATI Radeon display support                                                                │ │
  │ │                                 [*]   DDC/I2C for ATI Radeon support                                                          │ │
  │ │                                 [*]   Lots of debug output from Radeon driver                                                 │ │
  │ │                                 < > ATI Rage128 display support                                                               │ │
  │ │                                 < > ATI Mach64 display support                                                                │ │
  │ │                                 < > S3 Savage support                                                                         │ │
  │ │                                 < > SiS acceleration                                                                          │ │
  │ │                                 < > NeoMagic display support                                                                  │ │
  │ │                                 < > IMG Kyro support                                                                          │ │
  │ │                                 < > 3Dfx Banshee/Voodoo3 display support                                                      │ │
  │ │                                 < > 3Dfx Voodoo Graphics (sst1) support                                                       │ │
  │ │                                 < > Trident support                                                                           │ │
  │ │                                 < > Virtual Frame Buffer support (ONLY FOR TESTING!)                                          │ │
  │ │                                     Console display driver support  --->                                                      │ │
  │ │                                     Logo configuration  --->                                                                  │ │
  │ │                                 [*] Support for the framebuffer splash 
Then you can use radeofb etc (this an example of my grub.conf kernel line):

Code: Select all

kernel /kernel-2.6.10-gentoo-r6 video=radeonfb:ywrap,pmipal,mtrr,1024x768-32@60 splash=silent,theme:emergence resume2=/dev/hdc2
initrd /fbsplash-2.6.10-gentoo-r6
I'm still learning, so I guess that means I'm still alive
Top
Sith_Happens
Veteran
Veteran
User avatar
Posts: 1807
Joined: Wed Dec 15, 2004 2:08 am
Location: The University of Maryland at College Park
Contact:
Contact Sith_Happens
Website

  • Quote

Post by Sith_Happens » Tue Feb 01, 2005 11:23 pm

You use the in kernel radeon support? I use the ATI drivers ebuild and load the drivers as a module. Then again I have a newer card, that only works with the latest drivers. However I don't think it's really ever a good idea to use in kernel support when it comes to graphics cards.
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Top
kepik_k
n00b
n00b
Posts: 40
Joined: Sat Nov 27, 2004 12:41 am
Location: USA

  • Quote

Post by kepik_k » Tue Feb 01, 2005 11:54 pm

Sith_Happens wrote:You use the in kernel radeon support? I use the ATI drivers ebuild and load the drivers as a module. Then again I have a newer card, that only works with the latest drivers. However I don't think it's really ever a good idea to use in kernel support when it comes to graphics cards.
It's an older laptop, so the chances of changing graphics cards in it is a bit slim, plus it doesn't cause gensplash graphics to go corrupt when switching from silent to verbose during boot when I compile it into the kernel
I'm still learning, so I guess that means I'm still alive
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic