Sometimes when I open Firefox, the content of Firefox window doesn't render at all, it gets a frame from the window behind and render nothing else. This issue seems relatively random as multiple open/close cycles seem to temporally fix the issue.

I run Kubuntu 21.10, KDE plasma 5.23.4 on my laptop (X11 session).

  • 1
    Same problem with xfce. Do you happen to have a Nvidia GPU? It seems that EGL support is broken for Nvidia.... looking for a solution myself..
    – kanehekili
    Dec 22, 2021 at 20:09
  • Yes I have an Nvidia GPU that is disabled, I found out a solution that worked for me, check the accepted answer @kanehekili
    – TD15
    Dec 25, 2021 at 7:32

2 Answers 2


In the case where you have only Nvidia card, you can try the solution in the other answer.

Turns out it has something to do in the case when you disable the Nvidia card and use integrated graphics. Firefox seems to be trying to render through the disabled GPU. To fix add this to your .profile:

if ! grep -w -q nvidia <(lsmod) ; then export

logout then login and the problem is solved.



The same problem occurs in XFCE on a device with a NVIDIA GPU:

Random transparency on focus change, flickering or partial repaints

The following entries [Firefox 95 and newer] in "about:config" helped:

gfx.webrender.software.opengl -> true, 
gfx.webrender.software -> false 
gfx.swap-interval.egl ->false 
layers.acceleration.disabled -> false 
gfx.webrender.all ->false

and most important:

layers.acceleration.force-enabled -> true

Restart firefox

  • Isn't this disabling hardware acceleration for OpenGL?, could you also try the other solution I found?
    – TD15
    Dec 25, 2021 at 8:35
  • Not possible, I can't disable my only GPU. And yes, it is disabling at least some part of the HW acceleration. The problem started with FF 93.
    – kanehekili
    Dec 25, 2021 at 19:31
  • Should this be reported as a bug to Mozilla?
    – TD15
    Dec 26, 2021 at 5:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.