Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-19-05, 11:43 PM   #1
mmarkev
Registered User
 
Join Date: Apr 2005
Posts: 5
Default Why pseudocolor overlays are only 5-bit deep (not 8-bit)?

Hi, I'm trying out nVidia Quadro FX 500 on a Sun Opteron machine running FC3 and Xorg, and have the latest nvidia driver v1.0.7174. According to the driver's README, this card supports options "CIOverlay" and "OverlayDefaultVisual", whose effect is to create pseudocolor (8-bit indexed color) visuals and make one of them the default, when X server is running in 24-bit mode. This is indeed what happens; 'xdpyinfo' reports a number of pseudocolor overlays like this one:

default visual id: 0x21
visual:
visual id: 0x21
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 5 bits

Note, however, it has 5 significant bits instead of 8. This corresponds to 32 colors, not 256 promised above. Indeed, our legacy program that needs this 8-bit pseudocolor visual to run, as well as a newer program that can be told to use this visual, come up with only 32 colors.

Is this a driver problem, or a hardware limitation for this particular nvidia card? If the latter, which Quadro FX cards would not have it?

I attach relevant pieces from xorg.conf and Xorg.log, and the resulting xdpyinfo printout. (I've also tried the option "Dac8Bit", hoping it would "free up" extra bits for pseudocolors, but no luck, it only affects truecolor visuals as advertised.)

Thanks in advance for any help.
Maxim


--------------------------------------------------------------------
xorg.conf:

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA Quadro FX (generic)"
Option "CIOverlay" "yes"
Option "OverlayDefaultVisual" "yes"
Option "Dac8Bit" "yes"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

--------------------------------------------------------------------
Xorg.0.log:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.4.21-27.EL x86_64 [ELF]
Current Operating System: Linux nag 2.6.11-1.14_FC3 #1 Thu Apr 7 19:25:50 EDT 2005 x86_64
Build Date: 24 March 2005
Build Host: crowe.devel.redhat.com

Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.11-1.14_FC3 (bhcompile@thor.perf.redhat.com) (gcc version 3.4.3 20050227 (Red Hat 3.4.3-22)) #1 Thu Apr 7 19:25:50 EDT 2005 P
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(--) PCI:*(9:0:0) nVidia Corporation NV34GL [Quadro FX 500] rev 161, Mem @ 0xe1000000/24, 0xf0000000/27

(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource

(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 0.0.2
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib64/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.7174
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX

(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib64/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.7174
Module class: XFree86 Video Driver

(II) NVIDIA dlloader X Driver 1.0-7174 Tue Mar 22 06:46:49 PST 2005
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 09:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[b](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[5] -1 0 0xe2002000 - 0xe2003fff (0x2000) MX[b]
[6] -1 0 0xe2000000 - 0xe2001fff (0x2000) MX[b]
[7] -1 0 0xe0501000 - 0xe0501fff (0x1000) MX[b]
[8] -1 0 0xe0500000 - 0xe0500fff (0x1000) MX[b]
[9] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[b]O
[10] -1 0 0xe0200000 - 0xe020ffff (0x10000) MX[b]
[11] -1 0 0xe0100000 - 0xe0103fff (0x4000) MX[b]
[12] -1 0 0xe0108000 - 0xe01087ff (0x800) MX[b]
[13] -1 0 0xe0108800 - 0xe01088ff (0x100) MX[b]
[14] -1 0 0xe0107000 - 0xe0107fff (0x1000) MX[b]
[15] -1 0 0xe0106000 - 0xe0106fff (0x1000) MX[b]
[16] -1 0 0xe0001000 - 0xe0001fff (0x1000) MX[b]
[17] -1 0 0xe0000000 - 0xe0000fff (0x1000) MX[b]
[18] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[b](B)
[19] -1 0 0xe1000000 - 0xe1ffffff (0x1000000) MX[b](B)
[20] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[21] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
[22] -1 0 0x00001400 - 0x0000143f (0x40) IX[b]
[23] -1 0 0x00001000 - 0x000010ff (0x100) IX[b]
[24] -1 0 0x00001440 - 0x0000145f (0x20) IX[b]
[25] -1 0 0x00001460 - 0x0000146f (0x10) IX[b]
[26] -1 0 0x00002800 - 0x000028ff (0x100) IX[b]
[27] -1 0 0x00002c00 - 0x00002cff (0x100) IX[b]
[28] -1 0 0x00002000 - 0x000020ff (0x100) IX[b]
[29] -1 0 0x00002400 - 0x000024ff (0x100) IX[b]
(II) resource ranges after probing:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[b](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[5] -1 0 0xe2002000 - 0xe2003fff (0x2000) MX[b]
[6] -1 0 0xe2000000 - 0xe2001fff (0x2000) MX[b]
[7] -1 0 0xe0501000 - 0xe0501fff (0x1000) MX[b]
[8] -1 0 0xe0500000 - 0xe0500fff (0x1000) MX[b]
[9] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[b]O
[10] -1 0 0xe0200000 - 0xe020ffff (0x10000) MX[b]
[11] -1 0 0xe0100000 - 0xe0103fff (0x4000) MX[b]
[12] -1 0 0xe0108000 - 0xe01087ff (0x800) MX[b]
[13] -1 0 0xe0108800 - 0xe01088ff (0x100) MX[b]
[14] -1 0 0xe0107000 - 0xe0107fff (0x1000) MX[b]
[15] -1 0 0xe0106000 - 0xe0106fff (0x1000) MX[b]
[16] -1 0 0xe0001000 - 0xe0001fff (0x1000) MX[b]
[17] -1 0 0xe0000000 - 0xe0000fff (0x1000) MX[b]
[18] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[b](B)
[19] -1 0 0xe1000000 - 0xe1ffffff (0x1000000) MX[b](B)
[20] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b]
[21] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b]
[22] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b]
[23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[24] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
[25] -1 0 0x00001400 - 0x0000143f (0x40) IX[b]
[26] -1 0 0x00001000 - 0x000010ff (0x100) IX[b]
[27] -1 0 0x00001440 - 0x0000145f (0x20) IX[b]
[28] -1 0 0x00001460 - 0x0000146f (0x10) IX[b]
[29] -1 0 0x00002800 - 0x000028ff (0x100) IX[b]
[30] -1 0 0x00002c00 - 0x00002cff (0x100) IX[b]
[31] -1 0 0x00002000 - 0x000020ff (0x100) IX[b]
[32] -1 0 0x00002400 - 0x000024ff (0x100) IX[b]
[33] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b]
[34] 0 0 0x000003c0 - 0x000003df (0x20) IS[b]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "Dac8Bit" "yes"
(**) NVIDIA(0): Option "CIOverlay" "yes"
(**) NVIDIA(0): Option "OverlayDefaultVisual" "yes"
(--) NVIDIA(0): Linear framebuffer at 0xF0000000
(--) NVIDIA(0): MMIO registers at 0xE1000000
(II) NVIDIA(0): NVIDIA GPU detected as: Quadro FX 500/FX 600
(--) NVIDIA(0): VideoBIOS: 04.34.20.22.10
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 8 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 400 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 400 MHz

(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): Enabling 8bit Color Index Overlays.
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
Symbol __glXgetActiveScreen from module /usr/X11R6/lib64/modules/extensions/libdri.a is unresolved!
Symbol __glXgetActiveScreen from module /usr/X11R6/lib64/modules/extensions/libdri.a is unresolved!
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX

(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: ps2EnableDataReporting: succeeded
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): Enabling 8bit Color Index Overlays.
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(==) RandR enabled
(II) Initializing extension GLX
(II) Mouse0: ps2EnableDataReporting: succeeded
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): Enabling 8bit Color Index Overlays.
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(==) RandR enabled
(II) Initializing extension GLX

--------------------------------------------------------------------
xdpyinfo output:

name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 60802000
X.Org version: 6.8.2
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0xe00026, revert to Parent
number of extensions: 33
BIG-REQUESTS
DAMAGE
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
NV-CONTROL
NV-GLX
NV-GLX
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
XVideo-MotionCompensation
default screen number: 0
number of screens: 1

screen #0:
dimensions: 1280x1024 pixels (361x292 millimeters)
resolution: 90x89 dots per inch
depths (7): 8, 24, 1, 4, 15, 16, 32
root window id: 0xdd
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 1
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xd8003d
KeyPressMask ButtonPressMask ButtonReleaseMask
EnterWindowMask LeaveWindowMask SubstructureNotifyMask
SubstructureRedirectMask PropertyChangeMask ColormapChangeMask
number of visuals: 54
default visual id: 0x21
visual:
visual id: 0x21
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 5 bits
visual:
visual id: 0x22
class: GrayScale
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 5 bits
visual:
[... several more similar pseudocolor visuals]
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
[many more truecolor and directcolor visuals follow]
mmarkev is offline   Reply With Quote
Old 04-25-05, 10:15 PM   #2
mmarkev
Registered User
 
Join Date: Apr 2005
Posts: 5
Default Re: Why pseudocolor overlays are only 5-bit deep (not 8-bit)?

To follow up, I've asked a guy with a high-end Quadro FX 4400 card (kevin4 - thanks) to try the "CIOverlay" driver option. He got the same 5-bit pseudocolor overlays (instead of the advertised 8-bit) as I get on the low-end Quadro FX 500 (see my previous post). Both tests are with nvidia Linux driver 1.0.7174 under Xorg 6.8.[12].

So this must be a driver bug - can somebody from Nvidia please comment? (I've sent a bug report to linux-bugs but didn't get any response.)

Maxim
mmarkev is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saturday Crapshoot: Star Trek: Deep Space Nine News Archived News Items 0 05-19-12 11:20 AM

All times are GMT -5. The time now is 06:53 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.