protonscr

Ubisoft Connect launcher main window not working

dxvkclosed can't reproduce
doitsujin/dxvk#4033 · opened 2024-05-27 by Tiagoquix · updated 2024-05-30 · 4 comments · github
TTiagoquix 2024-05-27 github

Hello there.

Firstly, I'm not sure if this is the correct place to report this issue (maybe Proton is more adequate), but I imagine it is.

When I try to open the new Ubisoft Connect launcher (previously known as UPlay) on my PC, the system freezes for about 10 seconds and then forcibly returns to the login screen, resulting in a forced logout.

Strangely, the problem only occurs if I explicitly try to open the main launcher window (the launcher itself on the foreground). If the launcher operates in the background, it works normally.

Tested with Watch Dogs 1 via Steam, which requires the Ubisoft Connect launcher. Trying to open the main launcher window with protontricks results in freezing, while playing the game (the launcher staying in the background) works normally.

My reason for suspecting this here (DXVK) is the correct place to make the report is because there are several game launchers in this file that have the option dxvk.maxChunkSize set to 1 (for some reason I don't know).

I'm on Fedora Linux 40 KDE, X11, NVIDIA GeForce GTX 1050 Ti (proprietary driver), with the latest system updates applied.
Using Proton-GE 9.5.

I play Watch Dogs 1 with both overlays (Steam and Ubisoft) disabled to avoid issues (some users on ProtonDB stated there are issues with the game when playing with the overlays), but I don't know if this somehow is related to the launcher freezing.

To test
Either download a game which requires the Ubisoft Connect launcher (UPlay), and then try to launch the Ubisoft Connect launcher from the game installation folder, or download the Ubisoft Connect installer and create a "Non-Steam Game" Proton prefix for it.

To run the launcher with protontricks, use the following command (using Watch Dogs 1, app ID 243470 as an example):

flatpak run --command=protontricks-launch com.github.Matoking.protontricks --appid 243470 "/mnt/HDD/SteamLibrary/steamapps/compatdata/243470/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe"

Thanks in advance for your attention.

TTiagoquix 2024-05-28 github

Update:

The forced log out doesn't happen anymore (I think some system update fixed it). However, the app is still very unresponsive (it makes my system go like 1 FPS per second).

I even got a notification from KDE about KWin (the compositor) being restarted due to a graphics reset after opening the Ubisoft Connect launcher and waiting 10 seconds or so. I can close the launcher normally, but the system is very unresponsive during this time.

Running the program with DXVK_CONFIG="dxvk.maxChunkSize = 1" flatpak run --command=protontricks-launch com.github.Matoking.protontricks --appid 243470 "/mnt/HDD/SteamLibrary/steamapps/compatdata/243470/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe" results in the following:
image

However, running the same command a 2nd and a 3rd time makes the launcher open normally.
But the unresponsiveness persists.

TTiagoquix 2024-05-30 github

@doitsujin Is there any option I can try to see if somehow I can mitigate the problem?

Not sure if I can get a log or an API trace for this one because it's not directly related to the game, but to the launcher. I have seen complaints of low performance of Ubisoft Connect on Ubisoft Reddit coming from Windows users.

Ddoitsujin maintainer 2024-05-30 github

I don't know what the problem is, I've never seen anything like this and can't reproduce it. Have you tried running uplay without dxvk?

TTiagoquix 2024-05-30 github

Hi there. I have found the solution.

It seems the problem is about Chromium and GPU acceleration with OpenGL ES.
https://github.com/google/angle/blob/main/doc/DevSetup.md
https://docs.mesa3d.org/opengles.html
https://www.reddit.com/r/linux_gaming/comments/p7t05w/for_those_who_are_having_trouble_getting_games/

Setting the following as environment variable to open Ubisoft Connect fixes the unresponsiveness issue:

WINEDLLOVERRIDES="libglesv2.dll=d"

Thank you for trying to help. Closing as solved.