Cursor AppImage Crashes on Raspberry Pi 5 (64-bit Raspberry Pi OS)

System Info:

  • Device: Raspberry Pi 5 (8GB)
  • OS: Raspberry Pi OS 64-bit (Debian Bookworm)
  • Cursor Version: Cursor-0.49.6-aarch64.AppImage
  • Desktop: Wayland and X11 both tested

What Happens

  • Launch window appears, loads Cursor, I can open a project or run AI but only for first ~15 seconds because then it crashes.
  • renderer process gone (reason: crashed, code: 5)
  • Console logs flooded with:
Failed to export buffer to dma_buf: No such file or directory
GL_INVALID_ENUM: Invalid pname.
ContextResult::kFatalFailure: ES3 is blocklisted/disabled/unsupported by driver.
  • Software rendering (swiftshader) and all other flags still crash.
  • Worked fine on older Pi 4B 2GB (same OS, same AppImage). Although slow, as expected.

Full log

silve@raspberrypi:~/Allalaadimised $ ./Cursor-0.49.6-aarch64.AppImage
[8940:0526/103307.708838:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709066:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.709203:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709259:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.709350:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709403:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.709488:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709536:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.709616:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709665:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.709744:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709792:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.709884:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.709942:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.710038:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.710094:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.711639:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.711716:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.711802:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.711850:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.711932:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.711978:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.712053:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.712100:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.712178:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.712224:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.712303:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.712350:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.712427:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.712473:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[8940:0526/103307.712548:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.:
No such file or directory (2)
[8940:0526/103307.712614:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to d
ma_buf: No such file or directory (2)
[main 2025-05-26T07:33:08.005Z] updateURL https://api2.cursor.sh/updates/api/upd
ate/linux-arm64/cursor/0.50.7/5546f021ca1a298e3eb8799243b4025e0b018ba579b776eade
cd0fcb4d25d762/stable
[main 2025-05-26T07:33:08.009Z] update#setState idle
[8940:0526/103310.465686:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncP
arametersIfAvailable() failed for 1 times!
[main 2025-05-26T07:33:13.228Z] Extension host with pid 9048 exited with code: 0
, signal: unknown.
[8940:0526/103315.527405:ERROR:gl_utils.cc(421)] [GroupMarkerNotSet(crbug.com/24
2999)!:A0E068001C000000] GL_INVALID_ENUM: Invalid pname.
[8940:0526/103315.527751:ERROR:gl_utils.cc(421)] [GroupMarkerNotSet(crbug.com/24
2999)!:A0E068001C000000] GL_INVALID_ENUM: Invalid pname.
[8940:0526/103315.527925:ERROR:context_group.cc(179)] ContextResult::kFatalFailu
re: ES3 is blocklisted/disabled/unsupported by driver.
[8940:0526/103315.733075:ERROR:gl_utils.cc(421)] [GroupMarkerNotSet(crbug.com/24
2999)!:A0E068001C000000] GL_INVALID_ENUM: Invalid pname.
[8940:0526/103315.740004:ERROR:gl_utils.cc(421)] [GroupMarkerNotSet(crbug.com/24
2999)!:A0E068001C000000] GL_INVALID_ENUM: Invalid pname.
[8940:0526/103315.740222:ERROR:context_group.cc(179)] ContextResult::kFatalFailu
re: ES3 is blocklisted/disabled/unsupported by driver.
[main 2025-05-26T07:33:38.009Z] update#setState checking for updates
[main 2025-05-26T07:33:38.170Z] update#setState idle
[8940:0526/103338.394800:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncP
arametersIfAvailable() failed for 2 times!
[main 2025-05-26T07:33:38.598Z] CodeWindow: renderer process gone (reason: crash
ed, code: 5)
[main 2025-05-26T07:33:38.707Z] Extension host with pid 9096 exited with code: 0
, signal: unknown.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFra
meMain could be accessed
    at s.send (node:electron/js2c/browser_init:2:93065)
    at _.send (node:electron/js2c/browser_init:2:76113)
    at Tb.send (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/o
ut/main.js:35:23599)
    at Up.p (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19056)
    at Up.o (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19021)
    at Up.m (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:18883)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:34:265)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.C (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2443)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2660)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:45:12960)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at ForkUtilityProcess.U (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/re
sources/app/out/main.js:30:7419)
    at ForkUtilityProcess.emit (node:events:518:28)
    at ForkUtilityProcess.a.emit (node:electron/js2c/browser_init:2:71917)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFra
meMain could be accessed
    at s.send (node:electron/js2c/browser_init:2:93065)
    at _.send (node:electron/js2c/browser_init:2:76113)
    at Tb.send (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/o
ut/main.js:35:23599)
    at Up.p (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19056)
    at Up.o (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19021)
    at Up.m (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:18883)
    at s.then.Error.m.id (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resou
rces/app/out/main.js:33:19810)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5
)
[main 2025-05-26T07:33:40.249Z] [UtilityProcess id: 1, type: fileWatcher, pid: 9
091]: crashed with code 5 and reason 'crashed'
^CError sending from webFrameMain:  Error: Render frame was disposed before WebF
rameMain could be accessed
    at s.send (node:electron/js2c/browser_init:2:93065)
    at _.send (node:electron/js2c/browser_init:2:76113)
    at Jc.send (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/o
ut/main.js:56:1612)
    at file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/main.j
s:37:36886
    at new Promise (<anonymous>)
    at Tu.P (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:37:36765)
    at Tu.M (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:37:36536)
    at Tu.unload (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app
/out/main.js:37:36349)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:37:35534)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at BrowserWindow.U (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resourc
es/app/out/main.js:30:7419)
    at BrowserWindow.emit (node:events:530:35)
    at BrowserWindow.callbackTrampoline (node:internal/async_hooks:130:17)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFra
