Bug 10999 - intelfb + 965GM still not working in 2.6.26-rc8
Summary: intelfb + 965GM still not working in 2.6.26-rc8
Status: CLOSED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Console/Framebuffers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: James Simmons
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-28 06:26 UTC by Peter Ganzhorn
Modified: 2012-05-22 12:41 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.26-rc8
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Peter Ganzhorn 2008-06-28 06:26:30 UTC
Distribution: Debian Lenny
Hardware Environment: Toshiba Tecra A9 (Core2 Duo / 965GM)
Software Environment: Debian Lenny
Problem Description:
With 2.6.26-rc8 intelfb is supposed to support Intels 965GM integrated graphics chips, but I am unable to get it working.
I included the fbcon and intelfb drivers statically and removed all other framebuffer drivers such as vesafb. I selected the 8x16 font to be included.

I tried with the following config in grub:
title           Linux
root            (hd0,1)
kernel          /vmlinuz root=/dev/sda3 video=intelfb:mode=1680x1050-32@60
savedefault

video=intelfb:mode=1680x1050-32@60
video=intelfb:mode=1280x1024
video=intelfb:mode=1280x1024-32@60

won't work either, I'm always getting a blank black screen until X starts.
My screen does support resolutions up to 1680x1050, X is working with that resolution. At least 1280x1024 should work as vesafb did with my last kernel (with vga=794).
965GM chipsets are listed in my kconfig as well as in Documentation/fb/intelfb.txt.

What might be wrong here?!

Peter
Comment 1 Anonymous Emailer 2008-06-28 11:36:52 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Sat, 28 Jun 2008 06:26:31 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=10999
> 
>            Summary: intelfb + 965GM still not working in 2.6.26-rc8
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.26-rc8
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Console/Framebuffers
>         AssignedTo: jsimmons@infradead.org
>         ReportedBy: peter.ganzhorn@googlemail.com
> 
> 
> Distribution: Debian Lenny
> Hardware Environment: Toshiba Tecra A9 (Core2 Duo / 965GM)
> Software Environment: Debian Lenny
> Problem Description:
> With 2.6.26-rc8 intelfb is supposed to support Intels 965GM integrated
> graphics
> chips, but I am unable to get it working.
> I included the fbcon and intelfb drivers statically and removed all other
> framebuffer drivers such as vesafb. I selected the 8x16 font to be included.
> 
> I tried with the following config in grub:
> title           Linux
> root            (hd0,1)
> kernel          /vmlinuz root=/dev/sda3 video=intelfb:mode=1680x1050-32@60
> savedefault
> 
> video=intelfb:mode=1680x1050-32@60
> video=intelfb:mode=1280x1024
> video=intelfb:mode=1280x1024-32@60
> 
> won't work either, I'm always getting a blank black screen until X starts.
> My screen does support resolutions up to 1680x1050, X is working with that
> resolution. At least 1280x1024 should work as vesafb did with my last kernel
> (with vga=794).
> 965GM chipsets are listed in my kconfig as well as in
> Documentation/fb/intelfb.txt.
> 
> What might be wrong here?!
> 
Comment 2 Anonymous Emailer 2008-06-28 11:50:05 UTC
Reply-To: mbroemme@plusserver.de

Hi,

are the following kernel options enabled in your kernel configuration:

CONFIG_FB=y
CONFIG_FB_INTEL=y
CONFIG_FRAMEBUFFER_CONSOLE=y

and two other things:

  1.) Can you create a lspci -n output from the notebook, maybe i missed
      some of the pci ids
  2.) Can you try resolution if 1024x768, my notebook (where i am using
      it, supports only until 1024x768 on my LCD)

Andrew Morton <akpm@linux-foundation.org> wrote:
> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Sat, 28 Jun 2008 06:26:31 -0700 (PDT) bugme-daemon@bugzilla.kernel.org
> wrote:
> 
> > http://bugzilla.kernel.org/show_bug.cgi?id=10999
> > 
> >            Summary: intelfb + 965GM still not working in 2.6.26-rc8
> >            Product: Drivers
> >            Version: 2.5
> >      KernelVersion: 2.6.26-rc8
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: normal
> >           Priority: P1
> >          Component: Console/Framebuffers
> >         AssignedTo: jsimmons@infradead.org
> >         ReportedBy: peter.ganzhorn@googlemail.com
> > 
> > 
> > Distribution: Debian Lenny
> > Hardware Environment: Toshiba Tecra A9 (Core2 Duo / 965GM)
> > Software Environment: Debian Lenny
> > Problem Description:
> > With 2.6.26-rc8 intelfb is supposed to support Intels 965GM integrated
> graphics
> > chips, but I am unable to get it working.
> > I included the fbcon and intelfb drivers statically and removed all other
> > framebuffer drivers such as vesafb. I selected the 8x16 font to be
> included.
> > 
> > I tried with the following config in grub:
> > title           Linux
> > root            (hd0,1)
> > kernel          /vmlinuz root=/dev/sda3 video=intelfb:mode=1680x1050-32@60
> > savedefault
> > 
> > video=intelfb:mode=1680x1050-32@60
> > video=intelfb:mode=1280x1024
> > video=intelfb:mode=1280x1024-32@60
> > 
> > won't work either, I'm always getting a blank black screen until X starts.
> > My screen does support resolutions up to 1680x1050, X is working with that
> > resolution. At least 1280x1024 should work as vesafb did with my last
> kernel
> > (with vga=794).
> > 965GM chipsets are listed in my kconfig as well as in
> > Documentation/fb/intelfb.txt.
> > 
> > What might be wrong here?!
> > 
> 
> 
Comment 3 Peter Ganzhorn 2008-06-28 13:09:58 UTC
Thanks for the quick response, here's the information you asked for:

