Re: Re DirectFB and the Intel 945GM Chip

Matteo Vescovi <[email protected]> Fri, 4 May 2007 14:31:30 +0100 (BST)
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
--- "Antonino A. Daplas" <[email protected]> wrote:

> 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
> 

Hi,
I had the same problem, and was bitten by the kernel's
intelfb documentation the same way you were.

I eventually settled for the following:
kernel          /boot/vmlinuz root=/dev/hda1 ro
video=intelfb:mode=1024x768-32@75 vga=792

GRUB understands hex, so you can just say vga=0x318,
and avoid converting it to the decimal like I did.

Tony, how much work would you say is required to add
mode setting capabilities to the intelfb driver? I
might be able to donate some time to get this
working... it really bugs me that I can't use the
display at the native 1280x800 resolution.

- Matteo



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

-------------------------------------------------------------------------
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/