Making Burp Suite snappy on Asahi Linux
用户在Asahi Linux上使用Burp Suite时遇到卡顿和高CPU占用问题。通过启用Java的OpenGL硬件加速(添加-Dsun.java2d.opengl=True),问题得以解决。若出现粉色纹理,则可进一步禁用GL_EXT_framebuffer_object扩展(添加-Dsun.java2d.opengl.fbobject=false)。 2025-5-2 13:1:0 Author: dustri.org(查看原文) 阅读量:9 收藏

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.


文章来源: https://dustri.org/b/making-burp-suite-snappy-on-asahi-linux.html
如有侵权请联系:admin#unsafe.sh