You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All new issues now require steps to reproduce (also called "repro steps") the
problem or the behavior you wish to see on GitHub Desktop. We do this so we can
be certain that we are understanding what it is you're describing and don't
prematurely close the issue or implement the wrong feature. If you need help
writing detailed repro steps, please see the How Can I Contribute? document.
Thank you for letting me know. I thought I put in the proper info under steps to reproduce. I tried to recreate after a system restart and seem to have something better pinned down.
Play video in Chrome that is playing using html5 video
Open github desktop
Make changes to a repo, leave comment and commit.
Program screen will go black in different places finally ending with whole window black.
Closing and reopening the program fixes it but seems to randomly repeat.
This is using an AMD GPU on Windows 10 with Radeon Software Version 18.1.1.
Side note: The How Can I Contribute? link goes to a page not found. I think the page you were referencing was desktop/CONTRIBUTING.md
@marcpalestina thanks for the steps to reproduce as I was not able to reproduce with your original steps. Also, I appreciate you pointing out that link issue. I use snippets and I had not updated it since our docs have changed.
@iAmWillShepherd Thank you for looking into it. If I am able to reproduce it better I will update the steps.
One thing to look at is, as I made mention in the first post, I think this issue is related to an issue with Chromium which, unless I am mistaken, GitHub Desktop is built on. I had the same issue come up in Chrome and had to go into the settings and turn off "Use hardware acceleration when available". By the looks of things I do not see if there is a way for a user to do so. I maybe wrong if this is the actual case but it is discussed in this thread on productforums.google.com. I hope this helps with a solution and not just a random correlation or wrong assumption. Thank you again.
Rather than making this a general option for users to manage, I'd design this to be an escape hatch without a UI to go with it. I say this because the Electron API needs to be invoked before the application is ready (i.e. the user can interact with the app).
I'd recommend Desktop check for an environment variable named something like DESKTOP_DISABLE_HARDWARE_ACCELERATION (this is basically what the classic GitHub for Windows app did) and then calling the right Electron API. This means we'll also be able to support users who are unable to launch Desktop due to video card issues with hardware acceleration, if they're out there.
I just updated to the latest release 1.1.1 and I am experiencing the same black screen issue.
Everything is completely black but the interface still works as indicated by cursor changes. also the interface is interactive by the fact that I can press the maximize button and the close window button.
I did not update windows, Github desktop was working, an application restart was requested for the github desktop application to update, I pressed restart, and the app relaunched, except this time it was a completely black UI.
Pic:
Steps to reproduce:
Start application.
Troubleshooting:
Uninstall and reinstall the application,
Update graphics drivers.
Reboot computer.
System Info (post driver update):
OS Name Microsoft Windows 10 Pro
Version 10.0.16299 Build 16299
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name ELLIOT-LAPTOP
System Manufacturer Dell Inc.
System Model Latitude E5470
System Type x64-based PC
System SKU 06DE
Processor Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, 2801 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date Dell Inc. 1.18.6, 12/8/2017
SMBIOS Version 3.0
Embedded Controller Version 255.255
BIOS Mode UEFI
BaseBoard Manufacturer Dell Inc.
BaseBoard Model Not Available
BaseBoard Name Base Board
Platform Role Mobile
Secure Boot State On
PCR7 Configuration Bound
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume2
Locale United States
Hardware Abstraction Layer Version = "10.0.16299.248"
User Name ELLIOT-LABS\elliot
Time Zone Eastern Daylight Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.9 GB
Available Physical Memory 11.8 GB
Total Virtual Memory 18.2 GB
Available Virtual Memory 14.0 GB
Page File Space 2.38 GB
Page File C:\pagefile.sys
Virtualization-based security Running
Virtualization-based security Required Security Properties
Virtualization-based security Available Security Properties Base Virtualization Support, Secure Boot, DMA Protection, Secure Memory Overwrite, UEFI Code Readonly, SMM Security Mitigations 1.0
Virtualization-based security Services Configured
Virtualization-based security Services Running
Device Encryption Support Meets prerequisites
A hypervisor has been detected. Features required for Hyper-V will not be displayed.
I dropped alot of graphics settings (hardware acceleration and antialiasing etc) in the AMD graphics setttings dialogue on my computer. I did it specifically for this app and it solved the issue. Sorry that I can't be more specific.
Could you try re-enabling hardware acceleration to see if the problem comes back? I have a hunch that's the issue. Also, did adding this environment variable have any effect?
This is still a problem. I've done the same thing, I changed the graphics settings, to Power Saving and it worked. It doesn't work on High Performance. I guess this has something to do with AMD Radeon graphics cards. It was in the Not Assigned mode initially, and I guess that's set to High Performance by default.
I haven't made any changes to any environment variables at all. Just reinstalled the app and got a black screen after restarting it.
@danieldogeanu Just wanted to say thanks! Github Desktop was giving me a black screen on my Lenovo Thinkpad E560 on Windows 10 as well.
Intel Core i7-6500U with an AMD Radeon R7 M370 dedicated GPU. Running on the AMD GPU would give me a black screen, swapping to the Intel HD graphics worked. AMD Settings driver version 2016.1108.1752.32147 for reference.
Steps to replicate yours:
Right click on desktop and click on AMD Radeon Settings.
Inside the AMD Radeon Settings tool, click on Preferences.
Click on the Radeon Additional Settings button.
On the left inside Radeon Additional Settings, click Switchable Graphics Application Settings.
With Github Desktop open, or recently closed, look for githubdesktop.exe in the list and set it to Power Saving. May have to close and re-open Github Desktop for the change to take effect.
Now it works! Wrote down the steps in case I forget what I did, or if someone else needs a step-by-step to get it working for themselves too.
Activity
iAmWillShepherd commentedon Feb 2, 2018
Thanks for opening an issue!
All new issues now require steps to reproduce (also called "repro steps") the
problem or the behavior you wish to see on GitHub Desktop. We do this so we can
be certain that we are understanding what it is you're describing and don't
prematurely close the issue or implement the wrong feature. If you need help
writing detailed repro steps, please see the How Can I Contribute? document.
mjpalestina commentedon Feb 2, 2018
Thank you for letting me know. I thought I put in the proper info under steps to reproduce. I tried to recreate after a system restart and seem to have something better pinned down.
This is using an AMD GPU on Windows 10 with Radeon Software Version 18.1.1.
Side note: The How Can I Contribute? link goes to a page not found. I think the page you were referencing was desktop/CONTRIBUTING.md
Thank you.
iAmWillShepherd commentedon Feb 2, 2018
@marcpalestina thanks for the steps to reproduce as I was not able to reproduce with your original steps. Also, I appreciate you pointing out that link issue. I use snippets and I had not updated it since our docs have changed.
mjpalestina commentedon Feb 2, 2018
@iAmWillShepherd Thank you for looking into it. If I am able to reproduce it better I will update the steps.
One thing to look at is, as I made mention in the first post, I think this issue is related to an issue with Chromium which, unless I am mistaken, GitHub Desktop is built on. I had the same issue come up in Chrome and had to go into the settings and turn off "Use hardware acceleration when available". By the looks of things I do not see if there is a way for a user to do so. I maybe wrong if this is the actual case but it is discussed in this thread on productforums.google.com. I hope this helps with a solution and not just a random correlation or wrong assumption. Thank you again.
shiftkey commentedon Feb 3, 2018
This is something that Electron also supports, through the
app.disableHardwareAcceleration()API.Rather than making this a general option for users to manage, I'd design this to be an escape hatch without a UI to go with it. I say this because the Electron API needs to be invoked before the application is ready (i.e. the user can interact with the app).
I'd recommend Desktop check for an environment variable named something like
DESKTOP_DISABLE_HARDWARE_ACCELERATION(this is basically what the classic GitHub for Windows app did) and then calling the right Electron API. This means we'll also be able to support users who are unable to launch Desktop due to video card issues with hardware acceleration, if they're out there.NikolaTotev commentedon Mar 9, 2018
I just updated windows and the same bug happened. Even after full reinstall github desktop is just black.
elliot-huffman commentedon Mar 31, 2018
I just updated to the latest release 1.1.1 and I am experiencing the same black screen issue.
Everything is completely black but the interface still works as indicated by cursor changes. also the interface is interactive by the fact that I can press the maximize button and the close window button.
I did not update windows, Github desktop was working, an application restart was requested for the github desktop application to update, I pressed restart, and the app relaunched, except this time it was a completely black UI.
Pic:

Steps to reproduce:
Start application.
Troubleshooting:
Uninstall and reinstall the application,
Update graphics drivers.
Reboot computer.
System Info (post driver update):
DxDiag output:
DxDiag.txt
Thanks!
elliot-huffman commentedon Apr 1, 2018
I was able to resolve it on my side by switching my rendering to the integrated graphics (Intel) instead of my discrete card (AMD).
Power saving is on the Intel chipset where high performance is on the AMD chipset.
Aangbaeck commentedon Apr 25, 2018
This is very much still a problem. I was able to fix it with the help of this thread though. Thanks!
iAmWillShepherd commentedon Apr 25, 2018
@Aangbaeck , would you mind sharing what worked for you?
Aangbaeck commentedon Apr 26, 2018
I dropped alot of graphics settings (hardware acceleration and antialiasing etc) in the AMD graphics setttings dialogue on my computer. I did it specifically for this app and it solved the issue. Sorry that I can't be more specific.
iAmWillShepherd commentedon Apr 27, 2018
Could you try re-enabling hardware acceleration to see if the problem comes back? I have a hunch that's the issue. Also, did adding this environment variable have any effect?
danieldogeanu commentedon Jun 11, 2018
This is still a problem. I've done the same thing, I changed the graphics settings, to
Power Savingand it worked. It doesn't work onHigh Performance. I guess this has something to do with AMD Radeon graphics cards. It was in theNot Assignedmode initially, and I guess that's set toHigh Performanceby default.I haven't made any changes to any environment variables at all. Just reinstalled the app and got a black screen after restarting it.
anisharya16 commentedon Jul 7, 2018
thanks for this, i changed to Power saving mode and it worked for me
sabun123 commentedon Jul 16, 2018
@danieldogeanu Just wanted to say thanks! Github Desktop was giving me a black screen on my Lenovo Thinkpad E560 on Windows 10 as well.
Intel Core i7-6500U with an AMD Radeon R7 M370 dedicated GPU. Running on the AMD GPU would give me a black screen, swapping to the Intel HD graphics worked. AMD Settings driver version 2016.1108.1752.32147 for reference.
Steps to replicate yours:
Now it works! Wrote down the steps in case I forget what I did, or if someone else needs a step-by-step to get it working for themselves too.
shiftkey commentedon Jul 16, 2018
@sabun123 thanks for the walkthrough of where to find the setting!