meMain could be accessed
    at s.send (node:electron/js2c/browser_init:2:93065)
    at _.send (node:electron/js2c/browser_init:2:76113)
    at Tb.send (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/o
ut/main.js:35:23599)
    at Up.p (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19056)
    at Up.o (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19021)
    at Up.m (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:18883)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:34:265)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:30:6628)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:67:3158)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:45:12960)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at ForkUtilityProcess.U (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/re
sources/app/out/main.js:30:7419)
    at ForkUtilityProcess.emit (node:events:518:28)
    at ForkUtilityProcess.a.emit (node:electron/js2c/browser_init:2:71917)
    at UtilityProcessWrapper.callbackTrampoline (node:internal/async_hooks:130:1
7)
[main 2025-05-26T07:34:24.065Z] ptyHost terminated unexpectedly with code 2
[main 2025-05-26T07:34:24.067Z] [UtilityProcess type: ptyHost, pid: 9129]: unabl
e to kill the process
Error sending from webFrameMain:  Error: Render frame was disposed before WebFra
meMain could be accessed
    at s.send (node:electron/js2c/browser_init:2:93065)
    at _.send (node:electron/js2c/browser_init:2:76113)
    at Tb.send (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/o
ut/main.js:35:23599)
    at Up.p (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19056)
    at Up.o (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:19021)
    at Up.m (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:33:18883)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:34:265)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:30:6628)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Dd.U (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/
main.js:67:3859)
    at Dd.restartPtyHost (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resou
rces/app/out/main.js:67:6597)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:67:3307)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:45:12960)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at ForkUtilityProcess.U (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/re
sources/app/out/main.js:30:7419)
    at ForkUtilityProcess.emit (node:events:518:28)
    at ForkUtilityProcess.a.emit (node:electron/js2c/browser_init:2:71917)
    at UtilityProcessWrapper.callbackTrampoline (node:internal/async_hooks:130:1
7)
[main 2025-05-26T07:34:24.083Z] [UtilityProcess type: shared-process, pid: 9012]
: crashed with code 2 and reason 'killed'
Error sending from webFrameMain:  Error: Render frame was disposed before WebFra
meMain could be accessed
    at s.send (node:electron/js2c/browser_init:2:93065)
    at _.send (node:electron/js2c/browser_init:2:76113)
    at Jc.send (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/o
ut/main.js:56:1612)
    at Jc.sendWhenReady (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resour
ces/app/out/main.js:56:1327)
    at ud.sendToFocused (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resour
ces/app/out/main.js:59:29684)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:79:21775)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:53:62165)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at Aa.value (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/
out/main.js:45:13781)
    at $.B (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out/m
ain.js:32:2373)
    at $.fire (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/ou
t/main.js:32:2591)
    at App.U (file:///tmp/.mount_CursoriogjcH/usr/share/cursor/resources/app/out
/main.js:30:7419)
    at App.emit (node:events:530:35)
    at App.callbackTrampoline (node:internal/async_hooks:130:17)

Might be related: [Bug]: GetVSyncParametersIfAvailable() failed for 1 times! · Issue #32760 · electron/electron

Suggestion: Please support a --disable-hardware-acceleration or similar launch flag for ARM/Linux systems

The bug is especially common on ARM64 + GBM-based systems like Pi 5. Right now, there’s no way for AppImage users to disable hardware acceleration since main.js is not accessible.

Could you please add support for a launch flag like:

./Cursor.AppImage --disable-hardware-acceleration

Or allow respecting the following environment variables:

ELECTRON_DISABLE_GPU=1
LIBGL_ALWAYS_SOFTWARE=1

That would allow Pi 5 and other ARM users to work around the bug without needing a dedicated build.

Full code example:

// Parse CLI arguments
const disableGpu = process.argv.includes('--disable-hardware-acceleration');

if (disableGpu) {
  app.disableHardwareAcceleration();
  app.commandLine.appendSwitch('disable-gpu');
  app.commandLine.appendSwitch('disable-gpu-compositing');
  app.commandLine.appendSwitch('ignore-gpu-blacklist');
  console.log('[Cursor] Hardware acceleration disabled via CLI flag.');
}

Any help please? :waving_hand: :slight_smile:

Patiently waiting here for feedback. I created separate hardware development machines just for coding inside Raspberry Pi OS. I really hope this issue is fixed soon!

Same for me. Looks like there’s a few other threads with no response as well.

1 Like

Hopefully this gets some attention - according to electron it should be enough to support one command line flag.

Same for me too. Hoping for a fix soon.

2 Likes