Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Sat Feb 08 2003 - 18:21:20 EST
Dear Anusha, > I am working on solaris-8/E-250.when I say "magic" on the console it gives me > the following message.I dont know what it means.please let me know what can I > do. > > sunflower% magic > > Magic 7.2 - Compiled on Fri Feb 7 17:25:53 MST 2003. > Using PseudoColor, VisualID 0x22 depth 8 > display_styles must be 1 to 24 under X11 I tracked down the fundamental problem a while ago, but didn't get around to fixing it until yesterday. I have the fixed code and will post the source on Monday (Feb. 10). The problem was with the way magic determines which style and colormap files to load. Before I implemented "reloadable" tech files, magic read the tech file before determining the display depth, causing all sorts of strange workarounds in the source. By switching the order of loading files, I restored some sense to the process. However, I missed the fact that the code which determines the graphics visual (depth) was executed after a lot of other things (like reading the style file) which need to know the display depth. I moved that code up front to where the X11 display is opened, and now things appear to be working correctly in as many modes as I can test it on, including 8, 16, and 24 bit displays with X11 and OpenGL graphics. There are still problems with the off-screen rendering in the "wrapper" (-w) mode of the Tcl version, but these all seem to be faults of video card drivers. It seems to work right under most normal conditions, though. Regards, Tim
|
|