Open vvzen opened 1 year ago
Googling the main NVIDIA error, it seems similar to:
Setting __NV_PRIME_RENDER_OFFLOAD
to 1
seems to fix it:
$ export __NV_PRIME_RENDER_OFFLOAD=1
$ ./focalboard-app
# ..stuff works..
I have the same problem - I get a white window, no matter the size or if fullscreen. I can't really say what changed - maybe it was after an update of my NixOS 23.05 with a NVIDIA GeForce RTX 2060 and driver version 535.86.05 (0a:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] (rev a1) )
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 562x1000: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 562x1000: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 562x1000: Invalid argument
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
PS: works fine with Indel HD Graphics on another device..
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 510 (rev 06)
I also found a workaround on Redit: https://www.reddit.com/r/rust/comments/16tzu8w/tauri_issue/ just start the Tauri app with environment variable __NV_PRIME_RENDER_OFFLOAD=1
The app starts but a blank window is displayed and nothing is rendered.
Steps to reproduce the behavior
Expected behavior
App starts fine.
Screenshots (optional)
Edition and Platform
Additional context (optional)
NVIDIA drivers: 535.104.05 NVML Version: 12.535.104.05
Add any other context about the problem here, and any notes about the severity:
Additional errors logged in the terminal: