comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » X windows problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: X windows problem [message #15280 is a reply to message #15180] Tue, 04 May 1999 00:00 Go to previous messageGo to previous message
Martin Schultz is currently offline  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/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: playing sound files
Next Topic: Experimental FAQ

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:29:50 PDT 2025

Total time taken to generate the page: 2.00799 seconds