Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Upgraded kernel, can't get vesafb to work

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

Upgraded kernel, can't get vesafb to work

  • Quote

Post by kingLatency » Thu Aug 16, 2007 1:41 pm

Hi folks. I recently upgraded my kernel to 2.6.22-r2 (from 2.6.21-r4 from when I first installed a few weeks ago) to help me get my USB wireless device working, but now I don't get the proper resolution in virtual terminals. I have a 15" LCD whose native resolution is 1024x768... the machine boots into 720x400.

I've been trying to follow all the handbook info and wiki stuff, but nothing seems to work. I have the kernel set up right, I've tried infinite video= settings in grub.conf, and I know it should be able to work because I got the high resolution on that slightly older kernel.

Any help would be appreciated. This is an Pentium 4 machine with an nVidia TNT2 card.
Top
djscribble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Wed Aug 03, 2005 9:23 pm

  • Quote

Post by djscribble » Thu Aug 16, 2007 7:58 pm

in RE: to your kernel framebuffer settings, are you using vesafb or vesafb-tng? I had a similar problem and when i switched over to vesafb-tng and set the higher resolution in the kernel settings for it, everything started working.
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Thu Aug 16, 2007 10:34 pm

I'm using vesafb-tng. I've tried setting it up with just the kernel settings and no resolution in grub.conf, or no video= part in the kernel line of grub.conf, but neither work. I heard that works for some people, but it didn't on my system, for whatever reason. Any other ideas?
Top
djscribble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Wed Aug 03, 2005 9:23 pm

  • Quote

Post by djscribble » Fri Aug 17, 2007 2:05 am

what is the exact entry that you put into your kernel, and what is the exact video= that you are using?
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Fri Aug 17, 2007 11:38 am

VESA default mode in the kernel: 1024x768@75

For the grub.conf kernel line I've tried a number of adjustments, currently:

Code: Select all

kernel /boot/kernel-2.6.22 root=/dev/hda3 video=vesafb:1024x768-32,mtrr:3,ywrap
Top
der.gecko
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Fri Jul 13, 2007 4:55 pm
Location: de

  • Quote

Post by der.gecko » Fri Aug 17, 2007 8:01 pm

try it with (if you are shure that your monitor does 75hz):

video=vesafb:1024x768-24@75,mtrr,ywrap


if this doesn't work,
use the normal vesafb in the kernel, recompile, reinstall and retry with this kernel line:

video=vesafb:1024x768-24@75,mtrr,ywrap vga=0x318
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Fri Aug 17, 2007 10:05 pm

Well, switching to vesafb instead of vesafb-tng did the trick, thanks. :)

I was, however, hoping to set up gensplash. Does anyone know if that requires the use of vesafb-tng or if it will work with plain 'ol vesafb?

Thanks!
Top
der.gecko
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Fri Jul 13, 2007 4:55 pm
Location: de

  • Quote

Post by der.gecko » Sat Aug 18, 2007 12:52 pm

it doesn't matter. i have to use vesafb too because of my x800pro.

just configure your kernel accordingly:

Code: Select all

   
Console display driver support  --->
      [ * ]    VGA text console
      [ * ]    Video mode selection support
      <*>   Framebuffer Console support
      [ * ]   Support for the framebuffer splash 
Device Drivers --->
   Block devices  --->
      <*> RAM disk support
      (4096) Default RAM disk size (kbytes)
      [ * ]   Initial RAM disk (initrd) support
recompile and install the kernel

#emerge splashutils (emerge freetype before, just in case!)

create an initramfs && configure your bootloader and reboot
Top
engil
Tux's lil' helper
Tux's lil' helper
Posts: 119
Joined: Tue Nov 22, 2005 4:50 pm
Location: France

  • Quote

Post by engil » Wed Aug 22, 2007 10:12 am

Hi all,

i am getting the same problem when recompiling a 2.6.22 after a 2.6.19, my screen shows nothing but crap when booting, i used the same option in grub.conf but it doesn't work as is.

My question is, is the ram disk support necessary to boot with framebuffer ? I used to have my console boot in 1680*1050 with my 2.6.19 and i don't think i've compiled ram disk, did it change with new kernel ?

Sorry for my bad english, not my native language ..

Thx in advance

Btw, my grub line is video=vesafb:1680x1050,mtrr:3,ywrap
Top
kingLatency
n00b
n00b
User avatar
Posts: 61
Joined: Sat Sep 28, 2002 7:35 pm
Location: Amherst, MA

  • Quote

Post by kingLatency » Wed Aug 22, 2007 10:52 am

You only need that ramdisk support if you plan on setting up a bootsplash image. Did you trying switching from vesafb-tng to vesafb, and recompiling your kernel? That's what I had to do. Keep in mind that with the older vesafb you need a vga= option instead of the resolution in the video= line. You can google for a chart of what the codes vga= takes.
Top
engil
Tux's lil' helper
Tux's lil' helper
Posts: 119
Joined: Tue Nov 22, 2005 4:50 pm
Location: France

  • Quote

Post by engil » Wed Aug 22, 2007 12:16 pm

I'm reading the howto on the gentoo wiki now, and i don't think i want a bootsplash image, i just want to see kernel messages at boot, as i had before.

I'm not in front of my linux box so i can't tell but i think i've got the vga option, but the vesafb / vesafb-tng should do the thing, as i'm not sure about the one i've selected. (I got a Core2Duo and a 64bits system)

Anyway, thanks for the interest !
Top
der.gecko
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Fri Jul 13, 2007 4:55 pm
Location: de

  • Quote

Post by der.gecko » Wed Aug 22, 2007 4:46 pm

kingLatency wrote:You only need that ramdisk support if you plan on setting up a bootsplash image. Did you trying switching from vesafb-tng to vesafb, and recompiling your kernel? That's what I had to do. Keep in mind that with the older vesafb you need a vga= option instead of the resolution in the video= line. You can google for a chart of what the codes vga= takes.
already explained above^^
Top
Post Reply

12 posts • Page 1 of 1

Return to “Kernel & Hardware”

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