public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.11 Permedia-2 Framebuffer] driver broken (?).
@ 2005-03-05 23:53 Guennadi Liakhovetski
  2005-03-06  9:52 ` Guennadi Liakhovetski
  2005-03-21 22:59 ` Andrew Morton
  0 siblings, 2 replies; 7+ messages in thread
From: Guennadi Liakhovetski @ 2005-03-05 23:53 UTC (permalink / raw)
  To: linux-kernel, jim.hague, linux-fbdev-devel

Hi

Worked on 2.6.10-rc2. With 2.6.11 during boot upon switching to fb, text 
becomes orange, penguins look sick (not sharp). X starts and runs normal 
(doesn't use fb), switching to vt not possible any more. Disabling 
fb-console in kernel config fixes VTs. Reverting pm2fb.c fixes the 
problem.

No unusual output in dmesg.

System: Compaq AP400 with a TI card:

01:00.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 11) (prog-if 00 [VGA])
	Subsystem: Elsa AG GLoria Synergy
	Flags: bus master, 66Mhz, medium devsel, latency 66, IRQ 22
	Memory at 51000000 (32-bit, non-prefetchable) [size=128K]
	Memory at 50000000 (32-bit, non-prefetchable) [size=8M]
	Memory at 50800000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at <unassigned> [disabled] [size=64K]
	Capabilities: [4c] Power Management version 1
	Capabilities: [40] AGP version 1.0

CPUs: 2 * Pentium II 400MHz full cpuinfo available on request)

.config (fb / video):

CONFIG_FB=y
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
CONFIG_FB_PM2=y
CONFIG_FB_PM2_FIFO_DISCONNECT=y
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# 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_SAVAGE 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

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

Thanks
Guennadi
---
Guennadi Liakhovetski


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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-05 23:53 [2.6.11 Permedia-2 Framebuffer] driver broken (?) Guennadi Liakhovetski
@ 2005-03-06  9:52 ` Guennadi Liakhovetski
  2005-03-06 13:30   ` Guennadi Liakhovetski
  2005-03-21 22:59 ` Andrew Morton
  1 sibling, 1 reply; 7+ messages in thread
From: Guennadi Liakhovetski @ 2005-03-06  9:52 UTC (permalink / raw)
  To: jim.hague; +Cc: linux-kernel, linux-fbdev-devel

I wasn't quite correct in my report yesterday. Replacing pm2fb.c from 
2.6.11 with 2.6.10 fixes only one problem - the font becomes white again 
and penguin images get fixed. But switching from X to vt still doesn't 
work. It works under 2.6.10-rc2. The new config is based on oldconfig with 
almost all new defaults. Nothing fb-related, AFAICT. I'll try to revert 
some other files in drivers/video later today, unless someone has a better 
idea.

Thanks
Guennadi
---
Guennadi Liakhovetski


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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-06  9:52 ` Guennadi Liakhovetski
@ 2005-03-06 13:30   ` Guennadi Liakhovetski
  0 siblings, 0 replies; 7+ messages in thread
From: Guennadi Liakhovetski @ 2005-03-06 13:30 UTC (permalink / raw)
  To: jim.hague; +Cc: linux-kernel, linux-fbdev-devel

On Sun, 6 Mar 2005, Guennadi Liakhovetski wrote:

> I wasn't quite correct in my report yesterday. Replacing pm2fb.c from 
> 2.6.11 with 2.6.10 fixes only one problem - the font becomes white again 
> and penguin images get fixed. But switching from X to vt still doesn't 
> work. It works under 2.6.10-rc2.

Ok. Reverting also fbcon.[hc] to 2.6.10 fixes the X-switching problem too.

Thanks
Guennadi
---
Guennadi Liakhovetski


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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-05 23:53 [2.6.11 Permedia-2 Framebuffer] driver broken (?) Guennadi Liakhovetski
  2005-03-06  9:52 ` Guennadi Liakhovetski
@ 2005-03-21 22:59 ` Andrew Morton
  2005-03-21 23:37   ` [Linux-fbdev-devel] " Antonino A. Daplas
  2005-03-21 23:40   ` Guennadi Liakhovetski
  1 sibling, 2 replies; 7+ messages in thread
From: Andrew Morton @ 2005-03-21 22:59 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-kernel, jim.hague, linux-fbdev-devel

Guennadi Liakhovetski <g.liakhovetski@gmx.de> wrote:
>
> Hi
> 
> Worked on 2.6.10-rc2. With 2.6.11 during boot upon switching to fb, text 
> becomes orange, penguins look sick (not sharp). X starts and runs normal 
> (doesn't use fb), switching to vt not possible any more. Disabling 
> fb-console in kernel config fixes VTs. Reverting pm2fb.c fixes the 
> problem.

Guennadi, could you please confirm that

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc1/2.6.12-rc1-mm1/broken-out/pm2fb-x-and-vt-switching-crash-fix.patch

fixes this one?

Thanks.

> No unusual output in dmesg.
> 
> System: Compaq AP400 with a TI card:
> 
> 01:00.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 11) (prog-if 00 [VGA])
> 	Subsystem: Elsa AG GLoria Synergy
> 	Flags: bus master, 66Mhz, medium devsel, latency 66, IRQ 22
> 	Memory at 51000000 (32-bit, non-prefetchable) [size=128K]
> 	Memory at 50000000 (32-bit, non-prefetchable) [size=8M]
> 	Memory at 50800000 (32-bit, non-prefetchable) [size=8M]
> 	Expansion ROM at <unassigned> [disabled] [size=64K]
> 	Capabilities: [4c] Power Management version 1
> 	Capabilities: [40] AGP version 1.0
> 
> CPUs: 2 * Pentium II 400MHz full cpuinfo available on request)
> 
> .config (fb / video):
> 
> CONFIG_FB=y
> CONFIG_FB_MODE_HELPERS=y
> # CONFIG_FB_TILEBLITTING is not set
> # CONFIG_FB_CIRRUS is not set
> CONFIG_FB_PM2=y
> CONFIG_FB_PM2_FIFO_DISCONNECT=y
> # CONFIG_FB_CYBER2000 is not set
> # CONFIG_FB_ASILIANT is not set
> # CONFIG_FB_IMSTT is not set
> # CONFIG_FB_VGA16 is not set
> # CONFIG_FB_VESA is not set
> CONFIG_VIDEO_SELECT=y
> # CONFIG_FB_HGA is not set
> # CONFIG_FB_RIVA is not set
> # CONFIG_FB_I810 is not set
> # CONFIG_FB_INTEL is not set
> # 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_SAVAGE 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
> 
> #
> # Console display driver support
> #
> CONFIG_VGA_CONSOLE=y
> # CONFIG_MDA_CONSOLE is not set
> CONFIG_DUMMY_CONSOLE=y
> CONFIG_FRAMEBUFFER_CONSOLE=y
> # CONFIG_FONTS is not set
> CONFIG_FONT_8x8=y
> CONFIG_FONT_8x16=y
> 
> #
> # Logo configuration
> #
> CONFIG_LOGO=y
> # CONFIG_LOGO_LINUX_MONO is not set
> # CONFIG_LOGO_LINUX_VGA16 is not set
> CONFIG_LOGO_LINUX_CLUT224=y
> # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
> 
> Thanks
> Guennadi
> ---
> Guennadi Liakhovetski
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [Linux-fbdev-devel] Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-21 22:59 ` Andrew Morton
@ 2005-03-21 23:37   ` Antonino A. Daplas
  2005-03-21 23:40   ` Guennadi Liakhovetski
  1 sibling, 0 replies; 7+ messages in thread
From: Antonino A. Daplas @ 2005-03-21 23:37 UTC (permalink / raw)
  To: linux-fbdev-devel, Andrew Morton, Guennadi Liakhovetski
  Cc: linux-kernel, jim.hague, linux-fbdev-devel

On Tuesday 22 March 2005 06:59, Andrew Morton wrote:
> Guennadi Liakhovetski <g.liakhovetski@gmx.de> wrote:
> > Hi
> >
> > Worked on 2.6.10-rc2. With 2.6.11 during boot upon switching to fb, text
> > becomes orange, penguins look sick (not sharp). X starts and runs normal
> > (doesn't use fb), switching to vt not possible any more. Disabling
> > fb-console in kernel config fixes VTs. Reverting pm2fb.c fixes the
> > problem.
>
> Guennadi, could you please confirm that
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc1/2.
>6.12-rc1-mm1/broken-out/pm2fb-x-and-vt-switching-crash-fix.patch
>
> fixes this one?
>

Actually, he was the one that confirmed that the above patch fixes this
problem.

Tony



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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-21 22:59 ` Andrew Morton
  2005-03-21 23:37   ` [Linux-fbdev-devel] " Antonino A. Daplas
@ 2005-03-21 23:40   ` Guennadi Liakhovetski
  2005-03-22  9:41     ` Jim Hague
  1 sibling, 1 reply; 7+ messages in thread
From: Guennadi Liakhovetski @ 2005-03-21 23:40 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, jim.hague, linux-fbdev-devel

On Mon, 21 Mar 2005, Andrew Morton wrote:

> Guennadi Liakhovetski <g.liakhovetski@gmx.de> wrote:
> >
> > Hi
> > 
> > Worked on 2.6.10-rc2. With 2.6.11 during boot upon switching to fb, text 
> > becomes orange, penguins look sick (not sharp). X starts and runs normal 
> > (doesn't use fb), switching to vt not possible any more. Disabling 
> > fb-console in kernel config fixes VTs. Reverting pm2fb.c fixes the 
> > problem.
> 
> Guennadi, could you please confirm that
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc1/2.6.12-rc1-mm1/broken-out/pm2fb-x-and-vt-switching-crash-fix.patch
> 
> fixes this one?

As discussed with Jim on linux-fbdev-devel this patch fixes the vt / X 
switching problem. We still don't know why starting with 2.4.11 I have to 
switch CONFIG_FB_PM2_FIFO_DISCONNECT off to restore colours / images. Jim 
says it is doubtful that this option brings any optimisations at all, 
still, it is a bit worrying, that something that worked with earlier 
kernels stopped working now. I traced this breakage down to the patch to 
pm2fb.c after 2.6.10-rc2. Jim wanted to try to reproduce this problem with 
my fb-geometry / colour settings, but I haven't heard from him since then, 
Jim?

Thanks
Guennadi
---
Guennadi Liakhovetski


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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-21 23:40   ` Guennadi Liakhovetski
@ 2005-03-22  9:41     ` Jim Hague
  0 siblings, 0 replies; 7+ messages in thread
From: Jim Hague @ 2005-03-22  9:41 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-fbdev-devel, linux-kernel, Guennadi Liakhovetski

On 21-Mar-2005 Guennadi Liakhovetski wrote:
> On Mon, 21 Mar 2005, Andrew Morton wrote:
>> Guennadi, could you please confirm that
>> 
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc1/2.6.
>> 12-rc1-mm1/broken-out/pm2fb-x-and-vt-switching-crash-fix.patch
>> 
>> fixes this one?
> 
> As discussed with Jim on linux-fbdev-devel this patch fixes the vt / X 
> switching problem. We still don't know why starting with 2.4.11 I have to 
> switch CONFIG_FB_PM2_FIFO_DISCONNECT off to restore colours / images.
> [...]
> I traced this breakage down to the patch to 
> pm2fb.c after 2.6.10-rc2. Jim wanted to try to reproduce this problem with 
> my fb-geometry / colour settings, but I haven't heard from him since then, 

FIrst off, so we're all clear, the problem with vt/X switching was definitely a
pm2fb bug exposed by chages in fbcon, and is definitely fixed by the above
patch. Please apply.

As to Guennadi's problem with colours and images, I've been trying to
reproduce locally without success, hence silence. My pm2fb-on-Sparc
correspondent hasn't seen this either, and I've had no other reports.

I have one possible clue, which I'll pursue with Guennadi off-list.

-- 
Jim Hague - jim.hague@acm.org          Never trust a computer you can't lift.

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

end of thread, other threads:[~2005-03-22  9:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-05 23:53 [2.6.11 Permedia-2 Framebuffer] driver broken (?) Guennadi Liakhovetski
2005-03-06  9:52 ` Guennadi Liakhovetski
2005-03-06 13:30   ` Guennadi Liakhovetski
2005-03-21 22:59 ` Andrew Morton
2005-03-21 23:37   ` [Linux-fbdev-devel] " Antonino A. Daplas
2005-03-21 23:40   ` Guennadi Liakhovetski
2005-03-22  9:41     ` Jim Hague

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox