Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ghost231

Pages: [1]
1
Window / Automatic Graphics Switching
« on: October 11, 2020, 10:43:27 am »
I have a 2019 Mac book Pro with an Intel Integrated GPU and a dedicated AMD GPU. MacOS has a feature called Automatic Graphics Switching which switches between GPUs to save power.

If I create an SFML Window with Automatic Graphics Switching turned on, the screen hitches for about half a second and sometimes flashes black before the window is displayed. It also closes very slowly. There are no problems while it is running, but opening and closing causes the entire system and background applications to lag for a second. In addition, window.setMouseCursorVisible(false) does not work when the feature is turned on. Turning off Automatic Graphics Switching fixes the problem.

Can you manually set which GPU the windows uses, or is there some other workaround to not have to manually turn off the feature in Settings?

Pages: [1]