Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why RDM uses Discrete Graphic Card, for what? #4004

Closed
im-kulikov opened this issue Feb 13, 2018 · 6 comments
Closed

Why RDM uses Discrete Graphic Card, for what? #4004

im-kulikov opened this issue Feb 13, 2018 · 6 comments
Labels
Milestone

Comments

@im-kulikov
Copy link
Contributor

RDM Version: 0.9.0.51+

Environment (OS name and version): macOS 10.13.3

Redis Server Version: 3.x+

Steps to reproduce:

  1. Run application
  2. Open activity monitor
  3. See that rdm used discrete graphic card

Expected result:
do not use high perfomance (discrete) graphics card

Actual Result:
activity monitor applications in last 12 hours 2018-02-13 14-07-37

@uglide
Copy link
Collaborator

uglide commented Feb 13, 2018

Hello @im-kulikov
RDM is built with Qt and QML. QML engine provides cross-platform way to render UI, charts, etc and uses GPU if possible.

@im-kulikov
Copy link
Contributor Author

after starting the application, the MacBook starts to boil... this is not the problem?

@im-kulikov
Copy link
Contributor Author

im-kulikov commented Feb 13, 2018

there is two GPU:

  • integrated
  • discrete

sorry, but I don't understand, why your application uses discrete card for rendering..
I use many application, that build on top of QT and QML... but this confuse me only with this application

@uglide
Copy link
Collaborator

uglide commented Feb 13, 2018

Ok, I see
I see relevant fix on SO https://stackoverflow.com/questions/17893849/qml-causing-switch-to-discrete-graphics
But I will need your help to test it since I don't have MacBook with 2 gpu

@uglide uglide reopened this Feb 13, 2018
@uglide uglide added bug and removed question labels Feb 13, 2018
@uglide uglide added this to the 0.9.1 milestone Feb 13, 2018
@im-kulikov
Copy link
Contributor Author

im-kulikov commented Feb 13, 2018

@uglide ok


As I see... it work 🙂

0.9.0.51:
monosnap 2018-02-13 19-36-43

0.8.3:
redis desktop manager 2018-02-13 19-39-23


Yep.. this is fix issue

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        ...
     <key>NSSupportsAutomaticGraphicsSwitching</key>
    <true/>
</dict>
</plist>

im-kulikov added a commit to im-kulikov/RedisDesktopManager that referenced this issue Feb 13, 2018
@uglide uglide closed this as completed in 469846a Feb 15, 2018
@uglide
Copy link
Collaborator

uglide commented Feb 15, 2018

@im-kulikov awesome, thanks for PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants