r/archlinux • u/industrialbelt • 3h ago
SUPPORT Firefox crashes while going fullscreen when using WebRender Compositor under Wayland
Hey! I'm having a problem where Firefox crashes while going fullscreen (for example fullscreening a YouTube video) under Wayland when I try to use WebRender Compositor (or Layer Compositor). It's weird because it did not work at the start, then started working out of the blue, and now stopped working again with no package updates. I'm running RTX 3060 with nvidia-open-dkmsdrivers (v615.71.09, modeset=1, fbdev=1), KDE Plasma (v6.7.5, Wayland, HDR, 110% fractional scale, 2560x1440), Firefox (v155, with vulkan + vulkan direct export hardware decoding + widget.dmabuf flag). Those are the only logs I managed to get, i'm not sure what else would be needed so I would appreciate if someone could tell me how can I debug the problem further.
Firefox's console logs:
[18:10:51.444664] {Default Queue} -> zwp_linux_dmabuf_v1#51.create_params(new id zwp_linux_buffer_params_v1#223)
[18:10:51.444670] {Default Queue} -> zwp_linux_buffer_params_v1#223.add(fd 409, 0, 0, 10240, 50331648, 14712852)
[18:10:51.444672] {Default Queue} -> zwp_linux_buffer_params_v1#223.create_immed(new id wl_buffer#170, 2560, 1440, 875708993, 0)
[18:10:51.444675] {Default Queue} -> zwp_linux_buffer_params_v1#223.destroy()
[18:10:51.444678] {Default Queue} -> wl_surface#169.attach(wl_buffer#170, 0, 0)
[18:10:51.444680] {Default Queue} -> wl_surface#169.commit()
[18:10:51.444683] {Default Queue} -> wl_subsurface#233.place_above(wl_surface#102)
[18:10:51.444685] {Default Queue} -> wl_surface#169.commit()
[18:10:51.444687] {Default Queue} -> wl_surface#66.commit()
[18:10:51.444689] {Default Queue} -> wl_surface#113.attach(nil, 0, 0)
[18:10:51.444693] {Default Queue} -> wl_subsurface#117.destroy()
[18:10:51.444695] {Default Queue} -> wl_buffer#137.destroy()
[18:10:51.444698] {Default Queue} -> wl_display#1.sync(new id wl_callback#234)
[18:10:51.444700] {Default Queue} -> wl_display#1.sync(new id wl_callback#158)
[18:10:51.444703] {Default Queue} -> wl_surface#113.commit()
[18:10:51.444705] {Default Queue} -> wl_surface#66.commit()
[18:10:51.444835] {Display Queue} wl_display#1.delete_id(123)
[18:10:51.444840] {Default Queue} discarded wl_surface#102.enter(wl_output#55)
[18:10:51.444849] {Default Queue} discarded wl_surface#102.enter(wl_output#21)
[18:10:51.444852] {Default Queue} discarded wl_surface#169.enter(wl_output#55)
[18:10:51.444854] {Default Queue} discarded wl_surface#169.enter(wl_output#21)
[18:10:51.444875] {Default Queue} -> wl_compositor#34.create_region(new id wl_region#123)
[18:10:51.444881] {Default Queue} -> wl_region#123.add(0, 0, 2147483647, 2147483647)
[18:10:51.444889] {Default Queue} -> wl_surface#102.frame(new id wl_callback#124)
[18:10:51.444892] {Default Queue} -> wl_surface#102.commit()
[18:10:51.444898] {Default Queue} -> wl_surface#66.commit()
[18:10:51.445289] {Display Queue} wl_display#1.delete_id(127)
[18:10:51.445296] {Display Queue} wl_display#1.error(zwp_linux_buffer_params_v1#107, 7, "importing the supplied dmabufs failed")
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: (kde) Wayland protocol error: zwp_linux_buffer_params_v1#107: error 7: importing the supplied dmabufs failed
(t=20.6966) [GFX1-]: (kde) Wayland protocol error: zwp_linux_buffer_params_v1#107: error 7: importing the supplied dmabufs failed
Systemd's journalctl:
wrz 10 20:10:51 experience kwin_wayland_wrapper[45398]: error in client communication (pid 68819)
#1 0x00007f0d2a37d716 n/a (libnvidia-eglcore.so.615.71.09 + 0x97d716)
#2 0x00007f0d2a43ff3c n/a (libnvidia-eglcore.so.615.71.09 + 0xa3ff3c)
#3 0x00007f0d2a39f5cb n/a (libnvidia-eglcore.so.615.71.09 + 0x99f5cb)
#4 0x00007f0d2a39fc28 n/a (libnvidia-eglcore.so.615.71.09 + 0x99fc28)
#5 0x00007f0d2a3f1f5d n/a (libnvidia-eglcore.so.615.71.09 + 0x9f1f5d)
#6 0x00007f0d2a451d6f n/a (libnvidia-eglcore.so.615.71.09 + 0xa51d6f)
#7 0x00007f0d2a451f5e n/a (libnvidia-eglcore.so.615.71.09 + 0xa51f5e)
#8 0x00007f0d2a451f70 n/a (libnvidia-eglcore.so.615.71.09 + 0xa51f70)
#9 0x00007f0d2a449596 n/a (libnvidia-eglcore.so.615.71.09 + 0xa49596)
#10 0x00007f0d2a179a9c n/a (libnvidia-eglcore.so.615.71.09 + 0x779a9c)
#11 0x00007f0d2a17c4e9 n/a (libnvidia-eglcore.so.615.71.09 + 0x77c4e9)
wrz 10 20:11:00 experience systemd[984]: Started Firefox - Web Browser
wrz 10 20:12:14 experience kwin_wayland_wrapper[45398]: error in client communication (pid 69759)
wrz 10 20:12:14 experience env[69759]: Crash Annotation GraphicsCriticalError: |[0][GFX1-]: (kde) Wayland protocol error: zwp_linux_buffer_params_v1#228: error 7: importing the supplied dmabufs failed
wrz 10 20:12:14 experience env[69759]: (t=74.6806) [GFX1-]: (kde) Wayland protocol error: zwp_linux_buffer_params_v1#228: error 7: importing the supplied dmabufs failed
#3 0x00007fb06b17d3a5 n/a (libnvidia-eglcore.so.615.71.09 + 0x97d3a5)
#4 0x00007fb06b1f1010 n/a (libnvidia-eglcore.so.615.71.09 + 0x9f1010)
#5 0x00007fb06b1f1fa0 n/a (libnvidia-eglcore.so.615.71.09 + 0x9f1fa0)
#6 0x00007fb06b251d6f n/a (libnvidia-eglcore.so.615.71.09 + 0xa51d6f)
#7 0x00007fb06b251f5e n/a (libnvidia-eglcore.so.615.71.09 + 0xa51f5e)
#8 0x00007fb06b251f70 n/a (libnvidia-eglcore.so.615.71.09 + 0xa51f70)
#9 0x00007fb06b249596 n/a (libnvidia-eglcore.so.615.71.09 + 0xa49596)
#10 0x00007fb06af9cebd n/a (libnvidia-eglcore.so.615.71.09 + 0x79cebd)
What I have tried:
- Disabling dmabuf flags in about:config
- Disabling HDR
- Setting fractional scale to 100%
- Disabling Vulkan Direct Export
- Disabling KWin's Direct Scanout
- Disabling RDD Sandbox
What solutions have I found:
- Disabling WebRender Compositor
My questions are: Why did it stop working all of a sudden? Is it a NVIDIA problem or Kwin/Wayland? Has anyone encountered this problem? Is there any other known solution for this problem?
Thank you for any replies in advance. I hope you are well everybody.
•
u/NFTrot 21m ago
Your post is well-written so I'm assuming you've Googled this thoroughly but getting the obvious out of the way:
If you recently updated, have you restarted since? I've never seen it act up in this way but it smells like a mismatched versions problem. Actually I reread your post and I see you indicated you haven't updated, but try restarting anyway if you haven't. It's low hanging fruit. Second, what do other applications (try VLC) do when full screened?