Getting Vcube to run on Nvidia dGPU on a workstation with additional Intel iGPU

@malcolmlewis
I use the community (semi-official) Packman repo for Slowroll, like I have used it for (open)SUSE/Leap during years, and additional “opi codecs” for video and multimedia etc.
“zypper dup --from packman --allow-vendor-change” after a plain Slowroll installation, and later on only “zypper up” avoid libraries conflicts.
It is only the lastest (still experimental?) Vulkan hwaccel encoding I have had issues with.

I tried to add “-profile main” on Intel HD530, because the h264.mp4 output file was auto-encoded with High profile, and became not smaller (rather a little bit larger) than the mpeg2video input file with Main profile.
With No rate control settings specified, it uses fixed QP = 18

  1. On SkyLake/i7/HD530/Nvidia
Before export env.variables, no encode:


vulkaninfo | grep VK_KHR_video
	VK_KHR_video_decode_h264                      : extension revision 9
	VK_KHR_video_decode_h265                      : extension revision 8
	VK_KHR_video_decode_queue                     : extension revision 8
	VK_KHR_video_maintenance1                     : extension revision 1
	VK_KHR_video_maintenance2                     : extension revision 1
	VK_KHR_video_queue                            : extension revision 8

After export with

export ANV_DEBUG="video-decode,video-encode"

vulkaninfo | grep VK_KHR_video
	VK_KHR_video_decode_h264                      : extension revision 9
	VK_KHR_video_decode_h265                      : extension revision 8
	VK_KHR_video_decode_queue                     : extension revision 8
	VK_KHR_video_maintenance1                     : extension revision 1
	VK_KHR_video_maintenance2                     : extension revision 1
	VK_KHR_video_queue                            : extension revision 8
	VK_KHR_video_decode_h264                      : extension revision 9
	VK_KHR_video_decode_h265                      : extension revision 8
	VK_KHR_video_decode_queue                     : extension revision 8
	VK_KHR_video_decode_vp9                       : extension revision 1
	VK_KHR_video_encode_h264                      : extension revision 14
	VK_KHR_video_encode_queue                     : extension revision 12
	VK_KHR_video_maintenance1                     : extension revision 1
	VK_KHR_video_maintenance2                     : extension revision 1
	VK_KHR_video_queue                            : extension revision 8
  1. On AlderLake/i7/Arc A750 (DG2)
Before export of env. variables, no output

vulkaninfo | grep VK_KHR_video

After export of

export ANV_DEBUG="video-decode,video-encode"

vulkaninfo | grep VK_KHR_video
	VK_KHR_video_decode_av1                       : extension revision 1
	VK_KHR_video_decode_h264                      : extension revision 9
	VK_KHR_video_decode_h265                      : extension revision 8
	VK_KHR_video_decode_queue                     : extension revision 8
	VK_KHR_video_decode_vp9                       : extension revision 1
	VK_KHR_video_encode_h264                      : extension revision 14
	VK_KHR_video_encode_h265                      : extension revision 14
	VK_KHR_video_encode_queue                     : extension revision 12
	VK_KHR_video_maintenance1                     : extension revision 1
	VK_KHR_video_maintenance2                     : extension revision 1
	VK_KHR_video_queue                            : extension revision 8

1 Like

@terjejh Use the -qp option with a number 2 through 31 instead of profile, or try -vprofile instead. The latter worked for me to reduce file size.

1 Like

@malcolmlewis
While -profile:v seemingly is said to be correct for current ffmpeg versions and -vprofile legacy, the ffmpeg-8 help for h264_vulkan say

ffmpeg -hide_banner -h encoder=h264_vulkan
....
-profile           <int>        E..V....... Set profile (profile_idc and constraint_set*_flag) (from -99 to 65535) (default -99)
     constrained_baseline 578          E..V.......
     main            77           E..V.......
     high            100          E..V.......
     high444p        110          E..V.......

I have tried all options; -profile main, -profile:v main, -vprofile main and w/o profile

1) SkyLake/i7/HD530/Nvidia machine

Vulkan works on Intel HD530 iGPU and fails on Nvidia dGPU, where nvenc works

vulkaninfo | egrep -i 'intel|nvidia'
		GPU id = 0 (NVIDIA GeForce GTX 960)
		GPU id = 1 (Intel(R) HD Graphics 530 (SKL GT2))
VK_LAYER_NV_optimus (NVIDIA Optimus layer) Vulkan version 1.4.312, layer version 1:
		GPU id = 0 (NVIDIA GeForce GTX 960)
		GPU id = 1 (Intel(R) HD Graphics 530 (SKL GT2))
VK_LAYER_NV_present (NVIDIA GR2608 layer) Vulkan version 1.4.312, layer version 1:
		GPU id = 0 (NVIDIA GeForce GTX 960)
		GPU id = 1 (Intel(R) HD Graphics 530 (SKL GT2))
