The entire editor is invisible on nvidia + hyprland

Issue

Cursor (the editor) doesn’t render properly on Hyprland with nvidia.
It seems to work fine on my laptop with Hyprland and AMD GPU, so I suspect that this has something to do with nvidia card.

Tell us if the issue stops you from using Cursor.

This (obviously) stops me from using cursor.

Screenshot

the left transparent window is Cursor.

2025-06-02-234126_hyprshot

System Environment

  • OS: Linux, NixOS
  • CPU: Intel, x86_64
  • GPU Card: Nvidia GeForce RTX 3060 Ti LHR
  • NVIDIA Driver Version: 575.51.02
  • Cursor: latest AppImage from website (0.50.5)

Logs

$ appimage-run ./Downloads/Cursor-0.50.5-x86_64.AppImage
Cursor-0.50.5-x86_64.AppImage installed in /home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3
[main 2025-06-02T14:29:02.089Z] updateURL https://api2.cursor.sh/updates/api/update/linux-x64/cursor/0.50.5/946c18e0d87f6302280d02f525b5563c29ad9c0e5c3b6258a043a7e3893a82c8/stable
[main 2025-06-02T14:29:02.090Z] update#setState idle
Error: Cannot find module './build/Debug/keymapping'
Require stack:
- /home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:124485)
    at Module._load (node:internal/modules/cjs/loader:1058:27)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at NativeBinding._init (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:19:24)
    at NativeBinding.getKeyMap (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:24:10)
    at exports.getKeyMap (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:63:18)
    at W2 (file:///home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/out/main.js:53:29678)
    at jh.g (file:///home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/out/main.js:53:30195) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js'
  ]
}
TypeError: Cannot read properties of null (reading 'getCurrentKeyboardLayout')
    at NativeBinding.getCurrentKeyboardLayout (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:34:29)
    at exports.getCurrentKeyboardLayout (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:60:18)
    at W2 (file:///home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/out/main.js:53:29694)
    at jh.g (file:///home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/out/main.js:53:30195)
TypeError: Cannot read properties of null (reading 'onDidChangeKeyboardLayout')
    at NativeBinding.onDidChangeKeyboardLayout (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:43:22)
    at exports.onDidChangeKeyboardLayout (/home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/node_modules/native-keymap/index.js:66:18)
    at jh.g (file:///home/aster/.cache/appimage-run/0d4588810603dd68fa845ecd05bd343864729ca99770595d585500e96f0265e3/usr/share/cursor/resources/app/out/main.js:53:30207)
libEGL warning: egl: failed to create dri2 screen
[main 2025-06-02T14:29:32.090Z] update#setState checking for updates
[main 2025-06-02T14:29:32.283Z] update#setState idle