LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-04-2006, 11:45 AM   #1
debuser123
Member
 
Registered: Nov 2006
Distribution: Ubuntu Hardy
Posts: 69

Rep: Reputation: 15
Question vga console reverts to text after boot (maybe during init?)


Kernel: 2.6.19 (latest stable 2006-11-29 22:22 UTC)

This is the first time I'm trying out vga console (let alone the 2.6 kernel [coming from 2.4.27 that ships with Debian Sarge 3.1]).

I've added vga=3841 (which equates to mode 0x0f01, 80x50) to my boot kernel command line and the first blob of info starting after "Uncompressing kernel..." is in the correct vga mode, but then a couple of seconds later, the screen sort of like resets and is back in text mode (80x25). The problem with this is that the physical screen is like a viewport and does not show everything (it seems there's one extra text line above the top of the monitor, and one extra one below). But I'm guessin gthis behavior is due to the video mode reset which is what I'm trying to prevent.

My question is: what causes it to reset? What kernel (compile & runtime) options do I need to correctly get a hi-res vga console (docs/svga.txt doesn't anything about my problem)

I am using an initrd, video card is GeForce2 (32MB) [riva is the only fb module I chose]

Similar but never-resolved thread

Edit: resolved:

video=vesafb:1024x768

was what is needed instead of vga=

Last edited by debuser123; 12-04-2006 at 01:15 PM.
 
Old 12-10-2006, 12:13 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
You are correct that changes to video-mode during the boot sequence can cause the "pretty boot-time face" screen to drop.

The pretty-picture window is usually set up by an initrd ("inital ramdisk") program which runs first. The video parameters must be set by that program and they must not change.
 
  


Reply



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
How to reset console VGA mode after boot? chandru.in Linux - Software 2 05-19-2006 02:36 AM
How do you exit X and boot into VGA Console? Takezo Debian 8 11-18-2004 07:55 AM
How To Edit My /etc/inittab To Boot Into VGA console mode (non-X) CAL Linux - Newbie 3 04-06-2004 07:06 AM
(here's a challenge) VGA text console modes with a new kernel. ftgow Linux - Hardware 9 02-12-2004 02:08 AM
boot to vga console Smithy Linux - General 2 04-25-2003 12:42 PM

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

All times are GMT -5. The time now is 11:08 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