hmmm... from
http://cgit.freedesktop.org/xorg/xse...e9646d51364467
(thanks Matthew Allum)
we get...
me@dev ~/GIT/xserver/hw/xfree86/common $
nano xf86cmap.c
Quote:
case GrayScale:
for (i = 0; i < defs; i++) {
index = indices[i];
entry = (EntryPtr) & pmap->red[index];
if (entry->fShared) {
colors[index].red =
gamma[entry->co.shco.red->color >> shift].red;
colors[index].green =
gamma[entry->co.shco.green->color >> shift].green;
colors[index].blue =
gamma[entry->co.shco.blue->color >> shift].blue;
}
else {
colors[index].red = gamma[entry->co.local.red >> shift].red;
colors[index].green =
gamma[entry->co.local.green >> shift].green;
colors[index].blue = gamma[entry->co.local.blue >> shift].blue;
}
}
break;
|
but...
[root@kindle /]# what
Kindle 5!
[root@kindle /]#
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen
800x600 -cc 4 -grayscale -dpi 135 -nolisten tcp
Quote:
Backtrace:
Segmentation fault at address (nil)
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
|
doh! would have been nice to have a working example of colormap adjustment.
Reading around we are not alone...
http://readlist.com/lists/lists.free...g/3/17779.html (that was 5 years ago)
I will try this on my local machine and see if it is related to color depth perhaps...? nope... read on: