Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Avatar: Frontiers of Pandora™ (2840770)

Open NTMan opened this issue 1 year ago • 15 comments

Compatibility Report

  • Name of the game with compatibility issues: Avatar: Frontiers of Pandora™
  • Steam AppID of the game: 2840770

System Information

  • GPU: AMD Radeon 7900XTX
  • Video driver version: Mesa 24.2-devel from mesa master
  • Kernel version: 6.9
  • Link to full system information report as Gist
  • Proton version: experimental-bleeding-edge-9.0-103149-20240617-p2709fa-w1e9b835-d22b13a-v7e99b3-unstripped

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-2840770.zip

Symptoms

The game crashes immediately after launch.

Reproduction

Always.

NTMan avatar Jun 17 '24 22:06 NTMan

I confirm it, tried proton experimental.

Chevek avatar Jun 18 '24 03:06 Chevek

Also crashing on launch for me on every Proton version I've tried.

6.8.0-76060800daily20240311-generic Mesa 24.0.3

retowyss avatar Jun 18 '24 11:06 retowyss

Trying with Proton 9 and also a no-go here on desktop:

steam-2840770.zip

Proton Experimental also a no-go:

steam-2840770.zip

That's on Kubuntu 24.04, Mesa 24.0.6

Also tried Proton Experimental with Mesa 24.1.1 and no-go as well: steam-2840770.zip

LiamDawe avatar Jun 19 '24 12:06 LiamDawe

This is odd considering thay the Ubisoft Launcher version worked fine in the past

robotman40 avatar Jun 19 '24 17:06 robotman40

This looks like something of interest from the logs:

2165.492:0128:012c:trace:loaddll:build_module Loaded L"C:\\Program Files (x86)\\Steam\\gameoverlayrenderer64.dll" at 0000000180000000: native
2165.492:0128:012c:fixme:steamclient:manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156 not implemented!
2165.538:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.

I guess Proton's SteamAPI wrapper / lsteamclient needs an update here?

Saancreed avatar Jun 19 '24 18:06 Saancreed

The game should start in the just updated Proton Experimental ([bleeding-edge] branch). I didn't check the actual gameplay beyond starting the game.

FWIW, lsteamclient is unrelated here.

gofman avatar Jun 21 '24 21:06 gofman

Tested proton experimental and it works now. Thank you!

Remaining issue: the game does not close properly. Steam sees it running.

Chevek avatar Jun 21 '24 23:06 Chevek

Remaining issue: the game does not close properly. Steam sees it running.

That might be because of Ubisoft Connect, since it's still a process running under Steam. This happens with other games using the launcher

Sterophonick avatar Jun 23 '24 03:06 Sterophonick

Yes, you can then close the Ubisoft Connect launcher from the systray with right click --> Quit

Zahrun avatar Jun 27 '24 05:06 Zahrun

Sorry being dense, I seem unable to start game at all, actually it seems Ubisoft Connect game launcher is not started (it works OK with other games, I just retested A.C. Odyssey which I still have installed).

I manually set "compatibility" to "experimental" but nothing changed (unsurprisingly as "experimental" is my default).

I got a very long (>150M) log file (I can post it, if deemed useful).

First fixme/warn entries are:
mcon@cinderella:~$ grep -e ':warn:' -e ':fixme:' steam-2840770.log 
9511.287:0060:006c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
9512.236:0060:006c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
9512.237:0060:006c:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9512.239:0060:006c:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9512.241:0060:006c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
9512.242:0060:006c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
9512.244:0060:006c:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9512.246:0060:006c:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9512.392:0060:008c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
9512.402:0060:008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
9512.407:0060:008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
9512.409:0060:008c:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9512.412:0060:008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
9512.414:0060:008c:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
9512.416:0060:008c:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9513.447:00d0:00d4:warn:seh:dispatch_exception RPC_S_SERVER_UNAVAILABLE exception (code=6ba) raised
9513.713:010c:0110:fixme:oleacc:find_class_data unhandled window class: L"#32769"
9513.713:010c:0110:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
9513.713:010c:0110:fixme:uiautomation:default_uia_provider_callback Default ProviderType_NonClientArea provider unimplemented.
9513.720:010c:0110:fixme:oleacc:find_class_data unhandled window class: L"#32769"
9513.721:010c:0110:fixme:uiautomation:base_hwnd_fragment_get_FragmentRoot 000000000137BAC8, 000000000021F9D0: stub!
9513.721:010c:0110:fixme:uiautomation:base_hwnd_fragment_GetEmbeddedFragmentRoots 000000000137BAC8, 000000000021F9E0: stub!
9513.730:0020:0024:fixme:steam:setup_steam_registry Game language "english", defaulting LC_CTYPE / LC_MESSAGES to en_US.UTF-8.
9515.149:0128:012c:warn:debugstr:OutputDebugStringA "[S_API] SteamAPI_Init(): Loaded 'C:\\Program Files (x86)\\Steam\\steamclient64.dll' OK.\n"
9515.149:0128:012c:warn:seh:dispatch_exception "[S_API] SteamAPI_Init(): Loaded 'C:\\Program Files (x86)\\Steam\\steamclient64.dll' OK.\n"
9515.167:0128:012c:fixme:steamclient:manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156 not implemented!
9515.195:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9515.195:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
9515.195:0128:012c:warn:unwind:virtual_unwind exception data not found in L"afop.exe"
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA0093: L"ntdll.dll" + 0000000000060093.
9515.195:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9515.195:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:unwind:virtual_unwind exception data not found in L"afop.exe"
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA0093: L"ntdll.dll" + 0000000000060093.
9515.195:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9515.195:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:unwind:virtual_unwind exception data not found in L"afop.exe"
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA0093: L"ntdll.dll" + 0000000000060093.
9515.195:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9515.195:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:unwind:virtual_unwind exception data not found in L"afop.exe"
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA0093: L"ntdll.dll" + 0000000000060093.
9515.195:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9515.195:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF7516C: L"ntdll.dll" + 000000000003516C.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9515.195:0128:012c:warn:unwind:virtual_unwind exception data not found in L"afop.exe"
9515.195:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA0093: L"ntdll.dll" + 0000000000060093.
9515.195:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9515.195:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
Then the backtrace continues to grow till a final:
...
9527.363:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA6DF4: L"ntdll.dll" + 0000000000066DF4.
9527.363:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF8167B: L"ntdll.dll" + 000000000004167B.
9527.363:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF84077: L"ntdll.dll" + 0000000000044077.
9527.363:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFF4F266: L"ntdll.dll" + 000000000000F266.
9527.363:0128:012c:warn:unwind:virtual_unwind exception data not found in L"afop.exe"
9527.363:0128:012c:warn:seh:virtual_unwind backtrace: 00006FFFFFFA0093: L"ntdll.dll" + 0000000000060093.
9527.363:0128:012c:warn:seh:dispatch_exception backtrace: --- Exception 0xc0000005.
9527.363:0128:012c:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised
9527.363:0128:012c:warn:seh:dispatch_exception stack overflow 1984 bytes addr 0x6ffffff9d494 stack 0x20840 (0x20000-0x21000-0x120000)

It seems to me there's some nested exception runaway finally consuming all memory (32GB), but I'm far from being sure. What should I try?

mcondarelli avatar Jun 28 '24 09:06 mcondarelli

You need to switch Proton Experimental to the bleeding-edge branch as mentioned before. It's under Properties -> Beta Updates I believe

MattyPixels avatar Jun 28 '24 11:06 MattyPixels

Thanks, I "solved" by installing a self-compiled Proton (git clone from github). I will try using the precompiled stuff, if I can find the way. Under Proprieties I didn't find anything relevant, just Compatibility -> Force the use of a specific Steam Play compatibility tool -> Proton Experimental (no bleeding-edge, I used my_build instead). Betas seems to concern betas of the game. STEAM SETTINGS -> Compatibility shows same choices as Game -> Compatibility. Any further hint would be welcome. Many thanks for the time being.

mcondarelli avatar Jun 28 '24 12:06 mcondarelli

I meant in the Properties of Proton Experimental, not the game.

Search for Proton in your Steam Library and in the Properties for Proton Experimental you'll find the option.

MattyPixels avatar Jun 28 '24 13:06 MattyPixels

Thanks. Found. I'll test it ASAP.

mcondarelli avatar Jun 28 '24 13:06 mcondarelli

