Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Solaris 10 - Changing default screen color depth

807557Jan 3 2007 — edited Dec 11 2007
Hello,

I just upgraded a Sun Blade from Solaris 8 to 10. I have a rather old image display application (ftp://east.la.asu.edu/pub/software/pw-5.23.tar.gz) that is absolutely essential for my work, and it will not run under Solaris 10, either on the CDE or jave/gnome desktops.

The executable for this application was compiled using gcc on Solaris 8, and ran fine on Solaris 8 CDE (v1.4.3?) with the "Most colors for applications" color setting in Desktop Color prefs. With that setup, the application allocated 216 colors when starting up, which was sufficient. If the application could not allocate enough colors, it would use its own private color map, which caused window "flashing," but that was OK.

Under Solaris 10 CDE (v1.6.3) and gnome, the application cannot allocate enough colors, and cannot even start with its own color map.

I re-complied the application on Solaris 10 using Sun Studio 11, and the same problem occurs with the new executable.

I think that the problem may be related to default color depth. Right now, with xwininfo, my Solaris 10 CDE xterms are 24-bit true color. Unfortunately, I think that I may need to set my default color depth to 8-bit pseudocolor for the application to run. How can I change the default color depth of the CDE and gnome desktops to pseudocolor? I know that the application works on HP-UX CDE with the default depth as pseudocolor.

I cannot remember if I had somehow changed the settings for color depth on Solaris 8 to get the application to run. I do know that the xwininfo results for a Firefox browser window running on my Solaris 8 CDE desktop was 24-bit true color. I hope very much that this will be the case if I change my default depth to 8-bit on Solaris 10.

Any help that anyone can provide would be GREATLY appreciated. I am dead in the water without this imaging application. I am a member of the Sun Developer Network, and I don't know if I should post this message somewhere on the Developer Forums. Please let me know if I should.

Thank you in advance!!!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2008
Added on Jan 3 2007
9 comments
818 views