3 Replies Latest reply: Mar 24, 2008 4:25 AM by 807557 RSS

    Can't change colour depth on x86 Solaris 10!

    807557
      Hello folks,

      Rather basic question, I'm afraid.

      I'm running the following release of Solaris 10: SunOS <hostname here> 5.10 Generic_120012-14 i86pc i386 i86pc.

      I want to set up 8-bit color depth to support an application that requires it. To achieve this, I've run /usr/X11/bin/xorgconfig to set up my /etc/X11/xorg.conf with 8-bit colour depth. The relevant extract from /etc/X11/xorg.conf is shown below:

      #START################################################
      Section "Screen"
      Identifier "Screen 1"
      Device "NVIDIA GeForce"
      Monitor "MAG"
      DefaultDepth 8

      Subsection "Display"
      Depth 8
      Modes "1280x1024" "1024x768" "800x600" "640x480"
      ViewPort 0 0
      EndSubsection
      EndSection
      #END##################################################

      For completeness's sake, I then reset the computer. The color depth did not change. What's wrong?


      Cheers
        • 1. Re: Can't change colour depth on x86 Solaris 10!
          807557
          /etc/X11/.xorg.conf is the only xorg.conf$ on my Sol10 box
          I'm not 100% sure it is used though or why it is /etc/X11/.xorg.conf and not /etc/X11/xorg.conf
          Does "ps -ef | fgrep X" show Xorg or Xsun?

          You don't have to reboot. Logout or <CTRL><ALT><BackSpace> to kill the Xserver should do.
          dtlogin (or any XDMCP manager starts Xserver from scratch just after logout.
          • 2. Re: Can't change colour depth on x86 Solaris 10!
            807557
            Sorry about the delay in posting back...

            Output of ps -ef|grep X is:

            root 577 1 0 08:45:09 ? 0:00 /usr/lib/dmi/snmpXdmid -s bartpe-23289.unixlab.eng.um.edu.mt
            noaccess 713 1 0 08:45:23 ? 0:18 /usr/java/bin/java -server -Xmx128m -XX:+BackgroundCompilation -XX:PermSize=32m
            root 1355 616 1 08:52:40 ? 1:07 /usr/X11/bin/Xorg :0 -depth 24 -nobanner -auth /var/dt/A:0-FKaanb
            root 1398 1379 0 08:52:53 ? 0:00 /bin/ksh /usr/dt/bin/Xsession root 1508 1486 0 08:52:57 pts/2 0:00 /bin/ksh /usr/dt/config/Xsession2.jds
            root 7056 7029 0 10:16:15 pts/7 0:00 grep X

            This seems to show that Xorg is being started with 24-bit color depth. ptree shows that Xorg is being spawned by /usr/dt/bin/dtlogin -daemon.

            Yes, I do have a .xorg.conf file under /etc/X11 but it appears to have no use as Xorg starts in 24-bit color depth with or without it.
            • 3. Re: Can't change colour depth on x86 Solaris 10!
              807557
              To clarify my last point regarding .xorg.conf, this is what I have in this file regarding the colour depth, after editing to remove the higher depth settings:

              Section "Screen"
              Identifier "Screen0"
              Device "Card0"
              Monitor "Monitor0"
              SubSection "Display"
              Viewport 0 0
              Depth 1
              EndSubSection
              SubSection "Display"
              Viewport 0 0
              Depth 4
              EndSubSection
              SubSection "Display"
              Viewport 0 0
              Depth 8
              EndSubSection
              EndSection