From: [RSU]The_Assassin|BuF <the...@zi...> - 2002-03-29 19:28:26
|
Okay, we all know by now it's a problem with visuals. I always run my X server with TrueColor visual, though when setting the debug define to 1, it said a DirectColor visual is available. (Don't have the exact output, but the D(bug(*)) said the vis variable in video_x.cpp was set to DirectColor) It seemed to happen exactly when Basilisk wanted to show the window, thus when it tried to write and discovered it isn't a DirectColor visual at all. (Below the "// Show window" comment in driver_xf86dga) What I was thinking is, AFAIK, the new DGA 2.0 extension, included in XF86 4.0 and up, allows (unlike the old 1.0 version) depth and visual switching. Maybe the X server returned that the DirectColor visual is available and can be switched to, unlike the code, which seems to assume the current visual is DirectColor. So maybe we just need it to support the new 2.0 dga extension and actually do the visual/depth switch instead of just resolution. Has anyone tried to run BII 0.9 on the old 3.x XFree86 servers? They don't have dga 2.0 it and might work on them. BTW, check the README.DGA in the xc/doc directory of the XFree86 source for information about dga 2.0. <~~~~~~~~~~~~~~~||~~~~~~~~~~~~~~~> Stan Kochen <The_Assassin> <--------------------------------> Beyondunreal.com Forums <BuF> http://www.beyondunreal.com <--------------------------------> ReSpawners United - Unreal Tournament clan <RSU> http://www.clanrsu.com/ <~~~~~~~~~~~~~~~||~~~~~~~~~~~~~~~> ________________________________________________ Don't E-Mail, ZipMail! http://www.zipmail.com/ |