Package: nvidia-driver Version: 390.77-1 Severity: important Dear Maintainer,
I have an Nvidia-Optimus setup and use bumblebee to activate the Nvidia GPU on demand. When I use libvulkan.so.1 to run a Vulkan application the ICD from Nvidia (installed in /usr/share/vulkan/icd.d/nvidia_icd.json, /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1) opens a connection to the default X Display (as specified by the DISPLAY environment variable). When using bumblebee to activate the Nvidia GPU, the driver must connect to Display :8, where bumblebee runs the secondary X Server. However I want to run my application with the DISPLAY environment variable set to :0 (as I want it displayed on :0). I generally would expect the Vulkan-Nvidia driver not to require an X-connection when doing headless rendering and for 'normal' rendering use the X-connection/display that is indicated by the surface-creation functions, and not choose one by itself on startup. If that is hard to achieve, I would at least expext the Nvidia-Driver to have some override environment variable (like e.g. NV_DISPLAY) that, when set, is passed by the Nvidia-Driver to XOpenDisplay, that "normal" applications would ignore. -- Package-specific info: uname -a: Linux chinchilla 4.17.0-1-amd64 #1 SMP Debian 4.17.8-1 (2018-07-20) x86_64 GNU/Linux /proc/version: Linux version 4.17.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-26)) #1 SMP Debian 4.17.8-1 (2018-07-20) lspci 'display controller [030?]': 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics P630 [8086:591d] (rev 04) (prog-if 00 [VGA controller]) Subsystem: Lenovo HD Graphics P630 [17aa:224d] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 135 Region 0: Memory at 2ff2000000 (64-bit, non-prefetchable) [size=16M] Region 2: Memory at 2fc0000000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at e000 [size=64] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: i915 Kernel modules: i915 01:00.0 3D controller [0302]: NVIDIA Corporation GM206GLM [Quadro M2200 Mobile] [10de:1436] (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel modules: nouveau, nvidia_current_drm, nvidia_current -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nvidia-driver depends on: ii nvidia-alternative 390.77-1 ii nvidia-driver-bin 390.77-1 ii nvidia-driver-libs-nonglvnd 390.77-1 ii nvidia-installer-cleanup 20151021+8 ii nvidia-kernel-dkms [nvidia-kernel-390.77] 390.77-1 ii nvidia-legacy-check 390.77-1 ii nvidia-support 20151021+8 ii nvidia-vdpau-driver 390.77-1 ii xserver-xorg-video-nvidia 390.77-1 Versions of packages nvidia-driver recommends: ii nvidia-persistenced 390.25-1 ii nvidia-settings 390.67-1 Versions of packages nvidia-driver suggests: ii nvidia-kernel-dkms 390.77-1 Versions of packages libgl1-nvidia-glx:amd64 depends on: ii libc6 2.27-5 ii libnvidia-glcore 390.77-1 ii libx11-6 2:1.6.6-1 ii libxext6 2:1.3.3-1+b2 ii nvidia-alternative 390.77-1 ii nvidia-installer-cleanup 20151021+8 ii nvidia-legacy-check 390.77-1 ii nvidia-support 20151021+8 Versions of packages libgl1-nvidia-glx:amd64 recommends: ii nvidia-kernel-dkms [nvidia-kernel-390.77] 390.77-1 Versions of packages libgl1-nvidia-glx:amd64 suggests: ii nvidia-kernel-dkms 390.77-1 Versions of packages libgl1-nvidia-glx:i386 depends on: ii libc6 2.27-5 ii libnvidia-glcore 390.77-1 ii libx11-6 2:1.6.6-1 ii libxext6 2:1.3.3-1+b2 ii nvidia-alternative 390.77-1 ii nvidia-installer-cleanup 20151021+8 ii nvidia-legacy-check 390.77-1 ii nvidia-support 20151021+8 Versions of packages libgl1-nvidia-glx:i386 recommends: ii nvidia-kernel-dkms [nvidia-kernel-390.77] 390.77-1 Versions of packages libgl1-nvidia-glx:i386 suggests: ii nvidia-kernel-dkms 390.77-1 Versions of packages xserver-xorg-video-nvidia depends on: ii libc6 2.27-5 ii libnvidia-glcore 390.77-1 ii nvidia-alternative 390.77-1 ii nvidia-installer-cleanup 20151021+8 ii nvidia-legacy-check 390.77-1 ii nvidia-support 20151021+8 ii xserver-xorg-core [xorg-video-abi-24] 2:1.20.1-1 Versions of packages xserver-xorg-video-nvidia recommends: ii nvidia-kernel-dkms [nvidia-kernel-390.77] 390.77-1 ii nvidia-settings 390.67-1 ii nvidia-vdpau-driver 390.77-1 Versions of packages xserver-xorg-video-nvidia suggests: ii nvidia-kernel-dkms 390.77-1 Versions of packages nvidia-alternative depends on: ii dpkg 1.19.0.5+b1 ii glx-alternative-nvidia 0.8.7 ii nvidia-legacy-check 390.77-1 Versions of packages nvidia-kernel-dkms depends on: ii dkms 2.6.1-1 ii nvidia-installer-cleanup 20151021+8 ii nvidia-kernel-support [nvidia-kernel-support--v1] 390.77-1 nvidia-kernel-dkms recommends no packages. Versions of packages glx-alternative-nvidia depends on: ii dpkg 1.19.0.5+b1 ii glx-alternative-mesa 0.8.7 ii glx-diversions 0.8.7 ii update-glx 0.8.7 glx-alternative-nvidia suggests no packages. Versions of packages xserver-xorg-video-intel depends on: ii libc6 2.27-5 ii libdrm-intel1 2.4.94-1 ii libdrm2 2.4.94-1 ii libpciaccess0 0.14-1 ii libpixman-1-0 0.34.0-2 ii libudev1 239-7 ii libx11-6 2:1.6.6-1 ii libx11-xcb1 2:1.6.6-1 ii libxcb-dri2-0 1.13-3 ii libxcb-dri3-0 1.13-3 ii libxcb-sync1 1.13-3 ii libxcb-util0 0.3.8-3+b2 ii libxcb1 1.13-3 ii libxcursor1 1:1.1.15-1 ii libxdamage1 1:1.1.4-3 ii libxext6 2:1.3.3-1+b2 ii libxfixes3 1:5.0.3-1 ii libxinerama1 2:1.1.4-1 ii libxrandr2 2:1.5.1-1 ii libxrender1 1:0.9.10-1 ii libxshmfence1 1.3-1 ii libxss1 1:1.2.2-1+b2 ii libxtst6 2:1.2.3-1 ii libxv1 2:1.0.11-1 ii libxvmc1 2:1.0.10-1 ii xserver-xorg-core [xorg-video-abi-24] 2:1.20.1-1 Versions of packages nvidia-driver is related to: ii bumblebee 3.2.1-17 ii bumblebee-nvidia 3.2.1-17 pn ccache <none> pn libcuda1 <none> pn libcuda1-any <none> pn libdrm-nouveau1 <none> pn libdrm-nouveau1a <none> ii libdrm-nouveau2 2.4.94-1 ii libegl1 1.1.0-1 ii libgl1 1.1.0-1 ii libgl1-nvidia-glx [libgl1-nvidia-glx-any] 390.77-1 ii libgles1 1.1.0-1 ii libgles2 1.1.0-1 ii libglvnd0 1.1.0-1 ii libglx0 1.1.0-1 pn libopencl0 <none> ii libvulkan1 1.1.73+dfsg-1 pn linux-headers <none> ii make 4.2.1-1.2 ii nvidia-driver [nvidia-glx-any] 390.77-1 pn nvidia-glx <none> ii nvidia-kernel-common 20151021+8 ii nvidia-kernel-dkms 390.77-1 pn nvidia-kernel-source <none> ii nvidia-kernel-support [nvidia-kernel-support-any] 390.77-1 ii nvidia-modprobe 390.25-1 ii nvidia-nonglvnd-vulkan-icd [vulkan-icd] 390.77-1 ii nvidia-settings 390.67-1 ii nvidia-support 20151021+8 pn nvidia-xconfig <none> ii ocl-icd-libopencl1 [libopencl1] 2.2.12-1 pn opencl-icd <none> ii xserver-xorg 1:7.7+19 ii xserver-xorg-core 2:1.20.1-1 ii xserver-xorg-legacy 2:1.20.1-1 ii xserver-xorg-video-nouveau 1:1.0.15-3 ii xserver-xorg-video-nvidia [xserver-xorg-video-nvidia-any] 390.77-1 -- no debconf information