PM
Sun
Solaris 2.4
@
SPARCstation 2
and
SNI
PCD-4H
. Migration path:
NetBSD
Code: Select all
Sun Prod ; Sun Part# ; Matrox Prod (B) ; Matrox Part# (B) ; Matrox Prod (M) ; Matrox Part#(M) ; SBus Conn Loc ; Resolution ; Freq_v ; Freq_h
----------;-----------;-----------------;------------------;------------------;-----------------;---------------;------------;----------;--------
GS CG12 ; 370-1329 ; <?> ; <?> ; <?> ; <?> ; 1+2 (PSU-near); 1152 * 900 ; 71.7 kHz ; 76 Hz
GS CG12 ; 370-1370 ; SG3-1152B/BASE ; 0385-06-02 ; SG3-1152B/MODULE ; 0386-06-03 ; 1+2 (PSU-near); 1152 * 900 ; 71.7 kHz ; 76 Hz
GS CG12(*); 370-1407 ; <?> ; <?> ; <?> ; <?> ; 2+3 (PSU-far) ; 1152 * 900 ; 71.7 kHz ; 76 Hz
GS CG12 ; 370-1551 ; SG3-1152C/BASE ; 385-03 REV:A ; <?> ; <?> ; 2+3 (PSU-far) ; 1152 * 900 ; 71.7 kHz ; 76 Hz
Code: Select all
Product ; Bus ; Resolution ; Freq_H ; Freq_V
----------------;-------;-------------;-----------;--------
Sun MG3 ECL ; P4 ; 1600 * 1280 ; 89.0 kHz ; 66 Hz
Sun MG1 ECL ; SBus ; 1600 * 1280 ; 89.0 kHz ; 66 Hz
Sun TurboGXplus ; SBus ; 1600 * 1280 ; 101.8 kHz ; 76 Hz
Sun CG14 4/8MB ; VSIMM ; 1600 * 1280 ; <?> ; 66 Hz
Sun Creator3D ; UPA ; 1920 * 1080 ; <?> ; 72 Hz
Sun PGX32 ; PCI32 ; 1600 * 1280 ; <?> ; 76 Hz
Sun Expert3D ; PCI64 ; 1920 * 1200 ; <?> ; 75 Hz
Code: Select all
sx@jumper:/export/install/2_4_sparc/Solaris_2.4 $ for d in $(ls -1d SUNWgs* | sort) ; do echo $d ; cat $d/pkginfo | egrep "^(ARCH=)|(NAME=)|(PRODVERS=)|(DESC=)" ; echo ; done
SUNWgs.c
ARCH=sparc.sun4c
NAME=GS (cg12) Device Driver
PRODNAME=GS
PRODVERS=gfx_2.3
DESC=This package contains the device driver and boot-time configuration routines for the GS 24-bit frame buffer.
SUNWgs.L
ARCH=sparc.sun4mL
(...devdrv...)
SUNWgs.m
ARCH=sparc.sun4m
(...devdrv...)
SUNWgs.ma
ARCH=sparc.axil4m
(...devdrv...)
SUNWgsow
ARCH=sparc
NAME=GS DDX Support
PRODNAME=gs
PRODVERS=gfx_2.3
DESC=Contains Software support for the GS graphics accelerator. Not needed if you do not have a GS.
SUNWgsu
ARCH=sparc
NAME=GS (cg12) Run-time support software
PRODNAME=GS
PRODVERS=gfx_2.3
DESC=This package contains XGL/XIL loadable pipelines and headers for the GS 24-bit Frame Buffer.
Code: Select all
# uname -a
SunOS sphinx 5.4 Generic_101946-64 i86pc i386
# pkginfo | grep lsk
application SUNWxglsk XGL Include & Example Files, Manpages
application SUNWxilsk XIL Developer's Kit
$ echo $XGLHOME
/opt/SUNWits/Graphics-sw/xgl
$ echo $XILHOME
/opt/SUNWits/Graphics-sw/xil
$ echo $MANPATH
/opt/SUNWspro/man:/opt/SUNWste/license_tools/man:/opt/SUNWsdk/sdk_2.5/xgl/man:/opt/SUNWsdk/sdk_2.5/xil/doc/man:/usr/share/man:/usr/openwin/share/man
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:escimo wrote: Seems to work, some kind of ... with demo transparency_ovl the X Server crashed after loading the two OpenLook windows.
Code: Select all
$ cd /opt/SUNWits/Graphics-sw/xgl/demo && ./install_check
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
Code: Select all
$ pwd
/home/sx/graphics/xil/display
$ i386/display toys.header
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.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 (?)
Code: Select all
(...)
#define CG12_WIDTH 1152
#define CG12_HEIGHT 900
#define CG12_WIDTH_HR 1280
#define CG12_HEIGHT_HR 1024
(...)
Someone seen or know the following boards?miod wrote:pilot345 wrote: You are missing the Sun ZX/Leo and the Parallax boards.
Info with XGL install_check on the SPARSstation 2GS running Solaris 2.4 HW 3/95 Operating Environmentescimo wrote: Soon try some of the XGL samples, running on my SS2 with GS graphics under Solaris 2.4.
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
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
SunOS expacting the primary hard disk to have SCSI ID 3, second drive with SCSI ID 1. It seems to be hard coded into the the (default) kernel:ClassicHasClass wrote: I don't know why it wants to be ID 3 unless it's something about that particular model. My SCSI2SD has two partitions, 0 and 1. That works just fine here.
Code: Select all
The SunOS kernel is hard-wired to map sd0 to SCSI target 3, and sd3 to SCSI target 0.
PROM SCSI SunOS
Unit# Target# Name
----- ------- ----------
0 3 sd0 (disk)
1 1 sd1 (disk)
2 2 sd2 (disk)
3 0 sd3 (disk)
4 4 st0 (tape)
5 5 st1 (tape)
6 6 cdrom
7 7 hba/ctrl
Code: Select all
Drive SCSI Physical 4.x
Number Target Device Device
Number Number Number
------ ------ -------- ------
1 3 sd@3,0 sd0
2 1 sd@1,0 sd1