From: Brian J. <bjj...@us...> - 2001-07-09 14:01:07
|
On 6 Jul 2001 Christian Bauer wrote: > On Thu, Jul 05, 2001 at 02:29:08PM -0500, Brian Johnson wrote: > > Could BII be made to choose the visual with the lowest depth greater > > than or equal to the requested Mac screen depth? > > I've committed some code that tries to select an optimal visual for the > requested Mac color depth. However, I was only able to test it with X > servers that support exactly one depth so it is possible that some logic > in the code is wrong. I have tried it with the 8+24 overlay mode of my > Matrox card with XFree86 4.0.3 but that gives me a BadMatch error when > trying to open a 24-bit window, for no apparent reason. I see similar behavior on my SGI box, with a 24-bit default visual. I forget what my default Mac video settings are... probably 8 bit. B2 starts booting, but appears to try to change the video modes at some point, and dies with a BadMatch error: bjjsgi> ./BasiliskII Basilisk II V0.9 by Christian Bauer et al. Reading ROM file... WARNING: Cannot open /d3/floppy (No such file or directory) Using libaudio audio output Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 296 error_code 8 request_code 1 minor_code 0 A few months ago I tried hardcoding a non-default visual number, just to see if it worked, and I got the same result. Is there some special magic needed to use non-default visuals? Brian -------------------------------------------------------------------- Q: How many Microsoft programmers does it take to change a lightbulb? A: None. They don't bother. They simply change the standard to darkness. -- Shad Aumann |