GPU id : 0 (NVIDIA GeForce GTX 960) [VK_KHR_xcb_surface, VK_KHR_xlib_surface]:
GPU id : 1 (Intel(R) HD Graphics 530 (SKL GT2)) [VK_KHR_xcb_surface, VK_KHR_xlib_surface]:
GPU id : 0 (NVIDIA GeForce GTX 960) [VK_KHR_wayland_surface]:
GPU id : 1 (Intel(R) HD Graphics 530 (SKL GT2)) [VK_KHR_wayland_surface]:
	deviceName        = NVIDIA GeForce GTX 960
	driverID                                             = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName                                           = NVIDIA
	deviceName        = Intel(R) HD Graphics 530 (SKL GT2)
	driverID                                             = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName                                           = Intel open-source Mesa driver
	VK_INTEL_shader_integer_functions2            : extension revision 1
ffmpeg -hide_banner -v verbose -init_hw_device "vulkan"

[Vulkan @ 0x562a48d46b80] Supported layers:
[Vulkan @ 0x562a48d46b80] 	VK_LAYER_MESA_device_select
[Vulkan @ 0x562a48d46b80] 	VK_LAYER_NV_optimus
[Vulkan @ 0x562a48d46b80] 	VK_LAYER_NV_present

[Vulkan @ 0x562a48d46b80] GPU listing:
[Vulkan @ 0x562a48d46b80]     0: NVIDIA GeForce GTX 960 (discrete) (0x1401)
[Vulkan @ 0x562a48d46b80]     1: Intel(R) HD Graphics 530 (SKL GT2) (integrated) (0x1912)
[Vulkan @ 0x562a48d46b80]     2: llvmpipe (LLVM 21.1.7, 256 bits) (software) (0x0)
[Vulkan @ 0x562a48d46b80] Device 0 selected: NVIDIA GeForce GTX 960 (discrete) (0x1401)	

While this simpler codeline using h264_nvenc works and encodes a small output file of 1.4M
ffmpeg -hide_banner -hwaccel cuda -hwaccel_output_format cuda -i hdv1080i50.m2t -c:v h264_nvenc hdv1080i50_h264_nvenc.mp4

obviously something is missing that hinder access to Nvidia using vulkan !??

vk:0 Nvidia:
---------------

Tried -profile main, -profile:v main, -vprofile main and w/o profile, and ffmpeg error out on Nvidia with

ffmpeg -hide_banner -init_hw_device "vulkan=vk:0" -hwaccel vulkan -hwaccel_output_format vulkan -i hdv1080i50.m2t -vf "format=nv12,hwupload" -c:v h264_vulkan -profile:v main -y hdv1080i50_h264_main_vulkan_nv12_vk0.mp4
..........

[h264_vulkan @ 0x55f0d3d9dbc0] Device does not support the VK_KHR_video_encode_queue extension!

[vost#0:0/h264_vulkan @ 0x55f0d3da0c80] [enc:h264_vulkan @ 0x55f0d3d8aa80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0x55f0d3d9f400] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 0x55f0d3d9f400] Task finished with error code: -38 (Function not implemented)
[vf#0:0 @ 0x55f0d3d9f400] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/h264_vulkan @ 0x55f0d3da0c80] [enc:h264_vulkan @ 0x55f0d3d8aa80] Could not open encoder before EOF
[vost#0:0/h264_vulkan @ 0x55f0d3da0c80] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_vulkan @ 0x55f0d3da0c80] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0x55f0d3d9b100] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:00.04    
[aac @ 0x55f0d3d87c00] Qavg: 175.195
Conversion failed!

export ANV_DEBUG="video-decode,video-encode"

vk:1 Intel HD530:
-----------------

Tried -profile main, -profile:v main, -vprofile main and w/o profile, and all works on Intel HD530

ffmpeg -hide_banner -init_hw_device "vulkan=vk:0" -hwaccel vulkan -hwaccel_output_format vulkan -i hdv1080i50.m2t -vf "format=nv12,hwupload" -c:v h264_vulkan -profile main -y hdv1080i50_h264_main_vulkan_nv12_vk0.mp4

-----------

du -sh *.m2t *.mp4
16M	hdv1080i50.m2t (interlaced mpeg2video input file)
20M	hdv1080i50_h264_main_vulkan_nv12_vk1.mp4 (progressive ouput file, main profile)
1,4M	hdv1080i50_h264_nvenc.mp4
17M	hdv1080i50_h264_vulkan_nv12_vk1.mp4 (progressive output file, w/o profile)

2) Alder Lake/Intel Arc A750 (DG2) machine

Vulkan fails in all attempts. Do you get any of my code lines or other to work on your A380?

vulkaninfo | grep -i 'intel'
		GPU id = 0 (Intel(R) Arc(tm) A750 Graphics (DG2))
GPU id : 0 (Intel(R) Arc(tm) A750 Graphics (DG2)) [VK_KHR_xcb_surface, VK_KHR_xlib_surface]:
GPU id : 0 (Intel(R) Arc(tm) A750 Graphics (DG2)) [VK_KHR_wayland_surface]:
	deviceName        = Intel(R) Arc(tm) A750 Graphics (DG2)
	driverID                                             = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName                                           = Intel open-source Mesa driver
	VK_INTEL_shader_integer_functions2            : extension revision 1

ffmpeg -hide_banner -v verbose -init_hw_device "vulkan"

[Vulkan @ 0x556afcc3ab80] Supported layers:
[Vulkan @ 0x556afcc3ab80]       VK_LAYER_MESA_device_select

[Vulkan @ 0x556afcc3ab80] GPU listing:
[Vulkan @ 0x556afcc3ab80]     0: Intel(R) Arc(tm) A750 Graphics (DG2) (discrete) (0x56a1)
[Vulkan @ 0x556afcc3ab80]     1: llvmpipe (LLVM 21.1.7, 256 bits) (software) (0x0)

[Vulkan @ 0x556afcc3ab80] Device 0 selected: Intel(R) Arc(tm) A750 Graphics (DG2) (discrete) (0x56a1)
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_push_descriptor
[Vulkan @ 0x556afcc3ab80] Using device extension VK_EXT_physical_device_drm
[Vulkan @ 0x556afcc3ab80] Using device extension VK_EXT_shader_atomic_float
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_cooperative_matrix
[Vulkan @ 0x556afcc3ab80] Using device extension VK_EXT_shader_object
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_shader_subgroup_rotate
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_shader_expect_assume
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_maintenance1
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_maintenance2
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_external_memory_fd
[Vulkan @ 0x556afcc3ab80] Using device extension VK_EXT_external_memory_dma_buf
[Vulkan @ 0x556afcc3ab80] Using device extension VK_EXT_image_drm_format_modifier
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_external_semaphore_fd
[Vulkan @ 0x556afcc3ab80] Using device extension VK_EXT_external_memory_host
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_queue
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_encode_queue
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_decode_queue
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_encode_h264
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_decode_h264
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_encode_h265
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_decode_h265
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_decode_vp9
[Vulkan @ 0x556afcc3ab80] Using device extension VK_KHR_video_decode_av1
[Vulkan @ 0x556afcc3ab80] Queue families:
[Vulkan @ 0x556afcc3ab80]     0: graphics compute transfer sparse (queues: 1)
[Vulkan @ 0x556afcc3ab80]     1: encode decode (queues: 2)
[Vulkan @ 0x556afcc3ab80] Using device: Intel(R) Arc(tm) A750 Graphics (DG2)
[Vulkan @ 0x556afcc3ab80] Alignments:
[Vulkan @ 0x556afcc3ab80]     optimalBufferCopyRowPitchAlignment: 128
[Vulkan @ 0x556afcc3ab80]     minMemoryMapAlignment:              4096
[Vulkan @ 0x556afcc3ab80]     nonCoherentAtomSize:                64
[Vulkan @ 0x556afcc3ab80]     minImportedHostPointerAlignment:    4096
[Vulkan @ 0x556afcc3ab80] Using queue family 0 (queues: 1) for graphics compute transfers
[Vulkan @ 0x556afcc3ab80] Using queue family 1 (queues: 2) for encode decode
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
I tried to add “-profile main” on Intel HD530, because the h264.mp4 output file was auto-encoded with High profile, and became not smaller (rather a little bit larger) than the mpeg2video input file with Main profile.
With No rate control settings specified, it uses fixed QP = 18

------

Tried -profile main, -profile:v main, -vprofile main and w/o profile, and ffmpeg error out on DG2 with

[h264_vulkan @ 0x5639fcd9ed80] Unable to perform query: VK_ERROR_DEVICE_LOST!psed=0:00:07.00    
[h264_vulkan @ 0x5639fcd9ed80] Output failed: -542398533.
[vost#0:0/h264_vulkan @ 0x5639fcd9eb00] [enc:h264_vulkan @ 0x5639fcd493c0] Error submitting video frame to the encoder
[vost#0:0/h264_vulkan @ 0x5639fcd9eb00] [enc:h264_vulkan @ 0x5639fcd493c0] Error encoding a frame: Generic error in an external library
[vost#0:0/h264_vulkan @ 0x5639fcd9eb00] Task finished with error code: -542398533 (Generic error in an external library)
[vost#0:0/h264_vulkan @ 0x5639fcd9eb00] Terminating thread with return code -542398533 (Generic error in an external library)
Unable to submit command buffer: VK_ERROR_DEVICE_LOST
[hwupload @ 0x7f4f64004580] Failed to upload frame: -542398533.
[vf#0:0 @ 0x5639fcdda740] Error while filtering: Generic error in an external library
[vf#0:0 @ 0x5639fcdda740] Task finished with error code: -542398533 (Generic error in an external library)
[vf#0:0 @ 0x5639fcdda740] Terminating thread with return code -542398533 (Generic error in an external library)
[out#0/mp4 @ 0x5639fcd48e80] video:0KiB audio:21KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 5.062934%
frame=    0 fps=0.0 q=0.0 Lsize=      22KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:07.15    
[aac @ 0x5639fcddbb00] Qavg: 181.433
Conversion failed!

==========
1 Like

@oldcpu terjejh So the A380 doesn’t support VK_KHR_video_maintenance1 (interesting), but I’m using QSV with that and handbrake mainly. I do have vulkan enabled in QSVEnc.

Your user is in the video and render groups?

Seems to me it could be a combination of hardware (Maxwell arch) or maybe option order?

Maybe @oldcpu or @Mir_ppc have some thoughts?

1 Like

This isnt an intel issue i found. I have had issues with Vulkan Encoding in general. My main tests where AV1 with QSV, the Vulkan Encoder which i found ignored the hardware encoder, and software. So far my experience showed QSV was the most efficient with Vulkan being worse than CPU if it worked at all.

1 Like

Unhappily I have to resume this topic again, because Vkcube won’t run on Nvidia (again). In the meantime I have

  1. run online system upgrades ‘zypper up’, as I had expected both kernel and Nvidia drivers automatic would be maintained
  2. switched the BIOS back to IGD with Intel iGPU as the default,

That is, now I have

switcherooctl list
Device: 0
  Name:        Intel® HD Graphics 530
  Default:     yes
  Discrete:    no
  Environment: DRI_PRIME=pci-0000_00_02_0 VK_LOADER_DRIVERS_SELECT=*intel*

Device: 1
  Name:        NVIDIA Corporation GM206 [GeForce GTX 960]
  Default:     no
  Discrete:    yes
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only VK_LOADER_DRIVERS_SELECT=*nvidia*

And running Vkcube, it works on Intel GPU0 default, but fails on Nvidia GPU1

vkcube
Selected WSI platform: wayland
Selected GPU 0: Intel(R) HD Graphics 530 (SKL GT2), type: IntegratedGpu
^C
switcherooctl launch -g 1 vkcube
Selected WSI platform: wayland
vkEnumeratePhysicalDevices reported zero accessible devices.

Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.

inxi -GSa
System:
  Host: localhost.localdomain Kernel: 6.12.63-1.0.4.sr20251204-longterm
    arch: x86_64 bits: 64 compiler: gcc v: 15.2.1 clocksource: tsc
    avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12.63-1.0.4.sr20251204-longterm
    root=UUID=3cf9596b-12ba-47c7-8246-46da1dd240bd splash=silent
    mitigations=auto quiet security=selinux selinux=1
    rd.driver.blacklist=nouveau
  Desktop: GNOME v: 49.2 tk: GTK v: 3.24.51 wm: gnome-shell
    tools: gsd-screensaver-proxy avail: xscreensaver dm: GDM v: 49.2
    Distro: openSUSE Tumbleweed-Slowroll 20260101
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: HDMI-A-2 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:1912 class-ID: 0300
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: Micro-Star MSI
    driver: nvidia v: 580.119.02 alternate: nouveau,nvidia_drm
    non-free: 550-580.xx+ status: current (as of 2025-11; EOL~2026-12-xx)
    arch: Maxwell code: GMxxx process: TSMC 28nm built: 2014-2019 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports:
    active: none empty: DP-3, DP-4, DP-5, DVI-I-1, HDMI-A-4 bus-ID: 01:00.0
    chip-ID: 10de:1401 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.8
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-2 model: Philips 244E serial: DL11047733014 built: 2010
    res: 1920x1080 dpi: 92 gamma: 1.2 size: 531x299mm (20.91x11.77")
    diag: 609mm (24") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 vendor: intel mesa v: 25.3.3 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2)
    device-ID: 8086:1912 memory: 61.22 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.4.335 layers: 3 device: 0 type: integrated-gpu name: Intel
    HD Graphics 530 (SKL GT2) driver: mesa intel v: 25.3.3
    device-ID: 8086:1912 surfaces: N/A device: 1 type: cpu name: llvmpipe
    (LLVM 21.1.7 256 bits) driver: mesa llvmpipe v: 25.3.3 (LLVM 21.1.7)
    device-ID: 10005:0000 surfaces: N/A
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo,vulkaninfo gpu: nvidia-settings,nvidia-smi
    x11: xprop,xrandr

zypper se -is nvidia
Loading repository data...
Reading installed packages...

S  | Name                           | Type    | Version                    | Arch   | Repository
---+--------------------------------+---------+----------------------------+--------+----------------------
i  | kernel-firmware-nvidia         | package | 20251018-1.1               | noarch | Hovedpakkebrønn (OSS)
i  | kernel-firmware-nvidia         | package | 20251018-1.1               | noarch | repo-oss
i  | libnvidia-egl-gbm1             | package | 1.1.2.1-8.1                | x86_64 | NVIDIA
i  | libnvidia-egl-gbm1             | package | 1.1.2.1-8.1                | x86_64 | repo-non-free
i  | libnvidia-egl-wayland1         | package | 1.1.21-1.1                 | x86_64 | update-slowroll
i  | libnvidia-egl-wayland1         | package | 1.1.21-1.1                 | x86_64 | Hovedpakkebrønn (OSS)
i  | libnvidia-egl-wayland1         | package | 1.1.21-1.1                 | x86_64 | repo-oss
i  | libnvidia-egl-x111             | package | 1.0.5-22.1                 | x86_64 | NVIDIA
i  | libnvidia-egl-x111             | package | 1.0.5-22.1                 | x86_64 | repo-non-free
i  | libnvidia-gpucomp              | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | libnvidia-gpucomp              | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-common-G06              | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-common-G06              | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-compute-G06             | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-compute-G06             | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-compute-utils-G06       | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-compute-utils-G06       | package | 580.126.09-44.1            | x86_64 | repo-non-free
i+ | nvidia-driver-G06-kmp-longterm | package | 580.126.09_k6.12.64_1-44.2 | x86_64 | NVIDIA
i+ | nvidia-driver-G06-kmp-longterm | package | 580.126.09_k6.12.64_1-44.2 | x86_64 | repo-non-free
i  | nvidia-driver-G06-kmp-meta     | package | 580.126.09-31.1            | x86_64 | NVIDIA
i  | nvidia-driver-G06-kmp-meta     | package | 580.126.09-31.1            | x86_64 | repo-non-free
i+ | nvidia-gl-G06                  | package | 580.126.09-44.1            | x86_64 | NVIDIA
i+ | nvidia-gl-G06                  | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-libXNVCtrl              | package | 580.126.09-51.1            | x86_64 | NVIDIA
i  | nvidia-libXNVCtrl              | package | 580.126.09-51.1            | x86_64 | repo-non-free
i  | nvidia-modprobe                | package | 580.126.09-22.1            | x86_64 | NVIDIA
i  | nvidia-modprobe                | package | 580.126.09-22.1            | x86_64 | repo-non-free
i  | nvidia-persistenced            | package | 580.126.09-2.1             | x86_64 | NVIDIA
i  | nvidia-persistenced            | package | 580.126.09-2.1             | x86_64 | repo-non-free
i+ | nvidia-settings                | package | 580.126.09-51.1            | x86_64 | NVIDIA
i+ | nvidia-settings                | package | 580.126.09-51.1            | x86_64 | repo-non-free
i  | nvidia-userspace-meta-G06      | package | 580.126.09-31.1            | x86_64 | NVIDIA
i  | nvidia-userspace-meta-G06      | package | 580.126.09-31.1            | x86_64 | repo-non-free
i  | nvidia-video-G06               | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-video-G06               | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-xconfig                 | package | 580.126.09-2.1             | x86_64 | NVIDIA
i  | nvidia-xconfig                 | package | 580.126.09-2.1             | x86_64 | repo-non-free
i  | openSUSE-repos-Slowroll-NVIDIA | package | 20250728.9adc675-1.1       | x86_64 | Hovedpakkebrønn (OSS)
i  | openSUSE-repos-Slowroll-NVIDIA | package | 20250728.9adc675-1.1       | x86_64 | repo-oss

se -is vulkan
Loading repository data...
Reading installed packages...

S  | Name                            | Type    | Version                    | Arch   | Repository
---+---------------------------------+---------+----------------------------+--------+----------------------
i  | libgstvulkan-1_0-0              | package | 1.26.10-1.0.4.1.sr20251204 | x86_64 | update-slowroll
i  | libvulkan1                      | package | 1.4.335-1.1                | x86_64 | update-slowroll
i  | libvulkan1                      | package | 1.4.335-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i  | libvulkan1                      | package | 1.4.335-1.1                | x86_64 | repo-oss
i+ | libvulkan1-32bit                | package | 1.4.335-1.1                | x86_64 | update-slowroll
i+ | libvulkan1-32bit                | package | 1.4.335-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i+ | libvulkan1-32bit                | package | 1.4.335-1.1                | x86_64 | repo-oss
i  | libvulkan_intel                 | package | 25.3.3-1699.5.pm.1         | x86_64 | Packman
i+ | libvulkan_intel-32bit           | package | 25.3.3-2.1                 | x86_64 | update-slowroll
i  | libvulkan_lvp                   | package | 25.3.3-1699.5.pm.1         | x86_64 | Packman
i  | Mesa-vulkan-device-select       | package | 25.3.3-1699.5.pm.1         | x86_64 | Packman
i  | Mesa-vulkan-device-select-32bit | package | 25.3.3-2.1                 | x86_64 | update-slowroll
i+ | vulkan-tools                    | package | 1.4.335-1.1                | x86_64 | update-slowroll
i+ | vulkan-tools                    | package | 1.4.335-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i+ | vulkan-tools                    | package | 1.4.335-1.1                | x86_64 | repo-oss

ls /usr/share/vulkan/icd.d/
intel_hasvk_icd.i686.json    intel_icd.i686.json    lvp_icd.x86_64.json
intel_hasvk_icd.x86_64.json  intel_icd.x86_64.json  nvidia_icd.x86_64.json

cat lvp_icd.x86_64.json
{
    "ICD": {
        "api_version": "1.4.328",
        "library_arch": "64",
        "library_path": "/usr/lib64/libvulkan_lvp.so"
    },
    "file_format_version": "1.0.1"
}

cat nvidia_icd.x86_64.json
{
    "file_format_version" : "1.0.1",
    "ICD": {
        "library_path": "/usr/lib64/libGLX_nvidia.so.0",
        "api_version" : "1.4.312"
    }
}

1 Like

As can be seen in the output, no Vulkan for the Nvidia gpu, just Intel and the CPU… The inxi output should show all three…

Seems like a slowroll issue and bug report…

1 Like

@malcolmlewis
Could you point on which of the outputs missing Vulkan for Nvidia gpu?
If so, when Vkcube ran before on Nvidia with BIOS set to PEG Nvidia as default, the output then should have Vulkan for Nvidia?

Maybe before a but report, I’ll first try a re-installation.

I forgot the add the following outputs in case they tell something more.

nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 580.126

vulkaninfo --summary | egrep -i "intel|nvidia"
VK_LAYER_NV_optimus         NVIDIA Optimus layer         1.4.312  version 1
VK_LAYER_NV_present         NVIDIA GR2608 layer          1.4.312  version 1
	deviceName         = Intel(R) HD Graphics 530 (SKL GT2)
	driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName         = Intel open-source Mesa driver

vulkaninfo | egrep -i 'intel|nvidia'
		GPU id = 0 (Intel(R) HD Graphics 530 (SKL GT2))
VK_LAYER_NV_optimus (NVIDIA Optimus layer) Vulkan version 1.4.312, layer version 1:
		GPU id = 0 (Intel(R) HD Graphics 530 (SKL GT2))
VK_LAYER_NV_present (NVIDIA GR2608 layer) Vulkan version 1.4.312, layer version 1:
		GPU id = 0 (Intel(R) HD Graphics 530 (SKL GT2))
GPU id : 0 (Intel(R) HD Graphics 530 (SKL GT2)) [VK_KHR_xcb_surface, VK_KHR_xlib_surface]:
GPU id : 0 (Intel(R) HD Graphics 530 (SKL GT2)) [VK_KHR_wayland_surface]:
	deviceName        = Intel(R) HD Graphics 530 (SKL GT2)
	driverID                                             = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
	driverName                                           = Intel open-source Mesa driver
	VK_INTEL_shader_integer_functions2            : extension revision 1

export ANV_DEBUG="video-decode,video-encode"

vulkaninfo | grep VK_KHR_video
	VK_KHR_video_decode_h264                      : extension revision 9
	VK_KHR_video_decode_h265                      : extension revision 8
	VK_KHR_video_decode_queue                     : extension revision 8
	VK_KHR_video_decode_vp9                       : extension revision 1
	VK_KHR_video_encode_h264                      : extension revision 14
	VK_KHR_video_encode_queue                     : extension revision 12
	VK_KHR_video_maintenance1                     : extension revision 1
	VK_KHR_video_maintenance2                     : extension revision 1
	VK_KHR_video_queue                      
1 Like

There is something weird here, like a driver version mismatch, unless those two outputs were from before and after an upgrade, or you didn’t reboot after the upgrade or…
And

nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 580.126

seems to confirm what I see.

1 Like

@terjejh this bit, no Nvidia;

And what @OrsoBruno noted (good spotting!!)…

1 Like

@malcolmlewis @OrsoBruno
I agree, there seemingly is a mismatch somewhere. The question is how to solve it, and figure out how it arised. My output was from the same session.

I thought I maybe could have forgot to reboot after ‘zypper up’ and run
zypper install-new-recommends
when I couldn’t get access to Nvidia.

Have now tried also to remove all of nvidia og reinstall everything again

zypper rm "nvidia-*" "libnvidia-*"

zypper install-new-recommends

zypper in -f nvidia-driver-G06-kmp-longterm

zypper in nvidia-settings

But now I suspect I haven’t got the propriary Nvidia drivers properly installed, may nouveau has taken its place

uname -r
6.12.63-1.0.4.sr20251204-longterm
inxi -Ga
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: HDMI-A-2 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:1912 class-ID: 0300
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: Micro-Star MSI
    driver: N/A alternate: nouveau non-free: 550-580.xx+ status: current (as of
    2025-11; EOL~2026-12-xx) arch: Maxwell code: GMxxx process: TSMC 28nm
    built: 2014-2019 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1401 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.8
    compositor: gnome-shell v: 49.2 driver: gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-2 model: Philips 244E serial: DL11047733014 built: 2010
    res: 1920x1080 dpi: 92 gamma: 1.2 size: 531x299mm (20.91x11.77")
    diag: 609mm (24") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 vendor: intel mesa v: 25.3.3 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2)
    device-ID: 8086:1912 memory: 61.22 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.4.335 layers: 3 device: 0 type: integrated-gpu name: Intel
    HD Graphics 530 (SKL GT2) driver: mesa intel v: 25.3.3
    device-ID: 8086:1912 surfaces: N/A device: 1 type: cpu name: llvmpipe
    (LLVM 21.1.7 256 bits) driver: mesa llvmpipe v: 25.3.3 (LLVM 21.1.7)
    device-ID: 10005:0000 surfaces: N/A
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo,vulkaninfo gpu: nvidia-settings,nvidia-smi
    x11: xprop,xrandr
zypper se -is nvidia
Loading repository data...
Reading installed packages...

S  | Name                           | Type    | Version                    | Arch   | Repository
---+--------------------------------+---------+----------------------------+--------+----------------------
i  | kernel-firmware-nvidia         | package | 20251018-1.1               | noarch | Hovedpakkebrønn (OSS)
i  | kernel-firmware-nvidia         | package | 20251018-1.1               | noarch | repo-oss
i  | libnvidia-egl-gbm1             | package | 1.1.2.1-8.1                | x86_64 | NVIDIA
i  | libnvidia-egl-gbm1             | package | 1.1.2.1-8.1                | x86_64 | repo-non-free
i  | libnvidia-egl-wayland1         | package | 1.1.21-1.1                 | x86_64 | update-slowroll
i  | libnvidia-egl-wayland1         | package | 1.1.21-1.1                 | x86_64 | Hovedpakkebrønn (OSS)
i  | libnvidia-egl-wayland1         | package | 1.1.21-1.1                 | x86_64 | repo-oss
i  | libnvidia-egl-x111             | package | 1.0.5-22.1                 | x86_64 | NVIDIA
i  | libnvidia-egl-x111             | package | 1.0.5-22.1                 | x86_64 | repo-non-free
i  | libnvidia-gpucomp              | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | libnvidia-gpucomp              | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-common-G06              | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-common-G06              | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-compute-G06             | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-compute-G06             | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-compute-utils-G06       | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-compute-utils-G06       | package | 580.126.09-44.1            | x86_64 | repo-non-free
i+ | nvidia-driver-G06-kmp-longterm | package | 580.126.09_k6.12.64_1-44.2 | x86_64 | NVIDIA
i+ | nvidia-driver-G06-kmp-longterm | package | 580.126.09_k6.12.64_1-44.2 | x86_64 | repo-non-free
i+ | nvidia-gl-G06                  | package | 580.126.09-44.1            | x86_64 | NVIDIA
i+ | nvidia-gl-G06                  | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-libXNVCtrl              | package | 580.126.09-51.1            | x86_64 | NVIDIA
i  | nvidia-libXNVCtrl              | package | 580.126.09-51.1            | x86_64 | repo-non-free
i  | nvidia-modprobe                | package | 580.126.09-22.1            | x86_64 | NVIDIA
i  | nvidia-modprobe                | package | 580.126.09-22.1            | x86_64 | repo-non-free
i  | nvidia-persistenced            | package | 580.126.09-2.1             | x86_64 | NVIDIA
i  | nvidia-persistenced            | package | 580.126.09-2.1             | x86_64 | repo-non-free
i+ | nvidia-settings                | package | 580.126.09-51.1            | x86_64 | NVIDIA
i+ | nvidia-settings                | package | 580.126.09-51.1            | x86_64 | repo-non-free
i  | nvidia-userspace-meta-G06      | package | 580.126.09-31.1            | x86_64 | NVIDIA
i  | nvidia-userspace-meta-G06      | package | 580.126.09-31.1            | x86_64 | repo-non-free
i  | nvidia-video-G06               | package | 580.126.09-44.1            | x86_64 | NVIDIA
i  | nvidia-video-G06               | package | 580.126.09-44.1            | x86_64 | repo-non-free
i  | nvidia-xconfig                 | package | 580.126.09-2.1             | x86_64 | NVIDIA
i  | nvidia-xconfig                 | package | 580.126.09-2.1             | x86_64 | repo-non-free
i  | openSUSE-repos-Slowroll-NVIDIA | package | 20250728.9adc675-1.1       | x86_64 | Hovedpakkebrønn (OSS)
i  | openSUSE-repos-Slowroll-NVIDIA | package | 20250728.9adc675-1.1       | x86_64 | repo-oss
 nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
vkcube
Selected WSI platform: wayland
Selected GPU 0: Intel(R) HD Graphics 530 (SKL GT2), type: IntegratedGpu
^C
switcherooctl list
Device: 0
  Name:        Intel® HD Graphics 530
  Default:     yes
  Discrete:    no
  Environment: DRI_PRIME=pci-0000_00_02_0 VK_LOADER_DRIVERS_SELECT=*intel*
1 Like

Force the re-install of the nvidia-driver-G06-kmp-longterm

1 Like

@malcolmlewis
Still the same:

zypper in -f nvidia-driver-G06-kmp-longterm
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Forcing installation of 'nvidia-driver-G06-kmp-longterm-580.126.09_k6.12.64_1-44.2.x86_64' from repository 'NVIDIA'.
Resolving package dependencies...

The following NEW package is going to be installed:
  nvidia-driver-G06-kmp-longterm

1 new package to install.

Package download size:    80.0 MiB

Package install size change:
              |     264.4 MiB  required by packages that will be installed
   264.4 MiB  |  -      0 B    released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
....
(1/1) Installing: nvidia-driver-G06-kmp-longterm-580.126.09_k6.12.64_1-44.2.x86_64 ...............[done]
Running post-transaction scripts .................................................................[done]

inxi -Ga
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: HDMI-A-2 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:1912 class-ID: 0300
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: Micro-Star MSI
    driver: N/A alternate: nouveau non-free: 550-580.xx+ status: current (as of
    2025-11; EOL~2026-12-xx) arch: Maxwell code: GMxxx process: TSMC 28nm
    built: 2014-2019 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1401 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.8
    compositor: gnome-shell v: 49.2 driver: gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-2 model: Philips 244E serial: DL11047733014 built: 2010
    res: 1920x1080 dpi: 92 gamma: 1.2 size: 531x299mm (20.91x11.77")
    diag: 609mm (24") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 vendor: intel mesa v: 25.3.3 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2)
    device-ID: 8086:1912 memory: 61.22 GiB unified: yes display-ID: :0.0
  API: Vulkan v: 1.4.335 layers: 3 device: 0 type: integrated-gpu name: Intel
    HD Graphics 530 (SKL GT2) driver: mesa intel v: 25.3.3
    device-ID: 8086:1912 surfaces: N/A device: 1 type: cpu name: llvmpipe
    (LLVM 21.1.7 256 bits) driver: mesa llvmpipe v: 25.3.3 (LLVM 21.1.7)
    device-ID: 10005:0000 surfaces: N/A
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo,vulkaninfo gpu: nvidia-settings,nvidia-smi
    x11: xprop,xrandr

nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

switcherooctl list
Device: 0
  Name:        Intel® HD Graphics 530
  Default:     yes
  Discrete:    no
  Environment: DRI_PRIME=pci-0000_00_02_0 VK_LOADER_DRIVERS_SELECT=*intel*
terje@localhost:~> 


1 Like

@terjejh so it didn’t rebuild? Try running dracut -f --regenerate-all and see if that helps.

1 Like

@malcolmlewis
Unhappily no change

inxi -Ga
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: HDMI-A-2 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:1912 class-ID: 0300
  Device-2: NVIDIA GM206 [GeForce GTX 960] vendor: Micro-Star MSI
    driver: N/A alternate: nouveau non-free: 550-580.xx+ status: current (as of
    2025-11; EOL~2026-12-xx) arch: Maxwell code: GMxxx process: TSMC 28nm
    built: 2014-2019 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1401 class-ID: 0300

1 Like

Slowroll should be on 6.12.63-1.1 now, maybe there is a mismatch with kernel-longterm-devel used to build the nvidia driver: check

zypper se -si kernel-longterm
1 Like

Also, the driver is marked with 6.12.64: usually that is not a problem, but maybe there is something not compatible with 6.12.63, e.g. just not looking for directories from lower kernel versions?
(Sorry, not a Slowroll user here, so I’m shooting in the dark)

1 Like

@malcolmlewis
Yes, there looks to be something confusing…

uname -r
6.12.63-1.0.4.sr20251204-longterm

zypper se -si kernel-longterm
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version                    | Arch   | Repository
---+-----------------------+---------+----------------------------+--------+----------------------
i+ | kernel-longterm       | package | 6.12.63-1.1                | x86_64 | update-slowroll
i+ | kernel-longterm       | package | 6.12.63-1.0.4.1.sr20251204 | x86_64 | update-slowroll
i+ | kernel-longterm       | package | 6.12.63-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i+ | kernel-longterm       | package | 6.12.63-1.1                | x86_64 | repo-oss
i  | kernel-longterm-devel | package | 6.12.63-1.1                | x86_64 | update-slowroll
i  | kernel-longterm-devel | package | 6.12.63-1.0.4.1.sr20251204 | x86_64 | update-slowroll
i  | kernel-longterm-devel | package | 6.12.63-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i  | kernel-longterm-devel | package | 6.12.63-1.1                | x86_64 | repo-oss

In case it does any matter, I can mentione that this Slowroll is part of a multiboot installation, where the Grub2-UEFI menu come from the Leap 15.6 installation.

1 Like

So fire up the 15.6 system and update the bootloader there, then boot Slowroll with the latest kernel. If that doesn’t work, remember that the Nvidia driver builds against the kernel-devel installed last, so force reinstalling the correct version of kernel-longterm-devel and nvidia kmp might be needed as a last resort.

@OrsoBruno
Sorry, I possibly mixed with another machine where Slowroll was installed with Grub2-BLS which didn’t support multiboot, and I had to use the Leap 15.6 Grub2-EFI.

The issue is that on the Grub2-multiboot menu Advanced there is no kernel-longterm 6.12.63-1.1 option.

I can’t understand why not this latest kernel that is installed isn’t there, only the other 6.12.63-1.0.4.1.sr20251204 version.

uname -r
6.12.63-1.0.4.sr20251204-longterm

export LANG=en_US.UTF-8

zypper se -is kernel-longterm
Loading repository data...
Reading installed packages...

S  | Name                  | Type    | Version                    | Arch   | Repository
---+-----------------------+---------+----------------------------+--------+----------------------
i+ | kernel-longterm       | package | 6.12.63-1.1                | x86_64 | update-slowroll
i+ | kernel-longterm       | package | 6.12.63-1.0.4.1.sr20251204 | x86_64 | update-slowroll
i+ | kernel-longterm       | package | 6.12.63-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i+ | kernel-longterm       | package | 6.12.63-1.1                | x86_64 | repo-oss
i  | kernel-longterm-devel | package | 6.12.63-1.1                | x86_64 | update-slowroll
i  | kernel-longterm-devel | package | 6.12.63-1.0.4.1.sr20251204 | x86_64 | update-slowroll
i  | kernel-longterm-devel | package | 6.12.63-1.1                | x86_64 | Hovedpakkebrønn (OSS)
i  | kernel-longterm-devel | package | 6.12.63-1.1                | x86_64 | repo-oss