Skip to content

[bug] [cef] Black screen when running CEF app with transparency #15718

Description

@aervxa

Describe the bug

when running a cef app with transparent:true
I get these errors:

[7542:7542:0715/104252.353262:ERROR:content/browser/gpu/gpu_process_host.cc:1089] GPU process exited unexpectedly: exit_code=139
[7542:7542:0715/104256.038834:ERROR:content/browser/gpu/gpu_process_host.cc:1089] GPU process exited unexpectedly: exit_code=139
[7542:7542:0715/104259.525112:ERROR:content/browser/gpu/gpu_process_host.cc:1089] GPU process exited unexpectedly: exit_code=139
[8363:8372:0715/104259.543699:ERROR:ui/base/x/x11_software_bitmap_presenter.cc:147] XGetWindowAttributes failed for window 52428804

If i pass --disable-gpu I still get:

[8363:8372:0715/104259.543699:ERROR:ui/base/x/x11_software_bitmap_presenter.cc:147] XGetWindowAttributes failed for window 52428804

in both cases, a constant black screen stays.

temp fix

setting transparent:false has it working with no errors

Reproduction

Set transparent: true and run cef app

Expected behavior

Transparency works
and the app not crashing/staying black

Full tauri info output

[✔] Environment
    - OS: Arch Linux Rolling Release x86_64 (X64) (KDE on wayland)
    ✔ webkit2gtk-4.1: 2.52.4
    ✔ rsvg2: 2.62.3
    ✔ rustc: 1.96.0 (ac68faa20 2026-05-25)
    ✔ cargo: 1.96.0 (30a34c682 2026-05-25)
    ✔ rustup: 1.29.0 (28d1352db 2026-03-05)
    ✔ Rust toolchain: 1.96.0-x86_64-unknown-linux-gnu (overridden by environment variable RUSTUP_TOOLCHAIN)
    - node: 24.18.0
    - npm: 11.16.0

[-] Packages
    - tauri 🦀: git+https://github.com/tauri-apps/tauri?branch=feat/cef#771228574cbef93324f362c757bb769581b3c66b (2.11.3), (outdated, latest: 2.11.5)
    - tauri-build 🦀: git+https://github.com/tauri-apps/tauri?branch=feat/cef#771228574cbef93324f362c757bb769581b3c66b (2.6.3)
    - wry 🦀: 0.55.1
    - tao 🦀: 0.35.2, (outdated, latest: 0.35.3)
    - @tauri-apps/api  ⱼₛ: 2.11.0 (outdated, latest: 2.11.1)
    - @tauri-apps/cli  ⱼₛ: 2.11.1 (outdated, latest: 2.11.4)

[-] Plugins
    - tauri-plugin-store 🦀: 2.4.3
    - @tauri-apps/plugin-store  ⱼₛ: 2.4.3
    - tauri-plugin-log 🦀: 2.8.0, (outdated, latest: 2.9.0)
    - @tauri-apps/plugin-log  ⱼₛ: not installed!
    - tauri-plugin-os 🦀: 2.3.2
    - @tauri-apps/plugin-os  ⱼₛ: 2.3.2

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../.output/public
    - devUrl: http://localhost:3000/
    - framework: Vue.js (Nuxt)
    - bundler: Vite

Stack trace


Additional context

This did not exist in prior versions of either cef or tauri-runtime-cef, I have run the same app with transparency before (around a few days back before 1.50)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: cefissues specific to the CEF based runtimestatus: needs triageThis issue needs to triage, applied to new issuestype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions