-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromium - NVIDIA - unable to use hardware acceleration on X11. #209101
Comments
Hardware acceleration works fine for me on NVIDIA, however I am noticing weird behavior with any Chromium based browser I haven't noticed on any other distro.
The only way I have found to run at above 60Hz is to completely disable vsync in the browser with Also, it's worth noting I have none of these issues with Firefox or Chromium on different distros and this also happens with all forks of Chromium such as Brave, Chromium, Ungoogled-chromium etc. 🤔 Also, I tried killing picom with no luck... Here is my configuration although I really don't think it's the issue |
Interesting, I'll check later this evening as I must add that while on wayland I can see proper hardware acceleration, after a while the chrome window content starts flickering/glitching a lot. This behavior is not ovserved on firefox or any other app. |
Flickering and glitching is likely just due to NVIDIAs garbage support for Wayland basically they released it in barley even alpha quality state and haven't done anything to resolve any of the issues ever since they released it |
Huh, seems to happen on Flatpak too.. I have no idea what is happening for me at least. But Flatpak can generally fix stuff like this, so perhaps you will have better luck |
Also my NVENC encoder broken in OBS after recentlly nixos-unstable channel update, maybe related. |
Probably unrelated because it happened on stable for me too |
Flickering with NVIDIA on a wl-roots based WMs can be workaround with a simple patch until NVIDIA fixes their drivers:
Here's a few other tricks to get a better experience on Wayland: https://wiki.hyprland.org/Nvidia/ |
Hm, I will try this. I gave up on Wayland on NVIDIA |
It works really well on Hyprland, it's just like Sway but with smooth animations. |
What version of Chromium do you use? I've also noticed that Chromium v110+ on Arch Linux breaks HW accelaration on X11. |
I'm using (via
|
I don't think it's much of a surprise, but also Electron apps are effected with my issue. I also forgot to share my configurations, so I will do that but no idea if it's user error |
I started havng this problem about two weeks ago (nixos-unstable). Firefox does not seem to be affected. |
@jkozak From my experience you're likely to hit this issue sooner or later with NixOS. Hardware Acceleration is bound to break when you have multiple versions of libraries which are responsible for it. It's a consequence of how NixOS' packaging system is designed for reproducibility. You might have more luck with sticking to stable channel and cherry-picking packages from Unstable branch.. I personally quit NixOS and started using OSTree + Podman. Couldn't be happier ;) |
Describe the bug
I'm using KDE plasma. Using the X11 session of kde plasma via sddm leads to a system in which chromium and derivates cannot perform hardware acceleration. The problem disappears on wayland.
On X11
On Wayland
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Hardware acceleration should work on chrome via X11.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
X11 glxinfo
Opengl, vulkan demos are all working as expected.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: