LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Getting i815 Framebuffer working?!
@ 2004-05-06 23:57 James Lamanna
  2004-05-19  0:30 ` Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: James Lamanna @ 2004-05-06 23:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: adaplas

Using stock 2.6.5, I'm trying to get the Intel i810/5 framebuffer driver 
to work. So far I have had no success.

Any help would be appreciated, system data follows.

Please CC me for I am not subscribed.

-- James Lamanna

I'm using the following lilo.conf line:
append="video=i810fb:vram:2,xres:1024,yres:768,bpp:8,hsync1:30,\
         hsync2:55,vsync1:50,vsync2:85,accel,mtrr"


Relevant Statements from dmesg:
agpgart: Detected an Intel i815 Chipset.
agpgart: Maximum main memory to use for agp memory: 438M
agpgart: AGP aperture is 64M @ 0xe0000000
i810fb: probe of 0000:00:02.0 failed with error -22
^^^^ Not promising... :)
NTFS driver 2.1.6 [Flags: R/O].
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
[drm] Initialized i810 1.4.0 20030605 on minor 0
[drm] Initialized i830 1.3.2 20021108 on minor 1

Relevant lspci output:

0000:00:02.0 VGA compatible controller: Intel Corp. 82815 CGC [Chipset
Graphics Controller] (rev 04) (prog-if 00 [VGA])
         Subsystem: Intel Corp. 82815 CGC [Chipset Graphics Controller]
         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
         Latency: 0
         Interrupt: pin A routed to IRQ 5
         Region 0: Memory at e0000000 (32-bit, prefetchable)
         Region 1: Memory at e4100000 (32-bit, non-prefetchable)
[size=512K]
         Capabilities: [dc] Power Management version 2
                 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Relevant parts of .config:

# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
# CONFIG_VIDEO_SELECT is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
CONFIG_FB_I810=y
CONFIG_FB_I810_GTF=y
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Getting i815 Framebuffer working?!
  2004-05-06 23:57 Getting i815 Framebuffer working?! James Lamanna
@ 2004-05-19  0:30 ` Antonino A. Daplas
  0 siblings, 0 replies; 3+ messages in thread
From: Antonino A. Daplas @ 2004-05-19  0:30 UTC (permalink / raw)
  To: James Lamanna, linux-kernel; +Cc: adaplas

On Friday 07 May 2004 07:57, James Lamanna wrote:

> Relevant Statements from dmesg:
> agpgart: Detected an Intel i815 Chipset.
> agpgart: Maximum main memory to use for agp memory: 438M
> agpgart: AGP aperture is 64M @ 0xe0000000
> i810fb: probe of 0000:00:02.0 failed with error -22
> ^^^^ Not promising... :)

Make sure you set hsync1, hsync2 , vsync1 and vsync2 in your boot parameters.

For monitors that can do 1024x768@50Hz, the following should work.

hysnc1 = 30, hsync2 = 48, vsync1= 50 vsync2 = 85

Tony




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Getting i815 Framebuffer working?!
@ 2004-05-07  0:36 James Lamanna
  0 siblings, 0 replies; 3+ messages in thread
From: James Lamanna @ 2004-05-07  0:36 UTC (permalink / raw)
  To: linux-kernel

Some more info I just dug out.
The following call chain fails:

i810fb_init_pci()
   i810fb_check_var()
     i810_check_params()
       fb_get_mode()

fb_get_mode returns -EINVAL from the if statement at line 1079:
if (!(flags & FB_IGNOREMON) &&
      (timings.vfreq < vfmin || timings.vfreq > vfmax ||
       timings.hfreq < hfmin || timings.hfreq > hfmax ||
       timings.dclk < dclkmin || timings.dclk > dclkmax))

values:
flags: 0x00000000
timings.vfreq 38 vfmin 60 vfmax 60
timings.hfreq 30000 hfmin 30000 hfmax 30000
timings.dclk 38400000 dclkmin 15000000 dclkmax 234000000


-------- Original Message --------
Subject: Getting i815 Framebuffer working?!
Date: Thu, 06 May 2004 16:57:22 -0700
From: James Lamanna <jamesl@appliedminds.com>
To: linux-kernel@vger.kernel.org
CC: adaplas@pol.net

Using stock 2.6.5, I'm trying to get the Intel i810/5 framebuffer driver
to work. So far I have had no success.


-- James Lamanna


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-19  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 23:57 Getting i815 Framebuffer working?! James Lamanna
2004-05-19  0:30 ` Antonino A. Daplas
2004-05-07  0:36 James Lamanna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).