Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Sun workstations/servers and operating systems (SunOS, Solaris and OpenSolaris)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Fri Mar 17, 2017 4:50 am

escimo wrote:Seems to work, some kind of ... with demo transparency_ovl the X Server crashed after loading the two OpenLook windows.
The demo (transparency_ovl) is working in general, but always if I want to take a screenshot the X Server will fail and terminate. Nevertheless there isn't much acceleration with my x86 box: no dedicated dev pipeline (dynamically-loadable shared object module) for the built-in graphics chip (CL GD-5428, 1MB DRAM). Simply the systen does not fit for this purpose w/ this configuration:

Code: Select all

$ cd /opt/SUNWits/Graphics-sw/xgl/demo && ./install_check

xgl-02.png
xgl-02.png (5.72 KiB) Viewed 635 times
No DGA (Direct Graphics Access) support to bypass the X11 protocoll overhead.

The inq demo application call xgl_inquire() for some more detailed information

Code: Select all

$ inq
Inquire Information:
  XPEX
  Xlib port
    Accelerated Color Type(s): INDEXED
    Depth : 8
    Width : 1024
    Height: 768
    Double Buffering
      Using hardware swap
    Point Types:
        2D
        3D
        FLOAT
    Software Zbuffer in host
    Picking emulated in software
    Double buffering accelerated through hardware
    Index colors accelerated through hardware
    True colors emulated in software
    Depth cueing accelerated through hardware
    Lighting emulated in software
    Shading emulated in software
    Hidden line removal not supported
    Antialiasing emulated in software
    No stereo support
    Multi Buffering supported


One XIL image viewer demo

Code: Select all

$ pwd
/home/sx/graphics/xil/display
$ i386/display toys.header

xil-01.png
xil-01.png (98.77 KiB) Viewed 635 times

Next step: install pkgs on SPARCstation under Solaris 2.4
Whoever wants to test the small demos, send me PM.
Last edited by escimo on Sat Mar 18, 2017 12:54 pm, edited 3 times in total.
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Fri Mar 17, 2017 6:04 am

escimo wrote:Then will do a trace on the SunDiag run to know if I already have the high resolution version and low res is maybe 1024*768 with Sun Part# 370-1329 (?)
After I found the header file cg12reg.h it's clear and interesting because I don't have any further information about the HR version.

Code: Select all

(...)
#define    CG12_WIDTH        1152
#define    CG12_HEIGHT        900
#define    CG12_WIDTH_HR     1280
#define    CG12_HEIGHT_HR    1024
(...)
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Fri Apr 07, 2017 5:56 pm

miod wrote:
pilot345 wrote:You are missing the Sun ZX/Leo and the Parallax boards.
Someone seen or know the following boards?
* DuPont Pixel Systems GLengine-24XP and GLengine-48XP SBus boards (2nd generation) for PX/IRIS GL port for SPARC.

VME boards alternatives...
* Evans & Sutherland (E&S) Freedom Series 1000 and 3000 (stand-by graphics subsystem) using e.g. ES/PEX, XGL
* Vicom Visual Computing VX and MVX (1x/4x i860)

Soon try some of the XGL samples, running on my SS2 with GS graphics under Solaris 2.4.

BTW: PCD-4H using now a ATi Graphics Ultra Pro (Mach32) ISA board wit 2 MiB VRAM for higher resolution (1280*1024px @ 8bpp) in conjunction with 19" LCD for crispy clear fonts, ok better than before, because scaling could not be switched off with resolution less than the native one.
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS

Unread postby escimo » Sun Apr 09, 2017 6:11 pm

escimo wrote:Soon try some of the XGL samples, running on my SS2 with GS graphics under Solaris 2.4.
Info with XGL install_check on the SPARSstation 2GS running Solaris 2.4 HW 3/95 Operating Environment
cg12-sol24-00.png

cg12-sol24-01.png
cg12-sol24-01.png (5.53 KiB) Viewed 486 times

C compiler and XGL header files next.
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Sun Apr 16, 2017 2:41 am

After installation of all tools and utilities, including header files I managed to compile all XGL and XIL demos.
The output of the XGL demo "inq" wasn't what I expected: still many lines with "emulated in software"

Code: Select all

$ inq
Inquire Information:
  Sun:GS
  Direct Graphics Access
    Accelerated Color Type(s): INDEXED
    Depth : 8
    Width : 1152
    Height: 900
    Single Buffering
      Using hardware swap
    Point Types:
        2D
        3D
        INT
        FLOAT
    Hardware Zbuffer
    Picking emulated in software
    Double buffering emulated in software
    Index colors accelerated through hardware
    True colors emulated in software
    Depth cueing emulated in software
    Lighting emulated in software
    Shading emulated in software
    Hidden line removal accelerated through hardware
    Antialiasing emulated in software
    No stereo support
    No Multi Buffering support
   
$ truss inq 2>&1 | grep ^open | grep pipeline
open("/opt/SUNWits/Graphics-sw/xgl/lib/pipelines/xglSUNWswp.so.4", O_RDONLY) = 5
open("/opt/SUNWits/Graphics-sw/xgl/lib/pipelines/xglSUNWmem.so.4", O_RDONLY) = 5
open("/opt/SUNWits/Graphics-sw/xgl/lib/pipelines/xglSUNWcg12.so.4", O_RDONLY) = 5


My favorite demo "transparency_ovl" (transparency overlay) breaks in the moment the OpenLook window opens. With my x86 box there is no problem at all.

Code: Select all

$ transparency_ovl

XGL Version = XGL 3.1
Color mode = TrueColor
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  138 (SUN_OVL)
  Minor opcode of failed request:  4 ()
  Serial number of failed request:  190
  Current serial number in output stream:  196
Maybe some other application blocking or occupying the overlay map? - I have no idea.

cg12-sol24-02.png

Some of the demos are much faster, e.g. in rotation/transformation, compared to the x86 box w/o special XGL device pipeline but higher (internal 66MHz) clockrates. Also the sundiag test cases for the CG12 are much faster in displaying the results compared to the SPARCstation 1+ (Sun-4/65).

Window screenshot of XIL example with CT image (?)
xil-02.png
xil-02.png (129.39 KiB) Viewed 430 times


Screenshot of XIL demo movie_player_example (JPEG playback)
xil-03.png
xil-03.png (8.87 KiB) Viewed 430 times


Hope to find better demos for the CG12, some day
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
spiroyster
Donor
Donor
Posts: 145
Joined: Thu May 03, 2012 8:24 am
Location: Somerset, UK

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby spiroyster » Sat May 06, 2017 4:38 am

Found some old Matrox manuals on bitsavers.. including QG-640.
http://bitsavers.trailing-edge.com/pdf/matrox/

Clicking on the 'Parent Directory' link is quite fun too. :)

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Sat May 06, 2017 7:56 am

Thx, have the docs already but are quite interesting. The QG-640 is from an internal view - excluding Q-bus - equal to PG-640, I suppose. And yes, the parent directory has many more stuff. ;-)
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Sat Oct 14, 2017 3:11 pm

Contacted Mr Deering.
From his point of view or what he remembered the GS aka cgtwelve aka CG12 was NEVER EVER a product developed by Sun but rather by Matrox. Sun contributed only two ASICs (EIC External SBus Interface Ctrl and another on the upper framebuffer PCB as well as drivers and implementation for graphics API's like Pixrect, XGL and PHIGS+.

I strongely believe the GS was from an architectural point the direct predecessor for the later improved and highly integrated MGA (Matrox Graphics Architecture). This and the version for EISA bus, the MG-3D, in theory also usable in an Indigo 2 workstation with dedicated Matrox X11 servers, later succeding into products like the Matrox Impression and Ultima up to Millennium series. In fact the price/perf ratio was not so bad for price sensitive workstation users. You can find some Matrox chipset specification (e.g. ATLAS) with matching characteristics in WWW. Just take a look.

Because i didn't find more in-depth documentation dedicated to the GS I use some "source trees" from WWW to get a closer look in the acceleration methods. And no, it's not the NetBSD source tree because there is no acceleration for the GS available there ... until now. :mrgreen: maybe never

So far, as you're here in Europe, Goodnight and sweet dreams.
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby vishnu » Sun Oct 15, 2017 2:37 pm

escimo wrote:Contacted Mr Deering...


He's got a list of the graphics projects he's worked on, pretty impressive:

http://michaelfrankdeering.com/blog/projects/graphics_hardware/
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
escimo
Posts: 103
Joined: Sat Mar 22, 2008 4:07 am
Location: Frankfurt/Main, Germany
Contact:

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby escimo » Thu Oct 19, 2017 4:17 pm

vishnu wrote:
escimo wrote:Contacted Mr Deering...
He's got a list of the graphics projects he's worked on, pretty impressive
Indeed, really impressive! :)

escimo wrote:(...) This and the version for EISA bus, the MG-3D, in theory also usable in an Indigo 2 workstation with dedicated Matrox X11 servers,(...)
typo: board set with name designation MG-3D Ultra was for EISA, without "Ultra" for 16-bit ISA.

Finally got a used version of the book "State of the Art in Computer Graphics" to get more in general information about architecture.
The smal block stating the GS has a classic graphics pipeline ("inverted funnel' structure)
Figure somewhat complemented with ASIC abbreviations from my sample board set.

Code: Select all

 CPU    SBus                   Matrox SG3-1152 /BASE                          Matrox SG3-1152 /MODULE
|----| |---| |-------------------------------------------------------------|   |-------------------|

[Host] <---> [EIC SBus Ctrl] <---------------> [APU Pix Addr Gen ASIC]            +--------------+
                                 ^        ^              |                        |              |
                                 |        |              |                        | 8-way        |
                                 v        |--> [DPU Drawing/Tiling ASIC #1] <---> |              |
                      [TI 320C30 DSP ]    |              |                        |interleaved   |
                      [Geometry Stage]    |--> [DPU Drawing/Tiling ASIC #2] <---> |              |
                                          |              v                        | Frame Buffer |
                                          '--> [DPU Drawing/Tiling ASIC #3] <---> |              |
                                                                                  +--------------+

Legend:
EIC := External Interface Controller
APU := Address Processing Unit
DPU := Draw Processing Unit
DSP := Digital Signal Processor (TI 320C30 Family w/ Floating-Point capabilities)
Sun Solaris 2.4 @ SPARCstation 2 and SNI PCD-4H. Migration path: NetBSD

User avatar
GL1zdA
Donor
Donor
Posts: 428
Joined: Thu Dec 31, 2009 3:18 pm
Location: Warsaw, PL

Re: Sun CG12 / GS aka Matrox SG3-1152B graphics accelerator for 3D solid applications

Unread postby GL1zdA » Thu Oct 19, 2017 10:50 pm

vishnu wrote:
escimo wrote:Contacted Mr Deering...


He's got a list of the graphics projects he's worked on, pretty impressive:

http://michaelfrankdeering.com/blog/projects/graphics_hardware/

Nice, he basically was involved in the development of Sun's all custom (non 3dlabs based) 3D accelerators.
:PI: :Indigo: :Indigo: :Indigo: :Indy: :Indy: :Indigo2: :Indigo2IMP: :Octane: :Fuel: :540:


Return to “Sun”

Who is online

Users browsing this forum: No registered users and 2 guests