Have tried:
I have tried launching code-oss
multiple times, and it shows the same error related to MESA and the virtgpu backend. I also tried checking the version using the --version
flag, but the warnings still appear. I have not tried running it as root, since I am using integrated graphics (Intel HD Graphics 620), which should not require special handling.
The error:
The error message consists of several warnings and failures related to MESA and Vulkan, specifically about the virtgpu
backend not enabling certain features and errors with creating resources like virtgpu AddressSpaceStream
. Some of the key error messages include:
MESA: error: DRM_IOCTL_VIRTGPU_GET_CAPS failed with Permission denied
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Permission denied
What device is this on:
This is on an HP EliteBook 840 G4 with the following specs:
- OS: Kali GNU/Linux Rolling x86_64
- Kernel: 6.12.13-amd64
- CPU: Intel i7-7500U
- GPU: Integrated Intel HD Graphics 620
- Desktop Environment: Xfce 4.20
Here is an output:
┌──(user㉿kali)-[~]
└─$ code-oss --version
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_3D_FEATURES
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CAPSET_QUERY_FIX
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_RESOURCE_BLOB
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_HOST_VISIBLE
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CROSS_DEVICE
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CONTEXT_INIT
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_SUPPORTED_CAPSET_IDs
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_EXPLICIT_DEBUG_NAME
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CREATE_FENCE_PASSING
MESA: info: virtgpu backend not enabling VIRTGPU_PARAM_CREATE_GUEST_HANDLE
MESA: error: DRM_IOCTL_VIRTGPU_GET_CAPS failed with Permission denied
MESA: error: DRM_IOCTL_VIRTGPU_CONTEXT_INIT failed with Permission denied, continuing without context…
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Permission denied
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Permission denied
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Permission denied
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection
MESA: error: DRM_VIRTGPU_RESOURCE_CREATE_BLOB failed with Permission denied
MESA: error: Failed to create virtgpu AddressSpaceStream
MESA: error: vulkan: Failed to get host connection