Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avatar: Frontiers of Pandora™ (2840770) #7843

Open
2 tasks done
NTMan opened this issue Jun 17, 2024 · 20 comments
Open
2 tasks done

Avatar: Frontiers of Pandora™ (2840770) #7843

NTMan opened this issue Jun 17, 2024 · 20 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@NTMan
Copy link

NTMan commented Jun 17, 2024

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:

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

steam-2840770.zip

Symptoms

The game crashes immediately after launch.

Reproduction

Always.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Jun 17, 2024
@Chevek
Copy link

Chevek commented Jun 18, 2024

I confirm it, tried proton experimental.

@retowyss
Copy link

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

6.8.0-76060800daily20240311-generic Mesa 24.0.3

@LiamDawe
Copy link

LiamDawe commented Jun 19, 2024

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

@robotman40
Copy link

robotman40 commented Jun 19, 2024

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

@Saancreed
Copy link
Contributor

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?

@gofman
Copy link

gofman commented Jun 21, 2024

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.

@Chevek
Copy link

Chevek commented Jun 21, 2024

Tested proton experimental and it works now. Thank you!

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

@Sterophonick
Copy link

Sterophonick commented Jun 23, 2024

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

@Zahrun
Copy link

Zahrun commented Jun 27, 2024

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

@mcondarelli
Copy link

mcondarelli commented Jun 28, 2024

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?

@MattyPixels
Copy link

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

@mcondarelli
Copy link

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.

@MattyPixels
Copy link

MattyPixels commented Jun 28, 2024

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.

@mcondarelli
Copy link

Thanks.
Found.
I'll test it ASAP.

@kakra
Copy link
Contributor

kakra commented Jun 29, 2024

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
Copy link
Contributor

kakra commented Jul 28, 2024

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
Copy link
Contributor

kakra commented Sep 22, 2024

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
Copy link
Contributor

kakra commented Nov 16, 2024

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.

@amini-allight
Copy link

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.

@kakra
Copy link
Contributor

kakra commented Dec 18, 2024

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:

Those were created to fix this issue: bluez/bluez#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests