LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-13-2007, 12:17 AM   #1
rotbau
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Video mode change after compiling new kernel


Hello everyone. I've got a minor but annoying problem with my slack 11 install after compiling a new 2.6.20.6 kernel. In my lilo.conf I have the vga=773(1024x768x256) set. In the stock 2.4.33.3 kernel everything boots fine. When I boot into my newly compiled 2.6.20.6 kernel I get a black screen as soon as I leave the lilo prompt. The server still boots because I can ssh in just fine. If I set vga=normal the display works fine. Also, at the black screen if I wait for the boot to finish - I can login (blindly) and startx - which works fine.

I found info about using a framebuffer setting. I checked my kernel config under Device Drives -> Graphics Support and I do have support for framebuffer devices enabled as built-in. I also saw some options under the Console Display Driver Support. Under this area framebuffer support wasn't selected. I turned this on and recompiled the kernel - but no joy. Can someone point me to what I'm missing? Thanks for any help.

rotbau
 
Old 04-13-2007, 09:15 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
you're definitely on the right track; the framebuffer and related console settings are out of whack in your kernel configuration. Some aspects of this are specific to your video hardware, or lack thereof, and so the frame buffer configuration depends on what hardware there is, and its capabilities.
To save yourself some time and messing about, boot the old kernel which worked fine, and examine the settings. Then reboot the new kernel, and do the same, comparing the applicable settings for the console/framebuffer.
 
Old 04-13-2007, 09:39 AM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Agree

I agree. On one system here, i must boot with 1024x768 at 64 bit only to get display, on laptop must be 800x600 32bit, and main desktop runs with any setting. Just check and see what setting the original 2.4 used.
 
Old 04-13-2007, 10:02 AM   #4
rotbau
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
solved

Thanks for the tips. I compared the config file for the old kernel to my config for the one I compiled. I was missing a chunk of the framebuffer stuff. I copied those sections to a test .config and ran make menuconfig and then recompiled.

Everything is working fine now. I got my penguin back on the console and smaller fonts .

Cheers,
rotbau
 
  


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
Change/Setting Host Video Mode MSwal2846 Linux - Newbie 1 06-20-2006 07:51 PM
UML--->compiling user mode linux in kernel 2.6 waqasgujjar Red Hat 0 12-18-2004 03:20 PM
change video mode on console jlinkels Linux - Software 4 10-20-2004 07:42 PM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Help! I'm stuck in bad video mode and can't change it! sum1stolemynik Linux - Newbie 8 06-29-2002 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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