[NVIDIA/Wayland] Firefox hangs with windows placed on different virtual desktops KDE Wayland
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: vishalsubramanyam, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
1.58 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Steps to reproduce:
- Create multiple windows
- Place windows across different virtual desktops in KDE Wayland
- Switch to one of those windows
Actual results:
Firefox GUI hangs but clicks and keyboard events are actually being processed without a GUI change. Videos keep playing in the background. Pressing Ctrl+T creates a new tab (can be verified by the changing title bar).
The GUI goes back to normal when I bring all the Firefox windows to the same virtual desktop.
Expected results:
GUI should be rendering properly without a freeze
Reporter | ||
Comment 1•3 years ago
|
||
KDE Plasma Version: 5.26.5
Graphics platform: Wayland
Kubuntu 22.10
Reporter | ||
Comment 2•3 years ago
|
||
Attaching the related KDE bug report for more details: https://bugs.kde.org/show_bug.cgi?id=465115
Reporter | ||
Comment 3•3 years ago
|
||
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.
- When I disable hardware acceleration in Firefox
- 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.
Comment 4•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Updated•2 years ago
|
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
Reporter | ||
Comment 6•2 years ago
|
||
I have NVIDIA RTX 3050Ti, so I'm guessing it's not very different from yours. Lemme see if I can upgrade to 5.27. I don't use Flatpak.
Also, are you using nvidia-vaapi-driver? I've noticed this problem disappearing when I switch hardware acceleration to Intel or turn it off entirely.
Comment 7•2 years ago
|
||
(In reply to vishalsubramanyam from comment #0)
Is this bug really about Wayland and not Xwayland?
Does this problem still occur if you start Firefox with MOZ_ENABLE_WAYLAND=1 environment variable?
$ MOZ_ENABLE_WAYLAND=1 path/to/firefox
Comment 8•2 years ago
|
||
I'm also experiencing this issue. Perhaps this is related to Kubuntu?
System:
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-23-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8700 CPU @ 3.20GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2
The most reliable way to reproduce this for me:
- Make sure firefox is closed.
MOZ_ENABLE_WAYLAND=1 firefox
- Open a second window and move it to another virtual desktop.
- Try to resize the first window, which won't work until the second window is closed.
Comment 9•2 years ago
|
||
A comparison of MOZ_ENABLE_WAYLAND 1 vs 0
Description
•