linux-fbdev.vger.kernel.org archive mirror
 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
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ 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] 18+ 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-07 19:44 ` Jim Hague
  2005-03-21 22:59 ` Andrew Morton
  2 siblings, 1 reply; 18+ 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] 18+ 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; 18+ 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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 18+ 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-07 19:44 ` Jim Hague
  2005-03-07 20:24   ` Guennadi Liakhovetski
  2005-03-21 22:59 ` Andrew Morton
  2 siblings, 1 reply; 18+ messages in thread
From: Jim Hague @ 2005-03-07 19:44 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-fbdev-devel

On 05-Mar-2005 Guennadi Liakhovetski wrote:
> 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.

I've just tried a stock 2.6.11 fresh from the tarball, and I see some of what
you are seeing.

I don't see any problems with text colour or images. Text is white, Tux is 100%
normal. This on a single processor K6/2-450 with a Creative Graphics Blaster
Exxtreme, BTW.

However, I do see the problem switching back to a vt from X. In fact it does
work, except that the video is blanked. This is a bug in pm2fb.c exposed by
recent changes to fbcon. Please try this fix (works for me) and let me know if
it restores normal service for you too.

--- drivers/video/pm2fb.c.orig  2005-03-07 15:35:28.000000000 +0000
+++ drivers/video/pm2fb.c       2005-03-07 18:34:13.000000000 +0000
@@ -747,7 +747,7 @@
        }
        if ((info->var.vmode & FB_VMODE_MASK)==FB_VMODE_DOUBLE)
                video |= PM2F_LINE_DOUBLE;
-       if (info->var.activate==FB_ACTIVATE_NOW)
+       if ((info->var.activate & FB_ACTIVATE_MASK)==FB_ACTIVATE_NOW)
                video |= PM2F_VIDEO_ENABLE;
        par->video = video;

Returning to your problems with text colour and images, can you try
with CONFIG_FB_PM2_FIFO_DISCONNECT=n and see if that makes a difference.

Thanks.

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-07 19:44 ` Jim Hague
@ 2005-03-07 20:24   ` Guennadi Liakhovetski
  2005-03-07 22:08     ` Jim Hague
  0 siblings, 1 reply; 18+ messages in thread
From: Guennadi Liakhovetski @ 2005-03-07 20:24 UTC (permalink / raw)
  To: Jim Hague; +Cc: linux-fbdev-devel, linux-kernel

Hello, Jim

On Mon, 7 Mar 2005, Jim Hague wrote:

> On 05-Mar-2005 Guennadi Liakhovetski wrote:
> > 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.
> 
> I've just tried a stock 2.6.11 fresh from the tarball, and I see some of what
> you are seeing.
> 
> I don't see any problems with text colour or images. Text is white, Tux is 100%
> normal. This on a single processor K6/2-450 with a Creative Graphics Blaster
> Exxtreme, BTW.
> 
> However, I do see the problem switching back to a vt from X. In fact it does
> work, except that the video is blanked. This is a bug in pm2fb.c exposed by
> recent changes to fbcon. Please try this fix (works for me) and let me know if
> it restores normal service for you too.

Thanks for the patch. Yes, it does fix switching between X and VT. As for 
colours / graphics, disabling CONFIG_FB_PM2_FIFO_DISCONNECT fixes that 
too, but it worked under 2.6.10-rc2 with that option on too. What does it 
do and why I cannot use it under 2.6.11 any more? The help text to this 
option is not very enlightening...

Thanks
Guennadi

> 
> --- drivers/video/pm2fb.c.orig  2005-03-07 15:35:28.000000000 +0000
> +++ drivers/video/pm2fb.c       2005-03-07 18:34:13.000000000 +0000
> @@ -747,7 +747,7 @@
>         }
>         if ((info->var.vmode & FB_VMODE_MASK)==FB_VMODE_DOUBLE)
>                 video |= PM2F_LINE_DOUBLE;
> -       if (info->var.activate==FB_ACTIVATE_NOW)
> +       if ((info->var.activate & FB_ACTIVATE_MASK)==FB_ACTIVATE_NOW)
>                 video |= PM2F_VIDEO_ENABLE;
>         par->video = video;
> 
> Returning to your problems with text colour and images, can you try
> with CONFIG_FB_PM2_FIFO_DISCONNECT=n and see if that makes a difference.
> 
> Thanks.
> 
> -- 
> Jim Hague - jim.hague@acm.org          Never trust a computer you can't lift.
> 

---
Guennadi Liakhovetski

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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-07 20:24   ` Guennadi Liakhovetski
@ 2005-03-07 22:08     ` Jim Hague
  2005-03-08 23:08       ` Jim Hague
  0 siblings, 1 reply; 18+ messages in thread
From: Jim Hague @ 2005-03-07 22:08 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-kernel, linux-fbdev-devel

Hi Guennadi,

> Thanks for the patch. Yes, it does fix switching between X and VT.

OK, good.

> As for colours / graphics, disabling CONFIG_FB_PM2_FIFO_DISCONNECT fixes
> that too, but it worked under 2.6.10-rc2 with that option on too. What does
> it do and why I cannot use it under 2.6.11 any more? The help text to this 
> option is not very enlightening...

(To be honest, I've never looked closely at this but inherited it from Illo's
2.4 driver. Cue scrabbling around in manuals...)

pm2fb programs the Permedia registers by writing to a FIFO. Normally if you
attempt to write to the FIFO and the FIFO is full, the write is lost. So pm2fb
checks before writing that there is sufficient space in the FIFO to hold the
full command sequence, and if not it loops waiting for the FIFO to empty
sufficiently.

Enabling FIFO_DISCONNECT enables PCI Disconnect. In this mode, if a write to
the FIFO occurs when the FIFO is full, the Permedia chip enables PCI Disconnect
which causes the processor to keep retrying the write cycle until the FIFO
empties and the write succeeds.

On the one hand this allows faster download to the Permedia because you don't
have to check the FIFO space, but at a cost of hogging the PCI bus (and possibly
causing interrupt loss) until the Permedia is ready. The programmers manual
cautions that it should only be used when you know that the Permedia can
consume data faster than the host can generate it and/or where there are no
time-critical periperals on the PCI bus.

All of which sounds to me like enabling PCI Disconnect isn't a great idea and
offers at best infinitesimal speedups. Having said that, the X driver does seem
to turn it on, which probably shows how much I know. As to why it's suddenly
stopped working, I have no idea. I'll try it out and see if I see the same
problems.

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-07 22:08     ` Jim Hague
@ 2005-03-08 23:08       ` Jim Hague
  2005-03-09 23:48         ` Guennadi Liakhovetski
  0 siblings, 1 reply; 18+ messages in thread
From: Jim Hague @ 2005-03-08 23:08 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-fbdev-devel

Hi Guennadi,

On 07-Mar-2005 Jim Hague wrote:
>> As for colours / graphics, disabling CONFIG_FB_PM2_FIFO_DISCONNECT fixes
>> that too, but it worked under 2.6.10-rc2 with that option on too. What does
>> it do and why I cannot use it under 2.6.11 any more? The help text to this 
>> option is not very enlightening...
> [..]
> to turn it on, which probably shows how much I know. As to why it's suddenly
> stopped working, I have no idea. I'll try it out and see if I see the same
> problems.

I can't reproduce problems with FIFO Disconnect on my machine. To check I'm
looking at the right thing, what resolution and colour depth did you have
problems with?

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-08 23:08       ` Jim Hague
@ 2005-03-09 23:48         ` Guennadi Liakhovetski
  0 siblings, 0 replies; 18+ messages in thread
From: Guennadi Liakhovetski @ 2005-03-09 23:48 UTC (permalink / raw)
  To: Jim Hague; +Cc: linux-fbdev-devel

On Tue, 8 Mar 2005, Jim Hague wrote:

> Hi Guennadi,
> 
> On 07-Mar-2005 Jim Hague wrote:
> >> As for colours / graphics, disabling CONFIG_FB_PM2_FIFO_DISCONNECT fixes
> >> that too, but it worked under 2.6.10-rc2 with that option on too. What does
> >> it do and why I cannot use it under 2.6.11 any more? The help text to this 
> >> option is not very enlightening...
> > [..]
> > to turn it on, which probably shows how much I know. As to why it's suddenly
> > stopped working, I have no idea. I'll try it out and see if I see the same
> > problems.
> 
> I can't reproduce problems with FIFO Disconnect on my machine. To check I'm
> looking at the right thing, what resolution and colour depth did you have
> problems with?

Hm, not sure how I get it. Is this what you need:

ap400:~# fbset

mode "640x480-60"
    # D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
    geometry 640 480 640 480 8
    timings 39721 40 24 32 11 96 2
    rgba 8/0,8/0,8/0,0/0
endmode

?

Thanks
Guennadi
---
Guennadi Liakhovetski



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 18+ 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-07 19:44 ` Jim Hague
@ 2005-03-21 22:59 ` Andrew Morton
  2005-03-21 23:37   ` Antonino A. Daplas
  2005-03-21 23:40   ` Guennadi Liakhovetski
  2 siblings, 2 replies; 18+ 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/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: 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; 18+ messages in thread
From: Antonino A. Daplas @ 2005-03-21 23:37 UTC (permalink / raw)
  To: 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




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* 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
  2005-03-22  9:41     ` Jim Hague
  1 sibling, 1 reply; 18+ 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] 18+ 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
  2005-05-25 23:53       ` Andrew Morton
  0 siblings, 1 reply; 18+ 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.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-03-22  9:41     ` Jim Hague
@ 2005-05-25 23:53       ` Andrew Morton
  2005-05-26 22:38         ` Guennadi Liakhovetski
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Morton @ 2005-05-25 23:53 UTC (permalink / raw)
  To: Jim Hague; +Cc: linux-fbdev-devel, g.liakhovetski

Jim Hague <jim.hague@acm.org> wrote:
>
> 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.

Guys, did all these things get fixed up in 2.6.12-rc5?

Thanks.


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click

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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-05-25 23:53       ` Andrew Morton
@ 2005-05-26 22:38         ` Guennadi Liakhovetski
  2005-05-27 23:31           ` Guennadi Liakhovetski
  0 siblings, 1 reply; 18+ messages in thread
From: Guennadi Liakhovetski @ 2005-05-26 22:38 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Jim Hague, linux-fbdev-devel

On Wed, 25 May 2005, Andrew Morton wrote:

> Jim Hague <jim.hague@acm.org> wrote:
> >
> > 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.
> 
> Guys, did all these things get fixed up in 2.6.12-rc5?

At least I don't see the fix we discussed with Jim included. I'll 
test-boot tomorrow. Anyway, I seem to be the only one affected, and 
switching CONFIG_FB_PM2_FIFO_DISCONNECT fixes the problem, so, maybe we 
could just mark this option "dangerous".

Will (try to) add tomorrow.

Thanks
Guennadi
---
Guennadi Liakhovetski



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-05-26 22:38         ` Guennadi Liakhovetski
@ 2005-05-27 23:31           ` Guennadi Liakhovetski
  2005-05-28 10:46             ` Jim Hague
  2005-06-09 14:35             ` Jim Hague
  0 siblings, 2 replies; 18+ messages in thread
From: Guennadi Liakhovetski @ 2005-05-27 23:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Jim Hague, linux-fbdev-devel

On Fri, 27 May 2005, Guennadi Liakhovetski wrote:

> On Wed, 25 May 2005, Andrew Morton wrote:
> 
> > Guys, did all these things get fixed up in 2.6.12-rc5?
> 
> At least I don't see the fix we discussed with Jim included. I'll 
> test-boot tomorrow. Anyway, I seem to be the only one affected, and 
> switching CONFIG_FB_PM2_FIFO_DISCONNECT fixes the problem, so, maybe we 
> could just mark this option "dangerous".
> 
> Will (try to) add tomorrow.

Confirmed - with CONFIG_FB_PM2_FIFO_DISCONNECT fb is still orange, without 
- no problem.

