GraphiteEditor / GraphiteEditor/Graphite

Flatpak RC4 doesn't launching

オープン
#3,895 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
27.3k
フォーク
1.3k
平均マージ
20時間 5分
マージ済み PR(30日)
57

説明

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 -
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
computer-graphics, desktop, operating-systems
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。