GraphiteEditor / GraphiteEditor/Graphite

Flatpak RC4 doesn't launching

Offen
#3,895 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
27.2k
Forks
1.3k
Ø Merge
20 Std. 5 Min.
Gemergte PRs (30 T.)
57

Beschreibung

I installed flatpak package from discord and it doesn't launching.
Arch Linux, Niri, Wayland
CPU: AMD Ryzen 9 7940HS (16) @ 5.26 GHz
GPU 1: NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete]
GPU 2: AMD Radeon 780M Graphics [Integrated]
```
$ env RUST_BACKTRACE=full flatpak run art.graphite.Graphite

Available WGPU adapters:
[0] Vulkan IntegratedGpu (Name: AMD Radeon 780M Graphics (RADV PHOENIX), Driver: radv, Device: 5567)
[1] Vulkan DiscreteGpu (Name: NVIDIA GeForce RTX 4060 Laptop GPU, Driver: NVIDIA, Device: 10400)
[2] Vulkan Cpu (Name: llvmpipe (LLVM 21.1.8, 256 bits), Driver: llvmpipe, Device: 0)
[3] Gl Other (Name: AMD Radeon 780M Graphics (radeonsi, phoenix, LLVM 21.1.8, DRM 3.64, 6.19.6-arch1-1), Driver: , Device: 0)

Using WGPU adapter: AdapterInfo { name: "NVIDIA GeForce RTX 4060 Laptop GPU", vendor: 4318, device: 10400, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "590.48.01", backend: Vulkan }

thread 'main' (2) panicked at desktop/src/render/state.rs:36:119:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
0: 0x557f128349cc -
1: 0x557f10ee8ebf -
2: 0x557f1282301f -
3: 0x557f1282d793 -
4: 0x557f1283ba87 -
5: 0x557f1283b967 -
6: 0x557f1283bc41 -
7: 0x557f1282da5a -
8: 0x557f1282d8a9 -
9: 0x557f128372ed -
10: 0x557f10bdaaf0 -
11: 0x557f10bda892 -
12: 0x557f111c2d9f -
13: 0x557f111b7cf0 -
14: 0x557f1125e9b8 -
15: 0x557f11260d35 -
16: 0x557f111a738d -
17: 0x557f1122017d -
18: 0x557f111641d3 -
19: 0x557f111641c9 -
20: 0x557f128393fb -
21: 0x557f1116422c -
22: 0x7f72a682c975 -
23: 0x7f72a682ca28 - __libc_start_main
24: 0x557f10de19f5 -
25: 0x0 -
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with desktop/src/render/state.rs at line 36 and reproduce the failure using `env RUST_BACKTRACE=full flatpak run art.graphite.Graphite`. Trace why the selected NVIDIA Vulkan adapter leaves the indexed collection empty, then verify that the Flatpak application launches without the panic on the reported Arch Linux, Wayland, and GPU setup.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
computer-graphics, desktop, operating-systems
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.