Burp Suite User Forum

Create new post

Burp Suite requires discrete GPU on macOS

Geoff | Last updated: Jun 08, 2017 07:11AM UTC

When running Burp Suite on a macOS machine with a discrete GPU the GPU is activated which reduces the battery life of the device. Does Burp Suite specifically require access to the GPU? I suspect this is most likely related to Java rather than Burp Suite itself as there is a bug report for it https://bugs.openjdk.java.net/browse/JDK-8041900 [main report] https://bugs.openjdk.java.net/browse/JDK-8149265 [apparent resolution] https://bugs.openjdk.java.net/browse/JDK-8132759 [apparent resolution] though I can't see anything in the release notes indicating whether this has actually been merged into a released version of the JRE. Burp Suite: v1.17.23 JRE: 1.8.0_112

PortSwigger Agent | Last updated: Jun 08, 2017 07:20AM UTC

Thanks for the report. Burp Suite works fine on an integrated GPU. We don't have a MacBook Pro with discrete GPU handy. To help debug this, could you try: 1) Download and install the Burp Suite MacOS X installer 2) Edit /Applications/Burp Suite Professional.app/Contents/Info.plist and add: <key>NSSupportsAutomaticGraphicsSwitching</key> <true/> Let us know if this resolves the issue and we will see about updating the installer.

Burp User | Last updated: May 08, 2019 01:06AM UTC

Same as initial report. mbp 2018 mojave 10.14.4 (radeon pro 555x) -> burp uses discrete gpu. The provided workaround does not work.

Rose, PortSwigger Agent | Last updated: May 08, 2019 10:50AM UTC

We think this is probably a Java issue. Are you using any other Java applications on this system? Are you encountering the same behaviour?

Burp User | Last updated: Dec 31, 2019 03:46PM UTC

I notice the same behavior, not sure NSSupportsAutomaticGraphicsSwitching is enough as it seems that you should also indicate support for the offline renderers via the pixel format attribute (https://developer.apple.com/library/archive/technotes/tn2229/_index.html).

Hannah, PortSwigger Agent | Last updated: Jan 02, 2020 03:36PM UTC

Hi Manuel. Can you tell us what version of Java and Burp Suite you are running, and on which OS?

Burp User | Last updated: Jan 06, 2020 02:40PM UTC

Hi Hannah, i'm running BurpSuitePro 2.1.07 installed with the macOS installer, so it's the bundled OpenJDK12, here is my diags output: https://pastebin.com/V8HTeT80

Hannah, PortSwigger Agent | Last updated: Jan 06, 2020 02:57PM UTC

It appears that offline render support is optional. Did you try editing your Info.plist as suggested above? Are you still experiencing issues after attempting that workaround? Have you tried adding offline render support in your Info.plist? Did that make a difference if the suggested workaround did not?

s00d | Last updated: Dec 22, 2021 03:31AM UTC

hello. <key>NSSupportsAutomaticGraphicsSwitching</key> <true/> helped me with the same problem in Burp Suite Community Edition Can you add this parameter in the new version?

Uthman, PortSwigger Agent | Last updated: Dec 22, 2021 09:32AM UTC

@s00d Can you confirm that you are using Java 9 or above when launching Burp? The original JDK bugs Geoff referenced appear to have been fixed in Java 9.

Uthman, PortSwigger Agent | Last updated: Dec 22, 2021 06:39PM UTC

Just an update - I've raised a feature request for our development team to add this to the plist file by default. We'll update this thread if/when that is implemented.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.