Subject: Re: [Xpert]HP 700 series frambuffer support (GIO Graphics?)
To: None <xpert@XFree86.Org>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-hp700
Date: 08/16/2002 00:03:44
On Tue, 13 Aug 2002 @ 8:46am (-0600), Jens Owen wrote:

JO> Brian A. Seklecki wrote:
JO>
JO> > ...obviously this is quite a-ways down the road for port-700 series
JO> > development, but I was curious -- what are the chances of working torwards
JO> > XFree86 support for this series onboard FB?  From my DMESG:
JO> >
JO> > "GIO Graphics" at mainbus0 (type a, sv 85) hpa f8000000 not configured
JO> >
JO> > The user's manual is available at:
JO> >
JO> > http://www.hp.com/workstations/support/archive/manuals/A2615-90602.pdf
JO> >
JO> > But it's very superficial.  I'm having trouble finding info about this IC in
JO> > google.  I'll try to get a serial number of the mainboard.  Apparently the
JO> > HP-UX X server is based off of X11R5, so support has exists at one point or
JO> > another.  X11R6 seems to have support in: xc/programs/Xserver/hw/hp/
JO> >
JO> > Ideas?
JO>
JO> Brian,
JO>
JO> The HP 712 Workstation is over 10 years old.  So realize that platform
JO> is similar in performance to a P5-150 with a Matrox Millenium graphics
JO> chip.  I've got one here in my office if anyone wants to pay for shipping.
JO>
JO> I don't believe HP has released any specifications, but the Puffin Group
JO> was sponsered by HP to port Linux to HP-PA processors and may have
JO> gotten the graphics chip specs.  The name of the graphics chip is "Artist".

Jens:

Vlad D. Markov <markov@monmouth.com> posted to port-700@ and mentioned that
the pa-risc linux group had a working XFree86 config for the 712/xx.  I dug
around and found:

ftp://ftp.parisc-linux.org/kernels/712/XF86Config-4.Hildebrandt

...after several hours struggling with the debian installer, and then the
pkg/apt utilities, i have a working XFree86 4.1.0 running on this card.
Attached are the xdpyinfo(1) and XFree86 startup logs.  FYI, it runs nicely,
albeit 8Bpp, WindowMaker's color dithering helps greatly.

-lava

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.16-64 parisc64 [ELF]
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Aug 15 23:50:48 2002
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "HP-A4033A"
(**) |   |-->Device "STI Framebuffer"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbVariant" "nodeadkeys"
(**) XKB: variant: "nodeadkeys"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/
:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) using VT number 7

(WW) Cannot open APM
(EE) No OS PCI support available
(II) Addressable bus resource ranges are
        [0] -1 0        0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1 0        0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1 0        0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1 0        0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1 0        0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1 0        0x00000000 - 0x00000000 (0x1) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1 0        0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1 0        0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1 0        0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1 0        0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
        [0] -1 0        0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1 0        0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1 0        0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1 0        0x00000000 - 0x00000000 (0x1) IX[B]
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400
(II) GLINT: driver for 3Dlabs chipsets: gamma, ti_pm2, ti_pm, pm3, pm2v,
        pm2, pm, 300sx, 500tx, mx, delta
        S3VIdentify
(II) S3VIRGE: driver (version 1.6.13) for S3 ViRGE chipsets: virge, 86C325,
        virge vx, 86C988, virge dx, virge gx, 86C375, 86C385, virge gx2,
        86C357, virge mx, 86C260, virge mx+, 86C280, trio 3d, 86C365,
        trio 3d/2x, 86C362, 86C368
(II) SIS: driver for SiS chipsets: SIS5597, SIS5598, SIS530, SIS6326,
        SIS300, SIS630, SIS540
(II) SAVAGE: driver (version 1.1.16) for S3 Savage chipsets: Savage4,
        Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
        Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133, Twister,
        TwisterK
(II) TRIDENT: driver for Trident chipsets: tvga8900d, cyber9320, cyber9388,
        cyber9397, cyber9397dvd, cyber9520, cyber9525dvd, cyberblade/e4,
        tgui9420dgi, tgui9440agi, tgui9660, tgui9680, providia9682,
        providia9685, cyber9382, cyber9385, 3dimage975, 3dimage985, blade3d,
        cyberbladei7, cyberbladei7d, cyberbladei1, cyberbladei1d,
        cyberbladeAi1, cyberbladeAi1d, cyberbladeXP, cyberbladeXPm
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520, ct65525,
        ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
        ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) TDFX: Driver for 3dfx Banshee/Voodoo3 chipsets: 3dfx Banshee,
        3dfx Voodoo3, 3dfx Voodoo5
(II) FBDev: driver for framebuffer: fbdev, afb
(II) ATI: ATI driver (version 6.3.6) for chipsets: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
        ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
        ATI Rage 128 RL (AGP), ATI Rage 128 Pro PD (PCI),
        ATI Rage 128 Pro PF (AGP), ATI Rage 128 Pro PP (PCI),
        ATI Rage 128 Pro PR (PCI), ATI Rage 128 Mobility LE (PCI),
        ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
        ATI Rage 128 Mobility ML (AGP)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
        ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
        ATI Radeon VE (AGP)
(II) imstt: driver (version 1.0.0 for IMS TwinTurbo chipsets : imstt128,
        imstt3d
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) v4l driver for Video4Linux
        S3VProbe begin
(II) FBDev(0): using default device
(II) Running in FRAMEBUFFER Mode
(**) FBDev(0): Depth 8, (--) framebuffer bpp 8
(==) FBDev(0): Default visual is PseudoColor
(==) FBDev(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDev(0): Hardware:  (vidmem: 16384k)
(II) FBDev(0): Checking Modes against framebuffer device...
(II) FBDev(0):  mode "1280x1024" ok
(II) FBDev(0): Checking Modes against monitor...
(--) FBDev(0): Virtual size is 1280x1024 (pitch 1280)
(**) FBDev(0): Default mode "1280x1024": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.0 Hz
(II) FBDev(0): Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
(==) FBDev(0): DPI set to (75, 75)
(**) FBDev(0): Using "Shadow Framebuffer"
(==) FBDev(0): Backing store disabled
(**) Option "dpms"
(**) FBDev(0): DPMS enabled
PEXExtensionInit: Couldn't open default PEX font file  Roman_M
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Configured Mouse: Buttons: 3
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
Could not init font path element unix/:7100, removing from list!



addiction:/var/log# xdpyinfo  | more
name of display:    :0.0
version number:    11.0
vendor string:    The XFree86 Project, Inc
vendor release number:    40100001
XFree86 version: 4.1.0.1
maximum request size:  4194300 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0xe0000e, revert to Parent
number of extensions:    28
    BIG-REQUESTS
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    FontCache
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    XC-APPGROUP
    XC-MISC
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XIE
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x1024 pixels (433x347 millimeters)
  resolution:    75x75 dots per inch
  depths (7):    8, 1, 4, 15, 16, 24, 32
  root window id:    0x39
  depth of root window:    8 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 1
  options:    backing-store NO, save-unders NO
  largest cursor:    1280x1024
  current input event mask:    0x58007f
    KeyPressMask             KeyReleaseMask           ButtonPressMask
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask
    PointerMotionMask        SubstructureNotifyMask   SubstructureRedirectMask
    PropertyChangeMask
  number of visuals:    8
  default visual id:  0x27
  visual:
    visual id:    0x27
    class:    PseudoColor
    depth:    8 planes
[...SNIP...]


JO>
JO> You can look at the sources in the xc/programs/Xserver/hw/hp tree.  The
JO> ngle subdirectory has support for Artist under HP-UX 9.x, but it's
JO> purely unaccellerated.  I'm not certain of the status for HP-UX 10.x or
JO> 11.x, but if you can get 9.x you can build Xhp in source form and see it
JO> work.
JO>
JO> There is a binary only module that comes in the NGLE directory.  That
JO> provides hardware accelleration for screen clear and screen to screen
JO> copies.
JO>
JO> One of the biggest challenges you'll face trying to get this generation
JO> of HP graphics working on non-HPUX platforms is getting specs and
JO> interfacing with the graphics ROM interface.  The interface is called
JO> STI for Standard Text Interface and reside below the normal system IODC
JO> ROM interface.  The NGLE driver makes kernel calls ioctl(GC*...) to an
JO> HP-UX kernel driver that call the STI ROM directly.
JO>
JO> In summary, this would be a large mountain to climp (access to specs and
JO> reworking HP's architecture to work with XFree86).  With HP's blessing
JO> and a lot of work, it's possible.  However, it's only reward may be the
JO> journey itself.
JO>
JO> Regards,
JO> Jens
JO>
JO> --
JO>                                 /\
JO>           Jens Owen            /  \/\ _
JO>    jens@tungstengraphics.com  /    \ \ \   Steamboat Springs, Colorado
JO>
JO> _______________________________________________
JO> Xpert mailing list
JO> Xpert@XFree86.Org
JO> http://XFree86.Org/mailman/listinfo/xpert
JO>

later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
                  | vegetarian, runner, NetBSD     |  X  Exchange, Outlook
                  | advocate, spiritual machine }; | / \ & HTML Email

PGP: 0111 4618 0111 4618 4AB2 24EB C853 6611 75C4 A91E A7A7 4973

"From listening comes wisdom and from speaking repentance."