LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-20-2005, 04:37 PM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
framebuffer problems, slackware 10.2 kernel 2.6.10


i've recently been struggling with the task of setting up my framebuffer and though i've made some progress, i still have a few problems.

i've got vesafb, vga16fb, intelfb, and i810fb compiled into my kernel(i would have to use an initrd image or something if they were modules, right?) and when i boot up, it tries to load all three drivers. so if i look at /proc/fb, it reads:
Code:
0 VESA VGA
1 VGA16 VGA
intelfb didnt load because it's screwy, but there is evidence in dmesg that the kernel tried to use it. it doesnt bother with i810fb for some reason, dont know why. what i really dont understand is why it tries to load all of these, shouldnt it just use one? how can i stop this?

according to /proc/fb, i have two framebuffer devices, one for each driver loaded, how is this possible? how do i know which framebuffer device is being used?

it seems that the second driver that is loaded, vga16fb, is not really being used, or at least the device thats using it, fb1, isn't used. fb0, with vesafb seems to be what my console uses, but what if i want to change things up and make fb0 use vga16fb? i've been told that the video= boot parameter will let me pick which driver to use for the framebuffer, but i seem to have two framebuffers, so which one would it specify the driver for?

i cant seem to get this parameter to work anyway though. i've tried entering this at lilo:
Code:
boot: mykernel video=vga16fb
the framebuffer(fb0, i think) should use the vga16fb driver. instead, what happens is what i've described above, every fb driver i have is loaded up. i've also tried testing it to give options to vesafb, since i cant switch drivers, so i enter this:
Code:
boot: mykernel video=vesafb:800-600-256
the screen resolution should be 800x600 with 256 colors, but instead it's 1024x768 with 256. if i dont enter a vga= parameter in lilo.conf or i enter vga=normal at boot, vesa has an error at startup and vga16fb is used.
 
Old 10-20-2005, 04:51 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,275

Rep: Reputation: 64
You might be missing some kernel options. The parameter would be something like

boot: kernel vga=xxx where xxx is a number. You can find the numbers in the lilo.conf file. I use 791 for 1024x768x256.

Last edited by dracolich; 10-20-2005 at 04:53 PM.
 
Old 10-20-2005, 06:04 PM   #3
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
well, that just sets the screen size, i'm having trouble specifying what drivers to use and not use for the framebuffer.
 
Old 11-10-2005, 01:12 AM   #4
lanmanners
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
Hey,

i just tried the same

The intelfb driver does not take over the Vesafb or vgafb drivers (unlike radeonfb). The solutuion i've tried id to compile only intelfb into the kernel (without vga and vesafb). And also provide the video=intelfb:1024x768@85 parameter in Lilo/grub. Onething though, I've had display corruption problems when switching from X to console when intelbf is running. Just FYI.

LM

Last edited by lanmanners; 11-10-2005 at 01:13 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with kernel, slackware, less, framebuffer djeikyb Slackware 11 11-16-2005 03:10 AM
slackware and framebuffer acop Slackware 7 02-07-2005 03:07 PM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
Framebuffer problems on 2.6.5 Kernel with Riva TNT2 Chipset Worstje Slackware 10 06-14-2004 01:41 AM
Kernel Problems with Framebuffer GT_Onizuka Slackware 5 01-02-2004 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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