長南です。ちょっと「おまけ」です。
angel さんのメールより [vine-users:077182]
>
> 未だに色深度を調べられていませんが、(24bitのような気もします)
xdpyinfo の 出力の depths とか depth というところを見ればよいのでは
ありませんか。
$ xdpyinfo | less
---- (省略) ----
screen #0:
dimensions: 1280x1024 pixels (339x271 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x63
depth of root window: 24 planes
---- (省略) ----
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
---- (省略) ----
depth と bits/pixel については、NVIDIA のドライバーをインストール
したら、/usr/share/doc/NVIDIA_GLX-1.0/README.txt にこんなことが
書いてありました。
19A. DEPTH, BITS PER PIXEL, AND PITCH
While not directly a concern when programming modes, the bits
used per pixel is an issue when considering the maximum programmable
resolution; for this reason, it is worthwhile to address the
confusion surrounding the terms "depth" and "bits per pixel".
Depth is how many bits of data are stored per pixel. Supported
depths are 8, 15, 16, and 24. Most video hardware, however,
stores pixel data in sizes of 8, 16, or 32 bits; this is the amount
of memory allocated per pixel. When you specify your depth, X selects
the bits per pixel(bpp) size in which to store the data.
わたしには、イマイチよくわかりませんけれど。
--
長南洋一