I’m using sublime text 4 (Build 4189) for coding in c++ (cp/dsa)… and I sort of found out that it lags while coding and scrolling a c++ file or opening closing folders.
I recently bought a thinkpad with 16 gb ram (ddr5) and amd ryzen 5 7535U processor with gen 4 nvme ssd 512 gb along with integrated graphics amd radeon 680m. I don’t know the reason of this lag, I use arch by the way and I figured out that the software rendering is not working fine when I use hardware_acceleration: “opengl” then it works fine and there is no lag works very smoothly and when i remove that it starts lagging whether in power save mode or performance mode no change.
Can someone pls help me on this? and tell whether it is good to use hardware acceleration? or not?
Sublime Text 4 lagging when scrolling
If you’re working on a high-resolution screen CPU rendering simply can’t keep up. That’s why hardware acceleration was added. It’s disabled by default on linux due to some issues with GTK3, but if those aren’t bothering you there’s little reason not to use it.
On my thinkpad, I have this display => * Display : 40.64cms (16) WUXGA (1920 x 1200), IPS, Anti-Glare, Non-Touch, 45%NTSC, 300 nits, 60 Hz… may be it’s because of that… any impact on my thinkpad if hardware acceleration is enabled ? @bschaaf
What are the reasons? to not use it? if I use it sublime works fine and when I not use it sublime lags… but that’s not the case on my computer tough… @bschaaf
Just try it. I used to have some small issues/glitches but I think most of them were fixed in the meantime by driver/DE/… fixes of my linux distribution.
Nevertheless, I had it enabled anyway as it did not annoy me that much.
It works fine till now… I will report if any issue arises. waiting for Benjamin’s reply.