Ubisoft Connect won't launch

I am running Lutris v0.5.17 installed from .deb on Linux Mint 22 running on a Proxmox 8.2.4 VM. The problem I run into is when I start Ubisoft Connect, nothing happens.

lutris -d
2024-09-03 07:56:59,628: Command 'fluidsynth' not found on your system
2024-09-03 07:56:59,972: The Battle.net source is unavailable because Google protobuf could not be loaded: No module named 'google'
INFO     2024-09-03 07:57:00,079 [application.do_command_line:479]:Starting Lutris 0.5.17
INFO     2024-09-03 07:57:00,175 [startup.run_all_checks:120]:NVIDIA GeForce RTX 2060 (10de:1e89 1462:3755 nvidia) Driver 535.183.01
ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at ./vulkaninfo/./vulkaninfo.h:458:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
ERROR    2024-09-03 07:57:00,192 [system.read_process_output:188]:['vulkaninfo', '--summary'] command failed: Command '['vulkaninfo', '--summary']' returned non-zero exit status 1.
INFO     2024-09-03 07:57:00,192 [startup.run_all_checks:120]: (simple-framebuffer) Driver None
DEBUG    2024-09-03 07:57:00,331 [xrandr.get_resolutions:91]:Retrieving resolution list
DEBUG    2024-09-03 07:57:00,427 [xrandr._get_vidmodes:18]:Retrieving 28 video modes from XrandR
DEBUG    2024-09-03 07:57:00,522 [path_cache._update_missing_games:114]:Checking for missing games
DEBUG    2024-09-03 07:57:00,596 [api.check_stale_runtime_versions:52]:Modified at Mon 02 Sep 2024 10:52:34 PM , will update after Tue 03 Sep 2024 04:52:34 AM 
DEBUG    2024-09-03 07:57:00,597 [http._request:88]:GET https://lutris.net/api/runtimes/versions?pci_ids=10DE:1E89%201462:3755,%20
DEBUG    2024-09-03 07:57:01,002 [lutriswindow.create_runtime_updater_cb:1244]:Runtime up to date
DEBUG    2024-09-03 07:57:16,883 [xrandr.get_outputs:26]:Retrieving display outputs
DEBUG    2024-09-03 07:57:16,984 [xrandr._get_vidmodes:18]:Retrieving 28 video modes from XrandR
Started initial process 391274 from gamemoderun /home/tazzy/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine /home/tazzy/Games/ubisoft-connect/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
Start monitoring process.
gamemodeauto: 
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
Initial process has exited (return code: 0)
DEBUG    2024-09-03 07:58:10,607 [wine.winekill:200]:Killing all wine processes ({'391994', '391319', '391289', '391336', '391293', '391427', '391430', '391339', '391437', '391325', '391306', '391357', '391296', '391347', '391420', '391432'}) in prefix /home/tazzy/Games/ubisoft-connect: ['/home/tazzy/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wineserver', '-k']
DEBUG    2024-09-03 07:58:10,607 [wine.winekill:201]:['/home/tazzy/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wineserver', '-k']
DEBUG    2024-09-03 07:58:10,607 [wine.winekill:202]:/home/tazzy/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wineserver -k
Monitored process exited.
Exit with return code 0
DEBUG    2024-09-03 07:58:10,702 [monitored_command.on_stop:228]:Process 391271 has terminated with code 0
DEBUG    2024-09-03 07:58:10,759 [wine.winekill:205]:Waiting for wine processes to terminate
DEBUG    2024-09-03 07:58:10,759 [wine.winekill:221]:Done waiting.
DEBUG    2024-09-03 07:58:10,760 [game.stop_game:891]:Ubisoft Connect (wine) has run for 53 seconds
DEBUG    2024-09-03 07:58:10,760 [application.on_game_stopped:794]:Removing 1 from running IDs
DEBUG    2024-09-03 07:58:10,773 [game.stop_game:903]:Playtime: 8 hours 23 minutes
DEBUG    2024-09-03 07:58:11,043 [game.beat:924]:Game thread stopped
DEBUG    2024-09-03 07:58:11,043 [game.on_game_quit:980]:Ubisoft Connect stopped at Tue, 03 Sep 2024 07:58:11
DEBUG    2024-09-03 07:58:11,077 [path_cache.add_to_path_cache:47]:Adding Ubisoft Connect (wine) to path cache
INFO     2024-09-03 07:58:33,099 [application.do_shutdown:1051]:Shutting down Lutris
vulkaninfo --summary
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Skipping this driver.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.275


Instance Extensions: count = 23
-------------------------------
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_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
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_portability_enumeration         : 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
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 9
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MANGOHUD_overlay_x86_64  Vulkan Hud Overlay           1.3.0    version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.3.211  version 1
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.242  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         = 1.3.242
	driverVersion      = 535.183.1.0
	vendorID           = 0x10de
	deviceID           = 0x1e89
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce RTX 2060
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 535.183.01
	conformanceVersion = 1.3.5.0
	deviceUUID         = c2336cbf-a6f3-05b7-0e2b-c6beb98cc1f3
	driverUUID         = 526ab2c8-1f4a-5dd0-9559-81dab18f1e08
GPU1:
	apiVersion         = 1.3.274
	driverVersion      = 0.0.1
	vendorID           = 0x10005
	deviceID           = 0x0000
	deviceType         = PHYSICAL_DEVICE_TYPE_CPU
	deviceName         = llvmpipe (LLVM 17.0.6, 128 bits)
	driverID           = DRIVER_ID_MESA_LLVMPIPE
	driverName         = llvmpipe
	driverInfo         = Mesa 24.0.9-0ubuntu0.1 (LLVM 17.0.6)
	conformanceVersion = 1.3.1.1
	deviceUUID         = 6d657361-3234-2e30-2e39-2d3075627500
	driverUUID         = 6c6c766d-7069-7065-5555-494400000000

