News for hackers. Stuff that matters.
Re:Improving cursor rendering on Wayland by radarsat1 on Friday March 15, 2024 @02:43PM (#39719228)
Doesn't the CPU/GPU bottleneck which is already assumed to be slow actually provide the perfect opportunity for abstraction over a network protocol? Sending "what to draw" and "how" (shaders) over the wire infrequently and issuing cheap draw commands on demand? I think GPUs provide a better situation for a network first model than was available when X was designed.
Re:Improving cursor rendering on Wayland by kllrnohj on Friday March 15, 2024 @03:23PM (#39719688)
Only if everyone agrees on a central rendering model & feature set, which simply isn't the case. 2D rendering is not a solved problem, there are many different takes on it. Insisting all GUIs on a given device use a single system is simply not realistic, which is why nobody actually uses any of the X rendering commands other than "draw pixmap" (aka, just be a dumb compositor)
Re:Improving cursor rendering on Wayland by TylerE on Friday March 15, 2024 @03:18PM (#39719646)
You can send draw commands without making that the fundamental underlying operating model.

GPUs are highly complex and performance under generic wrappers.

Re:Improving cursor rendering on Wayland by uecker on Friday March 15, 2024 @03:31PM (#39719765)
No, he is correct. The GPU on the other side of the PCI is a remote computer.
Re:Improving cursor rendering on Wayland by TylerE on Friday March 15, 2024 @03:36PM (#39719802)
Huge difference over operating over a PCI bus with gargantuan bandwidth and near zero latency, and working over random network connections.
Re:Improving cursor rendering on Wayland by uecker on Saturday March 16, 2024 @02:13AM (#39723747)
Certainly a huge difference, but if you want good performance you need to treat this as a remote buffer management problem in both cases.
Re:Improving cursor rendering on Wayland by TylerE on Saturday March 16, 2024 @07:54AM (#39725081)
Sorry, but I can’t take the suggestion that the PCI bus and the internet should be treated the same seriously. You’re telling 4 or 5 orders of magnitude difference. Maybe more on some specs.

It’s like saying you should use the same file access algorithms for a RAM disk and punch cards. No you shouldn’t!

Re:Improving cursor rendering on Wayland by uecker on Wednesday March 20, 2024 @04:14PM (#39771484)
You need to compare to memory on the main board.