Bug 415712 - GUI Load-Failure Upon Opening (Most of the time)
Summary: GUI Load-Failure Upon Opening (Most of the time)
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 4.2.7.1
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-30 17:38 UTC by SeanBanksBliss
Modified: 2020-01-14 13:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Failure To Open GUI -- screenshot (265.14 KB, image/jpeg)
2019-12-30 17:38 UTC, SeanBanksBliss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SeanBanksBliss 2019-12-30 17:38:24 UTC
Created attachment 124790 [details]
Failure To Open GUI -- screenshot

SUMMARY
Krita used to open fine with no problems, one day it started failing to load the interface at the proper resolution. For a while, I was able to get it to open after 2 or 3 tries. These days I give up each time I open it because it always seems to fail to load now. 

STEPS TO REPRODUCE
1. Open the Krita Program
2. Observe Failure to Load
3. Close Krita

OBSERVED RESULT
Cannot see GUI in a usable fashion.

EXPECTED RESULT
Can see GUI in a usable fashion.

OpenGL Info
 
  Vendor:  "Intel" 
  Renderer:  "Intel(R) HD Graphics 620" 
  Version:  "3.0.0 - Build 21.20.16.4550" 
  Shading language:  "1.30 - Build 21.20.16.4550" 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
     Version: 3.0
     Supports deprecated functions true 
     is OpenGL ES: false 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: false 
== log ==
 Supported renderers: QFlags(0x2|0x4|0x8) 
Surface format preference list: 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    2 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    4 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 16, greenBufferSize 16, blueBufferSize 16, alphaBufferSize 16, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::scRGBColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    2 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 10, greenBufferSize 10, blueBufferSize 10, alphaBufferSize 2, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::bt2020PQColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    2 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 16, greenBufferSize 16, blueBufferSize 16, alphaBufferSize 16, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::scRGBColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    4 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 10, greenBufferSize 10, blueBufferSize 10, alphaBufferSize 2, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::bt2020PQColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    4 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    8 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 16, greenBufferSize 16, blueBufferSize 16, alphaBufferSize 16, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::scRGBColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    8 
* QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 10, greenBufferSize 10, blueBufferSize 10, alphaBufferSize 2, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::bt2020PQColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    8 
Probing format... QSurfaceFormat::DefaultColorSpace 2 
Found format: QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
    2 
 
== end log == 
================================================================================
SESSION: 19 Sep 2019 22:32:48 +0700. Executing C:\Program Files\Krita (x64)\bin\krita.exe

WARNING: This file contains information about your system and the
images you have been working with.

If you have problems with Krita, the Krita developers might ask
you to share this file with them. The information in this file is
not shared automatically with the Krita developers in any way. You
can disable logging to this file in Krita's Configure Krita Dialog.

Please review the contents of this file before sharing this file with
anyone.

Krita

 Version: 4.2.5
 Languages: en_US
 Hidpi: false

Qt

  Version (compiled): 5.12.4
  Version (loaded): 5.12.4

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.17134
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10


Hardware Information

  GPU Acceleration: auto
  Memory: 16267 Mb
  Number of Cores: 4
  

  Product Type: windows
  Product Version: 10


Hardware Information

  GPU Acceleration: auto
  Memory: 16267 Mb
  Number of Cores: 4
Comment 1 Tiar 2019-12-30 17:50:22 UTC
Try to reset your configuration: https://docs.krita.org/en/KritaFAQ.html#resetting-krita-configuration - make sure to remove kritadisplayrc file as well.
Comment 2 Bug Janitor Service 2020-01-14 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 SeanBanksBliss 2020-01-14 08:44:48 UTC
Unfortunately that did not work. Krita is still unusable after deleting Local/kritarc and Local/kritadisplayrc. 
When it opens the work space is limited to the upper left corner of the window.
Comment 4 Halla Rempt 2020-01-14 09:14:47 UTC
* Did you get an OS or GPU driver updated around the time this started happening?

* Please update to a current version of Krita, we're at 4.2.8 now. 

* Try to disable canvas acceleration or switch to opengl or angle, depending on what is selected in Settings->Configure Krita->Display. Best try all three options...

* Also, check whether your GPU drivers are up to date. From the screenshot, this looks like a driver bug, I'm afraid.

* Check whether running Krita as another user "fixes" the issue

* Check whether selecting a different scaling setting in Windows 10's display settings make a difference.
Comment 5 SeanBanksBliss 2020-01-14 09:53:05 UTC
* Did you get an OS or GPU driver updated around the time this started happening? I AM NOT AWARE OF ANY DRIVER UPDATES.

* Please update to a current version of Krita, we're at 4.2.8 now. UPDATE TO 4.2.8 COMPLETE. THE PROBLEM PERSISTS.

* Try to disable canvas acceleration or switch to opengl or angle, depending on what is selected in Settings->Configure Krita->Display. Best try all three options... TRIED THAT SOME MONTHS AGO.

* Also, check whether your GPU drivers are up to date. From the screenshot, this looks like a driver bug, I'm afraid. 

YES, THEY ARE UP TO DATE. 

* Check whether running Krita as another user "fixes" the issue. 

YES! I CREATED A SECOND USER ACCOUNT AND KRITA IS WORKING ON THE SECOND ACCOUNT. THE DISPLAY SCALE WAS DIFFERENT ON THE DESKTOP AND IN KRITA. 

* Check whether selecting a different scaling setting in Windows 10's display settings. 

YES! IT WORKS. I HAD TO SCALE DOWN FROM 250% TO 200% AND NOW KRITA IS WORKING. IT'S A SLIGHT ANNOYANCE TO HAVE TO SWITCH BETWEEN THE TWO EACH TIME I WANT TO OPEN AN IMAGE, BUT IT'S WORKABLE (OR MAYBE i CAN TRAIN MYSELF TO GET USED TO TINY TEXT AT 200% ZOOM).
Comment 6 Halla Rempt 2020-01-14 09:55:29 UTC
Hm, I can test that -- check whether on my test system, there's weirdness too, if scaling is > 200%. Since it's the entire window, including buttons, that gets scaled weird, that would probably be a bug in Qt -- our development framework. Maybe when we can update to Qt 5.14, that'll "automatically" fix the issue. I'm going to reboot to Windows...
Comment 7 Halla Rempt 2020-01-14 09:58:48 UTC
Okay, I checked, but my Windows laptop only goes to 225% which didn't give any problems...
Comment 8 SeanBanksBliss 2020-01-14 10:32:58 UTC
I've got a 4K laptop screen which at the time it was purchased was a relatively new thing. Krita is not the first program to display in very tiny dimensions on it. Many programs are somehow not adapted to proper display with it but instead have micro icons and impossibly small interface options.
Comment 9 SeanBanksBliss 2020-01-14 10:34:35 UTC
The weird thing was krita had been working intermittently with the 250%, so something must have changed on one of my settings somewhere.
Comment 10 Halla Rempt 2020-01-14 10:37:05 UTC
I'm not sure the Qt people test with > 200%, even though the possibility is noted in the developer documentation.
Comment 11 Halla Rempt 2020-01-14 13:08:49 UTC
I'm setting this to upstream now, there isn't anything we can do except hope that in a newer version of Qt this won't happen anymore.