linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* matroxfb and 2.6.0-test2
@ 2003-07-28 23:34 Frédéric L. W. Meunier
  2003-07-29  2:13 ` Petr Vandrovec
  0 siblings, 1 reply; 12+ messages in thread
From: Frédéric L. W. Meunier @ 2003-07-28 23:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Petr Vandrovec

The card is a Matrox Millenium G400 M4A32DG (single head).

2.6.0-test2 is the first 2.5.x I try, so I may be missing
something.

During make modules_install I noticed the following warning
(yes, I installed the latest module-init-tools):

if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.0-test2; fi
WARNING: /lib/modules/2.6.0-test2/kernel/drivers/video/matrox/matroxfb_crtc2.ko
needs unknown symbol matroxfb_enable_irq

I don't know if it's serious but then I rebooted from 2.4.21.

My init script contains

if lspci | grep -q 'MGA G400'; then
modprobe matroxfb_base
fi

and /etc/modprobe.conf options matroxfb_base vesa=440

After it the screen became corrupted with a dump of my last
shutdown. All commands still worked. I don't use fbset at all.
The logs don't have anything about matroxfb.

With 2.4.21 I get

Jul 28 19:55:14 pervalidus kernel: matroxfb: Matrox G400 (AGP) detected
Jul 28 19:55:14 pervalidus kernel: matroxfb: MTRR's turned on
Jul 28 19:55:14 pervalidus kernel: matroxfb: 1024x768x24bpp (virtual: 1024x5460)
Jul 28 19:55:14 pervalidus kernel: matroxfb: framebuffer at 0xD8000000, mapped to 0xe0866000, size 33554432
Jul 28 19:55:14 pervalidus kernel: Console: switching to colour frame buffer device 128x48
Jul 28 19:55:14 pervalidus kernel: fb0: MATROX VGA frame buffer device

My .config and dmesg are at
http://www.pervalidus.net/tmp/.config-2.6.0-test2.txt
http://www.pervalidus.net/tmp/dmesg-2.6.0-test2.txt
http://www.pervalidus.net/tmp/dmesg-2.6.0-acpi=off+noapic-test2.txt

lspci -vvv returns

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc. Millennium G400 32Mb SDRAM
        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: 32 (4000ns min, 8000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d8000000 (32-bit, prefetchable) [size=32M]
        Region 1: Memory at da000000 (32-bit, non-prefetchable) [size=16K]
        Region 2: Memory at db000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at <unassigned> [disabled] [size=64K]
        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-
        Capabilities: [f0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x1

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: matroxfb and 2.6.0-test2
@ 2003-07-29 11:51 Petr Vandrovec
  2003-07-29 12:53 ` Wakko Warner
  0 siblings, 1 reply; 12+ messages in thread
From: Petr Vandrovec @ 2003-07-29 11:51 UTC (permalink / raw)
  To: Wakko Warner; +Cc: linux-kernel

On 29 Jul 03 at 7:27, Wakko Warner wrote:

> I have an old matrox millenium 1 card.  does the matrox fb support this
> card?  All I got was a blank screen.  fbcon and matroxfb with support for
> I/II cards compiled in.  When I had vga16 compiled in as well, I would get the
> console if I switched to vt2 and back to vt1.

Yes, it supports Millennium1 too. Are you sure that you built fbcon
support into the kernel? And that you have only one fbdev, matroxfb?
>From your description it looks to me like that you are using vesafb
together with matroxfb.
                                                    Petr
                                                    


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: matroxfb and 2.6.0-test2
@ 2003-07-29 12:52 Petr Vandrovec
  2003-07-30 15:43 ` Wakko Warner
  0 siblings, 1 reply; 12+ messages in thread
From: Petr Vandrovec @ 2003-07-29 12:52 UTC (permalink / raw)
  To: Wakko Warner; +Cc: linux-kernel

On 29 Jul 03 at 8:53, Wakko Warner wrote:
> > 
> > Yes, it supports Millennium1 too. Are you sure that you built fbcon
> > support into the kernel? And that you have only one fbdev, matroxfb?
> 
> Yes.  This caused a permenant black screen.  fbset did not give me anything
> usable.  Monitor did not go into powersave.

I assume that machine is otherwise OK. Can you capture 'dmesg' from
such boot and post them?
                                            Petr
                                            


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <89B48AF68E2@vcnet.vc.cvut.cz>]
[parent not found: <8A361F82D2E@vcnet.vc.cvut.cz>]
* Re: matroxfb and 2.6.0-test2
@ 2003-07-30 15:59 Petr Vandrovec
  0 siblings, 0 replies; 12+ messages in thread
From: Petr Vandrovec @ 2003-07-30 15:59 UTC (permalink / raw)
  To: Wakko Warner; +Cc: linux-kernel

On 30 Jul 03 at 11:43, Wakko Warner wrote:
> > I assume that machine is otherwise OK. Can you capture 'dmesg' from
> > such boot and post them?
> 
> First: 2.6.0-test2 does not come up with a blank screen.

What is on screen? Correct 640x480 picture?

> Second: using fbset to set another mode (1024x768-60) causes a blank screen
> but changing vts gives me the screen back.  It must be using a different
> frequency since the screen is not inthe same place.  setting 680x480-60
> makes it look right again.  The actual resolution doesn't appear to change. 
> If I have enough written to the screen after issueing the 1024x768, the text
> becomes garbled (old text seems to interlace into current.

Do you use matroxfb-2.5.72 patch or not? You are not supposed to use
fbset on stock 2.6.x kernel (without patch above), you should use
stty cols & rows to set videomode under 2.6.x kernels (you can try
using fbset -pixclock to set refresh, but never change picture size
through fbset).
                                            Petr Vandrovec
                                            


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

end of thread, other threads:[~2003-07-30 16:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 23:34 matroxfb and 2.6.0-test2 Frédéric L. W. Meunier
2003-07-29  2:13 ` Petr Vandrovec
2003-07-29  5:14   ` Frédéric L. W. Meunier
2003-07-29 11:27   ` Wakko Warner
2003-07-29 17:02   ` James Simmons
2003-07-29 11:51 Petr Vandrovec
2003-07-29 12:53 ` Wakko Warner
2003-07-29 12:52 Petr Vandrovec
2003-07-30 15:43 ` Wakko Warner
     [not found] <89B48AF68E2@vcnet.vc.cvut.cz>
2003-07-29 19:41 ` Frédéric L. W. Meunier
     [not found] <8A361F82D2E@vcnet.vc.cvut.cz>
2003-07-30  3:19 ` Frédéric L. W. Meunier
2003-07-30 15:59 Petr Vandrovec

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