set root/default visual ID

Alex Deucher alexdeucher at gmail.com
Thu Jan 4 14:47:12 PST 2007


On 1/4/07, Jacob Lambrecht <omegaxavier at yahoo.com> wrote:
> I have an ATI Rage 128 Pro and I am trying to set the root visual ID to be double duffered (0x27). The default right now is 0x23. How can I force the root window to use 0x27?
>
> In the man page for xorg.conf I found the "Visual" option that I can put in the display section. However it seems to only support "TrueColor" or "DirectColor" and I am unable to specify an exact visual ID (I tried "0x27").
>
> Any help would be greatly appreciated.
>

I had a patch a while back to default the r128 driver to double
buffered visuals.  It's pretty trivial, just reverse the order the
visuals are filled in in r128_dri.c
change:
         for (db = 0; db <= R128_USE_DB; db++) {
to:
         for (db = R128_USE_DB; db >= 0; db--) {

Alex

> Thanks!
> Jacob
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>



More information about the xorg mailing list