video=intelfb:mode=1024x768-32@60 does not work either.
As I already mentioned, vesafb with vga=794 (1280x1024) worked perfectly
for me.
My kernel config (with proof it's really 2.6.26-rc8):

$ uname -rs
Linux 2.6.26-rc8-pgzh
$ zcat /proc/config.gz | grep -e CONFIG_FB -e CONFIG_FRAMEBUFFER_CONSOLE
| grep "=y"
CONFIG_FB=y
CONFIG_FB_DDC=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_INTEL=y
CONFIG_FB_INTEL_I2C=y
CONFIG_FRAMEBUFFER_CONSOLE=y

lspci: pci id 0x2A02 matches with the driver, 0x2A03 however seems to be
graphics-related, too...and I didn't find it in the driver.

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960
Memory Controller Hub [8086:2a00] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile
GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller [8086:2a03] (rev 03)
00:19.0 Ethernet controller [0200]: Intel Corporation 82566MC Gigabit
Network Connection [8086:104d] (rev 03)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB UHCI Controller #4 [8086:2834] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB UHCI Controller #5 [8086:2835] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB2 EHCI Controller #2 [8086:283a] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD
Audio Controller [8086:284b] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
Express Port 1 [8086:283f] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
Express Port 2 [8086:2841] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI
Express Port 3 [8086:2843] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB UHCI Controller #1 [8086:2830] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB UHCI Controller #2 [8086:2831] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB UHCI Controller #3 [8086:2832] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB2 EHCI Controller #1 [8086:2836] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
[8086:2448] (rev f3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC
Interface Controller [8086:2815] (rev 03)
00:1f.2 IDE interface [0101]: Intel Corporation 82801HBM/HEM
(ICH8M/ICH8M-E) SATA IDE Controller [8086:2828] (rev 03)
01:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965
AG or AGN Network Connection [8086:4229] (rev 61)
05:0b.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus
Controller [104c:8039]
05:0b.2 Mass storage controller [0180]: Texas Instruments 5-in-1
Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
05:0b.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA
Standard Compliant SD Host Controller [104c:803c]


Peter


On Sat, 2008-06-28 at 20:49 +0200, Maik Broemme wrote:
> Hi,
> 
> are the following kernel options enabled in your kernel configuration:
> 
> CONFIG_FB=y
> CONFIG_FB_INTEL=y
> CONFIG_FRAMEBUFFER_CONSOLE=y
> 
> and two other things:
> 
>   1.) Can you create a lspci -n output from the notebook, maybe i missed
>       some of the pci ids
>   2.) Can you try resolution if 1024x768, my notebook (where i am using
>       it, supports only until 1024x768 on my LCD)
> 
> Andrew Morton <akpm@linux-foundation.org> wrote:
> > 
> > (switched to email.  Please respond via emailed reply-to-all, not via the
> > bugzilla web interface).
> > 
> > On Sat, 28 Jun 2008 06:26:31 -0700 (PDT) bugme-daemon@bugzilla.kernel.org
> wrote:
> > 
> > > http://bugzilla.kernel.org/show_bug.cgi?id=10999
> > > 
> > >            Summary: intelfb + 965GM still not working in 2.6.26-rc8
> > >            Product: Drivers
> > >            Version: 2.5
> > >      KernelVersion: 2.6.26-rc8
> > >           Platform: All
> > >         OS/Version: Linux
> > >               Tree: Mainline
> > >             Status: NEW
> > >           Severity: normal
> > >           Priority: P1
> > >          Component: Console/Framebuffers
> > >         AssignedTo: jsimmons@infradead.org
> > >         ReportedBy: peter.ganzhorn@googlemail.com
> > > 
> > > 
> > > Distribution: Debian Lenny
> > > Hardware Environment: Toshiba Tecra A9 (Core2 Duo / 965GM)
> > > Software Environment: Debian Lenny
> > > Problem Description:
> > > With 2.6.26-rc8 intelfb is supposed to support Intels 965GM integrated
> graphics
> > > chips, but I am unable to get it working.
> > > I included the fbcon and intelfb drivers statically and removed all other
> > > framebuffer drivers such as vesafb. I selected the 8x16 font to be
> included.
> > > 
> > > I tried with the following config in grub:
> > > title           Linux
> > > root            (hd0,1)
> > > kernel          /vmlinuz root=/dev/sda3
> video=intelfb:mode=1680x1050-32@60
> > > savedefault
> > > 
> > > video=intelfb:mode=1680x1050-32@60
> > > video=intelfb:mode=1280x1024
> > > video=intelfb:mode=1280x1024-32@60
> > > 
> > > won't work either, I'm always getting a blank black screen until X
> starts.
> > > My screen does support resolutions up to 1680x1050, X is working with
> that
> > > resolution. At least 1280x1024 should work as vesafb did with my last
> kernel
> > > (with vga=794).
> > > 965GM chipsets are listed in my kconfig as well as in
> > > Documentation/fb/intelfb.txt.
> > > 
> > > What might be wrong here?!
> > > 
> > 
> > 
> 
Comment 4 Peter Hanzel 2008-09-12 07:07:37 UTC
Hello.

I have similar problem on Acer Extensa 5220 laptop with Intel 865GM/X3100 graphic card.

If I perfom a cold powerup with accel=1 than in dmesg I see this

intelfb: Changing video mode is not supported
Switched to NOHz mode on CPU #0
intelfb: ring buffer : space 65464 wanted 65472
intelfb: lockup - turning off hardware acceleration

The framebuffer is working, but no acceleration.
If I reboot to windows and than reboot back to linux. The ring is initialized but screen is disrupted. Scrolling text in boot leaves parts of text in last line and is copied on above lines. Also in login input texts are not shown, after login, again as I type no text is displayed.

I have vanilla kernel 2.6.26.4. [cmd = vga=0x362 video=intelfb:mode=1280x800] (LFS 6.3 up and running) 
Comment 5 Peter Hanzel 2008-09-30 05:36:33 UTC
I have patched drives\video\intelfb\intelfbdrv.c
with this:

intelfb_pci_register(...)
...
+ if (dinfo->accel) {
+    intelfbhw_2d_stop(dinfo)
     intelfbhw_2d_start(dinfo)
+ }

But no luck.
In dmesg is the same error, except this:
intelfb: ring buffer : space 65400 wanted 65472

so buffer space was decreased.

I am loosing ideas, what to do.
Comment 6 James Simmons 2010-02-16 16:28:35 UTC
Still having problems? Do you have problems with the drm i915 driver as well?

Note You need to log in before you can comment on or make changes to this bug.