30bit colordepth



Hi,

I have been trying to get GTK/Gnome to work on card capable of doing 30bit colordepth (10 bit per rgb) on a 32bit FB, unfortunately results have been disapointing. I did manage to get all qt/kde apps working without any tweaking.

After looking through the archives at http://marc.theaimsgroup.com and then looking a bit in the code, i found a reference in gdkvisuals-x11.c that it hardcodes possible depths in gint possible_depths[7]. I added to the list my value of 30 and disabled xft using export GDK_USE_XFT=0, i was then able to start gnome but all the fonts come out wrong or are missing completely and most pixmaps used for buttons are missing.

Unfortunately i have pretty much exhausted the time i could use to take a look at this, what i would like to know is how hard would it be to get this working correctly? What files need tweaking to set some way of setting gtk/gnome to respect either 8 or 10 bits per RGB?

--
btouchet <btouchet matrox com>

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]