Summary: | Firefox hangs when windows are placed in different virtual desktops while using NVIDIA-specific hardware acceleration in Firefox on Wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Vishal Subramanyam <vishalsubramanyam> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ahjolinna, nate, samdinner, vishalsubramanyam |
Priority: | NOR | ||
Version: | 5.26.5 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vishal Subramanyam
2023-02-01 11:00:29 UTC
Happens only in Wayland, not in X11 I have narrowed down this issue to NVIDIA-specific hardware acceleration in Firefox on Wayland. Happens only when I use NVIDIA as my primary GPU. This is related to hardware acceleration. This issue does NOT occur in the following situations. 1. When I disable hardware acceleration in Firefox 2. When I use hardware acceleration but with the primary GPU set as Intel integrated graphics. When I set NVIDIA as my primary GPU by using the following env variable: KWIN_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0", this issue occurs. Can't reproduce on an amd machine. This sounds like a bug in the driver. Please report this issue to NVIDIA developers. Specifically, you can report this issue to the NVIDIA by either sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-graphics/linux. It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks! I will file a report with NVIDIA. But I also think this bug might be affecting Xorg, not just Wayland. I'm trying to use Brave browser on Xorg, and when I have multiple Brave windows open on multiple desktops, GUI events such as scrolling, etc, are not displayed to the user immediately. I have to move the mouse around or something to get the GUI to be redrawn. This happens until I bring the Brave windows back to the same desktop. I dont have this issue with plasma 5.27 on MicroOS using nvidia RTX 3060Ti and I used Flatpak version of firefox (110) ...and yes I'm using wayland, maybe this has been fixed on the newer plasma? or maybe this affects other nvidia gpu? (espcially if you have older gpu that dont get the newer/latest drivers) ------------ system spec: Operating System: openSUSE MicroOS 20230214 KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.10-1-default (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics Memory: 15,4 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 We don't know. We haven't made changes in 5.27 that could potentially affect it. @Vishal Subramanyam did you try to run firefox with MOZ_ENABLE_WAYLAND=1 environment variable as suggested here: https://bugzilla.mozilla.org/show_bug.cgi?id=1815052#c7 (In reply to Alexander Ahjolinna from comment #8) > @Vishal Subramanyam did you try to run firefox with MOZ_ENABLE_WAYLAND=1 > environment variable as suggested here: > https://bugzilla.mozilla.org/show_bug.cgi?id=1815052#c7 I am also experiencing this bug and it's only with MOZ_ENABLE_WAYLAND=1. I left a bug report over on Firefox's tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=1815052#c8 |