LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-30-2009, 05:54 AM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Intelfb framebuffer problem.


I have a Compaq laptop with integrated Intel 965GM.

I want to have native resolution in console, so i did the following:

Code:
mkinitrd -k 2.6.30.5-smp -m ext4:mbcache:jbd:agpgart:intel-agp:intelfb:drm -f ext4 -r /dev/sda1
And added in lilo.conf:

Code:
append="video=intelfb:mode=1024x768-32@75,accel=1,hwcursor=1,mtrr=1"
dmesg|grep intel:

Code:
agpgart-intel 0000:00:00.0: Intel 965GM Chipset
agpgart-intel 0000:00:00.0: detected 7676K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM chipsets
intelfb: Version 0.9.6
intelfb 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
intelfb: 00:02.0: Intel(R) 965GM, aperture size 256MB, stolen memory 7932kB
intelfb: Non-CRT device is enabled ( LVDS port ).  Disabling mode switching.
intelfb: Video mode must be programmed at boot time.
No Mode-Switching? Okay.
But don't even receive an FB console!

fbset:

Code:
open /dev/fb0: No such file or directory
What to do?
 
Old 09-30-2009, 09:59 AM   #2
mcconnaughey
LQ Newbie
 
Registered: Jul 2005
Location: St. Louis MO
Distribution: Fedora core 3
Posts: 8

Rep: Reputation: 0
booting with framebuffer enabled

Have you enabled the framebuffer by using the appropriate kernel option at boot time? In /boot/grub/grub.conf (if you don't have such a file I don't know what to do) include a "vga=xxx" command. Here's a sample from my laptop:
kernel /vmlinuz(whatever) ro root=LABEL=/ rhgb quiet vga=791 .....
I don't know whether the order of things matters. The vga=791 part sets up the 1024x768x16 framebuffer. Some other choices: 792: 1024x768x24,
771: 800x600x16, 789: 800x600x24 and there are more. Don't ask me who came up with these numbers. If somebody knows where to find authoritative, complete info on this, could they please post it?
But I notice you have a lilo.conf file. I don't know whether the entry you have put in there is doing the same thing.
 
Old 09-30-2009, 01:07 PM   #3
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Original Poster
Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Have you enabled the framebuffer by using the appropriate kernel option at boot time? In /boot/grub/grub.conf (if you don't have such a file I don't know what to do) include a "vga=xxx" command.
The option video=intelfb:1280x800-32@75 should do the same thing.

Still, I also tried to pass vga=791 to the kernel - the vesafb and intelfb start to fight for memory. And intelfb writes some nasty stuff into dmesg.

Like "cannot reserve FB memory" :-(
 
  


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
framebuffer confusion with Hauppauge PVR 350 framebuffer /dev/fb0 tofino_surfer Linux - General 4 09-18-2008 11:36 PM
intelfb malfunction radii Linux - Laptop and Netbook 0 06-22-2008 04:28 PM
intelfb, gensplash, and X questions WRSpithead Linux - Hardware 0 09-07-2007 01:59 AM
can't get intelfb working Nightfrost Linux - Hardware 0 08-30-2005 06:22 AM
Framebuffer with intelfb (Dell Inspiron 1150) Anders1 Linux - Laptop and Netbook 6 03-17-2005 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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