IRIX and Software

color depth help

Hey guys,

I never really got down and dirty with all of the settings/memory calculations for the graphics stuff. I have a v12 card/dcd that I have connected to two Dell 2407wfp monitors. Can the v12 do 24bit color on two 1920x1200 monitors? Any help from you guys would be great. thanks in advance!

It looks like it is using the two resolutions as one screen: dimensions: 3840x1200 pixels (1040x330 millimeters)
My default visual id is 0x20 and it looks like it is set to 8bit:

Code:
default visual id:  0x20
visual:
visual id:    0x20
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:


Here is my info:

Code:
nucleon 1# xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    Silicon Graphics
vendor release number:    6600
maximum request size:  262140 bytes
motion buffer size:  0
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    6
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 12, bits_per_pixel 16, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 30, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 15, maximum 149
focus:  window 0x4000006, revert to PointerRoot
number of extensions:    33
Adobe-DPS-Extension
DCShare
DEC-XTRAP
DOUBLE-BUFFER
DPMS
DPSExtension
ESA
Extended-Visual-Information
GLX
LBX
MIT-SHM
MIT-SUNDRY-NONSTANDARD
Multi-Buffering
READDISPLAY
RECORD
ReadDisplay
SCREEN-SAVER
SGI-CONTROLPASSING
SGI-NewMultibuffering
SGI-SCREEN-CAPTURE
SGI-SUNDRY-NONSTANDARD
SGI-VIDEO-CONTROL
SGIFullScreenStereo
SHAPE
SYNC
TOG-CUP
X3D-PEX
XC-APPGROUP
XC-MISC
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number:    0
number of screens:    1


Code:
screen #0:
dimensions:    3840x1200 pixels (1040x330 millimeters)
resolution:    94x92 dots per inch
depths (6):    1, 8, 12, 15, 24, 30
root window id:    0x48
depth of root window:    8 planes
number of colormaps:    minimum 1, maximum 29
default colormap:    0x45
default number of colormap cells:    256
preallocated pixels:    black 0, white 7
options:    backing-store NO, save-unders NO
largest cursor:    32x32
current input event mask:    0x72003c
ButtonPressMask          ButtonReleaseMask        EnterWindowMask
LeaveWindowMask          StructureNotifyMask      SubstructureRedirectMask
FocusChangeMask          PropertyChangeMask
number of visuals:    37
default visual id:  0x20
visual:
visual id:    0x20
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x21
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x22
class:    StaticColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x7, 0x38, 0xc0
significant bits in color specification:    8 bits
visual:
visual id:    0x23
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x24
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x25
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x26
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x27
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x28
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x29
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x2a
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x2b
class:    PseudoColor
depth:    8 planes
available colormap entries:    256
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x2c
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x2d
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x2e
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x2f
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x30
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x31
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x32
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x33
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x34
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x35
class:    PseudoColor
depth:    12 planes
available colormap entries:    4096
red, green, blue masks:    0x0, 0x0, 0x0
significant bits in color specification:    8 bits
visual:
visual id:    0x36
class:    TrueColor
depth:    12 planes
available colormap entries:    16 per subfield
red, green, blue masks:    0xf, 0xf0, 0xf00
significant bits in color specification:    8 bits
visual:
visual id:    0x37
class:    TrueColor
depth:    12 planes
available colormap entries:    16 per subfield
red, green, blue masks:    0xf, 0xf0, 0xf00
significant bits in color specification:    8 bits
visual:
visual id:    0x38
class:    TrueColor
depth:    12 planes
available colormap entries:    16 per subfield
red, green, blue masks:    0xf, 0xf0, 0xf00
significant bits in color specification:    8 bits
visual:
visual id:    0x39
class:    TrueColor
depth:    15 planes
available colormap entries:    32 per subfield
red, green, blue masks:    0x1f, 0x3e0, 0x7c00
significant bits in color specification:    8 bits
visual:
visual id:    0x3a
class:    TrueColor
depth:    15 planes
available colormap entries:    32 per subfield
red, green, blue masks:    0x1f, 0x3e0, 0x7c00
significant bits in color specification:    8 bits
visual:
visual id:    0x3b
class:    TrueColor
depth:    15 planes
available colormap entries:    32 per subfield
red, green, blue masks:    0x1f, 0x3e0, 0x7c00
significant bits in color specification:    8 bits
visual:
visual id:    0x3c
class:    TrueColor
depth:    24 planes
available colormap entries:    256 per subfield
red, green, blue masks:    0xff, 0xff00, 0xff0000
significant bits in color specification:    8 bits
visual:
visual id:    0x3d
class:    TrueColor
depth:    24 planes
available colormap entries:    256 per subfield
red, green, blue masks:    0xff, 0xff00, 0xff0000
significant bits in color specification:    8 bits
visual:
visual id:    0x3e
class:    TrueColor
depth:    24 planes
available colormap entries:    256 per subfield
red, green, blue masks:    0xff, 0xff00, 0xff0000
significant bits in color specification:    8 bits
visual:
visual id:    0x3f
class:    DirectColor
depth:    24 planes
available colormap entries:    256 per subfield
red, green, blue masks:    0xff, 0xff00, 0xff0000
significant bits in color specification:    8 bits
visual:
visual id:    0x40
class:    TrueColor
depth:    30 planes
available colormap entries:    1024 per subfield
red, green, blue masks:    0x3ff, 0xffc00, 0x3ff00000
significant bits in color specification:    10 bits
visual:
visual id:    0x41
class:    TrueColor
depth:    30 planes
available colormap entries:    1024 per subfield
red, green, blue masks:    0x3ff, 0xffc00, 0x3ff00000
significant bits in color specification:    10 bits
visual:
visual id:    0x42
class:    TrueColor
depth:    30 planes
available colormap entries:    1024 per subfield
red, green, blue masks:    0x3ff, 0xffc00, 0x3ff00000
significant bits in color specification:    10 bits
visual:
visual id:    0x43
class:    TrueColor
depth:    30 planes
available colormap entries:    1024 per subfield
red, green, blue masks:    0x3ff, 0xffc00, 0x3ff00000
significant bits in color specification:    10 bits
visual:
visual id:    0x44
class:    TrueColor
depth:    30 planes
available colormap entries:    1024 per subfield
red, green, blue masks:    0x3ff, 0xffc00, 0x3ff00000
significant bits in color specification:    10 bits
nucleon 2#



Code:
nucleon 2# cat /var/X11/xdm/Xservers
:0 secure /usr/bin/X11/X -bs -nobitscale -c -class TrueColor -depth 24
-solidroot sgilightblue -cursorFG red -cursorBG white


Code:
nucleon 8# ./gfxinfo
Graphics board 0 is "ODYSSEY" graphics.
Managed (":0.0") 3840x1200
BUZZ version B.2
PB&J version 1
128MB memory
Banks: 4, CAS latency: 3
Monitor 0 type: Unknown
Dual Channel Display option
Monitor 1 type: DEL -24553      Monitor 2 type: DEL -24553
Channel 0:
Origin = (0,0)
Video Output: 1920 pixels, 1200 lines, 60.00Hz (2@1920x1200_60p)
Channel 1:
Origin = (1920,0)
Video Output: 1920 pixels, 1200 lines, 60.00Hz (2@1920x1200_60p)

_________________
:Tezro: :Onyx2: :Indigo: :Indigo: :Indigo: :Indigo: :Indigo: :Indigo: :Indy: :Indy: :Indy: :Indy: :Indy: :O2: :O2: :O2: :O2: :O2: :1600SW: :1600SW: :320: :Indigo2IMP: :Indigo2: :Octane2: :Octane2: :Octane: :Fuel: :Fuel:
Stolen! :4D310: :Crimson:
Nevermind. I thought logging in and out would cause X to pick up the changes. I finally rebooted the system and it picked up the changes and is showing 24bit.

_________________
:Tezro: :Onyx2: :Indigo: :Indigo: :Indigo: :Indigo: :Indigo: :Indigo: :Indy: :Indy: :Indy: :Indy: :Indy: :O2: :O2: :O2: :O2: :O2: :1600SW: :1600SW: :320: :Indigo2IMP: :Indigo2: :Octane2: :Octane2: :Octane: :Fuel: :Fuel:
Stolen! :4D310: :Crimson:
Code:
/usr/gfx/stopgfx; /usr/gfx/startgfx

