logoalt Hacker News

varispeedtoday at 7:40 PM5 repliesview on HN

What is the benefit of GPU acceleration?

My biggest gripe with things that I type into is the latency from keypress to when it shows on the screen. For instance, as I type this, I can clearly see a lag. If someone could come up with getting direct realtime raw access to keyboard to ensure there is zero perceptible latency (some chips that debounce switches can add even 50ms to keypress!), that would be something I'd love to have.


Replies

nicholasrqtoday at 9:59 PM

well, for most of the applications you probably don't need it. it's like a nice to have thing. it really kicks in is when you have a highly dynamic interface (mostly TUI do this). something like btop or similar. in this case rendering on CPU becomes expensive, terminal becomes less responsive and all. GPU rendering just unlocks parallelization. your stuff is running in pty, rendered with GPU and they don't interlock

temp0826today at 8:25 PM

I don't understand all the hooplah about gpu-accelerated terminals either really. If your x/compositor(/framebuffer?) is using the correct drivers, isn't it already accelerated? (I've never really used "pretty" or overly featureful terminal emulators so is this about decoration? Or actually outputting text?)

show 1 reply
bigwheelstoday at 7:55 PM

> What is the benefit of GPU acceleration?

Yes, I'm also not clear on what is different between this and a PTY.

skydhashtoday at 8:21 PM

> What is the benefit of GPU acceleration?

For claude to be able to use React as an engine to render its UI.