QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
542 stars 48 forks source link

WEBKIT_DISABLE_COMPOSITING_MODE=1 is necessary to make WebkitGtk based app render properly #9595

Open ImBearChild opened 1 day ago

ImBearChild commented 1 day ago

Qubes OS release

Qubes Release 4.2.3 (R4.2)

Brief summary

WebKitGTK based application will use Accelerated Compositing mode to render web content. However, this feature does not behave properly under software provided OpenGL (llvmpipe).[^not_only_software] Using WEBKIT_DISABLE_COMPOSITING_MODE=1 to disable this mode. ^env_var Maybe Qubes can add WEBKIT_DISABLE_COMPOSITING_MODE=1 to user's default environment.

[^not_only_software]: This bug effects many user, not only software render users. For example: https://github.com/NixOS/nixpkgs/issues/32580

Steps to reproduce

  1. Install a WebKitGtk based application (Epiphany, Remmina Web, Tauri ...)
  2. Open a webpage in it.
  3. See this bug. Black secreen or nothing will be displayed. And the app may output following message in stdout.
    Failed to get GBM device
    Failed to get GBM device

Expected behavior

Behave properly.

Actual behavior

Not behave properly.