Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux transparency broken unless the GPU is disabled #149

Open
stamoun opened this issue Sep 15, 2021 · 3 comments
Open

Linux transparency broken unless the GPU is disabled #149

stamoun opened this issue Sep 15, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@stamoun
Copy link
Collaborator

stamoun commented Sep 15, 2021

See electron/electron#28834 and electron/electron#25153

Disabling the GPU will completely break fullscreen visualization.

IMO, until Electron fixes this, visualizations should not work fullscreen on Linux.

Bug introduced when upgrading Electron to 11 (cf. a0dc9e9)

@James-Livesey
Copy link

I suggest that you check out this comment left on one of the issues you mentioned: electron/electron#25153 (comment)

I was trying to get vscode transparency working without --disable-gpu and decided to try --use-gl=desktop and to my surprise it worked.

It seems to work for me, which is excellent, seeing that I want to be able to take full advantage of GPU rendering inside transparent framed windows.

Let me know if this does/doesn't work for you — equally, it would be handy if there was no workaround (ie. transparency works out of the box) of course.

(Running Electron 14.0.1 on Debian 10 GNU/Linux with picom compositor and Nvidia drivers)

@stamoun
Copy link
Collaborator Author

stamoun commented Sep 28, 2021

I tried that option but when I was using the --use-gl=desktop flag, I couldn't get any window (Lofi's main or he debug console) to show. No clue what was happening here.

Electron 14.0.1 is not Lofi's version, it's currently at 11.2.1. I have a branch to upgrade it to 14 but I'm still running into issues with children browser windows

@James-Livesey
Copy link

Huh, very strange. Have you tried using this flag when running the electron-quick-start demo? That may give a rough indication of whether the flag works well for you with basic Electron applications, and not just Lofi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants