This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cannot load past splash screen (W10, OPENGL_FAILED)

Tags: None
(comma "," separated)
billybombill
Registered Member
Posts
1
Karma
0
A bit of an odd issue here. Whenever I run Krita, the splash screen appears, and it gets to "Loading Main Window" and just disappears. No process ever shows up visibly nor in task manager, and the log file doesn't appear to have any real errors per-se. Below is the output of DebugView and the log file, as well as kritadisplayrc, which offers the only hint with "OPENGL_FAILED", which is a bit puzzling as to why it's failing before the application even properly starts.

I have read of issues with HP Printer drivers, which may be a possibility? Though that is usually once within Krita and I doubt it would prevent it from starting altogether. Will likely be reinstalling windows as I purchased a new SSD, but I figured it could be interesting to try and figure out what the cause of this is before I do that :)

Version: 4.2.5 (Have tried an older 4.0.2 as well)
  • Have attempted reinstalling
  • Have cleared all krita configuration files in appdata/etc
  • Tried updating Nvidia drivers to latest

DebugView Output
Code: Select all
[7772] Set style "fusion"
[7772] QObject::startTimer: Timers cannot have negative intervals
[7772] krita.general: Warning: some tiles have leaked:
[7772] krita.general:  Tiles in memory: 4
[7772]   Total tiles: 4
[7772] QWaitCondition: Destroyed while threads are still waiting


kritadisplayrc
Code: Select all
[General]
canvasState=OPENGL_FAILED


krita.log
Code: Select all
OpenGL Info
 
  Vendor:  "NVIDIA Corporation"
  Renderer:  "GeForce GTX 1080/PCIe/SSE2"
  Version:  "4.6.0 NVIDIA 431.60"
  Shading language:  "4.60 NVIDIA"
  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 4.6, 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::sRGBColorSpace, profile  QSurfaceFormat::CompatibilityProfile)
     Version: 4.6
     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: 11 Aug 2019 20:34:32 -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: true

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

11 Aug 2019 20:34:37 -0700: Closing.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Well, it's pretty clear that Krita fails to initialize opengl, which means something is extremely wonky on your system. Krita probes opengl/angle on startup to figure out what the capabilities of your system are. Since an older version also fails, I would suggest to remove all krita related files from appdata/local and appdata/roaming, and try again. Even on very wonky systems, Krita 4.2.5 should be able to switch to software rendering or the CPU canvas, but it might be confused because of settings left over by older versions.

Maybe also check the health of your system with the dxdiag utility.

Oh, and try to generate a crash log if the problem persists: https://docs.krita.org/en/reference_man ... ml#dr-minw
kpozin
Registered Member
Posts
3
Karma
0
Were you ever able to find a workaround for this? I'm seeing the same symptoms on Win10 with Nvidia NVS 5400M / Intel 4000 graphics.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Have you tried the latest nightly builds?
kpozin
Registered Member
Posts
3
Karma
0
Yes, the most recent one I tried was nightly-x64-v4.2.9-beta1-10-gfe7ce0e592 (as well as several release builds in the 4.x range).
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Then I'm sorry, but I just don't know what might be the issue. The problem is, none of the Windows machines I (or other Krita developers) have shows an issue like this :-( If even setting OpenGLRenderer=none in the kritadisplayrc file doesn't work, we're stuck :-(
kpozin
Registered Member
Posts
3
Karma
0
kpozin wrote:Were you ever able to find a workaround for this? I'm seeing the same symptoms on Win10 with Nvidia NVS 5400M / Intel 4000 graphics.


I'm not sure what has changed -- either an incremental Windows 10 update or something in Krita between 4.2.9 and 4.4.1 -- but I tried again and this issue has been resolved for me as of the latest release. I am now able to launch Krita on the machine described above. Thanks!

(Of course, I don't know if the OP has also observed the change.)


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]