question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder forces discrete graphics on OSX

See original GitHub issue

I’ve found other related issues but have not been able to resolve this issue. I ran conda update spyder and conda update --all. Launching spyder still switches to my discrete graphics.

Issue Report Checklist

  • [X ] Searched the issues page for similar reports
  • [X ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • [ X] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • [NA ] Could not reproduce inside jupyter qtconsole (if console-related)
  • [ X] Tried basic troubleshooting (if a bug/error)
    • [ X] Restarted Spyder
    • [ NA Reset preferences with spyder --reset
    • [X ] Reinstalled the latest version of Anaconda
    • [NA ] Tried the other applicable steps from the Troubleshooting Guide
  • [X ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Spyder forces discrete graphics on OSX

What steps reproduce the problem?

  1. Launching spyder

What is the expected output? What do you see instead?

No switch to discrete graphics. Switch to discrete graphics. 😃

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: Spyder 3.3.4
  • Python version: Python 3.6.6 64-bit
  • Qt version: Qt 5.9.6
  • PyQt version: PyQt5 5.9.2
  • Operating System name/version: Darwin 18.5.0

Dependencies

IPython >=4.0     :  7.4.0 (OK)
cython >=0.21     :  0.29.6 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
numpy >=1.7       :  1.16.2 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
psutil >=0.3      :  5.6.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pyflakes >=0.6.0  :  2.1.1 (OK)
pygments >=2.0    :  2.3.1 (OK)
pylint >=0.25     :  2.3.1 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
rope >=0.9.4      :  0.12.0 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
sympy >=0.7.3     :  1.3 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

5reactions
Christian-Moorecommented, Nov 20, 2019

Hello! I encountered the very same issue, and have found what so far seems to be an effective resolution. Just add the following in the info.plist folder inside of the Python app within the Anaconda folder: <key>NSSupportsAutomaticGraphicsSwitching</key> <true/> I’ve so far found it to work perfectly. I’ll say otherwise if that stops being the case. Here’s an informational image: Screen Shot 2019-11-20 at 2 16 54 PM

1reaction
ccordoba12commented, May 9, 2019

We’ll take a look at it after we release Spyder 4, unless @goanpeca has time to do it before that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MacBook Pro - Force use of discrete graphics
Go to "System Preferences" -> "Energy Saver" and uncheck the option (on top) "Automatic graphics switching". This will force the system to always...
Read more >
Best macOS backend for graphics in Spyder IDE
Luckily there is very easy solution. Just set up the iPython console graphics backend to OS X. Then restart Spyder IDE and you...
Read more >
Set graphics performance on MacBook Pro - Apple Support
If you want to use the higher-performance discrete graphics processor at all times, choose Apple menu > System Preferences, click Battery, ...
Read more >
Force RGB mode in Mac OS X to fix the picture quality of an ...
I purchased a Gefen DisplayPort Extender over CAT7 only to have it show very weird colors when connected to my Retina MacBook Pro....
Read more >
Spyder: The Scientific Python Development Environment
This blog entry has been integrated into Spyder as the Tutorial. ... is on the name of an object, press Ctrl-I (or Command-I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found