LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Mach64-GX using fbdev problem
@ 2003-02-03 19:01 Brad Sawatzky
  2003-02-03 19:14 ` Kevin B. Hendricks
  2003-02-03 20:11 ` vinai
  0 siblings, 2 replies; 3+ messages in thread
From: Brad Sawatzky @ 2003-02-03 19:01 UTC (permalink / raw)
  To: linuxppc-dev


Hi all,

If anyone has managed to get this card to work I would appreciate an email
with the relevant ModeLine and/or kernel arguments.  I would like to get
this thing to run in at least 800x600x24.  A configuration for 1024x768x16
would also be nice.

I have gotten to the stage where I can see a mangled X screen (ie. the kind
of thing you see when you are using a bogus mode for the monitor).  I have
tried quite few different (stock) resolution/depth combos as well as
explicitly defining some reasonable looking ModeLines taken from successful
'fbset -x' commands.  The monitor (NEC XV17" CRT) works fine at all of the
refresh rates, geometries and depths under OSX.  (Is there a tool
comparable to 'fbset -i' in OSX?)  I've also tested with my 21" Apple CRT
without success so I don't think the problem is monitor related.

Some relevant info:
  Blue&White G3, kernel 2.4.20-ben1

  XFree86 Version 4.2.1.1 (Debian 4.2.1-5 20030121181741 branden@debian.org)/ X Window System
  (protocol Version 11, revision 0, vendor release 6600)
  Release Date: 18 October 2002

>From lspci:
  01:03.0 VGA compatible controller: ATI Technologies Inc 210888GX [Mach64 GX] (rev 03)

>From /proc/fb:
  0 ATY Rage128
  1 ATY Mach64

>From 'fbset -fb /dev/fb1 -i' (right after a reboot, X hasn't fired up)
Frame buffer device information:
    Name        : ATY Mach64
    Address     : 0x81800000
    Size        : 1048576
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 640
    MMIO Address: 0x817ffc00
    MMIO Size   : 1024
    Accelerator : ATI Mach64GX

>From XF86Config
Section "Device"
        Identifier      "Mach64-GX"
        Driver          "fbdev"
        BusID           "PCI:1:3:0"
        Option          "UseFBDev"              "true"
        Option          "fbdev"                 "/dev/fb1"
EndSection

--
Brad Sawatzky <bds9e@virginia.edu>
University of Virginia Physics Department
Ph: (434) 924-6580    Fax: (434) 924-4576

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Mach64-GX using fbdev problem
  2003-02-03 19:01 Mach64-GX using fbdev problem Brad Sawatzky
@ 2003-02-03 19:14 ` Kevin B. Hendricks
  2003-02-03 20:11 ` vinai
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin B. Hendricks @ 2003-02-03 19:14 UTC (permalink / raw)
  To: Brad Sawatzky, linuxppc-dev


Hi,

One trick,  under MacOSX you can sometimes dump the device tree using the
ioreg command (try  man "ioreg" under MacOSX).

Sometimes in that device tree you can find timing info from an EDID block.
I have code somplace (and so does X11R6 project) that can parse the EDID
info block and get back preferred timing info.

Another place to look for the EDID block is under Linux  in the OF
device-tree

/proc/device-tree/pci@f0000000/ATY,BlueStoneParent/ATY,BlueStone_A/EDID

is an example in mine.

The use hexdump to dump the EDID info and then pass it through an EDID
converter program to interpret it.

Not all EDID blocks are called EDID (some have extra cahrs in the file
name).

Hope something here helps,

Kevin


On February 3, 2003 02:01, Brad Sawatzky wrote:
> Hi all,
>
> If anyone has managed to get this card to work I would appreciate an
> email with the relevant ModeLine and/or kernel arguments.  I would like
> to get this thing to run in at least 800x600x24.  A configuration for
> 1024x768x16 would also be nice.
>
> I have gotten to the stage where I can see a mangled X screen (ie. the
> kind of thing you see when you are using a bogus mode for the monitor).
> I have tried quite few different (stock) resolution/depth combos as well
> as explicitly defining some reasonable looking ModeLines taken from
> successful 'fbset -x' commands.  The monitor (NEC XV17" CRT) works fine
> at all of the refresh rates, geometries and depths under OSX.  (Is there
> a tool comparable to 'fbset -i' in OSX?)  I've also tested with my 21"
> Apple CRT without success so I don't think the problem is monitor
> related.
>
> Some relevant info:
>   Blue&White G3, kernel 2.4.20-ben1
>
>   XFree86 Version 4.2.1.1 (Debian 4.2.1-5 20030121181741
> branden@debian.org)/ X Window System (protocol Version 11, revision 0,
> vendor release 6600)
>   Release Date: 18 October 2002
>
> From lspci:
>   01:03.0 VGA compatible controller: ATI Technologies Inc 210888GX
> [Mach64 GX] (rev 03)
>
> From /proc/fb:
>   0 ATY Rage128
>   1 ATY Mach64
>
> From 'fbset -fb /dev/fb1 -i' (right after a reboot, X hasn't fired up)
> Frame buffer device information:
>     Name        : ATY Mach64
>     Address     : 0x81800000
>     Size        : 1048576
>     Type        : PACKED PIXELS
>     Visual      : PSEUDOCOLOR
>     XPanStep    : 8
>     YPanStep    : 1
>     YWrapStep   : 0
>     LineLength  : 640
>     MMIO Address: 0x817ffc00
>     MMIO Size   : 1024
>     Accelerator : ATI Mach64GX
>
> From XF86Config
> Section "Device"
>         Identifier      "Mach64-GX"
>         Driver          "fbdev"
>         BusID           "PCI:1:3:0"
>         Option          "UseFBDev"              "true"
>         Option          "fbdev"                 "/dev/fb1"
> EndSection


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: Mach64-GX using fbdev problem
  2003-02-03 19:01 Mach64-GX using fbdev problem Brad Sawatzky
  2003-02-03 19:14 ` Kevin B. Hendricks
@ 2003-02-03 20:11 ` vinai
  1 sibling, 0 replies; 3+ messages in thread
From: vinai @ 2003-02-03 20:11 UTC (permalink / raw)
  To: Brad Sawatzky; +Cc: linuxppc-dev


Hi,

I don't have a GX, but I do have a PCI Mach 64 Rage Pro running in 1280
x 1024 at 15 bits under Woody.  Here's my equivalent info:

>   Blue&White G3, kernel 2.4.20-ben1

2.4.18 from kernel.org

>   XFree86 Version 4.2.1.1 (Debian 4.2.1-5 20030121181741
>   branden@debian.org)/ X Window System
>   (protocol Version 11, revision 0, vendor release 6600)
>   Release Date: 18 October 2002

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001

> From lspci:
>   01:03.0 VGA compatible controller: ATI Technologies Inc 210888GX
>           [Mach64 GX] (rev 03)

00:0e.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro
        (rev 5c) (prog-if 00 [VGA])

> From XF86Config
> Section "Device"
>         Identifier      "Mach64-GX"
>         Driver          "fbdev"
>         BusID           "PCI:1:3:0"
>         Option          "UseFBDev"              "true"
>         Option          "fbdev"                 "/dev/fb1"
> EndSection

Section "Device"
        Identifier      "ATI Rage"
        Driver          "ati"
        BusID           "PCI:0:14:0"
        Option          "UseFBDev"              "true"
EndSection

I think this might be where your card is failing - try the "ati" driver
and see if that helps.

cheers
vinai


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-02-03 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-03 19:01 Mach64-GX using fbdev problem Brad Sawatzky
2003-02-03 19:14 ` Kevin B. Hendricks
2003-02-03 20:11 ` vinai

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