Bug 1206582 - IBM GXT6500P frame buffer device shows wrong colors (palette problem?)
Summary: IBM GXT6500P frame buffer device shows wrong colors (palette problem?)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-fbdev
Version: 21
Hardware: ppc64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-27 13:08 UTC by Timo Schoeler
Modified: 2015-12-02 17:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 10:36:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Comparison of colors of screenshot vs. photograph (196.38 KB, image/jpeg)
2015-03-27 13:08 UTC, Timo Schoeler
no flags Details
Screenshot (420.49 KB, image/png)
2015-03-27 13:09 UTC, Timo Schoeler
no flags Details
Photograph (188.96 KB, image/jpeg)
2015-03-27 13:09 UTC, Timo Schoeler
no flags Details

Description Timo Schoeler 2015-03-27 13:08:25 UTC
Created attachment 1007233 [details]
Comparison of colors of screenshot vs. photograph

Description of problem:

Running *any* GUI (not only MATE -- tested with GNOME 3 as well as WindowMaker, which is kind of my personal preference) the machine shows wrong colors. Seems like swapped colors/palette problem.

Version-Release number of selected component (if applicable):

mate-control-center-filesystem-1.8.3-1.fc21.ppc64
mate-polkit-1.8.0-3.fc21.ppc64
mate-panel-libs-1.8.1-3.fc21.ppc64
mate-themes-1.9.3-2.fc21.noarch
mate-desktop-libs-1.8.1-9.fc21.ppc64
mate-icon-theme-1.8.0-2.fc21.noarch
mate-menus-preferences-category-menu-1.8.0-5.fc21.ppc64
mate-menus-1.8.0-5.fc21.ppc64
libmatekbd-1.8.0-3.fc21.ppc64
libmateweather-data-1.8.0-3.fc21.noarch
mate-desktop-1.8.1-9.fc21.ppc64
mate-dictionary-1.8.1-2.fc21.ppc64
mate-media-1.8.0-4.fc21.ppc64
mate-system-log-1.8.1-2.fc21.ppc64
mate-backgrounds-1.8.0-2.fc21.noarch
mate-menus-libs-1.8.0-5.fc21.ppc64
mate-utils-common-1.8.1-2.fc21.noarch
mate-settings-daemon-1.8.2-3.fc21.ppc64
libmateweather-1.8.0-3.fc21.ppc64
mate-dialogs-1.8.0-4.fc21.ppc64
mate-session-manager-1.8.1-3.fc21.ppc64
imsettings-mate-1.6.8-2.fc21.ppc64
mate-panel-1.8.1-3.fc21.ppc64
mate-system-monitor-1.8.0-4.fc21.ppc64
mate-screenshot-1.8.1-2.fc21.ppc64
mate-notification-daemon-1.8.1-2.fc21.ppc64
mate-applets-1.8.1-2.fc21.ppc64
mate-search-tool-1.8.1-2.fc21.ppc64
mate-calc-1.8.0-3.fc21.ppc64
mate-control-center-1.8.3-1.fc21.ppc64
mate-power-manager-1.8.1-2.fc21.ppc64
mate-terminal-1.8.1-1.fc21.ppc64
mate-screensaver-1.8.1-1.fc21.ppc64
mate-disk-usage-analyzer-1.8.1-2.fc21.ppc64

---

WindowMaker-0.95.6-2.fc21.ppc64
WindowMaker-extra-0.1-5.fc21.noarch

How reproducible:

Start X, see b0rked colors.

Steps to Reproduce:

1. Pls see above.

Actual results:

Wrong colors.

Expected results:

Correct colors.

Additional info:

Please see attachments (screenshot and photographs of display).

Comment 1 Timo Schoeler 2015-03-27 13:09:28 UTC
Created attachment 1007234 [details]
Screenshot

Comment 2 Timo Schoeler 2015-03-27 13:09:53 UTC
Created attachment 1007235 [details]
Photograph

Comment 3 Timo Schoeler 2015-03-27 13:15:56 UTC
In the comparison one can clearly see that while in the original picture CERNs hardware is painted in blue (as the screenshot shows), it's being displayed to the user as bright red, which is the wrong color.

Comment 4 Timo Schoeler 2015-03-27 13:34:45 UTC
Interestingly, installing F21 from DVD using anaconda runs like a charm -- and the colors are correct. A friend having the same config just verified it.

AIX shows correct colors, so the graphics adaptor is okay.

Comment 5 Rex Dieter 2015-03-27 13:45:54 UTC
options to explain whats going on include:
1 monitor used requires color correction
2 video driver is getting colors wrong
3 something mate-specific somehow (but initial comment says it happens everywhere, but that's possibly refuted by comment #4

So, to help rule out 1/2, what 
* kind of video card/chipset and driver are you using?
* what brand/model of monitor?

for 3, what F21 DVD?  Fedora Workstation?  (gnome uses colord to use color profiles for output devices, but not sure if it requires configuration or 'just works')

Comment 6 Rex Dieter 2015-03-27 13:47:15 UTC
I guess you said "IBM GXT6500P frame buffer device" in Summary, not sure how that maps to which X driver is used though

Comment 7 Timo Schoeler 2015-03-27 14:00:07 UTC
Ad 1/2:

It happens running WMaker, GNOME 3, MATE... it's independent of the WM used.

From dmesg:

[    1.057871] fb0: IBM GXT6500P frame buffer device

lspci -vv:

0000:00:01.0 VGA compatible controller: IBM GXT6500P Graphics Adapter (rev 04) (prog-if 00 [VGA controller])
        Subsystem: IBM GXT6500P Graphics Adapter
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 74 (63750ns min, 63750ns max), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 305
        Region 0: Memory at 4007dfa0000 (32-bit, non-prefetchable) [size=128K]
        Region 1: Memory at 4007e000000 (32-bit, non-prefetchable) [size=32M]
        Expansion ROM at 4007dfc0000 [disabled] [size=256K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: gxt4500

Brand of monitor is a (quite old) Sun LSA 800, but it also happens with Philips 225P1ES.

Ad 3: pub/fedora-secondary/releases/21/Server/ppc64/iso/Fedora-Server-DVD-ppc64-21.iso

Then installed WMs using yum.

Comment 8 Timo Schoeler 2015-03-27 14:00:41 UTC
X log:

[tis@soyuz ~]$ cat Xorg.0.log 
[  6617.936] 
X.Org X Server 1.16.3
Release Date: 2014-12-20
[  6617.937] X Protocol Version 11, Revision 0
[  6617.937] Build Operating System:  3.14.5-200.fc20.ppc64p7 
[  6617.937] Current Operating System: Linux dozer.riscworks.net 3.18.7-200.fc21.ppc64 #1 SMP Sun Feb 15 04:04:17 UTC 2015 ppc64
[  6617.937] Kernel command line: BOOT_IMAGE=/vmlinuz-3.18.7-200.fc21.ppc64 root=/dev/mapper/fedora--server-root ro rd.lvm.lv=fedora-server/root rd.lvm.lv=fedora-server/swap rhgb quiet LANG=en_US.UTF-8
[  6617.938] Build Date: 01 February 2015  06:08:10PM
[  6617.938] Build ID: xorg-x11-server 1.16.3-2.fc21 
[  6617.938] Current version of pixman: 0.32.6
[  6617.938] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  6617.938] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6617.940] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 27 13:34:10 2015
[  6617.940] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  6617.941] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6617.941] (==) No Layout section.  Using the first Screen section.
[  6617.941] (==) No screen section available. Using defaults.
[  6617.941] (**) |-->Screen "Default Screen Section" (0)
[  6617.941] (**) |   |-->Monitor "<default monitor>"
[  6617.941] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  6617.941] (==) Automatically adding devices
[  6617.941] (==) Automatically enabling devices
[  6617.941] (==) Automatically adding GPU devices
[  6617.941] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[  6617.941] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  6617.941] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  6617.942] (II) Loader magic: 0x102b0008
[  6617.942] (II) Module ABI versions:
[  6617.942] 	X.Org ANSI C Emulation: 0.4
[  6617.942] 	X.Org Video Driver: 18.0
[  6617.942] 	X.Org XInput driver : 21.0
[  6617.942] 	X.Org Server Extension : 8.0
[  6617.949] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[  6617.978] (--) PCI:*(0:0:1:0) 1014:021b:1014:021b rev 4, Mem @ 0x4007dfa0000/131072, 0x4007e000000/33554432, BIOS @ 0x????????/262144
[  6617.978] (II) LoadModule: "glx"
[  6617.978] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  6617.985] (II) Module glx: vendor="X.Org Foundation"
[  6617.985] 	compiled for 1.16.3, module version = 1.0.0
[  6617.985] 	ABI class: X.Org Server Extension, version 8.0
[  6617.985] (==) AIGLX enabled
[  6617.985] (==) Matched modesetting as autoconfigured driver 0
[  6617.985] (==) Matched fbdev as autoconfigured driver 1
[  6617.985] (==) Assigned the driver to the xf86ConfigLayout
[  6617.985] (II) LoadModule: "modesetting"
[  6617.986] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  6617.986] (II) Module modesetting: vendor="X.Org Foundation"
[  6617.986] 	compiled for 1.16.0, module version = 0.9.0
[  6617.986] 	Module class: X.Org Video Driver
[  6617.986] 	ABI class: X.Org Video Driver, version 18.0
[  6617.986] (II) LoadModule: "fbdev"
[  6617.986] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[  6617.986] (II) Module fbdev: vendor="X.Org Foundation"
[  6617.986] 	compiled for 1.16.0, module version = 0.4.3
[  6617.986] 	Module class: X.Org Video Driver
[  6617.986] 	ABI class: X.Org Video Driver, version 18.0
[  6617.986] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  6617.986] (II) FBDEV: driver for framebuffer: fbdev
[  6617.986] (++) using VT number 1

[  6617.986] (EE) open /dev/dri/card0: No such file or directory
[  6617.987] (WW) Falling back to old probe method for modesetting
[  6617.987] (EE) open /dev/dri/card0: No such file or directory
[  6617.987] (II) Loading sub module "fbdevhw"
[  6617.987] (II) LoadModule: "fbdevhw"
[  6617.987] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[  6617.987] (II) Module fbdevhw: vendor="X.Org Foundation"
[  6617.987] 	compiled for 1.16.3, module version = 0.0.2
[  6617.987] 	ABI class: X.Org Video Driver, version 18.0
[  6617.987] (**) FBDEV(1): claimed PCI slot 0@0:1:0
[  6617.987] (II) FBDEV(1): using default device
[  6617.987] (EE) Screen 0 deleted because of no matching config section.
[  6617.987] (II) UnloadModule: "modesetting"
[  6617.987] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[  6617.987] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[  6617.987] (==) FBDEV(0): RGB weight 565
[  6617.987] (==) FBDEV(0): Default visual is TrueColor
[  6617.987] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  6617.987] (II) FBDEV(0): hardware: IBM GXT6500P (video memory: 32768kB)
[  6617.987] (II) FBDEV(0): checking modes against framebuffer device...
[  6617.987] (II) FBDEV(0): checking modes against monitor...
[  6617.987] (--) FBDEV(0): Virtual size is 1280x1024 (pitch 1280)
[  6617.987] (**) FBDEV(0):  Built-in mode "current": 107.3 MHz, 63.6 kHz, 59.6 Hz
[  6617.987] (II) FBDEV(0): Modeline "current"x0.0  107.33  1280 1328 1440 1688  1024 1025 1028 1066 -hsync -vsync -csync (63.6 kHz b)
[  6617.987] (==) FBDEV(0): DPI set to (96, 96)
[  6617.988] (II) Loading sub module "fb"
[  6617.988] (II) LoadModule: "fb"
[  6617.988] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  6617.988] (II) Module fb: vendor="X.Org Foundation"
[  6617.988] 	compiled for 1.16.3, module version = 1.0.0
[  6617.988] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  6617.988] (**) FBDEV(0): using shadow framebuffer
[  6617.988] (II) Loading sub module "shadow"
[  6617.988] (II) LoadModule: "shadow"
[  6617.988] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[  6617.989] (II) Module shadow: vendor="X.Org Foundation"
[  6617.989] 	compiled for 1.16.3, module version = 1.1.0
[  6617.989] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  6617.989] (==) FBDEV(0): Backing store enabled
[  6617.989] (==) FBDEV(0): DPMS enabled
[  6617.989] (==) RandR enabled
[  6618.008] (II) SELinux: Disabled by boolean
[  6618.011] (II) AIGLX: Screen 0 is not DRI2 capable
[  6618.011] (EE) AIGLX: reverting to software rendering
[  6618.026] (II) AIGLX: Loaded and initialized swrast
[  6618.026] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  6618.096] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event0)
[  6618.096] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[  6618.096] (II) LoadModule: "evdev"
[  6618.096] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6618.097] (II) Module evdev: vendor="X.Org Foundation"
[  6618.097] 	compiled for 1.16.0, module version = 2.9.0
[  6618.097] 	Module class: X.Org XInput Driver
[  6618.097] 	ABI class: X.Org XInput driver, version 21.0
[  6618.098] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 11 paused 0
[  6618.098] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[  6618.098] (**) Logitech USB Receiver: always reports core events
[  6618.098] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event0"
[  6618.098] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc50e
[  6618.098] (--) evdev: Logitech USB Receiver: Found 20 mouse buttons
[  6618.098] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[  6618.099] (--) evdev: Logitech USB Receiver: Found relative axes
[  6618.099] (--) evdev: Logitech USB Receiver: Found x and y relative axes
[  6618.099] (II) evdev: Logitech USB Receiver: Configuring as mouse
[  6618.099] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[  6618.099] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[  6618.099] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  6618.099] (**) Option "config_info" "udev:/sys/devices/pci0002:00/0002:00:02.3/0002:cc:01.0/usb2/2-1/2-1:1.0/0003:046D:C50E.0001/input/input0/event0"
[  6618.099] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 6)
[  6618.099] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[  6618.099] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[  6618.099] (**) Logitech USB Receiver: (accel) acceleration profile 0
[  6618.099] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[  6618.099] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[  6618.100] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[  6618.100] (II) No input driver specified, ignoring this device.
[  6618.100] (II) This device may have been added with another device file.
[  6618.101] (II) config/udev: Adding input device HID 046a:0023 (/dev/input/event1)
[  6618.101] (**) HID 046a:0023: Applying InputClass "evdev keyboard catchall"
[  6618.101] (**) HID 046a:0023: Applying InputClass "system-keyboard"
[  6618.102] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 12 paused 0
[  6618.102] (II) Using input driver 'evdev' for 'HID 046a:0023'
[  6618.102] (**) HID 046a:0023: always reports core events
[  6618.102] (**) evdev: HID 046a:0023: Device: "/dev/input/event1"
[  6618.102] (--) evdev: HID 046a:0023: Vendor 0x46a Product 0x23
[  6618.102] (--) evdev: HID 046a:0023: Found keys
[  6618.102] (II) evdev: HID 046a:0023: Configuring as keyboard
[  6618.102] (**) Option "config_info" "udev:/sys/devices/pci0002:00/0002:00:02.3/0002:cc:01.1/usb3/3-1/3-1:1.0/0003:046A:0023.0002/input/input1/event1"
[  6618.102] (II) XINPUT: Adding extended input device "HID 046a:0023" (type: KEYBOARD, id 7)
[  6618.102] (**) Option "xkb_rules" "evdev"
[  6618.102] (**) Option "xkb_model" "pc104"
[  6618.102] (**) Option "xkb_layout" "de"
[  6618.102] (**) Option "xkb_variant" "nodeadkeys"
[  6618.145] (II) config/udev: Adding input device HID 046a:0023 (/dev/input/event2)
[  6618.145] (**) HID 046a:0023: Applying InputClass "evdev keyboard catchall"
[  6618.145] (**) HID 046a:0023: Applying InputClass "system-keyboard"
[  6618.146] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 13 paused 0
[  6618.146] (II) Using input driver 'evdev' for 'HID 046a:0023'
[  6618.146] (**) HID 046a:0023: always reports core events
[  6618.146] (**) evdev: HID 046a:0023: Device: "/dev/input/event2"
[  6618.146] (--) evdev: HID 046a:0023: Vendor 0x46a Product 0x23
[  6618.146] (--) evdev: HID 046a:0023: Found 1 mouse buttons
[  6618.146] (--) evdev: HID 046a:0023: Found scroll wheel(s)
[  6618.146] (--) evdev: HID 046a:0023: Found relative axes
[  6618.146] (II) evdev: HID 046a:0023: Forcing relative x/y axes to exist.
[  6618.146] (--) evdev: HID 046a:0023: Found absolute axes
[  6618.146] (II) evdev: HID 046a:0023: Forcing absolute x/y axes to exist.
[  6618.146] (--) evdev: HID 046a:0023: Found keys
[  6618.146] (II) evdev: HID 046a:0023: Configuring as mouse
[  6618.146] (II) evdev: HID 046a:0023: Configuring as keyboard
[  6618.146] (II) evdev: HID 046a:0023: Adding scrollwheel support
[  6618.146] (**) evdev: HID 046a:0023: YAxisMapping: buttons 4 and 5
[  6618.146] (**) evdev: HID 046a:0023: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  6618.146] (**) Option "config_info" "udev:/sys/devices/pci0002:00/0002:00:02.3/0002:cc:01.1/usb3/3-1/3-1:1.1/0003:046A:0023.0003/input/input2/event2"
[  6618.146] (II) XINPUT: Adding extended input device "HID 046a:0023" (type: KEYBOARD, id 8)
[  6618.146] (**) Option "xkb_rules" "evdev"
[  6618.146] (**) Option "xkb_model" "pc104"
[  6618.146] (**) Option "xkb_layout" "de"
[  6618.146] (**) Option "xkb_variant" "nodeadkeys"
[  6618.147] (II) evdev: HID 046a:0023: initialized for relative axes.
[  6618.147] (WW) evdev: HID 046a:0023: ignoring absolute axes.
[  6618.147] (**) HID 046a:0023: (accel) keeping acceleration scheme 1
[  6618.147] (**) HID 046a:0023: (accel) acceleration profile 0
[  6618.147] (**) HID 046a:0023: (accel) acceleration factor: 2.000
[  6618.147] (**) HID 046a:0023: (accel) acceleration threshold: 4

Comment 9 Rex Dieter 2015-03-27 17:16:54 UTC
triaging to fbdev driver module

Comment 10 Fedora End Of Life 2015-11-04 12:54:14 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2015-12-02 10:36:14 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.