Re: Re DirectFB and the Intel 945GM Chip

"Antonino A. Daplas" <[email protected]> Fri, 04 May 2007 14:32:22 +0800
Newsgroups gmane.linux.fbdev.user
Message-ID <1178260342.4722.6.camel@daplas>
On Thu, 2007-05-03 at 16:57 -0400, DENNIS HALL wrote:
> The DirectFB driver for this card (intelfb) complains about the video
> mode not being set even though I've set it using the kernel parameters
> passed through grub:
> 
>    title Generic 2.6.21 with 945GM-21
>         root (hd0,0)
>         kernel /bzImage945-21 root=/dev/hda3
> video=intelfb:mode=1024x768-16@85,accel=1,hwcursor=1,vram=8
> 
> The parameters above are listed in the kernel's fb documentation
> (Documentation/fb/intelfb.txt).  Does anyone know why this is
> happening or how to fix it?  
> 
> Agp Info:
> Linux agpgart interface v0.102 (c) Dave Jones
> agpgart: Detected an Intel 945GM Chipset.
> agpgart: Detected 7932K stolen memory.
> agpgart: AGP aperture is 256M @ 0xd0000000
> 
> IntelFB Info:
> intelfb: intelfb_init
> intelfb: Framebuffer driver for Intel(R)
> 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
> intelfb: Version 0.9.4
> intelfb: intelfb_setup
> intelfb: options: mode=1024x768-16@85,accel=1,hwcursor=1,vram=8
> intelfb: intelfb_pci_register
> intelfb: fb aperture: 0xd0000000/0x10000000, MMIO region:
> 0xeff00000/0x80000
> intelfb: 00:02.0: Intel(R) 945GM, aperture size 256MB, stolen memory
> 7932kB
> intelfb: fb: 0xd3012000(+ 0x3012)/0x800000 (0xfba12000)
> intelfb: MMIO: 0xeff00000/0x80000 (0xff280000)
> intelfb: ring buffer: 0xd3001000/0x10000 (0xfba01000)
> intelfb: HW cursor: 0x37fe8000/0x1000 (0xfba11000) (offset 0x3011)
> (phys 0x37fe8000)
> intelfb: options: vram = 8, accel = 1, hwcursor = 1, fixed = 0, noinit
> = 0
> intelfb: options: mode = "1024x768-16@85"
> intelfb: Non-CRT device is enabled ( LVDS port ).  Disabling mode
> switching.
> intelfb: Video mode must be programmed at boot time.
> intelfb: cleanup
> 
> When I try this with a CRT instead of an LCD screen the kernel crashes
> before I can see anything.
> 

The intelfb driver cannot set the mode on its own without the help of
the BIOS.  Use the vga= (as you would with vesafb) instead to set the
mode.

Tony



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/