bottlesdevs / programs

Repository for programs installation
74 stars 77 forks source link

[Bug]: Ubisoft Connect can't launch with Discrete Graphic card enabled #258

Open swebow opened 1 year ago

swebow commented 1 year ago

Describe the bug

When I try to run Ubisoft Connect (Fresh Install) in Bottles (Flatpak) it won't launch with Discrete Graphic card enabled. It seem just to loop in the debugger. I tried different Runners and only Wine 8.13 Runners seem to work at this moment, it's seem to be a fairly new issue with Ubisoft Connect with Valve fixing support today.

Runner used this time - lutris-GE-Proton8-13-x86_64

To Reproduce

  1. Configure the Bottle with Ubisoft Connect to use Discrete Graphic card
  2. Launching it will make it hang at a "invisible" box with black borders. Only way is to kill Wine Processes to get out.
  3. Disable the Discrete Graphic card and Ubisoft Connect will work.

Package

Flatpak from Flathub

Distribution

Endeavour OS

Debugging Information

Official Package: true
Version: '51.6'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-535-86-05/extra/nvidia/wine
        amd: &id001
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.1.39-2-lts
Disk:
    Total: 8070045696
    Free: 8069881856
RAM:
    MemTotal: 15.0GiB
    MemAvailable: 9.7GiB
Bottles_envs: null

Troubleshooting Logs

04:38:27 (INFO) Setting Key sync=fsync for bottle Ubisoft Connect…
04:38:27 (INFO) There is no running wineserver.
04:38:31 (INFO) Setting Key discrete_gpu=True for bottle Ubisoft Connect…
04:38:58 (INFO) Launching an executable…
04:38:58 (WARNING) Windows path detected. Avoiding validation.
04:38:58 (INFO) Using Wine Starter -- run
04:38:58 (INFO) Using EasyAntiCheat runtime
04:38:58 (INFO) Using BattlEye runtime
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
0070:err:wineusb:DriverEntry Failed to initialize Unix library, status 0xc0000135.
0070:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000135
00a4:err:hid:udev_bus_init UDEV monitor creation failed
0104:err:module:hacks_init HACK: Simulating sched quantum in fsync.
0104:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
010c:err:xrandr:xrandr14_get_adapters Failed to get adapters
010c:err:xrandr:xrandr14_get_adapters Failed to get adapters
010c:err:xrandr:xrandr14_get_adapters Failed to get adapters
010c:err:xrandr:xrandr14_get_adapters Failed to get adapters
010c:err:xrandr:xrandr14_get_adapters Failed to get adapters
010c:err:xrandr:xrandr14_get_adapters Failed to get adapters
0144:err:xrandr:xrandr14_get_adapters Failed to get adapters
0144:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  Game: upc.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:  Process set as DPI aware
0160:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0168:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems

(bottles:2): Gtk-CRITICAL **: 04:39:02.992: _gtk_css_corner_value_get_x: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed

(bottles:2): Gtk-CRITICAL **: 04:39:02.992: _gtk_css_corner_value_get_y: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed

(bottles:2): Gtk-CRITICAL **: 04:39:02.993: _gtk_css_corner_value_get_x: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed

(bottles:2): Gtk-CRITICAL **: 04:39:02.993: _gtk_css_corner_value_get_y: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed

(bottles:2): Gtk-CRITICAL **: 04:39:02.993: _gtk_css_corner_value_get_x: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed

(bottles:2): Gtk-CRITICAL **: 04:39:02.993: _gtk_css_corner_value_get_y: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed
0198:err:xrandr:xrandr14_get_adapters Failed to get adapters
0198:err:xrandr:xrandr14_get_adapters Failed to get adapters
01dc:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
01dc:err:xrandr:xrandr14_get_adapters Failed to get adapters
01dc:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
0210:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0224:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0250:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
025c:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  395
  Current serial number in output stream:  396
0264:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
02c8:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
02c8:err:xrandr:xrandr14_get_adapters Failed to get adapters
02c8:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  395
  Current serial number in output stream:  396
0384:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
0384:err:xrandr:xrandr14_get_adapters Failed to get adapters
0384:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  395
  Current serial number in output stream:  396
039c:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
039c:err:xrandr:xrandr14_get_adapters Failed to get adapters
039c:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  395
  Current serial number in output stream:  396
03b0:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
03b0:err:xrandr:xrandr14_get_adapters Failed to get adapters
03b0:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  395
  Current serial number in output stream:  396
