5 ms·
This sucks. Chromium doesn't do accelerated video decode for intel on linux either. And now this. What's the AMD scene like ?
by bubblethink 8y ago
This sucks. Chromium doesn't do accelerated video decode for intel on linux either. And now this. What's the AMD scene like ?
- cheald 8y agoThe amdgpu drivers in Linux are fantastic these days. Works out of the box with most hardware. No proprietary binaries needed, other than the firmware blobs. AMD is doing a really solid job of supporting their Linux user base.
- bubblethink 8y agoYes, but does chromium play nice for acceleration ?
- cheald 8y agoSeems to be. From about:gpu: Graphics Feature Status Canvas: Hardware accelerated Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Out-of-process Rasterization: Disabled Hardware Protected Video Decode: Hardware accelerated Rasterization: Software only. Hardware acceleration disabled Skia Deferred Display List: Disabled Skia Renderer: Disabled Surface Control: Disabled Surface Synchronization: Enabled Video Decode: Hardware accelerated Viz Service Display Compositor: Disabled WebGL: Hardware accelerated WebGL2: Hardware accelerated
- andrewcchen 8y agoFor rendering yes. For video decoding no. Chromium needs a patch to use VA-API[1]. [1]: https://wiki.archlinux.org/index.php/Chromium#Hardware_video_acceleration https://wiki.archlinux.org/index.php/Chromium#Hardware_video...
- moonbug 8y agoNvidia also does an excellent job of supporting linux. It's just not open source.
- bubblethink 8y agoExcellent is a stretch. It works for things they support. Look at optimus and wayland for instance. Also, they restrict nouveau from working by signing blobs and enforcing checks. And this is years after Linus flipping the bird and other repeated requests.
- computerex 8y agoOptimus was the single most pain in the ass thing I have ever experienced in linux. Never again, am I going to run linux on an optimus machine with Bumblebee.
- StavrosK 8y agoNever again am I going to buy an Optimus machine. EDIT: Wait, there's an open source thing? Is Bumblebee any good? Optimus is such a pain in my ass that it's making me want to smash this laptop.
- okl 8y agoThey became famous on the net with this bug: https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issues/123 https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issue...
- zamadatix 8y agoWell, there is that whole GBM/EGLstreams thing with Wayland. Also their supported architectures list is basically x86 these days.
- emersion 8y agoTheir driver is really behind in terms of supporting newer libdrm features. It's also not well integrated in the ecosystem. They basically don't talk to the other Linux graphics devs.
- rzzzt 8y agoAMD drivers have an OS-independent hardware abstraction library at the core and they "only" have to adapt it to different systems: https://github.com/GPUOpen-Drivers/pal https://github.com/GPUOpen-Drivers/pal
- pritambaral 8y agoSo does nVidia.
- craftyguy 8y agoExcept the AMD driver is 1) open source and 2) works.
- pritambaral 8y agoExactly my point. The fact that nVidia also has an OS-independent abstraction library shouldn't stop them from making it work, at least.
- mcguire 8y agoWhich laptops have AMD chips? I've looked casually, but only seen Nvidia.
- alacombe 8y agoNo multi-GPU support (at least 2 years ago, using the binary drivers), no AMF support on Linux, and couldn't get multi-display support on a split screen. AMD is fail for me...
- ac29 8y agoChromium seems to do accelerated video decode with Intel GPU on Linux for me: Graphics Feature Status Canvas: Hardware accelerated Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Out-of-process Rasterization: Disabled Hardware Protected Video Decode: Hardware accelerated Rasterization: Hardware accelerated Skia Deferred Display List: Disabled Skia Renderer: Disabled Surface Control: Disabled Surface Synchronization: Enabled Video Decode: Hardware accelerated Viz Service Display Compositor: Disabled WebGL: Hardware accelerated WebGL2: Hardware accelerated
- cmurf 8y agoI have Chrome Version 65.0.3325.162 (Official Build) (64-bit) on 4.19.13-300.fc29.x86_64 with i915 graphics 00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller]) And chrome://gpu says Video Decode: Unavailable And it points to this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=137247 https://bugs.chromium.org/p/chromium/issues/detail?id=137247
- zanny 8y agoYou need a VAAPI build of Chromium, it isn't on by default. Arch has a PKGBUILD in the repo: https://aur.archlinux.org/packages/chromium-vaapi/ https://aur.archlinux.org/packages/chromium-vaapi/ and I think there are builds for most popular distros out there nowadays. If you are on Arch or one of its family you can get a -bin version in the AUR or use ArchlinuxCN that builds it in their repo.
- cmurf 8y agoThe Chromium in Fedora's standard repo is built with it, and when I run it chrome://gpu does say video hardware acceleration is enabled. But at least with a handful of youtube videos, it doesn't matter, still uses 200%+ CPU, same as Chrome (no acceleration), laptop still gets hot and fans still run.
- zanny 8y agohttps://wiki.archlinux.org/index.php/chromium#Hardware_video_acceleration https://wiki.archlinux.org/index.php/chromium#Hardware_video... You can get hardware video on Intel and AMD.
- alacombe 8y agoOnly decode, there is no va-api support for AMF, say to get hardware HEVC encoding.