0x192 / 0x192/universal-android-debloater

UAD doesnt launch on GNOME Debian 13 [WORKAROUND]

未關閉
#1,166 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Rust
星號
19.9k
分支
1.1k
PR 合併指標
30 天內沒有已合併 PR

描述

usually when ran normally, it produces this
```
➜ Downloads ./uad_gui-linux
interface 'wl_surface' has no event 2
2026-02-28 21:07:14 WARN [/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.13.1/src/gles/egl.rs:788] Re-initializing Gles context due to Wayland window
^C
➜ Downloads ./uad_gui-linux-opengl
interface 'wl_surface' has no event 2
```
the work around is launching it like this
```
➜ Downloads WAYLAND_DISPLAY= ./uad_gui-linux
2026-02-28 21:11:42 WARN [/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.13.1/src/gles/egl.rs:222] No config found!
2026-02-28 21:11:42 WARN [/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.13.1/src/gles/egl.rs:222] No config found!
2026-02-28 21:11:42 WARN [src/gui/mod.rs:102] Trying to download remote UAD list
2026-02-28 21:12:43 WARN [src/gui/views/list.rs:142] No custom selection imported: No such file or directory (os error 2)
```
and it works lol

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

該 issue 是關於 GNOME Debian 13 上的 Wayland 相容性問題。解決方法是設定 WAYLAND_DISPLAY= 以強制回退。查看 src/gui/mod.rs 中的 GUI 啟動程式碼以及 wgpu-hal 中的視窗化/EGL 初始化。檢查應用程式如何偵測和選擇顯示伺服器(Wayland 與 X11)。在有和沒有解決方法的情況下執行應用程式並檢查日誌將有所幫助。修復可能涉及調整視窗建立或顯示後端選擇邏輯。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
linux, rust
領域
cli, desktop
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。