> > Message: 1 > Date: Wed, 13 Oct 2021 09:32:20 +0200 > From: F?lix Hauri > To: xorg@lists.x.org > Subject: Video 62 shade of grey, 3x 6bits: 18bits > Message-ID: > Content-Type: text/plain; charset=utf-8 > > Dears, > > Working on an industrial PC, I've restaured a strange 18bits LCD display > G121XN01 V.0 (without touch panel.) > > https://www.panelook.com/G121XN01%20V0_AUO_12.1_LCM_parameter_831.html > > They are able to display 262K colors ( 6-bit Red, 6-bit Green, 6-bit Blue ) > > I've found an DVI+VGA driver for this screen, trying to make them working > on a raspberry-pi, unfortunely, I don't know how to start Xorg with this > kind of 18bit depth mode. > > In the worst case, I could imagine creating a modified 256 color map, based > on standard 8bit web color map, but if I found a way of using 262K ``real'' > colors, this will be better! > > Regards! > > -- > Felix Hauri - - http://www.f-hauri.ch >
Wouldn't this be as simple as setting DefaultDepth 18 in xinitrc? Best way to do this is copy the system xinitrc (or whatever it's a symbolic link to) to ~/.xinitrc and do any experimenting from there. If that doesn't work, for whatever reason X might need multiples of 8 bits, I don't actually know, but DefaultDepth 16 should work