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

[bug] Blank white screen at app launch on linux + X11 + Nvidia card. #330

Open
MeowRosya opened this issue Mar 3, 2024 · 0 comments
Open
Labels
bug Something isn't working linux

Comments

@MeowRosya
Copy link

MeowRosya commented Mar 3, 2024

Problem description

If using linux + X11 + Nvidia you can open an app but can't do anything because this is just an blank Screen where you can drag elements, maybe this will help you.

There's a few ways to fix it:

Method 1

Set the environment variable. Webkit Composition Mode and Nvidia doesn't work properly yet, so you can disable it by setting env only for one launch:

WEBKIT_DISABLE_COMPOSITING_MODE=1 ./some-appimage-name

Or permanently, by adding:

WEBKIT_DISABLE_COMPOSITING_MODE=1

to ~/.profile file and logout.

Method 2

Warning

Use this method at your own risk. It involves changing the Linux kernel parameters at boot, so if something bad happens you should be prepared to restore yourself.

Setting DRM KMS (Kernel mode setting) in the bootloader. It worked in my case, maybe it work for you. If you are using grub, add nvidia_drm.modeset=1 to the of GRUB_CMDLINE_LINUX_DEFAULT line:

GRUB_CMDLINE_LINUX_DEFAULT="some other options nvidia_drm.modeset=1"

Now rebuild grub.cfg:

sudo grub-mkconfig -o /boot/grub/grub.cfg

And reboot. It should work now properly without setting envs.
If your are not using grub please check the your bootloader docs about DRM.

More info about DRM KMS you can find here https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting

Operating system

linux

App version

v2

@MeowRosya MeowRosya added the bug Something isn't working label Mar 3, 2024
@aleksey-hoffman aleksey-hoffman changed the title [bug] Blank Scren when launch app on linux + X11 + Nvidia card. [bug] Blank white screen at app launch on linux + X11 + Nvidia card. Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux
Projects
None yet
Development

No branches or pull requests

2 participants