Thanks
Guennadi
---
Guennadi Liakhovetski



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-05-27 23:31           ` Guennadi Liakhovetski
@ 2005-05-28 10:46             ` Jim Hague
  2005-06-09 14:35             ` Jim Hague
  1 sibling, 0 replies; 18+ messages in thread
From: Jim Hague @ 2005-05-28 10:46 UTC (permalink / raw)
  To: Guennadi Liakhovetski, Andrew Morton; +Cc: linux-fbdev-devel

On 27-May-2005 Guennadi Liakhovetski wrote:
>> On Wed, 25 May 2005, Andrew Morton wrote:
>> > Guys, did all these things get fixed up in 2.6.12-rc5?
>> 
>> At least I don't see the fix we discussed with Jim included. I'll 
>> test-boot tomorrow. Anyway, I seem to be the only one affected, and 
>> switching CONFIG_FB_PM2_FIFO_DISCONNECT fixes the problem, so, maybe we 
>> could just mark this option "dangerous".
>> 
>> Will (try to) add tomorrow.
> 
> Confirmed - with CONFIG_FB_PM2_FIFO_DISCONNECT fb is still orange, without 
> - no problem.

Quick summary from my point of view: Guennadi is the only report of this
problem, though equally he's the only user I know with an Elsa AG GLoria
Synergy. I have not yet managed to work out why this could be happening; I had
expected that disabling the card reset that pm2fb does on initialisation would
fix matters, leaving the card at its BIOS initialised state. But it doesn't,
and sees to cause bad problems.

PM2_FIFO_DISCONNECT doesn't seem to me to bring much to the party. Since we now
have an example of it causing breakage, I agree with Guennadi that it should be
marked 'dangerous'. I've been away from home/internet connection for some time;
I'm back on Tuesday and I'll submit a patch to do that ASAP.

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


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

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

* Re: Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-05-27 23:31           ` Guennadi Liakhovetski
  2005-05-28 10:46             ` Jim Hague
@ 2005-06-09 14:35             ` Jim Hague
  2005-06-10  5:30               ` Guennadi Liakhovetski
  1 sibling, 1 reply; 18+ messages in thread
From: Jim Hague @ 2005-06-09 14:35 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linux-fbdev-devel

Hi Guennadi,

> Confirmed - with CONFIG_FB_PM2_FIFO_DISCONNECT fb is still orange, without 
> - no problem.

I've just acquired a GLoria Synergy+ off EBay, and you'll be glad to hear it is
showing the same symptoms that you're seeing. Booting with FIFO_DISCONNECT gies
orange text on black background, 640x480, ignoring the requested video mode.
Depending on the phase of the moon, the 3c905 can't read it's MAC address or
the sound card driver fails to start.

Switching off FIFO_DISCONNECT turns the text white, *but* the other problems
persist for me. There's definitely something quite horrible going on. I will be
investigating when I get the time.

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

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

* Re: Re: [2.6.11 Permedia-2 Framebuffer] driver broken (?).
  2005-06-09 14:35             ` Jim Hague
@ 2005-06-10  5:30               ` Guennadi Liakhovetski
  0 siblings, 0 replies; 18+ messages in thread
From: Guennadi Liakhovetski @ 2005-06-10  5:30 UTC (permalink / raw)
  To: Jim Hague; +Cc: linux-fbdev-devel

On Thu, 9 Jun 2005, Jim Hague wrote:

> > Confirmed - with CONFIG_FB_PM2_FIFO_DISCONNECT fb is still orange, without 
> > - no problem.
> 
> I've just acquired a GLoria Synergy+ off EBay, and you'll be glad to hear it is
> showing the same symptoms that you're seeing. Booting with FIFO_DISCONNECT gies
> orange text on black background, 640x480, ignoring the requested video mode.
> Depending on the phase of the moon, the 3c905 can't read it's MAC address or
> the sound card driver fails to start.
> 
> Switching off FIFO_DISCONNECT turns the text white, *but* the other problems
> persist for me. There's definitely something quite horrible going on. I will be
> investigating when I get the time.

Cool! Good luck!

Guennadi
---
Guennadi Liakhovetski



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

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

end of thread, other threads:[~2005-06-10 17:40 UTC | newest]

Thread overview: 18+ 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-07 19:44 ` Jim Hague
2005-03-07 20:24   ` Guennadi Liakhovetski
2005-03-07 22:08     ` Jim Hague
2005-03-08 23:08       ` Jim Hague
2005-03-09 23:48         ` Guennadi Liakhovetski
2005-03-21 22:59 ` Andrew Morton
2005-03-21 23:37   ` Antonino A. Daplas
2005-03-21 23:40   ` Guennadi Liakhovetski
2005-03-22  9:41     ` Jim Hague
2005-05-25 23:53       ` Andrew Morton
2005-05-26 22:38         ` Guennadi Liakhovetski
2005-05-27 23:31           ` Guennadi Liakhovetski
2005-05-28 10:46             ` Jim Hague
2005-06-09 14:35             ` Jim Hague
2005-06-10  5:30               ` Guennadi Liakhovetski

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