Opened 8 years ago

Closed 8 years ago

#4252 closed defect (fixed)

OMEdit Forces Discrete GPU on Mac

Reported by: Adam Dershowitz Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version:
Keywords: Cc:

Description

On a Mac, such as a Macbook Pro, that has a low power, embedded GPU, and a discrete GPU, running OMEdit, forces the OS to switch to the discrete GPU. So, just keeping OMEdit opened is a large power drain.
This is not just due to using qt4, as other Macport applications that use qt4, do not force this switch to the high performance GPU.

Change History (5)

comment:1 by Adeel Asghar, 8 years ago

This should be fixed in bb69d0d/OMEdit.
Try that and let me know.

comment:2 by Adam Dershowitz, 8 years ago

I just rebuilt it (1.12.0~dev-470-g2dd6af7_0 is there an easy place to match up these version numbers to know which build includes which change sets?)
Now, when I open OMEdit, it doesn't switch on startup, like it used to.
But, as soon as I open any model, even if I set the default view to text, it switches to the discrete GPU. So, it seems that it still wants to create a 3d view for viewing any model.

comment:3 by Adeel Asghar, 8 years ago

In the OMEdit About window you can see the version hashs and then can match them to the hash of submodules here https://github.com/OpenModelica/OpenModelica

I think now I have fixed it completely 62f7633/OMEdit.

comment:4 by Adam Dershowitz, 8 years ago

Yes, it seems to be fixed. It does switch to the discrete GPU, when I simulate with animation, which makes sense. Otherwise, it doesn't.

Thanks

comment:5 by Adeel Asghar, 8 years ago

Milestone: Future1.12.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.