Summary: | OpenGL crash on systems with OpenGL 2.1 | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tanner H <tannerhelland> |
Component: | OpenGL Canvas | Assignee: | Alvin Wong <alvin> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alvin, halla, wolf-eyes08 |
Priority: | NOR | ||
Version: | 3.2.0-beta.2 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/krita/6ddc51090990c7e270540d83f9e7a129132f4ccf | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | kritacrash.log |
Weird... Since there's no difference in our opengl code between 3.1 and 3.2... Does this still happen when you disable opengl? Have had any recent updates for your windows display driver? Can you tell us which display chip you have, and the version of the driver? Please go to the help menu, select system information and paste the information from the dialog. Hi Boudewijn. Thank you for following-up. On 3.2 RC, if I disable OpenGL, the crash disappears. Just to confirm, I downloaded Krita 3.1.4 portable this morning onto this same PC. Even with OpenGL enabled, there is no crash. File > New and File > Open/Open Recent work flawlessly in 3.1.4, with or without OpenGL enabled. As you can see from my System Info report (below), this PC is 6-7 years old and using its original integrated Intel display chip. Windows lists the driver date as November 2012, and if you want, I can try and find an updated version to download. (I didn't want to touch the driver yet, in case you needed details from this PC "as is"). Here is the full System Info report: OS Information Build ABI: x86_64-little_endian-llp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: winnt Kernel Version: 10.0.15063 Pretty Productname: Windows 10 Product Type: windows Product Version: 10 OpenGL Info Vendor: Intel Renderer: Intel(R) HD Graphics Version: 2.1.0 - Build 8.15.10.2900 Shading language: 1.20 - Intel Build 8.15.10.2900 Version: 2.1 Supports deprecated functions: true Hm... That definitely needs updating, but why it should crash... Could you also check whether the 4.0 pre-alpha crashes before updating the driver? I guess that the display chip is an HD3000? Just tried 4.0 pre-alpha (krita-x64-cbd6726-appveyor-0.1.1.216) and yes, it also crashes when OpenGL is enabled. Disabling OpenGL solves the crash. (Also, I doubt it's helpful, but changing the scaling mode and/or texture buffer settings makes no difference.) I am not sure the exact name of the Intel HD chip. The Intel control panel lists it as "Intel HD Graphics (Core i5)". GPU-Z links it to this page: https://www.techpowerup.com/gpudb/2028/hd-graphics In case it's useful, here is the backtrace for the 4.0 pre-alpha crash: Error occurred on Wednesday, August 16, 2017 at 09:04:02. krita.exe caused an Access Violation at location 00007FF93F4DD28E in module libkritaui.dll Reading from location 0000000000000110. AddrPC Params 00007FF93F4DD28E 00000000163A47D0 000000B2000000F2 0000000002B21FF0 libkritaui.dll!KisOpenGLCanvas2::renderCanvasGL 00007FF93F4DD421 00000000005F8C30 0000000068A159B9 00000000188429A0 libkritaui.dll!KisOpenGLCanvas2::paintGL 0000000000D37E8D 0000000008B4AB28 00007FF93F5A4533 00000000188429A0 Qt5Widgets.dll!QOpenGLWidget::resizeEvent 0000000000D1DB9E 00000000005FFB90 0000000000000000 00000000005FFB90 Qt5Widgets.dll!QWidget::event 0000000000CDA33C 00000000155B6E00 0000000017E08D10 00000000005F8B00 Qt5Widgets.dll!QApplicationPrivate::notify_helper 0000000000CDF6A0 0000000000000000 00000000163A47D0 0000000000000000 Qt5Widgets.dll!QApplication::notify 00007FF93F5F77A6 0000000000000001 0000000000CDF6A0 00000000155B6E00 libkritaui.dll!KisApplication::notify 0000000068A0E312 0000000000000000 0000000000000001 0000000000000001 Qt5Core.dll!QCoreApplication::notifyInternal2 0000000000D15DD6 0000000061977540 0000000000D126D5 0000000002B51760 Qt5Widgets.dll!QWidgetPrivate::sendPendingMoveAndResizeEvents 0000000000D19E22 0000000017E08D10 0000000000000000 0000000000000001 Qt5Widgets.dll!QWidgetPrivate::show_helper 0000000000D19D2A 0000000017E08D10 0000000000D11AD3 00000000005F8D20 Qt5Widgets.dll!QWidgetPrivate::showChildren 0000000000D19E3F 0000000100000000 0000000000000001 0000000017E08D10 Qt5Widgets.dll!QWidgetPrivate::show_helper 0000000000D1D342 00000000162F6020 0000000000000000 0000000000000001 Qt5Widgets.dll!QWidget::setVisible 0000000000D19D87 00000000162F6020 0000000000D11AD3 00000000005F8EC0 Qt5Widgets.dll!QWidgetPrivate::showChildren 0000000000D19E3F 0000000000000000 0000000000000001 00000000162F6020 Qt5Widgets.dll!QWidgetPrivate::show_helper 0000000000D1D342 0000000000000000 0000000000000018 0000000000000018 Qt5Widgets.dll!QWidget::setVisible 0000000000D19D87 00000000165ACC00 0000000000000000 0000000000000000 Qt5Widgets.dll!QWidgetPrivate::showChildren 0000000000D19E3F 0000000000000000 0000000000000001 00000000165ACC00 Qt5Widgets.dll!QWidgetPrivate::show_helper 0000000000D1D342 0000000000000000 0000000000000018 0000000000000018 Qt5Widgets.dll!QWidget::setVisible 0000000000D19D87 0000000000000018 0000000000000000 0000000000000000 Qt5Widgets.dll!QWidgetPrivate::showChildren 0000000000D19E3F 0000000000000000 0000000000000000 0000000008CA3680 Qt5Widgets.dll!QWidgetPrivate::show_helper 0000000000D1D342 0000000068B42200 00007FF97214AF7E 0000000068B42200 Qt5Widgets.dll!QWidget::setVisible 0000000000E39990 0000000002B21FF0 0000000068A159B9 0000000002B51760 Qt5Widgets.dll!QMdiSubWindow::changeEvent 0000000000D1D65A 0000000018840420 000000001883FBB0 0000000018840450 Qt5Widgets.dll!QWidget::event 0000000000E3A2B2 00000000005FFB90 0000000000000000 00000000005FFB90 Qt5Widgets.dll!QMdiSubWindow::event 0000000000CDA33C 00000000155B6E00 00000000188231C0 00000000005F9880 Qt5Widgets.dll!QApplicationPrivate::notify_helper 0000000000CDF6A0 00000000005F972F 0000000018773460 0000000000000000 Qt5Widgets.dll!QApplication::notify 00007FF93F5F77A6 00000000157B8700 00000000005F9880 00000000005F97DF libkritaui.dll!KisApplication::notify 0000000068A0E312 0000000068CED240 0000000000000000 000000000004004B Qt5Core.dll!QCoreApplication::notifyInternal2 0000000000D19424 000000001883FBB0 000000001883FBB0 000000001883FBB0 Qt5Widgets.dll!QWidget::setWindowState 0000000000D19BD3 00000000157B8640 0000000000E30C0E 0000000068B42200 Qt5Widgets.dll!QWidget::showMaximized 0000000000E3A07E 00000000155B6E00 000000006889DE9B 0000000017C864F0 Qt5Widgets.dll!QMdiSubWindow::eventFilter 0000000068A0E0DD 00000000005FFB90 0000000000000000 00000000005FFB90 Qt5Core.dll!QCoreApplicationPrivate::sendThroughObjectEventFilters 0000000000CDA315 00000000155B6E00 00000000155B7000 00000000005F9DD0 Qt5Widgets.dll!QApplicationPrivate::notify_helper 0000000000CDF6A0 0000000068A2EC40 00000000165ACC00 0000000000000000 Qt5Widgets.dll!QApplication::notify 00007FF93F5F77A6 00000000005F9DB0 000000000104D612 0000000068B42200 libkritaui.dll!KisApplication::notify 0000000068A0E312 0000000018836810 0000000008CA3680 00000000187BA980 Qt5Core.dll!QCoreApplication::notifyInternal2 0000000000D19424 00000000165ACC00 00000000005F9EB0 00000000005F9EC0 Qt5Widgets.dll!QWidget::setWindowState 0000000000D19BD3 00000000163A47D0 0000000002F10FC0 0000000002F11040 Qt5Widgets.dll!QWidget::showMaximized 00007FF93F622276 00000000694BBF50 00000000165ACB40 00000000005FA130 libkritaui.dll!KisMainWindow::showView 00007FF93F61E808 00007FF93FA3C010 000000001565F790 0000000068D3F650 libkritaui.dll!KisMainWindow::addView 00007FF93F61E902 0000000000000040 0000000000000028 0000000000000008 libkritaui.dll!KisMainWindow::addViewAndNotifyLoadingCompleted 00007FF93F61F476 0000000000000FFF 0000000000000013 00000000005FA110 libkritaui.dll!KisMainWindow::slotLoadCompleted 00007FF93F62F082 00007FF9701233F0 0000000000000013 0000000016674868 libkritaui.dll!KisMainWindow::qt_static_metacall 0000000068A2E3FA 000000001659AFB0 00000000005FA1D0 0000000017C89120 Qt5Core.dll!QMetaObject::activate 00007FF93F605339 000000001658E640 000000001659AFC0 000000010000000A libkritaui.dll!KisDocument::openUrlInternal 00007FF93F60558D 00000000163FF1F0 00000000689B8F06 0000000000000000 libkritaui.dll!KisDocument::openUrl 00007FF93F61EB75 00000000005FA490 0000000000D08873 000000001611FEF0 libkritaui.dll!KisMainWindow::openDocumentInternal 00007FF93F6257BE 0000000068B404A0 00000000162533F0 0000000068CED240 libkritaui.dll!KisMainWindow::openDocument 00007FF93F6259A7 00000000005FAB20 000000001646CBB0 0000000000000210 libkritaui.dll!KisMainWindow::slotFileOpenRecent 00007FF93F62EFF6 0000000000000000 0000000000000021 0000000000000000 libkritaui.dll!KisMainWindow::qt_static_metacall 0000000068A2E3FA 0000000016A69A90 00000000005FA720 000000001646CBB0 Qt5Core.dll!QMetaObject::activate 00007FF951595434 0000000000000008 000000006889ECD9 0000000000000002 libkritawidgetutils.dll!KRecentFilesActionPrivate::_k_urlSelected 00007FF9515958DC 00000000005FA860 0000000068911BF5 0000000000000001 libkritawidgetutils.dll!KRecentFilesAction::qt_static_metacall 0000000068A2E3FA 0000000016A69A90 0000000061948EC7 00000000155B7000 Qt5Core.dll!QMetaObject::activate 000000006F72CB31 000000000000000F 0000000016A36B70 00000000155BDF90 libKF5WidgetsAddons.dll!KSelectAction::actionTriggered 0000000068A2E6DC 0000000016A36590 00007FF96F95995C 00000000005FABB0 Qt5Core.dll!QMetaObject::activate 0000000000CD50E2 000000001646CBB0 0000000002D7D910 0000000017C91830 Qt5Widgets.dll!QActionGroup::hovered 0000000000CD5BC9 00000000005FAB3F 00000000FFFFFFFF 00000000162533F0 Qt5Widgets.dll!QActionGroup::qt_static_metacall 0000000068A2E3FA 0000000016A36B70 0000000016253AD0 000000001646B1B0 Qt5Core.dll!QMetaObject::activate 0000000000CD41B6 000000001646B1B0 000000001646B1B0 0000000068A15A00 Qt5Widgets.dll!QAction::activate 0000000000E3CA5C 0000000016253AD0 0000000000000000 0000000016A36B70 Qt5Widgets.dll!QMenu::setIcon 0000000000E42C11 0000000000000001 0000001300000036 00000000000000FF Qt5Widgets.dll!QMenu::qt_static_metacall 0000000000E46C8E 0000000000000050 0000000068A159B9 0000000008C9D330 Qt5Widgets.dll!QMenu::mouseReleaseEvent 0000000000D1D7A8 0000000000000013 00000000005FB030 000000001631C3E0 Qt5Widgets.dll!QWidget::event 0000000000E476EB 00000000005FFB90 00000000005FB200 00000000005FB200 Qt5Widgets.dll!QMenu::event 0000000000CDA33C 00000000155B6E00 0000000000000000 0000001300000036 Qt5Widgets.dll!QApplicationPrivate::notify_helper 0000000000CE043C 0000000016253AE8 000000001631C3E0 0000000000000000 Qt5Widgets.dll!QApplication::notify 00007FF93F5F77A6 0000000000000000 0000000000000001 0000007D0000026B libkritaui.dll!KisApplication::notify 0000000068A0E312 0000000000000001 0000000016253AD0 0000000000000000 Qt5Core.dll!QCoreApplication::notifyInternal2 0000000000CDEB90 00000000005FB510 0000000068B404A0 0000000061B5D1E0 Qt5Widgets.dll!QApplicationPrivate::sendMouseEvent 0000000000D33B13 0000000002B21FF0 00000000005FBBC0 0000000016827140 Qt5Widgets.dll!QDesktopWidget::qt_metacall 0000000000D35D9B 00000000005FFB90 0000000002B51760 0000000000000001 Qt5Widgets.dll!QDesktopWidget::qt_metacall 0000000000CDA33C 0000000016253AD0 000000001631C3E0 0000000016253AD0 Qt5Widgets.dll!QApplicationPrivate::notify_helper 0000000000CDF6A0 0000000000000000 0000000016827140 0000000000000000 Qt5Widgets.dll!QApplication::notify 00007FF93F5F77A6 0000000000000000 0000000061976494 00000000005FBBE0 libkritaui.dll!KisApplication::notify 0000000068A0E312 00000000005FBCE0 00007FF971B1F138 0000000000000000 Qt5Core.dll!QCoreApplication::notifyInternal2 0000000061965B97 0000000000000000 0000000068898980 01000000688F01E0 Qt5Gui.dll!QGuiApplicationPrivate::processMouseEvent 00000000619675C5 0000000000000000 0000000000D60BAE 0000000000000000 Qt5Gui.dll!QGuiApplicationPrivate::processWindowSystemEvent 000000006194CD1C 0000000000000401 0000000000000000 0000000000D60BAE Qt5Gui.dll!QWindowSystemInterface::sendWindowSystemEvents 0000000068A54FBA 0000000080000012 0000000000000001 0000000000000000 Qt5Core.dll!QEventDispatcherWin32Private::sendTimerEvent 00007FF971B0BC50 0000000001729F60 0000000068A54C90 0000000000D60BAE USER32.dll!UserCallWinProcCheckWow 00007FF971B0B5CF 00000000005FC180 0000000002B52280 0000000000000001 USER32.dll!DispatchMessageWorker 0000000068A546F3 0000000002D7F1F0 0000000000000024 00000000005FFB90 Qt5Core.dll!QEventDispatcherWin32::processEvents 000000006A8EAB55 0000000000000080 0000000000000014 0000000017B0A920 qwindows.dll!qt_plugin_instance 0000000068A0D5EA 00000000005FFB70 00000000005FF9B0 0000000068A2DEA0 Qt5Core.dll!QEventLoop::exec 0000000068A14207 00000000005FFB70 00000000005FF9B0 0000000002DFCAB0 Qt5Core.dll!QCoreApplication::exec 0000000140005B93 0000000000000001 0000000002B51580 0000000140475A20 krita.exe!0x100005b93 00000001400013E8 0000000000000000 0000000000000000 0000000000000000 krita.exe!0x1000013e8 00000001400014EB 0000000000000000 0000000000000000 0000000000000000 krita.exe!0x1000014eb 00007FF970122774 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk 00007FF972190D51 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart krita.exe ntdll.dll 6.2.15063.447 KERNEL32.DLL 6.2.15063.296 KERNELBASE.dll 6.2.15063.502 msvcrt.dll 7.0.15063.0 libkritawidgetutils.dll libkritaui.dll Qt5Core.dll 5.6.1.0 libKF5I18n.dll ADVAPI32.dll 6.2.15063.0 USER32.dll 6.2.15063.0 sechost.dll 6.2.15063.0 win32u.dll 6.2.15063.0 RPCRT4.dll 6.2.15063.0 GDI32.dll 6.2.15063.0 Qt5Gui.dll 5.6.1.0 gdi32full.dll 6.2.15063.413 ole32.dll 6.2.15063.502 msvcp_win.dll 6.2.15063.0 combase.dll 6.2.15063.296 ucrtbase.dll 6.2.15063.413 libgcc_s_seh-1.dll bcryptPrimitives.dll 6.2.15063.0 SHELL32.dll 6.2.15063.502 libstdc++-6.dll libkritaglobal.dll cfgmgr32.dll 6.2.15063.0 libkritaodf.dll shcore.dll 6.2.15063.0 libKF5ConfigCore.dll libkritaplugin.dll windows.storage.dll 6.2.15063.502 libKF5CoreAddons.dll shlwapi.dll 6.2.15063.502 kernel.appcore.dll 6.2.15063.0 powrprof.dll 6.2.15063.0 profapi.dll 6.2.15063.0 libKF5GuiAddons.dll WS2_32.dll 6.2.15063.0 libKF5ItemViews.dll libKF5WidgetsAddons.dll libKF5WindowSystem.dll Qt5PrintSupport.dll 5.6.1.0 comdlg32.dll 6.2.15063.502 Qt5Xml.dll 5.6.1.0 libkritacolor.dll libkritacommand.dll libkritaflake.dll libkritaimage.dll libkritaimpex.dll libkritalibbrush.dll libkritapigment.dll libkritapsd.dll libkritaversion.dll libkritastore.dll libkritawidgets.dll libexiv2.dll PSAPI.DLL 6.2.15063.0 libKF5Completion.dll Qt5Multimedia.dll 5.6.1.0 Qt5Network.dll 5.6.1.0 libwinpthread-1.dll 1.0.0.0 MPR.dll 6.2.15063.0 libHalf.dll libpng16.dll OPENGL32.dll 6.2.15063.0 NETAPI32.dll 6.2.15063.0 USERENV.dll 6.2.15063.0 COMCTL32.dll 5.82.15063.413 WINSPOOL.DRV 6.2.15063.483 Qt5Svg.dll 5.6.1.0 Qt5Concurrent.dll 5.6.1.0 libKF5Archive.dll iconv.dll libexpat.dll libz.dll 1.2.8.0 IPHLPAPI.DLL 6.2.15063.0 DNSAPI.dll 6.2.15063.0 NSI.dll 6.2.15063.0 libfftw3-3.dll GLU32.dll 6.2.15063.0 bcrypt.dll 6.2.15063.0 NETUTILS.DLL 6.2.15063.0 LOGONCLI.DLL 6.2.15063.0 SAMCLI.DLL 6.2.15063.0 Qt5Widgets.dll 5.6.1.0 libKF5ConfigGui.dll libintl.DLL 0.18.0.0 IMM32.DLL 6.2.15063.0 qwindows.dll 5.6.1.0 OLEAUT32.dll 6.2.15063.332 WINMM.dll 6.2.15063.0 WINMMBASE.dll 6.2.15063.0 uxtheme.dll 6.2.15063.0 dwmapi.dll 6.2.15063.0 ig4icd64.dll 8.15.10.2900 kimg_exr.dll libIex.dll libIlmImf.dll libImath.dll libIlmThread.dll kimg_kra.dll kimg_ora.dll kimg_pcx.dll kimg_pic.dll kimg_psd.dll kimg_ras.dll kimg_rgb.dll kimg_tga.dll kimg_xcf.dll qdds.dll 5.6.1.0 qgif.dll 5.6.1.0 qicns.dll 5.6.1.0 qico.dll 5.6.1.0 qjpeg.dll 5.6.1.0 qsvg.dll 5.6.1.0 qtiff.dll 5.6.1.0 qwbmp.dll 5.6.1.0 qwebp.dll 5.6.1.0 MSCTF.dll 6.2.15063.332 clbcatq.dll 2001.12.10941.16384 dataexchange.dll 6.2.15063.0 dcomp.dll 6.2.15063.483 d3d11.dll 6.2.15063.0 dxgi.dll 6.2.15063.502 twinapi.appcore.dll 6.2.15063.332 exchndl.dll 0.8.1.0 mgwhelp.dll 0.8.1.0 VERSION.dll 6.2.15063.0 dbghelp.dll 6.3.9600.17298 TextInputFramework.dll 6.2.15063.502 CoreMessaging.dll 6.2.15063.502 CoreUIComponents.dll 6.2.15063.502 usermgrcli.dll 6.2.15063.0 wintypes.dll 6.2.15063.0 ntmarta.dll 6.2.15063.0 PROPSYS.dll 7.0.15063.0 LINKINFO.dll 6.2.15063.0 kritalcmsengine.dll liblcms2.dll krita_colorspaces_extensions.dll krita_shape_image.dll krita_shape_text.dll libkritatext.dll libkritatextlayout.dll krita_flaketools.dll krita_karbontools.dll krita_tool_basicflakes.dll libkritabasicflakes.dll krita_shape_vector.dll libkritavectorimage.dll krita_shape_artistictext.dll krita_shape_paths.dll krita_filtereffects.dll kritachalkpaintop.dll libkritalibpaintop.dll kritacolorsmudgepaintop.dll kritacurvepaintop.dll kritadefaultpaintops.dll kritadeformpaintop.dll kritadynapaintop.dll kritaexperimentpaintop.dll kritafilterop.dll kritagridpaintop.dll kritahairypaintop.dll kritahatchingpaintop.dll kritaparticlepaintop.dll kritaroundmarkerpaintop.dll kritasketchpaintop.dll kritaspraypaintop.dll kritatangentnormalpaintop.dll kritablurfilter.dll kritacolorsfilters.dll kritaconvolutionfilters.dll kritadodgeburn.dll kritaembossfilter.dll kritaexample.dll kritaextensioncolorsfilters.dll kritafastcolortransferfilter.dll kritagradientmap.dll kritahalftone.dll kritaimageenhancement.dll kritaindexcolors.dll kritalevelfilter.dll kritanoisefilter.dll kritanormalize.dll kritaoilpaintfilter.dll kritaphongbumpmap.dll kritapixelizefilter.dll kritaposterize.dll kritaraindropsfilter.dll kritarandompickfilter.dll kritaroundcornersfilter.dll kritasmalltilesfilter.dll kritasobelfilter.dll kritathreshold.dll kritaunsharpfilter.dll kritawavefilter.dll kritacolorgenerator.dll kritapatterngenerator.dll kritadefaulttools.dll libboost_system-mgw54-mt-1_61.dll kritarulerassistanttool.dll kritaselectiontools.dll kritatoolSmartPatch.dll kritatoolcrop.dll kritatooldyna.dll kritatoollazybrush.dll kritatoolpolygon.dll kritatoolpolyline.dll kritatooltext.dll kritatooltransform.dll kritaanimationdocker.dll krita_docker_defaults.dll kritaarrangedocker.dll kritaartisticcolorselector.dll kritachanneldocker.dll kritacolorselectorng.dll qsvgicon.dll 5.6.1.0 kritacolorslider.dll kritacompositiondocker.dll kritadefaultdockers.dll kritadigitalmixer.dll kritagriddocker.dll kritahistogramdocker.dll kritahistorydocker.dll kritaimagedocker.dll kritalutdocker.dll libOpenColorIO.dll kritaoverviewdocker.dll kritapalettedocker.dll kritapatterndocker.dll kritapresetdocker.dll kritapresethistory.dll kritasmallcolorselector.dll kritaspecificcolorselector.dll kritatasksetdocker.dll edputil.dll 6.2.15063.447 kritaanimationrenderer.dll kritabigbrother.dll kritabuginfo.dll kritaclonesarray.dll kritacolorrange.dll kritacolorspaceconversion.dll kritahistogram.dll kritaimagesize.dll kritaimagesplit.dll kritalayergroupswitcher.dll kritalayersplit.dll kritametadataeditor.dll kritamodifyselection.dll kritaoffsetimage.dll kritaqmic.dll kritaresourcemanager.dll kritarotateimage.dll kritaseparatechannels.dll kritashearimage.dll kritawaveletdecompose.dll SAMLIB.dll 6.2.15063.0 kritakraimport.dll libkritalibkra.dll SspiCli.dll 6.2.15063.0 WININET.dll 11.0.15063.483 iertutil.dll 11.0.15063.540 ondemandconnroutehelper.dll 6.2.15063.0 winhttp.dll 6.2.15063.0 mswsock.dll 6.2.15063.0 WINNSI.DLL 6.2.15063.0 urlmon.dll 11.0.15063.540 CRYPTBASE.DLL 6.2.15063.0 msiso.dll 11.0.15063.540 mdnsNSP.dll 3.1.0.1 rasadhlp.dll 6.2.15063.0 fwpuclnt.dll 6.2.15063.0 Windows 6.2.9200 DrMingw 0.8.1 I had a little spare time this afternoon, so I tried running 3.2 RC with OpenGL logging enabled. The new crash log suggests qopenglfunctions_3_0.h as a possible culprit: krita.exe caused an Access Violation at location 00007FF92E1AB76A in module libkritaui.dll Reading from location 0000000000000110. AddrPC Params 00007FF92E1AB76A 000000000F3730E0 000000B2000000F2 0000000002EAEE40 libkritaui.dll!renderCanvasGL [C:/dev/i/include/QtGui/qopenglfunctions_3_0.h @ 953] 00007FF92E1AB891 00000000005F8BD0 0000000068A160D9 0000000012280F80 libkritaui.dll!paintGL [C:/dev/krita-3.2.0-rc.1/libs/ui/opengl/kis_opengl_canvas2.cpp @ 342] No idea if this helps, but perhaps narrows it to two related commits unique to 3.2: https://github.com/KDE/krita/commit/331b4501488aaa02afbc964272164a34b86f5ef3 https://github.com/KDE/krita/commit/540dc93b4b73c2adde58e0bdf389c5448df7f3ab (Apologies for linking direct to GitHub commit pages; I was using them to search potentially related commits.) The problem is probably with inheriting from the versioned QOpenGLFunctions_x_x instead of the more flexible QOpenGLFunctions. I can see how it might be fixable, but it would need to wait at least until 3.2.1. But even then, the driver is just too old, it's so old that it's practically useless for today. I'm sure there is a "newer" one with at least OpenGL 3.0 support. (Side note: I think even ANGLE wouldn't work with this integrated graphics because it doesn't support D3D11, which actually would be a nice candidate for testing how the Qt automatic OpenGL detection choose in cases like this.) Git commit 754ab2536610d2c4a6f5c8220cd294904b13cb33 by Alvin Wong. Committed on 19/08/2017 at 09:19. Pushed by alvinwong into branch 'krita/3.2'. Attempt to restore OpenGL 2.1 support on non-OSX systems Partially reverts d0a329fa4d83576d729baae5a0f65f5b7810f289 (D4506) and reverts the effect of 96835a05b874abe85b95e1aff525faa4a91368a8. `KisOpenGLCanvas2` inheritting from a versioned `QOpenGLFunctions_x_x` isn't the best idea just to get `glLogicOp`, so I try to use an alternative method to get it. `glLogicOp` is supposed to be in OpenGL core functions since full desktop OpenGL 1.0, just never had been a function in OpenGL ES 2.0 or above, so it should be available even with `QOpenGLFunctions_1_0`. I used `QOpenGLFunctions_2_1` just because that's the minimum version we seem to supported before 3.2 release. Related: bug 363770 Differential Revision: https://phabricator.kde.org/D7405 M +3 -2 libs/ui/opengl/kis_opengl.cpp M +20 -0 libs/ui/opengl/kis_opengl_canvas2.cpp M +6 -3 libs/ui/opengl/kis_opengl_canvas2.h https://commits.kde.org/krita/754ab2536610d2c4a6f5c8220cd294904b13cb33 Git commit 6ddc51090990c7e270540d83f9e7a129132f4ccf by Alvin Wong. Committed on 19/08/2017 at 09:32. Pushed by alvinwong into branch 'master'. Attempt to restore OpenGL 2.1 support on non-OSX systems Partially reverts d0a329fa4d83576d729baae5a0f65f5b7810f289 (D4506) and reverts the effect of 96835a05b874abe85b95e1aff525faa4a91368a8. `KisOpenGLCanvas2` inheritting from a versioned `QOpenGLFunctions_x_x` isn't the best idea just to get `glLogicOp`, so I try to use an alternative method to get it. `glLogicOp` is supposed to be in OpenGL core functions since full desktop OpenGL 1.0, just never had been a function in OpenGL ES 2.0 or above, so it should be available even with `QOpenGLFunctions_1_0`. I used `QOpenGLFunctions_2_1` just because that's the minimum version we seem to supported before 3.2 release. Related: bug 363770 Differential Revision: https://phabricator.kde.org/D7405 M +3 -2 libs/ui/opengl/kis_opengl.cpp M +20 -0 libs/ui/opengl/kis_opengl_canvas2.cpp M +6 -3 libs/ui/opengl/kis_opengl_canvas2.h https://commits.kde.org/krita/6ddc51090990c7e270540d83f9e7a129132f4ccf *** Bug 383700 has been marked as a duplicate of this bug. *** @Tanner Can you please try this nightly build and see if you can enable OpenGL without crashing? Also please provide the data from the system info dialog from this build just in case. https://ci.appveyor.com/api/buildjobs/072b30c7u0pont6a/artifacts/krita-x64-appveyor.zip Hi Alvin. I've just tested the latest nightly build (krita-x64-6c8f2b8-appveyor-0.1.1.221) with OpenGL enabled, and there is no crash! Amazing work implementing a fix so quickly. Here is the system data, in case it is helpful: Krita Version: 4.0.0-pre-alpha (git 6c8f2b8) OS Information Build ABI: x86_64-little_endian-llp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: winnt Kernel Version: 10.0.15063 Pretty Productname: Windows 10 Product Type: windows Product Version: 10 OpenGL Info Vendor: Intel Renderer: "Intel(R) HD Graphics" Version: 2.1.0 - Build 8.15.10.2900 Shading language: 1.20 - Intel Build 8.15.10.2900 Requested format: QSurfaceFormat(version 3.0, options QFlags(0x4), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile 2) Current format: QSurfaceFormat(version 2.1, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Version: 2.1 Supports deprecated functions true Per your comment #6, would it helpful for me to keep these out-of-date drivers on this system? I am happy to test any future legacy OpenGL issues if need be. @Tanner If you are willing to keep an old version of intel driver just to test Krita, then of course! Thanks for your help. |
Created attachment 107155 [details] kritacrash.log These crashes are new to the 3.2 betas (and RC). 3.1 works fine. On my Win 10 PC, creating a new image (via File > New), or opening any image file (kra, jpeg, png) from either the Open dialog or Open > Recent menu, causes Krita to crash. Backtrace attached. Note that the backtrace looks roughly identical whether the crash occurs after File > New or File > Open.