LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-19-2008, 05:44 AM   #1
ak-87
Member
 
Registered: Apr 2005
Posts: 68

Rep: Reputation: 15
2.6.24.2 kernel - framebuffer problem?


I've compiled 2.6.24.2 kernel using old config file. I have set vga=773 option in my grub conf. file and I had 1024x768 resolution during boot up on older kernel versions, but after upgrade to 2.6.24* kernel version I only get black screen during boot (if I remove vga=773 option there are boot messages, of course). Also, on my Arch installation on same machine, after upgrade to 2.6.24 kernel there is same problem.

It is obvious that the problem is with kernel/framebuffer module. Machine is Sony Vaio FE41S notebook with nVidia graphics.

Any ideas?

Thank You in advance!
 
Old 02-19-2008, 08:46 AM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
What version was your previous kernel? It sounds like you're just missing something. I'm using 2.6.24 but not 2.6.24.2 and I have no problem with the framebuffer console with an nvidia card (GeForce2 MX400 64MB). I always quickly browse the menu after importing my previous kernel's config to make sure everything is still checked properly. In my kernel config these are the relevant settings I have been using since approx. 2.6.21:

Device Drivers ->
Graphics support ->
<M> /dev/agpgart
<M> DRM
<Y> Support for fb ->
<Y> Firmware EDID
<Y> Video mode handling
<Y> Tile blitting
<Y> VESA VGA
NOTE: despite having an nvidia card the nvidia settings remain <N>
<Y> Console display drivers ->
<Y> Video mode selection
<Y> Framebuffer console
<Y> Compiled-in fonts
<Y> 8X8
<Y>8X16
 
Old 02-19-2008, 08:50 AM   #3
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
i have never tried the new kernel,
teh various possibilities are
1.try vesafb instead of nvidiafb, and try, or
2.compile it as built-in or try make it as module

why dont you patch it with vesafb-tng so that we can specify the fb resolution as we want, like video=vesafb:1024x768-32@86

make sure ur grub entry look like this
Code:
kernel          /boot/vmlinuz-2.6.24xx root=/dev/hdax ro vga=791
790,791,792 gives various color depths

best of luck
rkrishna

Last edited by rkrishna; 02-20-2008 at 01:39 AM.
 
Old 02-19-2008, 02:54 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I don't think you CAN use nvidiafb if you use the proprietary drivers. I may be completely wrong (haven't had time to compile a kernel for a while -- still on 2.6.22.9), so take this advice with a grain of salt, but you should make sure NOT to enable nvidiafb. For whatever reason, looking through my .config file I compiled nvidiafb as a module, which isn't being used (since I'm using the proprietary drivers). So if you have trouble excluding the nvidiafb driver, compile it as a module. Note that this may not even apply to you if you didn't enable nvidiafb in the first place, in which case you can disregard this message.
 
Old 02-19-2008, 04:15 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Quote:
Originally Posted by T3slider View Post
I don't think you CAN use nvidiafb if you use the proprietary drivers. I may be completely wrong (haven't had time to compile a kernel for a while -- still on 2.6.22.9), so take this advice with a grain of salt, but you should make sure NOT to enable nvidiafb. For whatever reason, looking through my .config file I compiled nvidiafb as a module, which isn't being used (since I'm using the proprietary drivers). So if you have trouble excluding the nvidiafb driver, compile it as a module. Note that this may not even apply to you if you didn't enable nvidiafb in the first place, in which case you can disregard this message.
That sounds kinda' familiar. I read something like that back when I was learning how to activate my fb console. It has something to do with the drivers accessing the device. Both nvidiafb and nvidia can't use the same device at the same time.
 
Old 02-20-2008, 03:12 AM   #6
ak-87
Member
 
Registered: Apr 2005
Posts: 68

Original Poster
Rep: Reputation: 15
Previous kernel version was 2.6.23.12 and everything was working just fine. As I mentioned, the problem is not just with Slackware but with Arch's stock kernel also (after upgrade to 2.6.24x kernel version).

I've checked selected config options and they are absolutely same as those I used from 2.6.21.5-smp stock kernel (2.6.22.9, 2.6.23.4, 2.6.23.12).

Also, although it is Nvidia graphic card framebuffer uses vesafb module, not nvidiafb (it is blacklisted). I tried with vga=791 option and the thing is - sometimes it boots properly (proper resolution, shows all messages), but most of the time I get black screen.

Thank You for your replies.
 
Old 02-20-2008, 03:52 AM   #7
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
Quote:
Originally Posted by ak-87 View Post
I tried with vga=791 option and the thing is - sometimes it boots properly (proper resolution, shows all messages), but most of the time I get black screen.

Thank You for your replies.
vesafb : compile in, i mean not as module(y not m)
 
  


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
kernel framebuffer m_yates Debian 2 03-11-2005 02:33 AM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
need help with framebuffer in 2.6.7 kernel SciYro Linux - Newbie 0 12-07-2004 08:44 AM
[recompiled kernel] framebuffer problem and some more jacktheripper Slackware 2 01-10-2004 12:42 PM
Framebuffer problem with 2.4.20 kernel biosx Slackware 5 12-02-2002 09:21 PM

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

All times are GMT -5. The time now is 05:11 PM.

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