Strange Colours in AIX

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, helmut, xnview

john

Strange Colours in AIX

Post by john »

Hi, i was wondering if you could point me to the cause of the problem. I have been running xnview for years fine. Lately, every image is very greeny/yellowy. I am running on a PowerPC AIX server with AIX 5.1 with the XnView v1.68 and libformat v4.16 -- it does not have a graphics card. I get to the server either with cygwin and ssh tunnel from a windows laptop or Xwindows on the same laptop running linux -- both show the yellowy images.

The images appear fine if i use either firefox or xanim to display them.

Here is the output from lslpp -L |grep -i motif
# lslpp -L |grep -i motif
X11.adt.motif 5.1.0.0 C F AIXwindows Application
Development Toolkit Motif
X11.compat.adt.Motif12 5.1.0.50 C F AIXwindows Motif 1.2
X11.motif.lib 5.1.0.62 C F AIXwindows Motif Libraries
X11.motif.mwm 5.1.0.37 C F AIXwindows Motif Window
X11.msg.en_US.motif.lib 5.1.0.0 C F AIXwindows Motif Libraries
X11.msg.en_US.motif.mwm 5.1.0.0 C F AIXwindows Motif Window Mgr
#

Here is the output from xwininfo from the xnview image below
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.

xwininfo: Window id: 0x1000001 "XAnim: a.jpg"

Absolute upper-left X: 410
Absolute upper-left Y: 32
Relative upper-left X: 410
Relative upper-left Y: 32
Width: 356
Height: 496
Depth: 24
Visual Class: TrueColor
Border width: 1
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +410+32 -256+32 -256-238 +410-238
-geometry 356x496+410+32

#

here is the output from xwininfo from the xanim image
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.

xwininfo: Window id: 0x1000001 "XAnim: a.jpg"

Absolute upper-left X: 410
Absolute upper-left Y: 32
Relative upper-left X: 410
Relative upper-left Y: 32
Width: 356
Height: 496
Depth: 24
Visual Class: TrueColor
Border width: 1
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +410+32 -256+32 -256-238 +410-238
-geometry 356x496+410+32

#
here is xdpyinfo
name of display: 192.168.1.103:0.0
version number: 11.0
vendor string: The Cygwin/X Project
vendor release number: 60802000
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 0xa00009, revert to PointerRoot
number of extensions: 24
BIG-REQUESTS
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
Extended-Visual-Information
GLX
LBX
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XInputExtension
XKEYBOARD
XTEST
default screen number: 0
number of screens: 1

screen #0:
dimensions: 1024x768 pixels (347x260 millimeters)
resolution: 75x75 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x3a
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 32x32
current input event mask: 0x4a0004
ButtonPressMask StructureNotifyMask SubstructureNotifyMask
PropertyChangeMask
number of visuals: 4
default visual id: 0x22
visual:
visual id: 0x22
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: 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: 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: 0x25
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

i have reinstalled xnview and deleted the xnviewrc file

are there any other commands you want me to run or have you got any suggestions to correct this

thx in advance, john[/img]