Vulkan not working with Nvidia 515.65.01 and kernel 5.15.0-46-generic

Recently I updated Ubuntu from 20.04 to 22.04 and now I have issues with Nvidia drivers.
The Vulkan is not working at all, can’t run any Steam game and vkcube doesn’t work.
This is the output when I try to run vkcube:

Can't open bumblebee display.
Selected GPU 0: llvmpipe (LLVM 13.0.1, 256 bits), type: 4
Could not find both graphics and present queues

Btw I’m using Legion 5 with Ryzen 7, AMD integrated GPU and Nvidia GTX 1650 Ti.
Currently I’m in discrete mode, but with switchable graphics it’s the same.

nvidia-bug-report.log.gz (271.4 KB)

Do you have bumble installed? If so, please uninstall it.

Now I removed it.
When I run the vkcube this is what I get now:

Selected GPU 0: llvmpipe (LLVM 13.0.1, 256 bits), type: 4
Could not find both graphics and present queues

Please post the output of
ls /etc/vulkan/icd.d
and
vulkaninfo --summary

The first command shows nothing.
This is the output of the second one:

ERROR: [Loader Message] Code 0 : libnv_vulkan_wrapper.so.1: cannot open shared object file: No such file or directory
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.204


Instance Extensions: count = 19
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6

Instance Layers: count = 8
--------------------------
VK_LAYER_MESA_device_select       Linux device selection layer                         1.2.73   version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer                                   1.2.199  version 1
VK_LAYER_NV_optimus               NVIDIA Optimus layer                                 1.3.205  version 1
VK_LAYER_PRIMUS_PrimusVK          Primus-vk - https://github.com/felixdoerre/primus_vk 1.2.0    version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer                         1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer                         1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer                                  1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer                                  1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 4202700 (1.2.204)
        driverVersion      = 1 (0x0001)
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 13.0.1, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 22.0.1 (LLVM 13.0.1)
        conformanceVersion = 0.0.0.0
        deviceUUID         = 00000000-0000-0000-0000-000000000000
        driverUUID         = 00000000-0000-0000-0000-000000000000

Please uninstall primus_vk

thanks a lot, now it works fine :)