Originally posted by atomsymbol
View Post
Announcement
Collapse
No announcement yet.
Firefox 71 Landing Wayland DMA-BUF Textures Support
Collapse
X
-
Will this mean Firefox can work in a zero-copy mode? IE it only works directly with the GPU memory buffer and that exact same buffer (at the exact same GPU memory address) is referenced by the Wayland compositor when compositing a fullscreen image to be displayed on the monitor?
... so instead of:
Firefox edits system RAM buffer -> Firefox copies RAM buffer to GPU buffer -> Desktop compositor copies GPU buffer to its own memory region -> Desktop compositor creates fullscreen image to display
... you get:
Firefox edits DMABUF, GPU buffer -> Desktop compositor creates fullscreen image to display based on that buffer (and others)
Comment
-
Originally posted by AnAccount View Post
No, you know what is funny, that you complain about something you clearly do not understand. The wayland dmabuf support is a requirement for video decoding to avoid having to avoid unnecessary copying of data to and from the GPU. So you are complaining about them actually getting closer to the thing you want.
Comment
-
Originally posted by ernstp View Post
With the move to less patent-encumbered codecs like VP9 and AV1 it's less common that you actually have fixed function hardware that supports decoding your codec.
Comment
-
Originally posted by frank007 View Post
Really? The patent is about the hardware acceleration, not on the library used for decoding? mg
- 4 likes
Comment
-
-
Originally posted by atomsymbol View Post
Some notes:- Nowadays 3 CPU cores with AVX2 are able to decode any video type up to 4K 10-bit HDR 60Hz, the CPU might only have issues handling 8K videos
- GPU-assisted decoding is preferable when it results in smaller system power consumption compared to CPU-only video decoding or when the CPU is busy handling other tasks in addition to video decoding
- Decoded 4K 10-bit HDR 60Hz requires about 1-2 GiB/s of memory bandwidth. Main memory bandwidth and PCI Express bandwidth are greater than 2 GiB/s.
- From historical perspective, HW acceleration of video decoding in x86 CPUs started with the Pentium MMX (released in January 1997)
- 4 likes
Comment
- Nowadays 3 CPU cores with AVX2 are able to decode any video type up to 4K 10-bit HDR 60Hz, the CPU might only have issues handling 8K videos
-
Originally posted by atomsymbol View PostGPU-assisted decoding is preferable when it results in smaller system power consumption compared to CPU-only video decoding or when the CPU is busy handling other tasks in addition to video decoding
AFAIK no CPU even with AVX2 is nearly equal power consumption wise to specialized video decoding in the GPU (if both are from the same year and vendor).
- 1 like
Comment
Comment