Bug 327684 - crashes when opening existing file or creating a new one after enabled open gl
Summary: crashes when opening existing file or creating a new one after enabled open gl
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Pre-Alpha
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-16 13:28 UTC by raul
Modified: 2014-02-19 09:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raul 2013-11-16 13:28:29 UTC
Working in windows 7 x64 over bootcamp on a mac pro 4.1 with OSX 10.8. and Ati Radeon 4870.
After enabled Open GL Krita let me open, but when creating new document or opening an existing one it crashes and gets closed.

Reproducible: Always

Steps to Reproduce:
1. working in a document, drawing
2. Enable Open GL
3. Krita closed
4. Open Krita
5. Create new custom file
6. Push "Create" button
7. Krita closed
8. Open Krita
9. Double clic to open last used existing file
10. Krita closed
Actual Results:  
Krita gets closed

Expected Results:  
Let me disable Open GL from the first menú window

Working in windows 7 x64 over bootcamp on a mac pro 4.1 with OSX 10.8. and Ati Radeon 4870.
Maybe compatibility whith Open Gl libraries in Mac (I think not used last version on mac, but not sure how performed in graphic card running windows 7)
Comment 1 Halla Rempt 2013-11-19 14:38:03 UTC
I've had more reports of radeon/windows being incompatible with the latest opengl canvas, I'm afraid. It's a bit of a problem, since we don't have any windows/radeon testing systems ourselves, only Intel and Nvidia -- let alone a mac system with radeon and bootcamp :-).
Comment 2 Dmitry Kazakov 2013-12-12 13:35:20 UTC
Git commit 5638428294c7b8f3f1db7c86bee60a8ba21825ff by Dmitry Kazakov.
Committed on 12/12/2013 at 13:34.
Pushed by dkazakov into branch 'master'.

Fix crash when switching QPainter->openGL canvases

The openGL context should be initialized at least once in the beginning.

This surely fixes:
Related: bug 328649, bug 328627

Please check whether these bugs are fixed now:

M  +1    -0    krita/ui/canvas/kis_canvas2.cpp
M  +5    -0    krita/ui/opengl/kis_opengl.cpp
M  +2    -0    krita/ui/opengl/kis_opengl.h

http://commits.kde.org/calligra/5638428294c7b8f3f1db7c86bee60a8ba21825ff
Comment 3 Dmitry Kazakov 2013-12-12 13:35:51 UTC
Git commit 00b41abdb63fec901ebadbb356240158a24c0e36 by Dmitry Kazakov.
Committed on 12/12/2013 at 13:34.
Pushed by dkazakov into branch 'calligra/2.8'.

Fix crash when switching QPainter->openGL canvases

The openGL context should be initialized at least once in the beginning.

This surely fixes:
Related: bug 328649, bug 328627

Please check whether these bugs are fixed now:

M  +1    -0    krita/ui/canvas/kis_canvas2.cpp
M  +5    -0    krita/ui/opengl/kis_opengl.cpp
M  +2    -0    krita/ui/opengl/kis_opengl.h

http://commits.kde.org/calligra/00b41abdb63fec901ebadbb356240158a24c0e36
Comment 4 Halla Rempt 2013-12-19 10:37:30 UTC
Hi Raul, could you check with the latest installer?

Either

http://heap.kogmbh.net/downloads/krita_x86_2.7.9.1.msi

or

http://heap.kogmbh.net/downloads/krita_x64_2.7.9.1.msi
Comment 5 raul 2013-12-21 12:03:22 UTC
Ok, I´ll check when on my machine again (at least January). Thanks for the effort
Comment 6 raul 2014-02-17 15:38:29 UTC
(In reply to comment #4)
> Hi Raul, could you check with the latest installer?
> 
> Either
> 
> http://heap.kogmbh.net/downloads/krita_x86_2.7.9.1.msi
> 
> or
> 
> http://heap.kogmbh.net/downloads/krita_x64_2.7.9.1.msi

Hi Boudewijn,

Today I deleted Krita and installed krita_x64_2.7.9.10.msi.

First thing I did was go to settings/screen/enable Open GL. and enable it (just this option).

Then I closed Krita and re-execute It.

At start screen, clicking on settings button or on opening new custom file It crashed and got closed.

After That I unninstalled Krita and reinstalled it.

When opening same issue.

Maybe This option must be saved in software settings (Which may not deleted by unninstalling Krita through control panel/unninstall )
Comment 7 raul 2014-02-17 15:45:27 UTC
(In reply to comment #4)
> Hi Raul, could you check with the latest installer?
> 
> Either
> 
> http://heap.kogmbh.net/downloads/krita_x86_2.7.9.1.msi
> 
> or
> 
> http://heap.kogmbh.net/downloads/krita_x64_2.7.9.1.msi

Hi Boudewijn,

Today I deleted Krita and installed krita_x64_2.7.9.10.msi.

First thing I did was go to settings/screen/enable Open GL. and enable it (just this option).

Then I closed Krita and re-execute It.

At start screen, clicking on settings button or opening new custom file button It crashed and got closed.

After That I unninstalled Krita and reinstalled it.

When opening same issue.

Maybe This option must be saved in software settings (Which may not deleted by unninstalling Krita through control panel/unninstall )
Comment 8 Halla Rempt 2014-02-17 15:48:47 UTC
The opengl option is saved in c:\Users\USER\AppData\Roaming\krita\share\config\kritarc. If you remove that, then opengl is disabled again. The weird thing is that we do try to check whether krita crashes after enabling opengl, and then try to disable it again. Maybe that only works on Linux...
Comment 9 raul 2014-02-17 16:04:46 UTC
Thanks,
It´s not possible to go to krita preferences after enable Open Gl option, but  deleting that file and reinstalling krita works fine and deleting that file without reinstalling also works.
Comment 10 Halla Rempt 2014-02-18 15:36:05 UTC
Git commit 9e943adac83fa6e9578ec17930b57e5e80d91947 by Boudewijn Rempt.
Committed on 17/02/2014 at 15:57.
Pushed by rempt into branch 'calligra/2.8'.

This adds extra synching of the config object, since on windows,
the config setting doesn't seem to be written out before we crash.

Now we _know_ that creating the canvas failed, so we can move to
the cpu canvas next run.

M  +2    -0    krita/ui/kis_view2.cpp

http://commits.kde.org/calligra/9e943adac83fa6e9578ec17930b57e5e80d91947
Comment 11 Halla Rempt 2014-02-19 09:10:40 UTC
Git commit 1c0e9a5269144a470343811808c27a619cf13a80 by Boudewijn Rempt.
Committed on 17/02/2014 at 15:57.
Pushed by rempt into branch 'master'.

This adds extra synching of the config object, since on windows,
the config setting doesn't seem to be written out before we crash.

Now we _know_ that creating the canvas failed, so we can move to
the cpu canvas next run.

M  +2    -0    krita/ui/kis_view2.cpp

http://commits.kde.org/calligra/1c0e9a5269144a470343811808c27a619cf13a80