vkcube gives me a spinning cube and nvidia-smi shows the GPU

Lutris is only logging that as the returncode from vulkaninfo is non-zero. For dedicated machines, as it is erroring on libvulkan_virtio.so and not for your nvidia vulkan, plus reporting your GPU capabilities above 1.3.x (and vkcube is fine) it is safe to ignore.

As for Ubisoft - see one of the other posts…

…Ubisoft changed some things and integration only currently works in the Git version of Lutris.

My Lutris is the Git version. And works on bare metal but not on VM. I get the exact same error codes on the bare metal box (albeit running a 3070). I’m at the point of giving up on this VM game rig because there’s problems at every turn. It all works on my Windows 10 gaming VM, but my goal was to give Windows the final three finger salute. Windows 10 is EOL, Windows 11 is a huge bowl of “no-thanks”, and seems like Windows 12 is shaping up to be a subscription-based platform.

Since I just can’t seem to work this all out, I think I have to pull the plug on the project.

just saw your post now, lol. sorry for the late response.

i have amd machine lenovo legion go.

so im all good then?

nice.

what about adding lutris github script text file to zorin os menu?

Really it’s still just WINE, and a 2060 should be fine, even if the driver is a bit old. Have you tried launching it using another runner? System (9.16 with vulkan all turned off) to see at least if OpenGL is mapped?

Sorry, I understood you were using VM and trying to do passthrough, but still :slight_smile:

I’m really new to this so let me see if I’m tracking.

Under runner options for Ubisoft Connect, Wine version System in my case is 9.0 (Ubuntu 9.0 ~ repack-4build3

Do I turn Vulkan off with the VKD3d slider?

Ok so I did those two things.

Got this in the log:
regsvr32: ‘DllUnregisterServer’ not implemented in DLL ‘npuplaypc.dll’
regsvr32: ‘DllUnregisterServer’ not implemented in DLL ‘npuplaypchub.dll’

And the Ubisoft login panel still doesn’t open.

Aye, just turn the DXVK slider off - I disabeld all the default sliders.
I get the same DllUnregisterServer error when running it - so likely a false positive.

For baremetal, my approach at this point would be: -

  • Uninstall the Ubisoft client from Lutris, turn off the Ubisoft source in Lutris global preferences, then shut down Lutris
  • Delete any remaining Ubisoft WINE prefix files off the OS
  • Upgrade WINE and Lutris’s winetricks
  • Run “lutris -d” and re-enable Ubisoft as a source again in preferences
  • Click the person icon next to the Ubisoft source to initiate reinstall, and watch the debug terminal as the WINE prefix gets created. Click “Close” on the box once complete. Click person again, get a login window, login works. Press play to launch the full client (and login again).

Tried these steps (except WINE/winetricks which were already upgraded) and it works.
I also intentionally broke DXVK support by removing winevulkan DLL files from the prefix, and the client runs only after turning the DXVK slider off.
The only game I have got there is the free TrackMania so it’s not exactly taxing the PC :slight_smile:

If that all failed, I would see if I can get the client running under a WINE prefix of my own creation.

got it working.

  • Delete any remaining Ubisoft WINE prefix files off the OS
    Not sure how to do this. Probably a grep trick I don’t know! :slight_smile:
  • Upgrade WINE and Lutris’s winetricks
    Should Wine be installed separately? I only installed Lutris thinking the WINE components were already part of Lutris.

When you install WINE stuff, Lutris creates a prefix for you - IIRC default is /home/youruser/Games then a directory matching your game or application.
Otherwise, check your default in Global Options, (three bars → preferences → bottom section)

The Lutris install recommendation is to have WINE staging from WineHQ installed as a fallback option in case something doesn’t work under the supplied runner.

Lastly, Lutris comes with winetricks, but usually need an update (it gets updated semi-frequently with an inventory of Windows packages) which you can do in-place:
~/.local/share/lutris/runtime/winetricks/winetricks --self-update

You need to ensure you have the system wine and vulkan dependencies installed. This link is for the wine, there is a link on that page for the drivers

As for Ubisoft not launching, after a recent update, it is a PITA to get running. I am using wine-staging-9.12-tkg from Kron4ek which you can add to lutris (make sure lutris is closed) by copying the tar file to ~/.local/share/lutris/runners/wine and extract it there. Next time you launch lutris it should be in the drop down list.

You will need to delete this folder:
/home/tazzy/Games/ubisoft-connect

ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.

This is the error in your initial log which means you do not have the correct vulkan drivers installed - as mentioned earlier the link is on the wine dependencies page - installing drivers - ignore the Mint warning if you are on Mint 22

I ran through all these items and still can’t get it to launch. It works on bare metal, just not on my VM. If the launcher is this hard to start are the games going to be as hard? Linux for gaming on VM seems like it requires more than I am technically able to keep up with. Hopefully after a few more updates of whatever, I will be able to run all this on a VM. Sadly I am admitting defeat.

As was said - Ubisoft changed some stuff recently, so things are in a state of flux.

On that basis, I wouldn’t immediately apply the same logic to everything. Do some quick searches to see how good people think passthrough for things like vulkan is when using Proxmox.
I’d try get at least one “basic” windows app (something .NET-ty) and one “basic” game (directX with or without vulkan and DXVK) working in a Proxmox VM before throwing in the towel.
Maybe you can scrape together a known good config from the info out there?

I’ll keep chipping away I suppose. I really want this to work. I’m a Linux dabbler and all this stuff is definitely at the edge of what I can manage. Even getting Nobara/Fedora to work with NoMachine was rough for me. Never got Sunshine running.