Skip to content

Found no glutin configs matching the template #46

@alban

Description

@alban

devfiler fails to start:

$ RUST_BACKTRACE=full result/bin/devfiler
2025-09-03T08:39:34.365866Z  INFO devfiler::collector: Collector listening on 0.0.0.0:11000
2025-09-03T08:39:34.510292Z ERROR eframe::native::run: Exiting because of error: Found no glutin configs matching the template: ConfigTemplate { color_buffer_type: Rgb { r_size: 8, g_size: 8, b_size: 8 }, alpha_size: 8, depth_size: 0, stencil_size: 0, num_samples: None, min_swap_interval: None, max_swap_interval: None, config_surface_types: ConfigSurfaceTypes(WINDOW), api: None, transparency: false, single_buffering: false, stereoscopy: None, float_pixels: false, max_pbuffer_width: None, hardware_accelerated: None, max_pbuffer_height: None, native_window: None }. Error: argument does not name a valid config    

thread 'main' panicked at src/main.rs:56:35:
called `Result::unwrap()` on an `Err` value: NoGlutinConfigs(ConfigTemplate { color_buffer_type: Rgb { r_size: 8, g_size: 8, b_size: 8 }, alpha_size: 8, depth_size: 0, stencil_size: 0, num_samples: None, min_swap_interval: None, max_swap_interval: None, config_surface_types: ConfigSurfaceTypes(WINDOW), api: None, transparency: false, single_buffering: false, stereoscopy: None, float_pixels: false, max_pbuffer_width: None, hardware_accelerated: None, max_pbuffer_height: None, native_window: None }, Error { raw_code: None, raw_os_message: None, kind: BadConfig })
stack backtrace:
   0:     0x561c7a292f90 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h9edbd6e38a8b0805
   1:     0x561c7a2b7203 - core::fmt::write::h7b1248e5e0c79c78
   2:     0x561c7a25b4f3 - std::io::Write::write_fmt::h5e301665499081bf
   3:     0x561c7a292e33 - std::sys::backtrace::BacktraceLock::print::h4a386d2ef944f43e
   4:     0x561c7a28d84c - std::panicking::default_hook::{{closure}}::h61b7aa0fc15f236b
   5:     0x561c7a28d759 - std::panicking::default_hook::h2d21379b0b23a14f
   6:     0x561c7a28ddef - std::panicking::rust_panic_with_hook::h100726ba9570b85a
   7:     0x561c7a2934aa - std::panicking::begin_panic_handler::{{closure}}::h141712493bfacf0c
   8:     0x561c7a2931a9 - std::sys::backtrace::__rust_end_short_backtrace::h891003731531c924
   9:     0x561c7a28d93d - rust_begin_unwind
  10:     0x561c7a2b1310 - core::panicking::panic_fmt::h1df68d570cb2382b
  11:     0x561c7a2b5936 - core::result::unwrap_failed::h846e3c141fa2fc46
  12:     0x561c794ee2db - core::result::Result<T,E>::unwrap::hf18803d4539b5aed
                               at /build/rustc-1.86.0-src/library/core/src/result.rs:1109:23
  13:     0x561c794ee2db - devfiler::main::h4fb01df7ea472f84
                               at /build/source/src/main.rs:56:9
  14:     0x561c7953f313 - core::ops::function::FnOnce::call_once::h30b60874d8ce7994
                               at /build/rustc-1.86.0-src/library/core/src/ops/function.rs:250:5
  15:     0x561c7953f313 - std::sys::backtrace::__rust_begin_short_backtrace::h6f94489fce630f76
                               at /build/rustc-1.86.0-src/library/std/src/sys/backtrace.rs:152:18
  16:     0x561c795a2d3d - std::rt::lang_start::{{closure}}::heee431325af4ba03
                               at /build/rustc-1.86.0-src/library/std/src/rt.rs:199:18
  17:     0x561c7a2692b5 - std::rt::lang_start_internal::he3cad277a2bdfe30
  18:     0x561c794ee3ec - main
  19:     0x7f387e02a47e - __libc_start_call_main
  20:     0x7f387e02a539 - __libc_start_main_impl
  21:     0x561c79490025 - _start
  22:                0x0 - <unknown>
Aborted (core dumped)

I compiled from git commit 05067fc (main) with the command:

nix --experimental-features 'flakes nix-command' build '.?submodules=1#'

Versions:

$ uname -r
6.5.9-200.fc38.x86_64

$ grep PRETTY /etc/os-release 
PRETTY_NAME="Fedora Linux 38 (Workstation Edition)"

$ lspci -k | grep -A 3 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
	Subsystem: Lenovo Device 504a
	Kernel driver in use: i915
	Kernel modules: i915

$ glxinfo -B|grep -i direct
direct rendering: Yes

$ dnf list installed mesa-dri-drivers mesa-vulkan-drivers
Installed Packages
mesa-dri-drivers.i686                     23.1.9-1.fc38                 @updates
mesa-dri-drivers.x86_64                   23.1.9-1.fc38                 @updates
mesa-vulkan-drivers.i686                  23.1.9-1.fc38                 @updates
mesa-vulkan-drivers.x86_64                23.1.9-1.fc38                 @updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions