View Single Post
Old 11-18-2012, 11:59 PM   #135
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
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:

Last edited by twobob; 11-19-2012 at 12:16 AM.
twobob is offline   Reply With Quote