LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Intelfb framebuffer problem. (https://www.linuxquestions.org/questions/linux-hardware-18/intelfb-framebuffer-problem-758644/)

Lockywolf 09-30-2009 05:54 AM

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?

mcconnaughey 09-30-2009 09:59 AM

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.

Lockywolf 09-30-2009 01:07 PM

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" :-(


All times are GMT -5. The time now is 07:49 AM.