protonscr

Magic: The Gathering Arena on Debian Bookworm - You have lost your connection to the server

protonclosed
ValveSoftware/Proton#8132 · opened 2024-10-02 by angela-d · updated 2024-10-08 · 2 comments · github
Aangela-d 2024-10-02 github

Compatibility Report

  • Name of the game with compatibility issues: Magic: The Gathering Arena
  • Steam AppID of the game: 2141910

System Information

I confirm:

The game launches from Steam without issue; sign in works.

From ~/.local/share/steam/common/MTGA/MTGA_Data/Logs/Logs/:

[0] DETAILED LOGS: DISABLED
[0] Startup Timestamp: 10/1/2024 8:14:13 PM
[0] Loaded embedded metadata
[0] Initializing Steam
[0] Steam status: Available
[0] CredentialLoginContext created
[0] Environment set to Prod, AWS
[0] Version: 2024.41.10.6837 / 2024.41.10.6837.1094853 / 
[1] WwiseUnity: Wwise(R) SDK Version 2023.1.3 Build 8471.
[1] WwiseUnity: Setting Plugin DLL path to: Z:/storage/steam/steamapps/common/MTGA/MTGA_Data\Plugins\x86_64
[1] WwiseUnity: Sound engine initialized successfully.
[3] [TaskLogger]Steam AuthToken retrieved.
[200] [AssetBundleProvisioner] using default bundle provisioner
[201] [TaskLogger][Accounts - Startup] Player has rememberMe ID (refresh token) saved. Attempting fast login.
[257] Connecting to Front Door: frontdoor-mtga-production-2024-41-10-1.w2.mtgarena.com:30010
[257] [UnityCrossThreadLogger]Client.TcpConnection.ProcessFailure
[257] [UnityCrossThreadLogger]Client.TcpConnection.ProcessFailure {"SocketError":"Error looking up error string","function":"ProcessFailure"}
[258] [UnityCrossThreadLogger]Got non-message event: Wizards.Arena.TcpConnection.TcpClosedEvent

Symptoms

  • Steam works
  • Launching MTGA works
  • Post-sign in / actually accessing the game triggers this ambiguous socket error
    • Only after signing in does "You have lost your connection to the server" show up.
  • Moved ~/.local/share/steam/ to a larger harddrive w/ a symlink, assuming /home was low on space / maybe Arena is trying to cache locally (home is partitioned and definitely smaller than your average harddrive) - no change (Steam still works fine)

Reproduction

Suspecting this is a combo of hardware/software or missing firmware? Debian probably isn't the ideal OS for gaming, but it's what I like to use as my daily driver.

Also worth mentioning:

  • I have disabled ipv6 at grub
  • Disabled local firewall (but not router firewall) - no change; router firewall seems to not be an issue, as Arena works fine on Android using the same wifi network as the Debian machine
Kkisak-valve maintainer 2024-10-02 github

Hello @angela-d, we're using one issue report per unofficially supported game title, so I've gone ahead and transferred this issue report to https://github.com/ValveSoftware/Proton/issues/6826#issuecomment-2388529939.

Aangela-d 2024-10-08 github

ipv6 was the culprit.

Following up in case anyone having a similar problem in the future lands on this issue.

If you disabled ipv6 (like I did) via grub, you'll see the following in /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet"

Removing ipv6.disable=1 allowed Arena to run on my Debian machine:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"

(after a reboot)