16 a 8 bpp dohromady
Hanus Adler
had na pdas.cz
Pondělí Březen 2 18:27:02 CET 1998
Dobry den,
Mam pustena X s hloubkou 16, potreboval bych v nich pustit program,
ktery umi jen 8. Bohuzel to nejde. Zkusil jsem tedy pustit cely novy X
Server, ve kterem bych pak pustil ten program. No a vysledek je stejny:
: joker ~>Xnest -depth 8 :1
:
: Fatal server error:
: Uable to find desird default visual.
Muzete mi nekdo poradit? Pritom mohu pustit X -bpp 16 i X -bpp 8, jenze
ne oboji najednou.
Prikladam vypis z xdpyinfo a (podle me relevantni) cast XF86Configu.
Verze je podle rpm: XFree86-3.1.2-11.
: name of display: :0.0
: version number: 11.0
: vendor string: The XFree86 Project, Inc
: vendor release number: 3120
: maximum request size: 262140 bytes
: motion buffer size: 0
: bitmap unit, bit order, padding: 32, LSBFirst, 32
: image byte order: LSBFirst
: number of supported pixmap formats: 2
: supported pixmap formats:
: depth 1, bits_per_pixel 1, scanline_pad 32
: depth 16, bits_per_pixel 16, scanline_pad 32
: keycode range: minimum 8, maximum 134
: focus: window 0x3c0000d, revert to Parent
: number of extensions: 12
: LBX
: MIT-SCREEN-SAVER
: MIT-SHM
: MIT-SUNDRY-NONSTANDARD
: Multi-Buffering
: SHAPE
: SYNC
: X3D-PEX
: XC-MISC
: XFree86-VidModeExtension
: XIE
: XTEST
: default screen number: 0
: number of screens: 1
:
: screen #0:
: dimensions: 1024x768 pixels (347x260 millimeters)
: resolution: 75x75 dots per inch
: depths (1): 16
: root window id: 0x26
: depth of root window: 16 planes
: number of colormaps: minimum 1, maximum 1
: default colormap: 0x21
: default number of colormap cells: 64
: preallocated pixels: black 0, white 65535
: options: backing-store YES, save-unders YES
: largest cursor: 64x64
: current input event mask: 0x58003d
: KeyPressMask ButtonPressMask ButtonReleaseMask
: EnterWindowMask LeaveWindowMask SubstructureNotifyMask
: SubstructureRedirectMask PropertyChangeMask
: number of visuals: 1
: default visual id: 0x20
: visual:
: visual id: 0x20
: class: TrueColor
: depth: 16 planes
: available colormap entries: 64 per subfield
: red, green, blue masks: 0xf800, 0x7e0, 0x1f
: significant bits in color specification: 6 bits
XF86Config:
: Section "Screen"
: Driver "accel"
: Device "My Video Card"
: Monitor "Custom"
: Subsection "Display"
: Depth 16
: Modes "1024x768"
: ViewPort 0 0
: Virtual 1024 768
: EndSubsection
: Subsection "Display"
: Depth 8
: Modes "1024x768"
: ViewPort 0 0
: Virtual 1024 768
: EndSubsection
: EndSection
Dekuji a omlouvam se za delku mailu.
S pozdravem,
Hanus Adler
--
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
-- Dave Parnas
Další informace o konferenci Linux