I have a legacy application that is run from a UNIX host computer that does not function properly if executed with color depths greater than 8 bits. When I try to run Xorg in the form of Xorg :0 +bs -wm -retro -depth 8 -fbbpp 8, all I end up with is grayscale, no color at all.<div>
<br></div><div>Hardware is a Dell Optiplex 390 with integrated Intel HD graphics card. I have also tried using an ATI X300 graphics card to see if it was an intel/driver issue, but both performed in the same manner.</div>
<div><br></div><div>I have tried using different visuals in the xorg.conf screen section--PseudoColor, TrueColor, DirectColor, and StaticColor, all with the same result.</div><div><br></div><div>I have tried setting a number of video card options to see if this works, such as Dac6Bit and Dac8Bit.</div>
<div><br></div><div>I have tried this with both CentOS 6.0 and Fedora 15, both 64 bit distributions. I did try using Xephyr, the nested X-server, and while this did address the color depth issue, it created a new problem in the backing store not working, leading to "holes" in the display when a menu was opened.</div>
<div><br></div><div>If I could either get Xorg to operate the way I want or the Backing Store to work with Xephyr, I would be satisfied. I am going to try a 32 bit version of Fedora to see if it makes a difference as well.</div>
<div><br></div><div>Thanks in advance for any assistance or insights.</div><div><br></div><div>Some information that might prove helpful:</div><div>-----------------------------------------------------------------------</div>
<div>Output of uname -a</div><div>-----------------------------------------------------------------------</div><div>Linux xterm1 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux</div>
<div><div><br></div><div>-----------------------------------------------------------------------</div><div>Output of Xorg -version:</div><div>-----------------------------------------------------------------------</div><div>
<div>X.Org X Server 1.7.7</div><div>Release Date: 2010-05-04</div><div>X Protocol Version 11, Revision 0</div><div>Build Operating System: c6b3 2.6.32-44.2.el6.x86_64</div><div>Current Operating System: Linux xterm1 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64</div>
<div>Kernel command line: ro root=/dev/mapper/vg_xterm1-lv_root rd_LVM_LV=vg_xterm1/lv_root rd_LVM_LV=vg_xterm1/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=128M rhgb quiet</div>
<div>Build Date: 12 November 2010 07:08:30AM</div><div>Build ID: xorg-x11-server 1.7.7-26.el6</div><div>Current version of pixman: 0.16.6</div><div> Before reporting problems, check <a href="https://www.redhat.com/apps/support/">https://www.redhat.com/apps/support/</a></div>
<div> to make sure that you have the latest version.</div></div></div><div><br></div><div>------------------------------------------------------------------------</div><div>Output of xdpyinfo:</div><div>------------------------------------------------------------------------</div>
<div><div>name of display: :0.0</div><div>version number: 11.0</div><div>vendor string: Red Hat, Inc.</div><div>vendor release number: 10707000</div><div>maximum request size: 16777212 bytes</div><div>motion buffer size: 256</div>
<div>bitmap unit, bit order, padding: 32, LSBFirst, 32</div><div>image byte order: LSBFirst</div><div>number of supported pixmap formats: 7</div><div>supported pixmap formats:</div><div> depth 1, bits_per_pixel 1, scanline_pad 32</div>
<div> depth 4, bits_per_pixel 8, scanline_pad 32</div><div> depth 8, bits_per_pixel 8, scanline_pad 32</div><div> depth 15, bits_per_pixel 16, scanline_pad 32</div><div> depth 16, bits_per_pixel 16, scanline_pad 32</div>
<div> depth 24, bits_per_pixel 32, scanline_pad 32</div><div> depth 32, bits_per_pixel 32, scanline_pad 32</div><div>keycode range: minimum 8, maximum 255</div><div>focus: window 0x2600004, revert to Parent</div>
<div>number of extensions: 26</div><div> BIG-REQUESTS</div><div> Composite</div><div> DAMAGE</div><div> DOUBLE-BUFFER</div><div> DPMS</div><div> DRI2</div><div> GLX</div><div> Generic Event Extension</div>
<div> MIT-SCREEN-SAVER</div><div> MIT-SHM</div><div> RANDR</div><div> RECORD</div><div> RENDER</div><div> SGI-GLX</div><div> SHAPE</div><div> SYNC</div><div> X-Resource</div><div> XC-MISC</div>
<div> XFIXES</div><div> XFree86-DGA</div><div> XFree86-VidModeExtension</div><div> XINERAMA</div><div> XInputExtension</div><div> XKEYBOARD</div><div> XTEST</div><div> XVideo</div><div>default screen number: 0</div>
<div>number of screens: 1</div></div><div><div>screen #0:</div><div> dimensions: 1280x1024 pixels (338x270 millimeters)</div><div> resolution: 96x96 dots per inch</div><div> depths (7): 24, 1, 4, 8, 15, 16, 32</div>
<div> root window id: 0x10b</div><div> depth of root window: 24 planes</div><div> number of colormaps: minimum 1, maximum 1</div><div> default colormap: 0x20</div><div> default number of colormap cells: 256</div>
<div> preallocated pixels: black 0, white 16777215</div><div> options: backing-store YES, save-unders NO</div><div> largest cursor: 64x64</div><div> current input event mask: 0xfa8033</div><div> KeyPressMask KeyReleaseMask EnterWindowMask</div>
<div> LeaveWindowMask ExposureMask StructureNotifyMask</div><div> SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask</div><div> PropertyChangeMask ColormapChangeMask</div>
<div> number of visuals: 64</div></div><div>(Note: I am running in 24 bit color mode right now)</div><div><br></div><div>-------------------------------------------------------------------</div><div>Contents of /etc/X11/xorg.conf:</div>
<div>-------------------------------------------------------------------</div><div><div>Section "ServerLayout"</div><div> Identifier "X.org Configured"</div><div> Screen 0 "Screen0" 0 0</div>
<div> InputDevice "Mouse0" "CorePointer"</div><div> InputDevice "Keyboard0" "CoreKeyboard"</div><div>EndSection</div><div><br></div><div>Section "Files"</div>
<div> ModulePath "/usr/lib64/xorg/modules"</div><div> FontPath "catalogue:/etc/X11/fontpath.d"</div><div> FontPath "built-ins"</div><div> FontPath "tcp/<a href="http://192.168.1.56:7000">192.168.1.56:7000</a>"</div>
<div>EndSection</div><div><br></div><div>Section "Module"</div><div> Load "dri2"</div><div> Load "dri"</div><div> Load "dbe"</div><div> Load "extmod"</div>
<div> Load "glx"</div><div> Load "record"</div><div>EndSection</div><div><br></div><div>Section "InputDevice"</div><div> Identifier "Keyboard0"</div><div> Driver "kbd"</div>
<div>EndSection</div><div><br></div><div>Section "InputDevice"</div><div> Identifier "Mouse0"</div><div> Driver "mouse"</div><div> Option "Protocol" "auto"</div>
<div> Option "Device" "/dev/input/mice"</div><div> Option "ZAxisMapping" "4 5 6 7"</div><div>EndSection</div><div><br></div><div>Section "Monitor"</div>
<div> #DisplaySize 410 310 # mm</div><div> Identifier "Monitor0"</div><div> VendorName "NEC"</div><div> ModelName "LCD2080UX+"</div><div> HorizSync 30.0 - 96.0</div>
<div> VertRefresh 48.0 - 87.0</div><div> Option "DPMS"</div><div>EndSection</div></div><div><br></div><div><div>Section "Device"</div><div> Option "BackingStore" "true"</div>
<div> Identifier "Card0"</div><div> Driver "radeon"</div><div> VendorName "ATI Technologies Inc"</div><div> BoardName "RV370 5B60 [Radeon X300 (PCIE)]"</div>
<div> BusID "PCI:1:0:0"</div><div>EndSection</div></div><div><br></div><div><div>Section "Screen"</div><div> Identifier "Screen0"</div><div> Device "Card0"</div>
<div> Monitor "Monitor0"</div><div># DefaultDepth 8</div><div> SubSection "Display"</div><div> Viewport 0 0</div><div> Depth 1</div><div> Modes "1280x1024" "1024x768" "800x600" "640x480"</div>
<div> EndSubSection</div><div> SubSection "Display"</div><div> Viewport 0 0</div><div> Depth 4</div><div> Modes "1280x1024" "1024x768" "800x600" "640x480"</div>
<div> EndSubSection</div><div> SubSection "Display"</div><div> Viewport 0 0</div><div> Depth 8</div><div> Visual "StaticColor"</div><div>
Modes "1280x1024" "1024x768" "800x600" "640x480"</div><div> EndSubSection</div><div> SubSection "Display"</div><div> Viewport 0 0</div>
<div> Depth 15</div><div> Modes "1280x1024" "1024x768" "800x600" "640x480"</div><div> EndSubSection</div><div> SubSection "Display"</div>
<div> Viewport 0 0</div><div> Depth 16</div><div> Modes "1280x1024" "1024x768" "800x600" "640x480"</div><div> EndSubSection</div>
<div> SubSection "Display"</div><div> Viewport 0 0</div><div> Depth 24</div><div> Modes "1280x1024" "1024x768" "800x600" "640x480"</div>
<div> EndSubSection</div><div>EndSection</div></div><div><br></div><div><br></div>