It now starts with the latest Proton Experimental but here are a few issues I'm seeing:

  • NVIDIA DLSS starts flickering the screen in funny colors in the lower third shortly after reaching the main menu, a few seconds later, the game freezes
  • my Xbox controller (connected via USB) is not detected by the game, neither via Steam Input nor native

kakra avatar Jun 29 '24 00:06 kakra

The game freezes after loading into the game from the main menu:

[15240.626546] NVRM: GPU at PCI:0000:01:00: GPU-94de4b2d-e5a4-fd60-a9e3-fd87115fbaef
[15240.626549] NVRM: Xid (PCI:0000:01:00): 109, pid='<unknown>', name=<unknown>, Ch 0000007b, errorString CTX SWITCH TIMEOUT, Info 0x8c078

kakra avatar Jul 28 '24 01:07 kakra

Still freezes with this kernel log which may be an issue in vkd3d or the nvidia drivers itself (umip can probably be ignored):

[614852.687587] umip_printk: 3 callbacks suppressed
[614852.687589] umip: afop.exe[666547] ip:157665e5f sp:11c668: SGDT instruction cannot be used by applications.
[614852.687591] umip: afop.exe[666547] ip:157665e5f sp:11c668: For now, expensive software emulation returns the result.
[614867.121520] umip: afop.exe[667349] ip:157665e5f sp:11c668: SGDT instruction cannot be used by applications.
[614867.121524] umip: afop.exe[667349] ip:157665e5f sp:11c668: For now, expensive software emulation returns the result.
[614877.579442] umip: afop.exe[667399] ip:160cbee8e sp:1f49cca0: SGDT instruction cannot be used by applications.
[614922.042305] NVRM: Xid (PCI:0000:01:00): 109, pid='<unknown>', name=<unknown>, Ch 000000a0, errorString CTX SWITCH TIMEOUT, Info 0x5c09a

The controller is still not detected, tried with Steam Overlay disabled and enabled. Proton log attached.

steam-2840770.log.gz

kakra avatar Sep 22 '24 11:09 kakra

Still freezes with this kernel log which may be an issue in vkd3d or the nvidia drivers itself (umip can probably be ignored)

I found that if I disable "dynamic upscaling resolution", the game runs just fine and is stable - no crashes. Looks like NVIDIA doesn't like render resolution switches, no matter if XeSS, DLSS or FSR is used.

To get the controller working, one reliable method is to disconnect and reconnect the controller. The game only randomly detects the gamepad during start by itself. Sometimes, it may just suddenly work. But disconnect and reconnect always fixes the "missing" controller.

kakra avatar Nov 16 '24 23:11 kakra

I wrote a utility that fixes this game not recognizing some Xbox gamepads, particularly wireless ones.

It works by creating a second virtual gamepad which is a copy of the first using the uinput API. I discovered this after realizing that attaching multiple physical gamepads simultaneously caused previously non-functional ones to start working. I don't understand the mechanism of action here but it fixes the issue, at least on my machine.

It's available on my GitLab here as a compile-it-yourself C program and instructions for use can be found in the readme.

amini-allight avatar Dec 17 '24 21:12 amini-allight

I wrote a utility that fixes this game not recognizing some Xbox gamepads, particularly wireless ones.

@amini-allight The problem with Bluetooth controllers may be that bluez lately started to persist device nodes: If you turn the controller off, its device files in /dev will stay around and will be reused when you turn a device back on. This behavior was introduced by some commit, and it may be possible there's a setting for bluez to disable that device persistence.

This is probably caused by one of these commits:

  • bluez/bluez@247ae8524888268bb075ff90a3d77a9b4449d08f
  • bluez/bluez@ee880bee85864b0e691370197c9de8d2f7ba0af2

Those were created to fix this issue: https://github.com/bluez/bluez/issues/737

There's a device flag HIDP_CTRL_VIRTUAL_CABLE_UNPLUG which can force device removal if the "virtual cable" unplugs, but I'm not sure how it is supposed to be used. From what I found, this can be used to force disconnecting a device via control interface.

kakra avatar Dec 18 '24 00:12 kakra

it may be possible there's a setting for bluez to disable that device persistence

The /etc/bluetooth/input.conf setting is UserspaceHID=persist if you have Bluez recent enough, but if it exists, by default it is set to true (Use UHID instead) and doesn't do the persistence.

bam80 avatar Jan 24 '25 18:01 bam80