bevyengine / bevyengine/dlss_wgpu

Segfault on Linux with Solari example

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
57
Forks
13
Avg merge
16h 37m
Merged PRs (30d)
3

Description

Hi there.
I tried to run the Bevy Solari example on Linux and ran into a segfault before a window shows up:

```
2026-02-03T19:39:32.594217Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (NixOS 25.11)", kernel: "6.12.65", cpu: "AMD Ryzen 7 9800X3D 8-Core Processor", core_count: "8", memory: "60.5 GiB" }
2026-02-03T19:39:32.594320Z WARN bevy_asset::io::web: WebAssetPlugin is potentially insecure! Make sure to verify asset URLs are safe to load before loading them. If you promise you know what you're doing, you can silence this warning by setting silence_startup_warning: true in the WebAssetPlugin construction.
2026-02-03T19:39:32.685024Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3090", vendor: 4318, device: 8708, device_type: DiscreteGpu, device_pci_bus_id: "0000:02:00.0", driver: "NVIDIA", driver_info: "580.119.02", backend: Vulkan, subgroup_min_size: 32, subgroup_max_size: 32, transient_saves_memory: false }
2026-02-03T19:39:32.929085Z INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
Segmentation fault (core dumped) DLSS_SDK=~/code/DLSS VULKAN_SDK=~/code/vulkansdk-linux/1.4.335.0/x86_64 cargo run -r --example solari --features="bevy_solari https free_camera dlss"
```

Segfault:
```
Stack trace of thread 165245:
#0 0x00007fb18ea334c0 NVSDK_NGX_Parameter_GetI (libbevy_dylib-b6aceff0df9e3617.so + 0x58334c0)
#1 0x00007fb18ea117f9 _RNvMNtCs8ai9Knr5QOl_9dlss_wgpu3sdkNtB2_7DlssSdk3new (libbevy_dylib-b6aceff0df9e3617.so +
0x58117f9)
#2 0x00007fb18e94be57
_RNvXs_NtCs2ISF4X2ebm0_15bevy_anti_alias4dlssNtB4_10DlssPluginNtNtCsieJ5r8SXliu_8bevy_app6plugin6Plugin6finish
(libbevy_dylib-b6aceff0df9e3617.so + 0x574be57)
#3 0x00007fb190b7ad83 _RNvMs0_NtCsieJ5r8SXliu_8bevy_app3appNtB5_3App6finish (libbevy_dylib-b6aceff0df9e3617.so +
0x797ad83)
#4 0x00007fb18bf76978 _RNvNtCs8ZEgWBu5rtB_10bevy_winit5state12winit_runner (libbevy_dylib-b6aceff0df9e3617.so +
0x2d76978)
#5 0x00007fb18bf9a249 _RNSNvYNCNvXCs8ZEgWBu5rtB_10bevy_winitNtB9_11WinitPluginNtNtCsieJ5r8SXliu_8bevy_app6plugin6P
lugin5build0INtNtNtCsbXRls8xqmiA_4core3ops8function6FnOnceTNtNtBV_3app3AppEE9call_once6vtableB9_.llvm.4368587538257444493
(libbevy_dylib-b6aceff0df9e3617.so + 0x2d9a249)
#6 0x00007fb190b7ab93 _RNvXst_NtCsPtrsrs4UQ1_5alloc5boxedINtB5_3BoxDINtNtNtCsbXRls8xqmiA_4core3ops8function6FnOnce
TNtNtCsieJ5r8SXliu_8bevy_app3app3AppEEp6OutputNtB1u_7AppExitEL_EIBI_B1r_E9call_onceB1w_ (libbevy_dylib-b6aceff0df9e3617.so +
0x797ab93)
#7 0x000055c59d2dfa08 _RNvCscWPZms1Nbor_10try_solari4main (/home/bb/code/try-solari/target/debug/try-solari +
0xc8a08)
#8 0x000055c59d2e7dd3
_RINvNtNtCs43RTYhPhnyC_3std3sys9backtrace28___rust_begin_short_backtraceFEuuECscWPZms1Nbor_10try_solari
(/home/bb/code/try-solari/target/debug/try-solari + 0xd0dd3)
#9 0x000055c59d2fbb59
_RNCINvNtCs43RTYhPhnyC_3std2rt10lang_startuE0CscWPZms1Nbor_10try_solari.llvm.4513742862415921612
(/home/bb/code/try-solari/target/debug/try-solari + 0xe4b59)
#10 0x00007fb18915e526 _RNvNtCs43RTYhPhnyC_3std2rt19lang_start_internal (libstd-d21d73a0ded86791.so + 0xb6526)
#11 0x000055c59d2e08bc main (/home/bb/code/try-solari/target/debug/try-solari + 0xc98bc)
#12 0x00007fb188e2a4d8 __libc_start_call_main (libc.so.6 + 0x2a4d8)
#13 0x00007fb188e2a59b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a59b)
#14 0x000055c59d26da95 _start (/home/bb/code/try-solari/target/debug/try-solari + 0x56a95)
```

Bevy: `main (2297753)`
dlss_wgpu: `4.0.0-dev`
Vulkan SDK: `1.4.335.0`
DLSS SDK: `v310.5.0`
LIB CLANG: `clang-21.1.7-lib`
OS: `nixos-25.11`
GPU: `RTX 3090`
Driver: `580.119.02`
CUDA Version: `13.0`

Launch command:
`DLSS_SDK=~/code/DLSS VULKAN_SDK=~/code/vulkansdk-linux/1.4.335.0/x86_64 cargo run --example solari --features="bevy_solari https free_camera dlss"`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the provided Solari launch command and inspect DlssSdk::new, where the stack trace shows the crash, along with DlssPlugin::finish. Check the reported DLSS, Vulkan, NVIDIA driver, and GPU combinations. Done means the Solari example starts without a segmentation fault on the reported Linux setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.