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: 75
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 376 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 376 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 powering SPARCstation 2 (1990) and SNI PCD-4H (1993).

User avatar
escimo
Posts: 75
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 powering SPARCstation 2 (1990) and SNI PCD-4H (1993).

User avatar
escimo
Posts: 75
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 powering SPARCstation 2 (1990) and SNI PCD-4H (1993).

User avatar
escimo
Posts: 75
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 227 times

C compiler and XGL header files next.
Sun Solaris 2.4 powering SPARCstation 2 (1990) and SNI PCD-4H (1993).

User avatar
escimo
Posts: 75
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 171 times


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


Hope to find better demos for the CG12, some day
Sun Solaris 2.4 powering SPARCstation 2 (1990) and SNI PCD-4H (1993).

User avatar
spiroyster
Donor
Donor
Posts: 111
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: 75
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 powering SPARCstation 2 (1990) and SNI PCD-4H (1993).


Return to “Sun”

Who is online

Users browsing this forum: No registered users and 3 guests