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

Does Cage not work with Tauri apps? #323

Closed
NessajCN opened this issue Mar 13, 2024 · 3 comments
Closed

Does Cage not work with Tauri apps? #323

NessajCN opened this issue Mar 13, 2024 · 3 comments

Comments

@NessajCN
Copy link

I'm writing a GUI app with Tauri for some kiosk device.
I tried to deploy the compiled binary with Cage and failed.
In tty mode I use

cage /path/to/tauri-app

and get a blank window with only title on top.
Tried a new scaffolded demo project and got the same result.

Other GUI applications like firefox or chromium works fine.

Am I doing wrong or is there any upstream limitation?

I'm on debian 12 arm64.

@joggee-fr
Copy link
Collaborator

Don't know what Tauri is. Do you have any log? Does it works with another wlroots-based Wayland compositor e.g. Sway?

@NessajCN
Copy link
Author

Don't know what Tauri is. Do you have any log? Does it works with another wlroots-based Wayland compositor e.g. Sway?

Tauri is a GUI framework like Qt or Electron.
https://tauri.app/

I tested Sway and failed to run it. Error log

arm_release_ver: g13p0-01eac0, rk_so_ver: 6
[wlr] [types/wlr_drm.c:198] Failed to get DRM FD from renderer
[wlr] [types/wlr_linux_dmabuf_v1.c:664] Failed to get DRM FD from renderer
[wlr] [types/wlr_linux_dmabuf_v1.c:965] Failed to init default linux-dmabuf feedback
[wlr] [types/output/cursor.c:223] Failed to get cursor display formats
[wlr] [types/output/cursor.c:269] Failed to pick cursor format
[wlr] [types/output/cursor.c:354] Failed to render cursor buffer
[main.c:293] Found config * for outt DSI-1 (<Unknown> <Unknown>)
[swaybar/tray/tray.c:42] Failed to connect to user bus: No such file or directory
[wlr] [backend/drm/drm.c:1570] Failed to drop master: Permission denied.
[wlr] [types/wlr_drm_lease_v1.c:499] Unable to get read only DRM fd for leasing
(EE)
Fatal server error:
(EE) wl_display@1: error 2: no memory
(EE)
Segmentation fault 

I also tested weston. It works fine.

@NessajCN
Copy link
Author

NessajCN commented Mar 14, 2024

Self solved by following this guide to manually install the newest GPU driver.
Closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants