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

Blank screen upon launching, GNOME 46.1 (NVIDIA+X11) #1186

Open
carterprince opened this issue May 10, 2024 · 1 comment
Open

Blank screen upon launching, GNOME 46.1 (NVIDIA+X11) #1186

carterprince opened this issue May 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@carterprince
Copy link

carterprince commented May 10, 2024

Describe the bug

Blank screen upon starting the app.

GPU is NVIDIA, DE is GNOME 46.1 on X11, installed via the Flatpak (from GNOME Software).

image

Error log:

~ $ flatpak run com.modrinth.ModrinthApp
Gtk-Message: 12:12:35.039: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:12:35.040: Failed to load module "canberra-gtk-module"

** (modrinth-app-wrapped:2): WARNING **: 12:12:35.174: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
Gtk-Message: 12:12:35.238: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:12:35.241: Failed to load module "canberra-gtk-module"
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)

KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 1280x800: Permission denied

Running with root privileges produces the same output.

Appimage downloaded from https://modrinth.com/app produces a similar error, but instead of a blank screen it just crashes:

~/Downloads $ chmod +x modrinth-app_0.7.1_amd64.AppImage && RUST_BACKTRACE=full ./modrinth-app_0.7.1_amd64.AppImage 
src/nv_gbm.c:288: GBM-DRV error (nv_gbm_create_device_native): nv_common_gbm_create_device failed (ret=-1)


** (modrinth-app:108966): WARNING **: 12:22:41.206: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
thread '<unnamed>' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-plugin-deep-link-0.1.2/src/linux.rs:94:49:
Can't create listener: Os { code: 98, kind: AddrInUse, message: "Address already in use" }
stack backtrace:
   0:     0x55f0f49413b9 - <unknown>
   1:     0x55f0f4702e40 - <unknown>
   2:     0x55f0f490b2ce - <unknown>
   3:     0x55f0f4944d0e - <unknown>
   4:     0x55f0f4944635 - <unknown>
   5:     0x55f0f494552e - <unknown>
   6:     0x55f0f4945070 - <unknown>
   7:     0x55f0f4944fc6 - <unknown>
   8:     0x55f0f4944fb3 - <unknown>
   9:     0x55f0f44115e4 - <unknown>
  10:     0x55f0f4411b52 - <unknown>
  11:     0x55f0f447ac5e - <unknown>
  12:     0x55f0f448c86a - <unknown>
  13:     0x55f0f4947a35 - <unknown>
  14:     0x7efee11bbded - <unknown>
  15:     0x7efee123f0dc - <unknown>
  16:                0x0 - <unknown>
Aborted (core dumped)

Tried to install from the AUR (modrinth-app-git), but it produces a seemingly unrelated error about yarn and pnpm.

Steps to reproduce

  1. Install the app on GNOME 46.1 (NVIDIA+X11), AppImage or Flatpak.
  2. Try to launch the app.

Expected behavior

App displaying some UI

System information

OS: Arch Linux (6.8.9-arch1-2)
DE: GNOME 46.1 (X11 display server)
App Version: v0.7.1 (from Flathub)
GPU: RTX 3070 Ti, Proprietary NVIDIA Driver (nvidia-550.78-2)

Additional context

No response

@carterprince carterprince added the bug Something isn't working label May 10, 2024
@carterprince
Copy link
Author

carterprince commented May 10, 2024

Running with WEBKIT_DISABLE_DMABUF_RENDERER=1 or __NV_PRIME_RENDER_OFFLOAD=1 fixes the Flatpak, but the AppImage still crashes.

So running

flatpak override --user --env=__NV_PRIME_RENDER_OFFLOAD=1 com.modrinth.ModrinthApp

will make the variable permanent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant