| Summary: | Red and blue inverted when using ANGLE under Parallels (OS X) | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | nestorantonio.zam |
| Component: | OpenGL Canvas | Assignee: | Alvin Wong <alvin> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | minor | CC: | alvin, halla |
| Priority: | NOR | ||
| Version First Reported In: | 3.3.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Example image
attachment-22566-0.html attachment-22846-0.html attachment-15272-0.html attachment-28117-0.html attachment-20451-0.html attachment-7775-0.html |
||
Interesting, doesn't Parallels utilize a virtual machine to run Windows? It could be a bug with Parallels's Direct3D 10/11 driver. Can you provide the output from "Help"->"Show system information for bug reports" when using ANGLE? Created attachment 108251 [details] attachment-22566-0.html Hello Alvin, sure. This is the output: ------------ Krita Version: 3.3.0 OS Information Build ABI: x86_64-little_endian-llp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: winnt Kernel Version: 6.1.7601 Pretty Productname: Windows 7 SP 1 (6.1) Product Type: windows Product Version: 7sp1 OpenGL Info Vendor: Google Inc. Renderer: "ANGLE (Parallels Display Adapter (WDDM) Direct3D11 vs_4_1 ps_4_1)" Version: "OpenGL ES 3.0 (ANGLE 2.1.0.8613f4946861)" Shading language: OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.8613f4946861) Requested format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Current format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) Version: 3.0 Supports deprecated functions false is OpenGL ES: true QPA OpenGL Detection Info supportsDesktopGL: true supportsAngleD3D11: true isQtPreferAngle: false overridePreferAngle: false == log == createPlatformOpenGLContext QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) Basic wglCreateContext gives version 2.0 OpenGL 2.0 entry points available GPU features: QSet() supportedRenderers GpuDescription(vendorId=0x1ab8, deviceId=0x4005, subSysId=0x4001ab8, revision=0, driver: "prl_umdd.dll", version=8.15.10.32581, "Parallels Display Adapter (WDDM)") renderer: QFlags(0x1|0x2|0x4|0x8|0x20) Qt: Using WGL and OpenGL from "opengl32.dll" create OpenGL: "Parallels and Intel Inc.","Parallels using Intel Iris OpenGL Engine" default ContextFormat: v2.1 profile: QSurfaceFormat::OpenGLContextProfile(NoProfile) options: QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions),SampleBuffers Extensions: 105 QWindowsGLContext 0x2cb9890 GDI requested: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) obtained # 8 GDI QSurfaceFormat(version 2.1, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) PIXELFORMATDESCRIPTOR dwFlags=0x8425 PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 iLayerType=0 dwVisibleMask=65535 cAlphaBits=8 cAlphaShift=24 cAccumBits=64 cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16 swap interval: 1 default: ContextFormat: v2.1 profile: QSurfaceFormat::OpenGLContextProfile(NoProfile) options: QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions) HGLRC= 0x30000 createPlatformOpenGLContext QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) QWindowsGLContext 0x2cb9930 GDI requested: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) obtained # 8 GDI QSurfaceFormat(version 2.1, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) PIXELFORMATDESCRIPTOR dwFlags=0x8425 PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 iLayerType=0 dwVisibleMask=65535 cAlphaBits=8 cAlphaShift=24 cAccumBits=64 cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16 swap interval: 1 default: ContextFormat: v2.1 profile: QSurfaceFormat::OpenGLContextProfile(NoProfile) options: QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions) HGLRC= 0x10001 == end log == -------- On Mon, Oct 9, 2017 at 11:38 AM, Alvin Wong <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=385519 > > Alvin Wong <alvinhochun@gmail.com> changed: > > What |Removed |Added > ------------------------------------------------------------ > ---------------- > CC| |alvinhochun@gmail.com > > --- Comment #1 from Alvin Wong <alvinhochun@gmail.com> --- > Interesting, doesn't Parallels utilize a virtual machine to run Windows? It > could be a bug with Parallels's Direct3D 10/11 driver. > > Can you provide the output from "Help"->"Show system information for bug > reports" when using ANGLE? > > -- > You are receiving this mail because: > You reported the bug. > Created attachment 108252 [details] attachment-22846-0.html You're right, it could be a problem caused by parallels graphic driver. Let me know if you need more information, or if there's something I could help you with. On Mon, Oct 9, 2017 at 1:16 PM, Nestor Antonio Zambrano < nestorantonio.zam@gmail.com> wrote: > > Hello Alvin, sure. > This is the output: > > ------------ > > Krita > Version: 3.3.0 > > OS Information > Build ABI: x86_64-little_endian-llp64 > Build CPU: x86_64 > CPU: x86_64 > Kernel Type: winnt > Kernel Version: 6.1.7601 > Pretty Productname: Windows 7 SP 1 (6.1) > Product Type: windows > Product Version: 7sp1 > > OpenGL Info > Vendor: Google Inc. > Renderer: "ANGLE (Parallels Display Adapter (WDDM) Direct3D11 vs_4_1 > ps_4_1)" > Version: "OpenGL ES 3.0 (ANGLE 2.1.0.8613f4946861)" > Shading language: OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.8613f4946861) > Requested format: QSurfaceFormat(version 3.0, options > QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize > -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile > QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) > Current format: QSurfaceFormat(version 3.0, options > QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize > 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, > stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), > swapInterval 0, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) > Version: 3.0 > Supports deprecated functions false > is OpenGL ES: true > > QPA OpenGL Detection Info > supportsDesktopGL: true > supportsAngleD3D11: true > isQtPreferAngle: false > overridePreferAngle: false > == log == > createPlatformOpenGLContext QSurfaceFormat(version 3.0, options > QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize > -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile > QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) > Basic wglCreateContext gives version 2.0 > OpenGL 2.0 entry points available > GPU features: QSet() > supportedRenderers GpuDescription(vendorId=0x1ab8, deviceId=0x4005, > subSysId=0x4001ab8, revision=0, driver: "prl_umdd.dll", > version=8.15.10.32581, "Parallels Display Adapter (WDDM)") renderer: > QFlags(0x1|0x2|0x4|0x8|0x20) > Qt: Using WGL and OpenGL from "opengl32.dll" > create OpenGL: "Parallels and Intel Inc.","Parallels using Intel Iris > OpenGL Engine" default ContextFormat: v2.1 profile: QSurfaceFormat:: > OpenGLContextProfile(NoProfile) options: QFlags<QSurfaceFormat:: > FormatOption>(DeprecatedFunctions),SampleBuffers > Extensions: 105 > QWindowsGLContext 0x2cb9890 GDI requested: QSurfaceFormat(version 3.0, > options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize > -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile > QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) > obtained # 8 GDI QSurfaceFormat(version 2.1, options > QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, > alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile > QSurfaceFormat::OpenGLContextProfile(NoProfile)) > PIXELFORMATDESCRIPTOR dwFlags=0x8425 PFD_DRAW_TO_WINDOW > PFD_SUPPORT_OPENGL PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 > cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 > cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 iLayerType=0 > dwVisibleMask=65535 cAlphaBits=8 cAlphaShift=24 cAccumBits=64 > cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16 > swap interval: 1 > default: ContextFormat: v2.1 profile: QSurfaceFormat:: > OpenGLContextProfile(NoProfile) options: QFlags<QSurfaceFormat:: > FormatOption>(DeprecatedFunctions) > HGLRC= 0x30000 > createPlatformOpenGLContext QSurfaceFormat(version 3.0, options > QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize > -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile > QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) > QWindowsGLContext 0x2cb9930 GDI requested: QSurfaceFormat(version 3.0, > options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize > -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 0, profile > QSurfaceFormat::OpenGLContextProfile(CompatibilityProfile)) > obtained # 8 GDI QSurfaceFormat(version 2.1, options > QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), > depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, > alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior > QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile > QSurfaceFormat::OpenGLContextProfile(NoProfile)) > PIXELFORMATDESCRIPTOR dwFlags=0x8425 PFD_DRAW_TO_WINDOW > PFD_SUPPORT_OPENGL PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 > cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 > cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 iLayerType=0 > dwVisibleMask=65535 cAlphaBits=8 cAlphaShift=24 cAccumBits=64 > cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16 > swap interval: 1 > default: ContextFormat: v2.1 profile: QSurfaceFormat:: > OpenGLContextProfile(NoProfile) options: QFlags<QSurfaceFormat:: > FormatOption>(DeprecatedFunctions) > HGLRC= 0x10001 > == end log == > > -------- > > On Mon, Oct 9, 2017 at 11:38 AM, Alvin Wong <bugzilla_noreply@kde.org> > wrote: > >> https://bugs.kde.org/show_bug.cgi?id=385519 >> >> Alvin Wong <alvinhochun@gmail.com> changed: >> >> What |Removed |Added >> ------------------------------------------------------------ >> ---------------- >> CC| |alvinhochun@gmail.com >> >> --- Comment #1 from Alvin Wong <alvinhochun@gmail.com> --- >> Interesting, doesn't Parallels utilize a virtual machine to run Windows? >> It >> could be a bug with Parallels's Direct3D 10/11 driver. >> >> Can you provide the output from "Help"->"Show system information for bug >> reports" when using ANGLE? >> >> -- >> You are receiving this mail because: >> You reported the bug. >> > > The info does point towards the Parallels D3D driver, but I'm not certain. It could also be an issue with the version of ANGLE that Qt 5.9.1 uses. (And unlikely but still possible that I might've missed something when I wrote the code...) Theoretically I can compile a test program to get a bit more data and report a bug to upstream, but I don't have the energy for that now. There is another report of this issue, but I haven't got any info on their system, could be the same case. Created attachment 108270 [details] attachment-15272-0.html Yes, Boudewijn told me on the forum about the other report. Don't worry, in the meanwhile I'm using OpenGL. It could be a fix for another release. On Mon, Oct 9, 2017 at 1:58 PM, Alvin Wong <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=385519 > > --- Comment #4 from Alvin Wong <alvinhochun@gmail.com> --- > The info does point towards the Parallels D3D driver, but I'm not certain. > It > could also be an issue with the version of ANGLE that Qt 5.9.1 uses. (And > unlikely but still possible that I might've missed something when I wrote > the > code...) Theoretically I can compile a test program to get a bit more data > and > report a bug to upstream, but I don't have the energy for that now. > > There is another report of this issue, but I haven't got any info on their > system, could be the same case. > > -- > You are receiving this mail because: > You reported the bug. > Created attachment 108558 [details] attachment-28117-0.html Hello Alvin, lately I've been using krita on a Windows machine. It uses an integrated intel graphic card: Intel HD Graphics HD Graphics 4000. It desn't show the same problem, so it could something related especificaly to the Intel Iris graphic card that my Mac use. On Oct 10, 2017 8:54 PM, "Nestor Antonio Zambrano" < nestorantonio.zam@gmail.com> wrote: > Yes, Boudewijn told me on the forum about the other report. Don't worry, > in the meanwhile I'm using OpenGL. It could be a fix for another release. > > > On Mon, Oct 9, 2017 at 1:58 PM, Alvin Wong <bugzilla_noreply@kde.org> > wrote: > >> https://bugs.kde.org/show_bug.cgi?id=385519 >> >> --- Comment #4 from Alvin Wong <alvinhochun@gmail.com> --- >> The info does point towards the Parallels D3D driver, but I'm not >> certain. It >> could also be an issue with the version of ANGLE that Qt 5.9.1 uses. (And >> unlikely but still possible that I might've missed something when I wrote >> the >> code...) Theoretically I can compile a test program to get a bit more >> data and >> report a bug to upstream, but I don't have the energy for that now. >> >> There is another report of this issue, but I haven't got any info on their >> system, could be the same case. >> >> -- >> You are receiving this mail because: >> You reported the bug. >> > > Will you be able to dual boot Windows on your mac (not using Parallels) to test it? Otherwise I think the chance of it being specifically related to Intel Iris is pretty low. Created attachment 108566 [details] attachment-20451-0.html You're right, though at this moment it would be difficult for me to do a dual boot because I'm running out of HD memory. After I tested Krita on the Windows machine I realized that it also uses an Intel integrated graphic card, so I made the test. We would have to wait if the other report coincides with the specs of the mac then. On Oct 25, 2017 11:47 AM, "Alvin Wong" <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=385519 > > --- Comment #7 from Alvin Wong <alvinhochun@gmail.com> --- > Will you be able to dual boot Windows on your mac (not using Parallels) to > test > it? Otherwise I think the chance of it being specifically related to Intel > Iris > is pretty low. > > -- > You are receiving this mail because: > You reported the bug. Created attachment 108927 [details] attachment-7775-0.html Hello Alvin, how are you? Were you able to obtain new information on the other report? To tell you little bit more about my situation the main reason I been low on HD memory is because before using Parallels I tried in fact to do a dual boot with Windows using Bootcamp, an assistant that comes with the Mac that makes the process easier. However during the installation, when it was making the new partition, an error came up resulting on a dead space on my hard drive that I can't use anymore. That's why I haven't dared much to install a new OS natively on the Mac since then, and went for Parallels instead. Otherwise I would do it gladly, as a Krita user I'm very thankful with the work that the whole dev team has been doing on the software. Right now I'm using OpenGL without problems, but still if there is something I can help you with let me know. On Wed, Oct 25, 2017 at 7:18 PM, Nestor Antonio Zambrano < nestorantonio.zam@gmail.com> wrote: > You're right, though at this moment it would be difficult for me to do a > dual boot because I'm running out of HD memory. After I tested Krita on the > Windows machine I realized that it also uses an Intel integrated graphic > card, so I made the test. We would have to wait if the other report > coincides with the specs of the mac then. > > On Oct 25, 2017 11:47 AM, "Alvin Wong" <bugzilla_noreply@kde.org> wrote: > >> https://bugs.kde.org/show_bug.cgi?id=385519 >> >> --- Comment #7 from Alvin Wong <alvinhochun@gmail.com> --- >> Will you be able to dual boot Windows on your mac (not using Parallels) >> to test >> it? Otherwise I think the chance of it being specifically related to >> Intel Iris >> is pretty low. >> >> -- >> You are receiving this mail because: >> You reported the bug. > > (In reply to nestorantonio.zam from comment #9) > > Hello Alvin, how are you? Were you able to obtain new information on the > other report? To tell you little bit more about my situation the main > reason I been low on HD memory is because before using Parallels I tried in > fact to do a dual boot with Windows using Bootcamp, an assistant that comes > with the Mac that makes the process easier. However during the > installation, when it was making the new partition, an error came up > resulting on a dead space on my hard drive that I can't use anymore. That's > why I haven't dared much to install a new OS natively on the Mac since > then, and went for Parallels instead. Otherwise I would do it gladly, as a > Krita user I'm very thankful with the work that the whole dev team has been > doing on the software. > > Right now I'm using OpenGL without problems, but still if there is > something I can help you with let me know. Sorry, I haven't touched it tbh because I see this as very low priority. It's only observed with your Parallels system, which like you said it does work fine with OpenGL, and it doesn't use ANGLE by default. Unless there happens to be another user with this issue and not on Parallels, I don't see myself doing anything on this anytime soon. I'll leave this opened as a reminder. I'd say that this is an upstream bug. Please report it to parallels. |
Created attachment 108242 [details] Example image Hello guys, I realized that when I change Krita's renderer form Open GL to Angle, the color interpretation is different. For example if I choose a red color on the selector, at the moment I paint it turns blue, and viceversa. I´m using Windows 7 Ultimate 64bit, on a Mac Book Pro Late 2013(through Parallels): Processor 2.8 GHz Intel Core i5 Memory 8 GB 1600 MHz DDR3 Graphics Intel Iris 1536 MB