04:39:07 (INFO) Using Wine Runtime tool -- send_status(-k)
03c4:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
03c4:err:xrandr:xrandr14_get_adapters Failed to get adapters
03c4:err:xrandr:xrandr14_get_adapters Failed to get adapters
info:  NVIDIA GeForce RTX 3060 Laptop GPU:
info:    Driver : NVIDIA 535.86.5
info:    Memory Heap[0]:
info:      Size: 6144 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]:
info:      Size: 11544 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: Found monitors not associated with any adapter, using fallback
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
info:  DXGI: NvAPI workaround enabled, reporting AMD GPU
01e0:err:service:device_notify_proc failed to get event, error 1726
wine client error:104: write: Bad file descriptor
wine client error:224: write: Bad file descriptor
wine client error:210: wine client error:250: write: Bad file descriptor
wine client error:25c: write: Bad file descriptor
010c:err:ole:start_rpcss Failed to open service manager
04:42:42 (INFO) Setting Key discrete_gpu=False for bottle Ubisoft Connect…
04:42:49 (INFO) Launching an executable…
04:42:49 (WARNING) Windows path detected. Avoiding validation.
04:42:49 (INFO) Using Wine Starter -- run
04:42:49 (INFO) Using EasyAntiCheat runtime
04:42:49 (INFO) Using BattlEye runtime
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
0070:err:wineusb:DriverEntry Failed to initialize Unix library, status 0xc0000135.
0070:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000135
00a4:err:hid:udev_bus_init UDEV monitor creation failed
0104:err:module:hacks_init HACK: Simulating sched quantum in fsync.
0104:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: upc.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:  AMD Radeon Graphics (RADV RENOIR):
info:    Driver : radv 23.1.4
info:    Memory Heap[0]:
info:      Size: 2736 MiB
info:      Flags: 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[5]: Property Flags = 0xe
info:      Memory Type[6]: Property Flags = 0xe
info:      Memory Type[8]: Property Flags = 0xc6
info:      Memory Type[10]: Property Flags = 0xce
info:    Memory Heap[1]:
info:      Size: 5472 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:      Memory Type[7]: Property Flags = 0xc1
info:      Memory Type[9]: Property Flags = 0xc7
info:  Process set as DPI aware
0160:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0168:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
01dc:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
info:  Game: UplayWebCore.exe
info:  DXVK: v2.2
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa83890
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  AMD Radeon Graphics (RADV RENOIR):
info:    Driver : radv 23.1.4
info:    Memory Heap[0]:
info:      Size: 2736 MiB
info:      Flags: 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[5]: Property Flags = 0xe
info:      Memory Type[6]: Property Flags = 0xe
info:      Memory Type[8]: Property Flags = 0xc6
info:      Memory Type[10]: Property Flags = 0xce
info:    Memory Heap[1]:
info:      Size: 5472 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:      Memory Type[7]: Property Flags = 0xc1
info:      Memory Type[9]: Property Flags = 0xc7
0218:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0244:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
022c:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
025c:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0264:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0424:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0430:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
0518:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems
wine client error:264: write: Bad file descriptor
wine client error:424: write: Bad file descriptor
wine client error:430: write: Bad file descriptor
wine client error:244: write: Bad file descriptor
wine client error:1dc: write: Bad file descriptor

Additional context

Tried same Runner on EA-App. Same issue as with Ubisoft Connect.

swebow commented 1 year ago

One step forward!

I enabled "pre-release" and installed all the "betas" of DXVK, VKD3D and DXVK-NVAPI. And used "kron4ek-wine-8.13-staging-amd64", now EA-App will boot with these settings, but I reverted back after to my Snapshot with Soda 7.0.9 since it works great on that version.

Also I can start Ubisoft Connect but get some error from Ubisoft Connect itself, not sure how to solve it. "UplayWebCore.exe" encountred some issue.

wine: Unhandled exception 0x80000003 in thread 448 at address 116A4AE1 (thread 0448), starting debugger... wine: Unhandled exception 0x80000003 in thread 450 at address 116A4AE1 (thread 0450), starting debugger... wine: Unhandled exception 0x80000003 in thread 4d0 at address 116A4AE1 (thread 04d0), starting debugger...

zimudec commented 1 year ago

The same thing happens to me with ubisoft connect and nvidia prime. How did you solve it?

swebow commented 1 year ago

I haven't. I have closed it by mistake.

GribanovIvan commented 7 months ago

Have you tried to launch it without __NV_PRIME_RENDER_OFFLOAD=1? Vulkan apps should using nvidia by default (on my 82SB with 3050M at least), __NV_PRIME_RENDER_OFFLOAD is only about offloading. Firstly, you need to verify if it is working with just discrete gpu

zimudec commented 5 months ago

The solution proposed here worked for me: https://github.com/bottlesdevs/Bottles/issues/3078#issuecomment-1882260343

That is, running bottles initially without using the discrete gpu. And then configure to launch the application from bottles, with the variables: VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json VK_LAYER_PATH=/usr/share/vulkan/explicit_layer.d

(These paths may be different in other Linux distributions)

Apparently it's another way to run the discrete gpu. I tried ubisoft launcher and battle.net, which had the same problem. Now I can run both without problems. I checked the memory usage in nvidia-settings, and confirmed that it is using the nvidia gpu.

It may also work with other launchers besides bottles.

playday3008 commented 5 months ago

Found fix (more like workaround) that works for me

Steps:

  1. Disable "Discrete Graphics"
  2. Launch "Ubisoft Connect"
  3. Install/Import games what you want
  4. Close "Ubisoft Connect"
  5. Enable "Discrete Graphics"
  6. Under "Legacy Wine Tools":
    1. Click "Explorer"
    2. Find your game executable file <something>.exe
    3. Launch from there
    4. After "Ubisoft Connect" will deal with eternal void (just wait)
    5. Game started

Additional steps:

If your game installed under that bottle:

  1. Just add game using "Add Shortcuts..."
  2. Open you Bottle config folder and open file bottle.yml
  3. Find entry for your game under External_Programs
  4. Copy&Paste icon from "Ubisoft Launcher" (optional)
  5. Change path to be "Windows-like" (ex. C:\Games\Game\game.exe)

Otherwise:

Do the same stuff, just at the end you need to create Windows shortcut, so you can point at file that is under that Bottle and will open the game, you can't point at any file or even drive (talking from experience), see my example config below image