unable to allocate enough cells for gray scale


 
Thread Tools Search this Thread
Operating Systems Solaris unable to allocate enough cells for gray scale
# 1  
Old 10-01-2004
unable to allocate enough cells for gray scale

Hi,
I tried to install a software (written in C) and run it on a sun machine.
It is displaying the error:
unable to allocate enough cells for gray scale.

I closed all other apllications and set background to black to minimize usage of cells. But it is diaplaying the same error.

Plz help me.

-raz
# 2  
Old 10-04-2004
Question ........

CDE itself uses 8-bit color depth (256 colors) by default. This is acceptable, as each window can define its own individual color depth. Some frame buffers only have one color table. This may cause color map flashing with some applications. A workaround for this is to start CDE itself with 24-bit color depth.
eg.:
On PGX, you have to switch the frame buffer to 24-bit with fbconfig -depth 24.
Note: Some legacy applications expect the default visual to be 8-bit, not 24-bit. This can cause problems.


copy /usr/dt/config to /etc/dt/config and edit the last line:
:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -dev /dev/fbs/ifb0 defdepth 24 -dev /dev/fbs/ifb1 defdepth 24 -nobanner
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. AIX

F7fa22c9 i o sysj2 unable to allocate space in file system

F7FA22C9 I O SYSJ2 UNABLE TO ALLOCATE SPACE IN FILE SYSTEM edit by bakunin: until you are willing to phrase a decent question i am unwilling to tolerate such a spammed thread here. - Thread closed - (0 Replies)
Discussion started by: ranjithm
0 Replies

2. Shell Programming and Scripting

bc scale problem

Dear Experts, I want to use bc to do some multiplication and return me a value with number of decimal places defined by myself. For example: echo "scale=10; 1.65*7" | bc returns me: 11.55 But what I really want is to have is a result with 10 digits after the point which... (4 Replies)
Discussion started by: cristalp
4 Replies

3. Solaris

unable to allocate enough memory

On SunOS 10 get an error when starting a large Java process with over 2Gb memory. Error occurred during initialization of VM Could not reserve enough space for object heap i have 32G memory !! , swap = 31G Please any advice !!! (3 Replies)
Discussion started by: moata_u
3 Replies

4. UNIX for Advanced & Expert Users

unable to allocate enough memory

On SunOS 5.8 I get an error when starting a large Java process with over 2Gb memory. Error occurred during initialization of VM Could not reserve enough space for object heap When stopping several other Java processes we can start this process. This seems to indicate that we don't have... (11 Replies)
Discussion started by: rein
11 Replies
Login or Register to Ask a Question