IRIX Network Forums
gettin 24 bit color on my octane don't work - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: Beginners' Questions/Tips (//forums.irixnet.org/forum-6.html)
+--- Thread: gettin 24 bit color on my octane don't work (/thread-1462.html)

Pages: 1 2


gettin 24 bit color on my octane don't work - soviet - 08-31-2019

Hi guys i have an octane running irix 6.5.24
Also have an MXI graphic board but can't get to 24 bit color.

Already follow the guide that says to change the Xservers file:
https://software.majix.org/irix/desktop-depth.shtml
But my system continue to run in 8 bit indexed mode.

How can i change the modes theres something else i have to do ?


RE: gettin 24 bit color on my octane don't work - Jacques - 09-04-2019

(08-31-2019, 11:26 PM)soviet Wrote:  Hi guys i have an octane running irix 6.5.24
Also have an MXI graphic board but can't get to 24 bit color.

Already follow the guide that says to change the Xservers file:
https://software.majix.org/irix/desktop-depth.shtml
But my system continue to run in 8 bit indexed mode.

How can i change the modes theres something else i have to do ?

I know you are supposed to log out and back in to see the changes, on my O2 I had to restart the workstation for my changes to take effect.

Your MXE board set can handle that just fine and 6.5.24 should be fine as well. Oh and make sure you spell 'color' the US way, not the ( correct Wink ) 'colour' english way.


RE: gettin 24 bit color on my octane don't work - soviet - 09-05-2019

I have restarted and also power off and on but no change still running in 8 bit mode


RE: gettin 24 bit color on my octane don't work - Jacques - 09-07-2019

(09-05-2019, 12:41 AM)soviet Wrote:  I have restarted and also power off and on but no change still running in 8 bit mode

Can you copy/paste your xservers line in a post here?


RE: gettin 24 bit color on my octane don't work - soviet - 09-08-2019

here it is

IRIS 4# cat /usr/lib/X11/xdm/Xservers
:0 secure /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG red -cursorBG white -class TrueColor -depth 24
IRIS 5#


RE: gettin 24 bit color on my octane don't work - Jacques - 09-08-2019

(09-08-2019, 05:47 PM)soviet Wrote:  here it is

IRIS 4# cat /usr/lib/X11/xdm/Xservers
:0 secure /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG red -cursorBG white -class TrueColor -depth 24
IRIS 5#

That won't work as you're still referring to 'pseudomap', which means the display server was trying to do a pseudo mapped and 24bit display at the same time.

change it to

Code:
:0 secure /usr/bin/X11/X -bs -nobitscale -c -solidroot sgilightblue -cursorFG red -cursorBG white -depth 24 -class TrueColor

Let us know if this works.


RE: gettin 24 bit color on my octane don't work - soviet - 09-09-2019

ok now removed the pseudomap option this is the current file
IRIS 1# cat /usr/lib/X11/xdm/Xservers
:0 secure /usr/bin/X11/X -bs -nobitscale -c -solidroot sgilightblue -cursorFG red -cursorBG white -class TrueColor -depth 24
IRIS 2#

Restarted the system.

X11 continue to run in 8 bit mode not sure why :(

This is the output from "xdpyinfo"


IRIS 1# xdpyinfo | grep "depth of root window"
depth of root window: 24 planes
IRIS 2# xdpyinfo
name of display: 127.0.0.1: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 4, bits_per_pixel 8, 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
keycode range: minimum 15, maximum 149
focus: window 0x240000e, revert to PointerRoot
number of extensions: 30
DCShare
DEC-XTRAP
DOUBLE-BUFFER
DPMS
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
XC-APPGROUP
XC-MISC
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1

screen #0:
dimensions: 1024x768 pixels (373x280 millimeters)
resolution: 70x70 dots per inch
depths (5): 1, 8, 12, 15, 24
root window id: 0x3f
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 23
default colormap: 0x3c
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 32x32
current input event mask: 0x7a207c
ButtonPressMask ButtonReleaseMask EnterWindowMask
LeaveWindowMask PointerMotionMask ButtonMotionMask
StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask
FocusChangeMask PropertyChangeMask
number of visuals: 28
default visual id: 0x33
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: 12 planes
available colormap entries: 4096
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x26
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: 0x27
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: 0x28
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: 0x29
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: 0x2a
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: 0x2b
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: 0x2c
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: 0x2d
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: 0x2e
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: 0x2f
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: 0x30
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: 0x31
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: 0x32
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: 0x33
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: 0x34
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: 0x35
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: 0x36
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: 0x37
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: 0x38
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: 0x39
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: 0x3a
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: 0x3b
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
IRIS 3#


RE: gettin 24 bit color on my octane don't work - Jacques - 09-09-2019

I'll check on my O2 tonight what mine says.


RE: gettin 24 bit color on my octane don't work - Jacques - 09-09-2019

Hi, posting from my O2 and it's running 24bit now.

Looking at your Xservers file and xdpyinfo output, it looks like you're running a 24 bit TrueColor output.

Code:
screen #0:
...
dimensions: 1024x768 pixels (373x280 millimeters)
resolution: 70x70 dots per inch
depths (5): 1, 8, 12, 15, 24
root window id: 0x3f
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 23
default colormap: 0x3c
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
default visual id: 0x33

default visual id: 0x33 <---- This is the important bit.

and...

Code:
visual id: 0x33
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

depth: 24 planes <---- 24 bit depth

My understanding is you have 3 x 8bits (r,g,b) of significant color specification to give you 2^24 ( 2^(8+8+8) ) = 16,777,216 color variations.

So it appears you are running 24 bit already Smile

This is the my TrueColor Xservers file just for comparison

Code:
:0 secure /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG red -cursorBG white

and my 24 bit TrueColor Xservers file

Code:
:0 secure /usr/bin/X11/X -bs -nobitscale -c -class TrueColor -depth 24 -solidroot sgilightblue -cursorFG red -cursorBG white

My relevant xdpyinfo output

Code:
screen #0:
  dimensions:    1440x900 pixels (520x330 millimeters)
  resolution:    70x69 dots per inch
  depths (5):    1, 8, 12, 15, 24
  root window id:    0x40
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 11
  default colormap:    0x3d
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  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:    29
  default visual id:  0x32

...

visual id:    0x32
    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


Jacques


RE: gettin 24 bit color on my octane don't work - Irinikus - 09-10-2019

Another way to check if you’re running in 24Bit mode is simply to open an image file in image view. If the image displays with the correct color depth, you’re running in 24Bit mode.