Vulkaninfo crashes on dual gpu setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-460 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi!
First, I should mention that the driver in general works very well and I have not encountered other problems with it.
I noticed however that vulkaninfo (from vulkan-tools) is not able to run. I think it is either related to Wayland or my prime configuration. I tried with both XWayland and Wayland.
```
~/dev/Vulkan-
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.
ERROR at /build/
~/dev/Vulkan-
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
ERROR: [Loader Message] Code 0 : /usr/lib/
'DISPLAY' environment variable not set... skipping surface info
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.
fish: “env DISPLAY= vulkaninfo” terminated by signal SIGSEGV (Address boundary error)
```
I then built vulkaninfo from source. The backtrace is not very helpful though, it crashes somewhere inside the NVIDIA egl libraries.
```
Thread 1 "vulkaninfo" received signal SIGSEGV, Segmentation fault.
0x00007fffed803d59 in ?? () from /lib/x86_
(gdb) bt
#0 0x00007fffed803d59 in ?? () from /lib/x86_
#1 0x00007fffed8041f0 in ?? () from /lib/x86_
#2 0x00005555555cd723 in GetVectorInit<
func_
#3 0x00005555555bcc37 in GetVector<
func_
#4 0x00005555555b42d5 in AppSurface:
at vulkaninfo/
#5 0x00005555555abeb5 in main (argc=1, argv=0x7fffffff
```
Any idea what this could be caused by? I provide core dumps if that is helpful.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.04
InstallationDate: Installed on 2020-09-22 (141 days ago)
InstallationMedia:
NonfreeKernelMo
Package: nvidia-driver-460 460.39-0ubuntu1 [origin: unknown]
PackageArchitec
ProcEnviron:
TERM=tmux-256color
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=
ProcVersionSign
Tags: third-party-
Uname: Linux 5.10.0-14-generic x86_64
UnreportableReason: This does not seem to be an official Ubuntu package. Please retry after updating the indexes of available packages, if that does not work then remove related third party packages and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: bumblebee sudo
_MarkForUpload: True
apport information