Making Burp Suite snappy on Asahi Linux

I’ve been using Asahi Linux for a couple of months now, and I’m pretty happy
with it. There are of course some minor issues, mostly software not being available
there, like Signal (thanks opensuse for providing
builds). Today’s
papercut is Burp Suite being laggy and eating a
worryingly high amount of CPU. `chaos_princess`
suggested some workarounds for whatever Java application someone else wanted to
run, and I thought it might have the same root cause.

Java supports OpenGL hardware
acceleration
since
Java5,
but for whatever reason that I’m too lazy to figure out, it’s not enabled by
default on Asahi. Just add `-Dsun.java2d.opengl=True` to the
`BurpSuitePro.vmoptions` in your Burp installation folder, and you’re good to
go: Burp’s interface shouldn’t gobble a ridiculous amount of watts and by laggy
anymore.

If you see some pink textures, you can add `-Dsun.java2d.opengl.fbobject=false`
as well, to disable
`GL_EXT_framebuffer_object`.
Apparently, it “extension provides better performance for rendering and reduced
VRAM consumption when using `VolatileImages`”, but I haven’t noticed a
difference either way.

Leave a Reply

Your email address will not be published. Required fields are marked *