Repository navigation
gpu browser frames on linux over dmabuf - #107
Merged
Merged
Conversation
|
PR test build retired — merged into |
thdxr
marked this pull request as ready for review
November 13, 2026 05:27
thdxr
force-pushed
the
linux-browser-gpu
branch
from
November 18, 2026 18:27
ec5d877 to
b7b3412
Compare
thdxr
force-pushed
the
linux-browser-gpu
branch
from
November 18, 2026 18:32
b7b3412 to
ce32258
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chromium renders on the hardware gpu (angle on vulkan, webgl and webgpu both work) and frames reach the app as dmabufs with no cpu copy, like iosurfaces on macos and shared textures on windows.
--use-gl=angle --use-angle=vulkan --enable-features=Vulkan,WebGPUService,VulkanFromANGLE,DefaultANGLEVulkan. withoutVulkanFromANGLE,DefaultANGLEVulkanwebgl canvases reached x11 frames black; withoutVulkanwebgpu has no adapterDMA_BUF_IOCTL_EXPORT_SYNC_FILE) before its egl copyFrameReadwith the pool id, on that connection only) and that read is what repaints a starved tab, so no timer061c218), needs a bump to dev once it lands. engine revision 2. desktop keeps--pointer/--keysin release (keys-overlay)measured on an amd 8060s (radv, niri + xwayland). a headless stand-in for the app draws the surface through rune whenever a frame arrives, 1600x1200, css animation page, medians:
also checked: 60 fps with pixels matching bgra on css, webgl and webgpu pages; an animation that stops then a js update 4 s later still shows (no freeze); killing the engine mid-stream then retry keeps frames flowing with no torn frames; a simulated import failure keeps the page's history and scroll.
not tested: nvidia, multi-gpu, a real desktop window.
— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