X windows problem [message #15180] |
Thu, 29 April 1999 00:00  |
Raffaele Pelosi
Messages: 2 Registered: April 1999
|
Junior Member |
|
|
I've problem with my operating system Linux. When I digit at prompt
"insight" there is this message:
% Restored file: INSIGHT.
% Unsupported X Windows visual (class: StaticGray, depth: 0).
Substituting default (class: <UndefinedVisual>, Depth: 0).
% Execution halted at: INSIGHT
% $MAIN$
On my portable machine I've Linux SuSe 6.0
How can I resolve this problem?
Thanks
Raffaele
|
|
|
Re: X windows problem [message #15280 is a reply to message #15180] |
Tue, 04 May 1999 00:00  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Raffael Pelosi wrote:
>
> Yes, that's true. It works using 24 bpp or 8bpp.
> I need to say thank to you, David Fanning and Liam E. Gumley that had help
> me to resolve this problem.
>
> Raffaele
when I first read your post, I thought it doesn't apply to my linux
installation. But then I tried to run X with -bpp 24 and just got
strange colors (apparently, it's only 8, 16, and 32 bits that are
suppoted by my card/monitor/linux combo).
Now with -bpp 32 I get the same error message as you when starting IDL.
Since linux is spreading more and more, it may be helpful to offer the
solution in the newsgroup, therefore, I kindly ask the abovementioned
experts to help me out as well. Please find the relevant xdpyinfo output
attached below. IDL does wok with color depth 8, but then I only have 62
colors even when nothing else is running (using fvwm2). With netscape
started prior to IDL) you get into that colortable-not-updated problem
discussed in a different thread.
Thanks,
Martin.
xdpyinfo:
[...]
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1024x768 pixels (347x260 millimeters)
resolution: 75x75 dots per inch
depths (1): 32
root window id: 0x26
depth of root window: 32 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x23
default number of colormap cells: 2048
preallocated pixels: black 0, white 16777215
options: backing-store YES, save-unders YES
largest cursor: 1024x768
current input event mask: 0x58003d
KeyPressMask ButtonPressMask
ButtonReleaseMask
EnterWindowMask LeaveWindowMask
SubstructureNotifyMask
SubstructureRedirectMask PropertyChangeMask
number of visuals: 1
default visual id: 0x22
visual:
visual id: 0x22
class: TrueColor
depth: 32 planes
available colormap entries: 2048 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
--
|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/
|
|
|
|
Re: X windows problem [message #15305 is a reply to message #15180] |
Sat, 01 May 1999 00:00  |
Harald von der Osten-
Messages: 15 Registered: February 1999
|
Junior Member |
|
|
Raffaele Pelosi wrote:
> I've problem with my operating system Linux. When I digit at prompt
> "insight" there is this message:
> % Restored file: INSIGHT.
> % Unsupported X Windows visual (class: StaticGray, depth: 0).
> Substituting default (class: <UndefinedVisual>, Depth: 0).
> % Execution halted at: INSIGHT
> % $MAIN$
> On my portable machine I've Linux SuSe 6.0
> How can I resolve this problem?
>
> Thanks
>
> Raffaele
Hallo Raffaele,
maybe I can help you. I received the same error messages several weeks
before. I fixed it by switching the X-Windows to 32 bpp.
You can do this using the SaX program in SuSE 6.0 (Yast -> X Windows
Configuration -> SaX -> graphics card). I am using also SuSE 6.0, my
graphics card is a 16 MB one.
Hope this helps.
Ciao, Harald
--
Harald von der Osten-Woldenburg
Geophysical Prospection of Archaeological Sites
Landesdenkmalamt Baden-Wuerttemberg
Silberburgstrasse 193
D-70178 Stuttgart
http://delos.lf.net/~hvdosten/index.html: Geomagnetics and Geoelectrics
http://www.region-lb.de/HomeSites/HvdOsten: Ground Penetrating Radar and
EMI
|
|
|
Re: X windows problem [message #15319 is a reply to message #15180] |
Fri, 30 April 1999 00:00  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
Raffaele Pelosi wrote:
> I've problem with my operating system Linux. When I digit at prompt
> "insight" there is this message:
> % Restored file: INSIGHT.
> % Unsupported X Windows visual (class: StaticGray, depth: 0).
> Substituting default (class: <UndefinedVisual>, Depth: 0).
> % Execution halted at: INSIGHT
> % $MAIN$
> On my portable machine I've Linux SuSe 6.0
> How can I resolve this problem?
The 8-bit and 24-bit visuals are safe for IDL to use (PseudoColor and
TrueColor).
% xdpyinfo
should tell you the default visual, and what visuals are available.
---
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
|
|
|