#528395 w3m-img: distorted colors

Package:
w3m-img
Source:
w3m
Description:
inline image extension support utilities for w3m
Submitter:
Jakub Wilk
Date:
2011-11-21 20:18:08 UTC
Severity:
minor
#528395#5
Date:
2009-05-12 16:46:51 UTC
From:
To:
w3m shows images with totally distorted colors on my framebuffer device.
The code seems to assume that DIRECTCOLOR is equivalent to TRUECOLOR,
but they are quite different. See Documentation/fb/internals.txt for
details.

$ fbset -i

mode "1280x1024-75"
     # D: 135.007 MHz, H: 79.981 kHz, V: 75.029 Hz
     geometry 1280 1024 1280 6441 32
     timings 7407 248 16 38 1 144 3
     hsync high
     vsync high
     accel true
     rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
     Name        : NV3d
     Address     : 0xd0000000
     Size        : 33554432
     Type        : PACKED PIXELS
     Visual      : DIRECTCOLOR
     XPanStep    : 8
     YPanStep    : 1
     YWrapStep   : 0
     LineLength  : 5120
     MMIO Address: 0xe2000000
     MMIO Size   : 16777216
     Accelerator : nVidia Arch 40