shiftkey / desktop

Fork of GitHub Desktop to support various Linux distributions
MIT License
6.87k stars 521 forks source link

Very sluggish over X11 since upgrading electron #1127

Open isuro opened 2 months ago

isuro commented 2 months ago

The problem

Running over X11 from dockerized ubuntu, installed via .deb. Upgrading past version 3.4.0-RC1 makes the UI unusably sluggish. Maybe there's a flag or something in the newer electron to make it more software-rendering-friendly? Happy to try things.

Release version

Version 3.4.0-linux1 (arm64)

Operating system

Ubuntu 20.04.6 on Docker (mac)

Steps to reproduce the behavior

No response

Log files

No response

Screenshots

No response

Additional context

No response

shiftkey commented 2 weeks ago

Maybe there's a flag or something in the newer electron to make it more software-rendering-friendly?

https://github.com/shiftkey/desktop/blob/linux/docs/known-issues.md#i-get-a-white-screen-when-launching-desktop

You can set an environment variable GITHUB_DESKTOP_DISABLE_HARDWARE_ACCELERATION=1 to disable hardware rendering and see if that changes anything...

isuro commented 2 weeks ago

Ugh, no improvement, I'm afraid...