Skip to content

bug(scope): Application crashes with segmentation fault unless forced to use Mesa/Intel drivers via __GLX_VENDOR_LIBRARY_NAME and VK_ICD_FILENAMES #925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
rajannpatel opened this issue Apr 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@rajannpatel
Copy link

Describe the bug

System Information:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.2 LTS
Release:	24.04
Codename:	noble

$ glxinfo
Command 'glxinfo' not found, but can be installed with:
sudo apt install mesa-utils

$ vulkaninfo
Command 'vulkaninfo' not found, but can be installed with:
sudo apt install vulkan-tools

Fails to run:

$ ./uad-ng-linux 
2025-04-09 07:42:56 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sctk-adwaita-0.8.3/src/buttons.rs:172] Ignoring unknown button type: 
2025-04-09 07:42:56 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-hal-0.19.4/src/gles/adapter.rs:774] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
2025-04-09 07:42:56 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-hal-0.19.4/src/gles/adapter.rs:774] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
2025-04-09 07:42:56 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/iced_wgpu-0.12.1/src/window/compositor.rs:80] No format found!
Segmentation fault (core dumped)

Expected behavior

./uad-ng-linux should open the application without having to specify anything else

You have a solution?

Successfully runs and opens the UI:

$ __GLX_VENDOR_LIBRARY_NAME=mesa VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json ./uad-ng-linux
2025-04-09 07:38:11 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sctk-adwaita-0.8.3/src/buttons.rs:172] Ignoring unknown button type: 
2025-04-09 07:38:11 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-hal-0.19.4/src/gles/adapter.rs:774] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
2025-04-09 07:38:11 WARN  [/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-hal-0.19.4/src/gles/adapter.rs:774] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.

Operating System

Linux

Distro version

Ubuntu 24.04.2

Window System + Manager

1.34-1

Desktop Environment

Gnome 46

ADB version

Android Debug Bridge version 1.0.41 Version 34.0.4-debian Installed as /usr/lib/android-sdk/platform-tools/adb Running on Linux 6.8.0-57-generic (x86_64)

Provide logs

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@rajannpatel rajannpatel added the bug Something isn't working label Apr 9, 2025
@rajannpatel rajannpatel changed the title bug(scope): bug(scope): Application crashes with segmentation fault unless forced to use Mesa/Intel drivers via __GLX_VENDOR_LIBRARY_NAME and VK_ICD_FILENAMES bug(scope): Application crashes with segmentation fault unless forced to use Mesa/Intel drivers via __GLX_VENDOR_LIBRARY_NAME and VK_ICD_FILENAMES Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant