You are not logged in.

#1 2022-04-11 00:58:02

lasmed
Member
Registered: 2022-04-11
Posts: 2

Wayland, emulator apps black screen on nvidia driver

Hello, I using Gnome desktop on Wayland some applications not working good. Android emulator black screen and Genymotion app. On applications X11 server good workings all but not goodies on Wayland server. How to fix this issue? Steam games works good.

My runs details:

Graphics Card: NVIDIA Geforce RTX 3070
Driver Identifier: nvidia
Display Server: wayland
Desktop Environment: Gnome 4.2



Note: Onboard Intel graphics card works with emulator no black screen. But i want to use with NVIDIA Card.

Last edited by lasmed (2022-04-11 02:30:40)

Offline

#2 2022-04-11 01:10:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Wayland, emulator apps black screen on nvidia driver

Please add nvidia to your thread title as this is most likely relevant.

I don't have any experience with nvidia, but it seems by default you'd be using EGLStreams API while GBM may perform better (for recent NVIDIA versions):
https://wiki.archlinux.org/title/Wayland#Requirements

Have you tried enabling GBM?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-04-11 02:33:26

lasmed
Member
Registered: 2022-04-11
Posts: 2

Re: Wayland, emulator apps black screen on nvidia driver

I added below values to environment values but not working.

Running gnome with: gnome-shell --wayland

.bashrc file:

export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia

Offline

#4 2023-11-08 13:50:22

alphawk
Member
Registered: 2023-11-08
Posts: 1

Re: Wayland, emulator apps black screen on nvidia driver

I was having the same issue. It is fixed by this:
export __GLX_VENDOR_LIBRARY_NAME=mesa

Offline

Board footer

Powered by FluxBB