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

Black screen issue potentially due to old electron for AppImage #160

Open
jimmon89 opened this issue Sep 22, 2022 · 2 comments
Open

Black screen issue potentially due to old electron for AppImage #160

jimmon89 opened this issue Sep 22, 2022 · 2 comments

Comments

@jimmon89
Copy link

jimmon89 commented Sep 22, 2022

I ran into a black screen while using the AppImage of SMM after a reinstall of Nobara Linux brought on by an unrelated issue.
running it in a terminal revealed the following error
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
which pointed me to an Issue on the BitWarden GitHub.
The error message was caused by the environment variable LIBVA_DRIVER_NAME being null.
So following the info in the github issue ticket i tried env LIBVA_DRIVER_NAME=nvidia ./Satisfactory-Mod-Manager.AppImage.
which got rid of the error, but the black screen remained.
then someone had an unusual request and said to "bear with them", and try nouveau as the driver name.
so following along i ran env LIBVA_DRIVER_NAME=nouveau ./Satisfactory-Mod-Manager.AppImage and for the people in the ticket as well as myself it worked.
according to the developers of BitWarden, the problem was caused by using an old version of Electron and upgrading to a newer version fixed the black screen issue.

What is expected:

to have a working application when launched with
env LIBVA_DRIVER_NAME=nvidia ./Satisfactory-Mod-Manager.AppImage

What Happens:

A black window leading to an unusable application

Workaround:

Launch with
env LIBVA_DRIVER_NAME=nouveau ./Satisfactory-Mod-Manager.AppImage

Possible permanent Fix:

upgrade the pipeline to a newer version of electron

My System:

Desktop Ennvironment: Gnome 42.4
Windowing System: Wayland
OS Name: Nobara Linux 36 (Based on Fedora 36)
GPU: NVIDIA GeForce RTX 3060
Nvidia Driver Version: 515.65.01
NVML Version: 11.515.65.01
GPU Memory 12288 MB
PCI Device ID: 0x2503
PCI Vendor ID: 0x10de
PCIe Generation: Gen3
CPU: AMD Ryzen 5 3400G with Radeon Vega Graphics
RAM: 32.0 GiB

More info available upon request

@budak7273
Copy link
Member

(Copied from discussion on the discord)
The actual solution will be not using electron anymore sometime™️, so upgrading electron 5 major versions of breaking changes just to ditch electron not too long after that doesn't sound that great

@jimmon89
Copy link
Author

(Copied from discussion on the discord) The actual solution will be not using electron anymore sometimetm, so upgrading electron 5 major versions of breaking changes just to ditch electron not too long after that doesn't sound that great

(Also posted in discord)
Fair point

(Not from discord)
it would indeed make more sense not to go through the trouble of upgrading the pipeline to a newer version of electron if you already want to ditch electron as a whole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants