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

Github desktop showing white screen upon opening #958

Closed
krushnaj opened this issue Nov 27, 2023 · 23 comments
Closed

Github desktop showing white screen upon opening #958

krushnaj opened this issue Nov 27, 2023 · 23 comments
Labels
bug retest-requested Issue needs to be verified against latest version of app upstream-dependencies

Comments

@krushnaj
Copy link

krushnaj commented Nov 27, 2023

The problem

Upon opening Github desktop it just shows the whitescreen after a few seconds. The likely cause is the Electron version as I faced this issue on other apps as well but I couldn't find the commit regarding the Electron version update.

Github deskop Version 3.3.5-linux1 (x64)
Ubuntu 23.10

Release version

3.3.5

Operating system

Ubuntu 23.10

Steps to reproduce the behavior

Just open the app and wait for some time until it shows the white screen

Log files

No response

Screenshots

Screencast.from.2023-11-27.11-20-21.webm

Additional context

No response

@krushnaj
Copy link
Author

This is the Electron issue electron/electron#39775

@ShanePark
Copy link

ShanePark commented Nov 27, 2023

i exactly have the same situation.

@Salvatoregreco
Copy link

I have the same error.

@capoaira
Copy link

capoaira commented Nov 27, 2023

I also have the same Error. As workaround, you can install Version 3.3.3-RC-1. This version works fine for me.

@shiftkey
Copy link
Owner

Thanks for the heads up. We've moved from electron@24.8.6 in 3.3.3 of GitHub Desktop to electron@26.2.4 in the current release, so I suspect that's related to this regression.

"electron": "24.8.6",

"electron": "26.2.4",

The latest Electron 26 release is 26.6.1 which may contain additional fixes (with 26.2.4 being released back in September) so my hunch here is that we're missing some fixes for later Linux distributions...

@shiftkey
Copy link
Owner

This is the Electron issue electron/electron#39775

Is this the same issue? I don't see any mentions of error messages in this report and I associate the "white screen" effect with GPU issues. It's also weird that the app renders fine for a while before this occurs

@shiftkey
Copy link
Owner

Please re-test with the latest release https://github.com/shiftkey/desktop/releases/tag/release-3.3.5-linux2 (has to be installed manually for now) and see if it resolves for your setup.

@shiftkey shiftkey added the retest-requested Issue needs to be verified against latest version of app label Nov 27, 2023
@capoaira
Copy link

capoaira commented Nov 27, 2023

That works for me (Linux Mint 21.2 Cinnamon). Thanks for the fast update 👍

@PiperKev
Copy link

Can confirm that it's resolved in my Linux Mint 21.2 system. Thanks for the quick fix!

@shiftkey
Copy link
Owner

I'll leave this open until I've published the bits to the official package feed - thanks for confirming @capoaira @PiperKev!

@Salvatoregreco
Copy link

It works also for me (Debian 12). Thanks!

@shiftkey shiftkey assigned shiftkey and unassigned shiftkey Nov 27, 2023
@arand0musernam3
Copy link

Working on PopOs! 22.04 LTS. Thank you!

@QuentiumYT
Copy link

Working on Ubuntu 23.10, thanks!

@madmonki
Copy link

Working on Arch Linux with latest packages on this current date.

@ShanePark
Copy link

ShanePark commented Nov 28, 2023

perfectly works on Ubuntu 22.04 . thank you very much for quick fix

@krushnaj
Copy link
Author

This is the Electron issue electron/electron#39775

Is this the same issue? I don't see any mentions of error messages in this report and I associate the "white screen" effect with GPU issues. It's also weird that the app renders fine for a while before this occurs

Yes this is the same issue, in the expected results the author did mention The renderer should not crash. This is the same as showing the white screen even if this isn't mentioned in that issue.

@krushnaj
Copy link
Author

Also can confirm the latest release fixes this issue.

@mtariqsajid
Copy link

same issue

Changes complete.
04:54:28 experts@experts-Lenovo-V15-IIL share → flatpak run io.github.shiftey.Desktop
[2:1129/165508.087500:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Gtk-Message: 16:55:08.294: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:55:08.295: Failed to load module "canberra-gtk-module"
[2:1129/165508.310347:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1129/165508.310385:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
LaunchProcess: failed to execvp:
xdg-settings
[2:1129/165508.507792:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=139
[63:1129/165508.534784:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2:1129/165508.696981:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=139
[2:1129/165508.881278:ERROR:gpu_process_host.cc(957)] GPU process exited unexpectedly: exit_code=139
[63:1129/165508.925872:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at WebFrameMain.send (node:electron/js2c/browser_init:2:94495)
    at WebContents.send (node:electron/js2c/browser_init:2:79721)
    at U (/app/github-desktop/resources/app/main.js:2:211774)
    at BrowserWindow.<anonymous> (/app/github-desktop/resources/app/main.js:2:216319)
    at BrowserWindow.emit (node:events:525:35)

@shiftkey
Copy link
Owner

@mtariqsajid please confirm whether or not the new release linked above fixes the issue

@mtariqsajid
Copy link

mtariqsajid commented Nov 29, 2023

@mtariqsajid please confirm whether or not the new release linked above fixes the issue

yes 3.3.5 works but the flatpak version is not working.

@rizitis
Copy link

rizitis commented Nov 29, 2023

I confirm flatpak-version 3.3.5 is not working
i m sorry by mistake open issue in the official repo.
desktop#17789

@shiftkey
Copy link
Owner

@mtariqsajid @rizitis please follow along with the downstream issue flathub/io.github.shiftey.Desktop#137 as that is where new updates for the Flatpak package are handled.

@shiftkey shiftkey closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
@nilslindemann
Copy link

nilslindemann commented Nov 29, 2023

I also confirm, the Flatpak 3.3.5-linux1 version, installed via the Linux Mint package manager has the bug, while the 3.3.5-linux2 release linked above works. Thanks a ton!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug retest-requested Issue needs to be verified against latest version of app upstream-dependencies
Projects
None yet
Development

No branches or pull requests