If only one day i could run sway + vulkan on the desktop, it would be the best ever!!!! Latency under vulkan in wayfire is a lot lower compared to sway which feels sluggish at times.
Announcement
Collapse
No announcement yet.
Vulkan Wayland Compositors Are Nearing Reality
Collapse
X
-
[QUOTE=bofh80;n1233585]WHY we need 3d for desktop?/QUOTE]
It's more efficient and faster to use the 3D hardware and software than to use the CPU and traditional framebuffers. Crazy as it sounds, it's less work to have each app, the UI libraries, and the window compositor just shoot stuff over into the 3D stack and 'show it' than it is to ask the CPU to stop and handle what should be on the screen and schlep 32 megabytes over to video memory 60 times a second. If you think all this 3D biz seems inefficient, consider what 2 gigabytes a second of transfers from CPU to GPU would do you the rest of your system.
The 3D hardware and software needed to render a 4K desktop smoothly is already on 'everything', and it's optimized to hold 'textures' (windows) and blast them out to the display. Why not put it to use lighten the load on the CPU? I'm pretty sure that even if you strapped a Raspberry Pi's GPU to a Core i7, the Raspbery Pi GPU would 'feel' smoother for regular desktop stuff than a 100% 2D/CPU stack. Plus, the -second- you want eye candy like transparency or animation, you're doomed with CPU. Try a macOS instance out in QEMU-KVM if you want to feel how awful that is.
- Likes 5
Comment
-
Originally posted by shmerl View Post
If I remember correctly, Nvidia can't support DMA-BUF ....
- Likes 1
Comment
-
Originally posted by CommunityMember View Post
It would appear that you may have forgotten the article from around 50 days ago about nVidia implementing DMA_BUF: https://www.phoronix.com/scan.php?pa...UF-Wayland-KDE although the details were a bit sparse.
Comment
-
Originally posted by polarathene View Post
Even if you're not fond of any eye-candy, depending on DE it would make sense to prefer the more performant choice for such when it comes to supporting those who would like such.
What's your definition of eye candy though?
- Likes 2
Comment
-
GBM is a buffer manager, EGLStreams is a generic API to manage buffers but way too limited for Wayland.
EGL is a API for applications to create a default context for graphics APIs on a display server.
Vulkan or OpenGL/GLES here are mainly in the context of the compositor doing compositing work.
GBM will still be needed in the future and Nvidia will in short or longer terms have to adopt it, it is the better solution.
- Likes 1
Comment
-
Originally posted by bofh80
That's interesting. I would be interested in the 'tricks to reduce input latency'. Any pointers?
Thanks for the reply!
Here's a good article on the topic: https://raphlinus.github.io/ui/graph...r-is-evil.html
- Likes 1
Comment
Comment