LinuxQuestions.org
Visit Jeremy's Blog.
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-15-2006, 02:47 PM   #1
Prostetnic_Jeltz
Member
 
Registered: Feb 2006
Posts: 66

Rep: Reputation: 16
Correct graphics/framebuffer kernel config options -- garbled console text?


Hello all - I've been having trouble configuring a 2.6.16.5 kernel. on boot, after bios check, the console text is garbled and pixellated (not just blurry, but totally unreadable). this is not in X, but before X is started.

I am guessing the problem is in the options I picked under DEVICE DRIVERS->GRAPHICS SUPPORT in the kernel config. it is very confusing to figure out which is required among:

support for framebuffer devices
virtual framebuffer support
console display driver support
framebuffer console support
VESA VGA
Nvidia framebuffer

and probably others?? the config descriptions don't help much. I'm pulling my hair out compiling and recompiling many different combinations, both compiled in and as modules. I don't know what is conflicting with what, or what to remove. I read the kernel-howto and framebuffer-howto, but I'm still stuck.

I have a Nvidia 5900XT card and intel P4. I am sure there are no hardware problems, as other kernels that are installed work perfectly.

anyone know exactly which graphics options are required, or where to read more about it?!

many thanks for any assistance.
 
Old 04-15-2006, 02:59 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Here's what I use, adjust for you Nvidia cat as this is for a Sis interface;

#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
CONFIG_FB_SIS=m
# CONFIG_FB_SIS_300 is not set
CONFIG_FB_SIS_315=y
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

HTH
 
Old 04-18-2006, 12:29 AM   #3
Prostetnic_Jeltz
Member
 
Registered: Feb 2006
Posts: 66

Original Poster
Rep: Reputation: 16
Thanks for your reply Lenard - there are some differences between your config and mine. I have noted them and will try to get mine to follow yours to see if that helps.

but I'm still not sure which options are conflicting/causing the console text problem - anyone have any clues on the root of the problem?
 
Old 04-18-2006, 02:04 AM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Hi,
I had a similar, not exact, problem configuring this kernel. I have an nVidia card similar to yours and, I agree, it is very confusing. However, Lenard's configuration is what was recommended to me and it worked. But, I think your problem is related to the boot resolution in lilo or grub (I use grub). As was pointed out to me, vga=791 gives you a 1024X758 screen which many people use (I use vga=788 which gives me 800X600 for a little larger font). This may not be the problem you are experiencing, but, given the symptoms, I would certainly try looking into it.

Hope this helps.

Bob
 
Old 04-19-2006, 12:31 AM   #5
Prostetnic_Jeltz
Member
 
Registered: Feb 2006
Posts: 66

Original Poster
Rep: Reputation: 16
many thanks Bob -- I was using 773 before. I will add experimenting with the vga values to my list of things to try. that could certainly be part of it.

(for curious readers, there is a table of vga values, in hex, in the framebuffer howto at tldp)
 
Old 04-19-2006, 04:13 AM   #6
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Thumbs up

I had almost the very same problem as well however i have a laptop with Intel graphics. (also.-2.6.15 kernel)
i had to use vga = normal in lilo.conf (then run #lilo)
i could then see the console in standard vga 640x480

i then found when compiling the kernel i had to add the following compiled into kernel (not modules)
Support for frame buffer devices
VESA VGA Graphics support
console display driver support >
Video Mode selection support
Frame buffer console support.
Plus the boot logo and 256k penguin

I had to make sure i 'removed' the INTEL drivers for my card (thanks to Alien_Hominid who suggested this) as they were conflicting (err: intelfb-unable to reserve fb)
NOTE: I also had to use #make menuconfig in order to get all the options listed above
if i used kde's configutil #make xconfig > it did not display VESA or frame buffer console (i cannot remmeber which - but one of them was definately not there)
I was then able to pass the nice VGA=791 etc...
 
Old 04-19-2006, 04:28 PM   #7
SlackTux
Member
 
Registered: Jul 2004
Location: Lisbon
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Well, since i made my first kernel upgrade that the beautiful console at the startup with the Tux logo at the top disapeared... I tried to get it back but failed.
Now that I was upgrading to 2.6.16.9 i decided to try the options that Lenard posted and after re-changing the lilo.conf vga mode to 773 I was barely praying at the startup because i tought (like the other times) that all i was going to see was a black screen but no!

This excitation might sound stupid but I'm really happy i mannaged to get back the console i wanted!

So I just wanted to thank to the people that participated in this topic, it really helped me!

 
Old 04-20-2006, 05:21 AM   #8
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Hey SlackTux - thanks for the note!
I also upgraded form 2.4.29 > 2.6.15 and lost the high res and penguin and was absolutely devestated! hahaha..
I am positive mine happened becuase i used #make xconfig instead of #make menuconfig
Something was definately not even listed when i used xconfig... Im pretty sure it was the VESA support
 
Old 04-20-2006, 06:41 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Nope, it is there Device Support-->Graphics Support-->Support for frame buffer devices
 
Old 04-20-2006, 11:29 AM   #10
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
i just checked again and it is there now as well on mine (Vesa VGA support i mean)... I'm sure it was not there before i used menuconfig... Oh well -i dont know now. i remember at the time it was missing... lol, i had probably done something wrong though. my wrong
 
  


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
How can I copy a bunch of text and then paste it, all in a framebuffer console? Shagrath239 Linux - Newbie 1 02-07-2006 12:32 AM
recompile 2.6 kernel with framebuffer console m_yates LinuxQuestions.org Member Success Stories 1 07-21-2004 08:42 AM
Framebuffer Console gets garbled after using Nvidia driver and entering/leaving X squirrels Linux - Hardware 6 06-16-2004 06:09 PM
[SOLVED] No text in framebuffer console TarrasQ Linux - Software 2 03-15-2004 04:01 AM
Console text garbled cap'n leaky Slackware 6 09-06-2003 09:18 PM

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

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