eframe-template: GL_INVALID_ENUM (0x500) on Raspberry Pi 3 Model B (Rev 1.2) aarch64-unknown-linux-gnu target
- Dominant language
- Rust
- Stars
- 30.6k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 72
Description
**Describe the bug**
Ran [eframe-template](https://github.com/emilk/eframe_template) on my Raspberry Pi 3 Model B (Rev 1.2):
```
[2024-04-01T12:54:32Z ERROR egui_glow] GL error, at /home/jo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/egui_glow-0.27.0/src/painter.rs:634 (tex_image_2d): GL_INVALID_ENUM (0x500). Please file a bug at https://github.com/emilk/egui/issues
```
**To Reproduce**
Cloned `https://github.com/emilk/eframe_template`, changed versions to `master` as suggested.
Cross-compiled for `aarch64-unknown-linux-gnu target`:
```
cargo build --target=aarch64-unknown-linux-gnu
```
**Desktop**
Raspberry Pi Model B (Rev 1.2)
- Operating System: Debian GNU/Linux 12 (bookworm)
- Kernel: Linux 6.6.20+rpt-rpi-v8
- Architecture: arm64
Contributor guide
Research direction
Start with the eframe-template reproduction and the GL error reported at egui_glow/src/painter.rs:634 during tex_image_2d. Build for the aarch64-unknown-linux-gnu target with the shown Cargo command and investigate the Raspberry Pi Debian environment; done means the template runs without GL_INVALID_ENUM (0x500).
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100