[krita] [Bug 409052] High GPU Usage

2019-07-08 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #19 from Boudewijn Rempt  ---
Git commit 1b1936b97e01c2b12eb844c9a07c5941031bf082 by Boudewijn Rempt.
Committed on 08/07/2019 at 14:59.
Pushed by rempt into branch 'krita/4.2'.

Add NSSupportsAutomaticGraphicsSwitching to the Info.plist

https://developer.apple.com/library/archive/qa/qa1734/_index.html
suggests that this will make it possible for Krita to use the
integrated Intel GPU instead of the discrete AMD GPU. AMD drivers
on macOS are the pits, using Intel should be preferred for Krita

M  +2-0krita/Info.plist.template

https://invent.kde.org/kde/krita/commit/1b1936b97e01c2b12eb844c9a07c5941031bf082

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-26 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #18 from zoltron  ---
ok thanks. usage is normal. beetween %0 - %80, up-and-down.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-25 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #17 from Boudewijn Rempt  ---
That image link gives me a 403. But in any case, I guess we can close this as
fixed for now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-25 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #16 from zoltron  ---
(In reply to Boudewijn Rempt from comment #15)
> I made a special nightly with that flag set: 
> 
> https://files.kde.org/krita/osx/krita-nightly_2f68711.dmg 
> 
> 
> Could you check whether macOS still honors the flag and runs Krita on the
> integrated gpu? Of course, this won't help people with newer macbook pro's
> that only have an AMD GPU...

it works thanks, here is gpu usage, it can be better optimized, but not bad.
https://i.hizliresim.com/lQyLnQ.png

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-25 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #15 from Boudewijn Rempt  ---
I made a special nightly with that flag set: 

https://files.kde.org/krita/osx/krita-nightly_2f68711.dmg 


Could you check whether macOS still honors the flag and runs Krita on the
integrated gpu? Of course, this won't help people with newer macbook pro's that
only have an AMD GPU...

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-25 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #14 from Boudewijn Rempt  ---
Git commit 27fb28ff907a49bd3072e0760f40371e9f382c8d by Boudewijn Rempt.
Committed on 25/06/2019 at 06:17.
Pushed by rempt into branch 'master'.

Add NSSupportsAutomaticGraphicsSwitching to the Info.plist

https://developer.apple.com/library/archive/qa/qa1734/_index.html
suggests that this will make it possible for Krita to use the
integrated Intel GPU instead of the discrete AMD GPU. AMD drivers
on macOS are the pits, using Intel should be preferred for Krita

M  +2-0krita/Info.plist.template

https://invent.kde.org/kde/krita/commit/27fb28ff907a49bd3072e0760f40371e9f382c8d

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-25 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #13 from Boudewijn Rempt  ---
https://developer.apple.com/library/archive/technotes/tn2229/_index.html

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-25 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|UPSTREAM|---
 Status|RESOLVED|REOPENED

--- Comment #12 from Boudewijn Rempt  ---
Hm, this page is interesting:
https://developer.apple.com/library/archive/qa/qa1734/_index.html

I'll try that for the next nightly build.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-24 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|CONFIRMED   |RESOLVED

--- Comment #11 from Boudewijn Rempt  ---
No, that link only tells us that there's no way we, as application developers,
can determine whether to run the application on Intel or on AMD.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-24 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #10 from zoltron  ---
i dont't want to use gfxCardStatus. this App is unstable and incompatible with
macOS Mojave

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-24 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #9 from zoltron  ---
if you send Krita running on Integrated Intel GPU, I can test it. If you are
considering an AMD hotfix, I believe it will not work because this is Apple GPU
driver problem.
maybe it helps; 
https://developer.apple.com/library/archive/qa/qa1734/_index.html
https://apple.stackexchange.com/questions/217928/how-does-os-x-decide-when-to-switch-graphics-processors

I've come across a Krita version that works with Intel before.
I'm not a programmer, but I think it's gonna work. thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-24 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #8 from vanyossi  ---
You might find this usefull for testing purposes

https://discussions.apple.com/thread/8646824

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-24 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

Boudewijn Rempt  changed:

   What|Removed |Added

   Severity|critical|normal

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-24 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=409052

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org

--- Comment #7 from Boudewijn Rempt  ---
I went for the cheaper option, too, when I got my macbook pro in 2015, and
didn't get one with a dual gpu. Of course we're not going to spend time and/or
money on porting Krita to Metal. It's a proprietary API available only on a
minority platform. I also don't intend to spend Krita money on getting a mac
with an AMD GPU: Apple just doesn't sell any hardware worth the asking price at
the moment.

MoltenVK would only work if we'd port Krita's opengl to Vulkan, which is also
not planned. If Angle would get support for Metal, then that would be an
option.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-23 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=409052

vanyossi  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED
 Ever confirmed|0   |1

--- Comment #6 from vanyossi  ---
I can confirm this does not happen with intel GPU. Qt 5.12.3, krita master.

It seems there could be something wrong going on with OpenGL and thATI card,
but i can't personally take care of this since I have no hardware to reproduce
the issue. 

Moving towards MoltenVK is something Im studying atm, but without solid
knowledge on the subject I doubt I will come up with something soon.

as for taking it seriouly, i am, but I had to ask first, im sorry I didn't
catch the video sooner, the attachments are not very prominent design wise in
bugzilla. Video can get us up to a centain point, however I see you are running
krita from compiled sources… Let me ask the other devs, maybe we can come up
with a patch for you to compile krita with that could give us some insight on
what is going on and perhaps come up with a solution.

I'm confirming this and assinging myself to keep track of this bug

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-23 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=409052

vanyossi  changed:

   What|Removed |Added

   Assignee|krita-bugs-n...@kde.org |ghe...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-23 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #5 from zoltron  ---
I want to use Krita, but that's why I use Pencil2D. If you are taking this
problem seriously I can put a detailed video on youtube.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-23 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #4 from zoltron  ---
(In reply to vanyossi from comment #3)
> could you answer what specific operations you refer with this? -> "Each
> simple task."
> 
> AFAIK: We only use openGL rendering for the canvas and shader for the
> healing brush. Do you experiment the warming up if you only rotate or zoom
> the canvas? (no painting, no filters being rendered, no nothing, just rotate
> or zoom) Painting uses your full processor by default, that is CPU not GPU,
> and yes it is expected to warm up. 
> 
> macbooks love to be quiet and before turning the fans up they wait until the
> laptop is extremely hot to start spinning fast. If you dont like that just
> set your fans to manual at a good speed and the macbook will never heat up.

I put it as an attachment video. Didn't you watch? almost everything that uses
GPU

the following uses a 100 percent GPU ( AMD radeon Pro 455.)

-animation play
-panning, zooming
-every slider in GUI
-drawing with brush

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-23 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=409052

vanyossi  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #3 from vanyossi  ---
could you answer what specific operations you refer with this? -> "Each simple
task."

AFAIK: We only use openGL rendering for the canvas and shader for the healing
brush. Do you experiment the warming up if you only rotate or zoom the canvas?
(no painting, no filters being rendered, no nothing, just rotate or zoom)
Painting uses your full processor by default, that is CPU not GPU, and yes it
is expected to warm up. 

macbooks love to be quiet and before turning the fans up they wait until the
laptop is extremely hot to start spinning fast. If you dont like that just set
your fans to manual at a good speed and the macbook will never heat up.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-23 Thread zoltron
https://bugs.kde.org/show_bug.cgi?id=409052

--- Comment #2 from zoltron  ---
(In reply to vanyossi from comment #1)
> Could you be more specific? With so little information it is almost
> impossible to start figuring out what could be happening.
> 
> Some tools use your full CPU cores by default and that will fire up the fans
> of your macbook after some painting (this is good). About GPU, I see you
> have an ATI card, afaik we do not have a ATI card equiped macOS system for
> testing, only intel based ones.

my advice, as a workaround krita must detect and use integrated Intel GPU on
dual graphic cards macbooks.
OpenGL is dead for macos and macbooks
Apple are stopped OpenGL support since 4.1 version, you can use Metal API and
MoltenVk or drop MacOS support.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 409052] High GPU Usage

2019-06-22 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=409052

vanyossi  changed:

   What|Removed |Added

 CC||ghe...@gmail.com

--- Comment #1 from vanyossi  ---

Could you be more specific? With so little information it is almost impossible
to start figuring out what could be happening.

Some tools use your full CPU cores by default and that will fire up the fans of
your macbook after some painting (this is good). About GPU, I see you have an
ATI card, afaik we do not have a ATI card equiped macOS system for testing,
only intel based ones.

-- 
You are receiving this mail because:
You are watching all bug changes.