0x192 / 0x192/universal-android-debloater
uad_gui-linux not launching
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When I double-click on the uad_gui-linux program, it's opening an empty Wayland window which I can't switch to. Running `./uad_gui-linux` from terminal shows the message below--
```
interface 'wl_surface' has no event 2
2024-03-30 18:18:07 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
```
I have done all the actions required before running the app. I have used it in the past and it worked without issues last year.
I have downloaded the latest release of UAD from the Releases page.
After connecting my phone to desktop, `adb devices` command can detect the phone.
**Expected behavior**
Application should launch and show the dashboard.
**You have a solution?**
I have no solution
**UAD log**
The log file at `~/.cache/uad/` has the following lines--
```
2024-03-30 18:16:19 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
2024-03-30 18:18:07 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
```
[UAD_20240330.log](https://github.com/0x192/universal-android-debloater/files/14812042/UAD_20240330.log)

Contributor guide
No contributing guide indexed for this repository
Research direction
The error mentions wgpu-hal and Wayland window issues. Start by examining the GUI initialization code, likely in the main application entry point or window creation module. Look for wgpu or winit configuration related to Wayland. Check if there are environment variables or runtime flags to force X11. Review the log file at ~/.cache/uad/ for more context. Testing would require a Linux Wayland environment to reproduce the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100