would have done the trick as well, I think. Otherwise, restarting xdm with /etc/init.d/xdm (start/stop) would definitively help.
thanks Canavan. I will keep those in mind when building out my next box. I am trying to get 5 systems up and running again after years of cold storage with fresh installs.

_________________
:Tezro: :Onyx2: :Indigo: :Indigo: :Indigo: :Indigo: :Indigo: :Indigo: :Indy: :Indy: :Indy: :Indy: :Indy: :O2: :O2: :O2: :O2: :O2: :1600SW: :1600SW: :320: :Indigo2IMP: :Indigo2: :Octane2: :Octane2: :Octane: :Fuel: :Fuel:
Stolen! :4D310: :Crimson:
Xsgi is funny because it runs the root window at 8 bit, but you are able to request truecolor for new windows; see how it supports a long list of visuals--on XFree or Xorg this was to my knowledge always one and the highest depth available, thus pretty much every single FOSS X11-ware thinks that whatever it gets by default (or inherited from the root window) is the highest possible depth, while in reality it could just have requested 30 bit color and got it.

Still, it is nicer with trueocolor desktop backgrounds :-)

_________________
:Octane: halo , oct ane
N.B.: I tend to talk out of my ass. Do not take it too seriously.
It has to do with WID planes... graphics workstations (from Sun, HP, SGI, and IBM at least) usually had the ability to use a different color depth, colormap, or double-buffering mode for each window including the root. They have hardware (either dedicated bitplanes for window ID, or a window mode display list) to change the interpretation of the framebuffer when the DAC enters its region. Something similar was possible on old home computers like the Atari 800 and the Amiga.
Some more details at http://linas.org/linux/graphics.html

_________________
:PI: :O2: :Indigo2IMP: :Indigo2IMP:
From the "X Windows Disaster" chapter of the Unix Hater's Manual: "X Windows is to graphics hacking as roman numerals are to the square root of pi."

Eric Foster-Johnson wrote the definitive article, "High-Definition X Color," for the November 1999 issue of Unix Review magazine (to which I was a lifelong subscriber until it was unceremoniously canceled by it's publisher), I think it's still readable here: http://web.archive.org/web/20010509002125/www.unixreview.com/articles/1999/9911/9911ct/ct.htm

I can't check if the link is valid because I'm at my place of employ, where the web filter inexplicably blocks archive.org... :evil:
vishnu wrote:
I can't check if the link is valid because I'm at my place of employ, where the web filter inexplicably blocks archive.org... :evil:

archive.org probably hurt the feelings of the military-industrial complex :P
vishnu wrote:
I can't check if the link is valid because I'm at my place of employ, where the web filter inexplicably blocks archive.org... :evil:
Well archive.org managed to keep the correct link to a banner ad for SysAdmin magazine, which as far as I know also met an unhappy end about 5 years ago.

You get the text - a little tough to navigate, but the important part is that the content seems to be there.

Thanks for the pointer!

_________________
Then? :IRIS3130: ... Now? :O3x02L: :1600SW: +MLA :Fuel: :Octane2: :Octane: :Indigo2IMP: ... Other: DEC :BA213: :BA123: Sun , DG AViiON , NeXT :Cube:
please don't use code as gross as that article though. ((65535 * (long) v)/256) isn't even correct and is perverse compared to a bit shifting operation.

_________________
:PI: :O2: :Indigo2IMP: :Indigo2IMP:
Heh - well at this point, I've noticed that docs on X aren't so easy to come by. Grateful for TechPubs, to be sure, but time was you'd walk through some offices and there'd be a few copies of the whole O'Reilly stack of X Window System books sitting out abandoned. Now, not so much... That's all I was getting at, I haven't read through the article yet.

_________________
Then? :IRIS3130: ... Now? :O3x02L: :1600SW: +MLA :Fuel: :Octane2: :Octane: :Indigo2IMP: ... Other: DEC :BA213: :BA123: Sun , DG AViiON , NeXT :Cube:
hamei wrote:
vishnu wrote:
I can't check if the link is valid because I'm at my place of employ, where the web filter inexplicably blocks archive.org... :evil:
archive.org probably hurt the feelings of the military-industrial complex :P
The black helicopters are circling their data center even as we speak... :twisted: :lol: