https://bugs.kde.org/show_bug.cgi?id=362600

            Bug ID: 362600
           Summary: Incorrect hue values of the colours displayed by Krita
                    (splashscreen/interface/canvas) while using mesa
           Product: krita
           Version: 3.0 Beta
          Platform: Ubuntu Packages
               URL: http://imgur.com/iiBSNOT
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: strawbe...@fejm.pl

What is the problem: 
When using the most recent mesa drivers (Mesa 11.3.0-devel) the hue values of
the colours displayed by Krita, including the overview window and the splash
screen, seem to have been swapped. The whites/black/grays are not affected. The
way the canvas is affected depends on whether or not the OpenGL is turned on. 

Canvas behaviour with OpenGL turned on: 
- when an existing image is opened, the colours are displayed correctly, but
the overview window has their hue value swapped. The colour selector tool
displays the opposite colour from the one on the canvas (but if one attempts to
paint with the chosen colour, it is actually the right one; i.e. you pick a
blue colour, the selector tool seems to have picked a reddish colour, but if
you draw a line, it is in fact blue). 
- if you pick colours via the colour selector dockers, you end up painting with
a colour opposite in hue from the intended one.
Screenshot: 
http://imgur.com/RAKiVs5

Canvas behaviour with OpenGL turned off:
- when an existing image is opened, the colors are "swapped". Everything else
happens exactly the same as when OpenGL is turned on.
Screenshots: 
http://imgur.com/HhTBvTN
http://imgur.com/rjcpAIm

Is OCIO enabled: no, enabling/disabling doesn't affect the issue in any way.

Krita versions affected: only the appimage alpha/beta releases. The most recent
stable release (2.9.11) displays colours correctly. 

Is any other software affected?:  No, as far as I can tell. Tested:
GIMP/Pixeluvo/MyPaint/Inkscape/Karbon/etc..

Reproducible: Always

Steps to Reproduce:
1. Fresh install.
2. Install drivers from either the Oibaf or Padoka repository.
3. Start Krita (an appimage version).

Executing ppa-purge restores the colours to normal.

Actual Results:  
The hue values of colours displayed is the opposite from the correct one.

Expected Results:  
Correctly display colours.

System specs:
CPU: Pentium G2030
GPU: AMD HD 7770
RAM: 8GB
System: Xubuntu 15.10
Kernel: 4.5.0-040500-generic
Drivers: open source
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE (DRM 2.43.0, LLVM 3.9.0)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 11.3.0-devel
(padoka PPA)

The issue started occuring roughly at the time when the drivers in the Oibaf
and Padoka repositories started shipping Mesa 11.3.0-devel. It is present both
when using the drivers from the Oibaf repository and the Padoka repository.
Sadly, I don't have enough time to compile mesa from git to check for issues
there.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to