ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.65k stars 1.07k forks source link

Metro: Exodus (412020) #2414

Open alexcrow89 opened 5 years ago

alexcrow89 commented 5 years ago

Compatibility Report

System Information

I confirm:

steam-412020.log

Symptoms:

There is no audio in the game. Audio works correctly before entering and after exiting the game, within Steam Big Picture, and elsewhere (watching Youtube videos, for example).

Reproduction:

This issue is reproduced every time I open the game.

Megacrafter127 commented 5 years ago

This is likely related to #54 . Try the fix in the linked issue to see if it is related.

kisak-valve commented 5 years ago

Proton is picking up a version of SDL that is too old: err:plugplay:sdl_driver_init SDL installation is old! Please upgrade to >=2.0.6 to get accurate joystick information. err:module:load_builtin_dll failed to load .so lib for builtin L"xaudio2_7.dll": /home/alex/.local/share/Steam/steamapps/common/Proton 3.16 Beta/dist/lib64/libFAudio.so: undefined symbol: SDL_fabsf

Proton 3.16 wants SDL 2.0.9 (or newer).

alexcrow89 commented 5 years ago

This is likely related to #54 . Try the fix in the linked issue to see if it is related.

Hello, and thank you for taking a look at my issue. As it turns out, xact was already installed in the game's prefix. I did find the solution based upon kisak-valve's input. Since I'm on Debian Stretch (stable), my version of SDL (libsdl2-2.0-0) was out of date. There wasn't an existing packages in either the stretch or stretch-backports repo, so I had to install it from the Buster repo. The sound is now working. Thanks for your help though. I appreciate it.

alexcrow89 commented 5 years ago

Proton is picking up a version of SDL that is too old: err:plugplay:sdl_driver_init SDL installation is old! Please upgrade to >=2.0.6 to get accurate joystick information. err:module:load_builtin_dll failed to load .so lib for builtin L"xaudio2_7.dll": /home/alex/.local/share/Steam/steamapps/common/Proton 3.16 Beta/dist/lib64/libFAudio.so: undefined symbol: SDL_fabsf

Proton 3.16 wants SDL 2.0.9 (or newer).

Hey there. Thank you so much for your help. Based on your input, I was able to find the solution, which was to update my SDL (libsdl2-2.0-0) package. I'm using Debian Stretch (stable), so my distro's base package was out of date. The updated version didn't exist in either the stretch or stretch-backports repos, so I had to get it from the Buster repo. The sound is now working. Thanks again for your help. I appreciate it.

Bumbadawg commented 5 years ago

In case someone runs into the error

"xaudio2_7.dll": /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates

Run with launch option: LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so.6 %command%

FireLizard commented 5 years ago

Metro Exodus has no sound on my machine:

What I already did, but not resolved the issue:

Can someone help, please?

ryao commented 5 years ago

The latest Metro Exodus broke Proton compatibility by claiming the the system is not up to date enough:

https://www.reddit.com/r/linux_gaming/comments/csmmtf/psa_do_not_update_metro_exodus_on_steam/

It seems that setting Proton to report Windows 8.1 will fix it:

https://www.reddit.com/r/linux_gaming/comments/csmmtf/psa_do_not_update_metro_exodus_on_steam/exr6bij/

ziabice commented 4 years ago

Game worked for me out of the box with Proton 5.0-2. It crashed at first launch, then it worked fine. Playing with High graphic detail, it stutters here and there, but I haven't already tweaked the graphics settings.

My specs: Ryzen 2600 AMD RX 580 4GB 16 GB RAM Manjaro Linux, Kernel 5.4.18 and Mesa 19.3.3

jonas-schievink commented 4 years ago

I had to launch with WINEDLLOVERRIDES="xaudio2_7=n,b" to fix horribly stuttering sound, but other than that it seems to work just fine. When the "system isn't up to date" message shows I can just click "Run Anyway" and it launches. This is on up-to-date Arch Linux running kernel 5.5.3.

tsvenbla commented 4 years ago

The game launches fine without any parameters added. However, after playing for maybe 10 - 20 minutes, the game starts to stutter, but only when moving the cursor/mouse around. So if I stand still and watch a cutscene, for example, or just enjoying the environment, everything plays smoothly. But as soon as I move my mouse around, it stutters like crazy. And this only happens after playing for a while. Tested with all graphics settings set to low, but still happened. This report has been submitted to ProtonDB as well.

Specs: OS: Fedora 31 (Workstation Edition) x86_64 Kernel: 5.4.18-200.fc31.x86_64 CPU: Intel i7-8700K @ 3.7 GHz GPU: NVIDIA GeForce GTX 1080 (driver version 440.59) Memory: 23974MiB Proton: 5.0.2

knikkinen commented 4 years ago

Also for me the game launches fine, but it immediately suffers from audio crackling/stuttering.

Specs: OS: Arch Linux Kernel: 5.5.4-15-tkg-pds (tested also with vanilla one) CPU: Ryzen 5 2600 GPU: NVIDIA Geforce GTX 1080Ti (driver version 440.59) RAM: 16GB Proton: 5.0-2

PSA: I've fixed this by revisiting my pulseaudio settings and enabling time-based scheduler and adjusting default sample rate and bit depth to 96KHz and 24bit (This depends if your sound equipment are able to support this). Also i changed resample method to speex-float-10.

steam-412020.log

Patola commented 4 years ago

Hi, according to changelog

5.0-3: Support for Direct3D 12 mode in Metro Exodus.

But when I change Metro Exodus to run with Proton 5.0.3: image

It doesn't run. It stays lots of time in "running" state (and never creates a window) then the button goes back to the green "Play".

My rig: my-cfg.txt (basically, Ubuntu 18.04 with RTX 2070 SUPER with latest stable NVIDIA drivers 440.59 and working with every other vulkan/dxvk game amongst hundreds)

Here is the steam log: steam-412020.log

Curiously, it seems to be having problems loading vulkan-1.dll. Why should it?

I also tried booting other kernels (fmutex and lowlatency) and erasing compatdata/412020 directory a few times to no avail.

Changing it back to 4.11-12 makes it run, but of course not in DirectX 12 mode which is what I want.

Patola commented 4 years ago

I noticed that nothing runs under Proton 5.x or wine stable/dev/staging 5.x on my system. So my report above might be unspecific to this entry, I am sorry. I opened a new bug report at wine for that, https://bugs.winehq.org/show_bug.cgi?id=48647

robert-sandor commented 4 years ago

I am having the no-sound issue as well. Tried on Pop OS 20.04, with different proton versions (5.0-9, 4.11-13), including custom versions, but with no luck. Other games seem to work just fine.

Specs: OS: Pop OS 20.04 CPU: Ryzen 9 3900X GPU: NVIDIA 1080TI - driver version 440.82 RAM: 32GB Proton: 5.0-9, 4.11-13

lordgault commented 4 years ago

I am having the no-sound issue as well. Tried on Pop OS 20.04, with different proton versions (5.0-9, 4.11-13), including custom versions, but with no luck. Other games seem to work just fine.

Specs: OS: Pop OS 20.04 CPU: Ryzen 9 3900X GPU: NVIDIA 1080TI - driver version 440.82 RAM: 32GB Proton: 5.0-9, 4.11-13

I have the same problem with Proton 5.13-1, the sound doesn't work.

Mershl commented 3 years ago

After Alt+Tab the mouse aim stops working - the mouse can still move in menus, but no longer control the camera. Alt+Tab again does not fix the issue.

Specs: Proton: 5.13.4 and Experimental GPU: RX6800 (mesa 21.0.0) DE: Gnome 3.38.2 (Wayland)

kisak-valve commented 2 years ago

Metro exosdus

Issue transferred from https://github.com/ValveSoftware/Proton/issues/5422. @Jernel-dotcom posted on 2021-12-18T16:41:49:

Compatibility Report

System Information

I confirm:

Symptoms

Metro exodus crash with any proton version after working perfectly for long time

Reproduction

Install Metro exodus on arch linux try to launch

** A crash report attached to the ticket.

steam-412020.log MetroExodus_error_report_211218-181906.zip


@Jernel-dotcom commented on 2021-12-18T16:43:53:

image

kisak-valve commented 2 years ago

Hello @Jernel-dotcom, from your log, these look like some lines of interest:

280:err:vkd3d_check_extensions: Required user instance extension "VK_KHR_surface" is not supported.
280:err:vkd3d_check_extensions: Required user instance extension "VK_KHR_win32_surface" is not supported.
280:warn:vkd3d_check_extensions: Optional user instance extension "VK_KHR_get_physical_device_properties2" is not supported.
280:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.1.0.
280:info:vkd3d_instance_init: vkd3d-proton - build: d003424bc826afd.
10390.466:0114:0118:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-9
280:err:vkd3d_instance_init: Failed to create Vulkan instance, vr -9.
280:fixme:hresult_from_vk_result: Unhandled VkResult -9.
280:warn:D3D12CreateDevice: Failed to create vkd3d instance, hr 0x80004005.

This hints that Vulkan is failing to initialize on your system. Please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

Jernel-dotcom commented 2 years ago

@kisak-valve Added the requested info https://gist.github.com/Jernel-dotcom/ed4982a08b0a501298db93b325992ae2

kisak-valve commented 2 years ago

https://gist.github.com/Jernel-dotcom/ed4982a08b0a501298db93b325992ae2#file-gistfile1-txt-L479 and https://gist.github.com/Jernel-dotcom/ed4982a08b0a501298db93b325992ae2#file-gistfile1-txt-L659 are the parts of your system information you should care about. It tells us your system does not have any vulkan drivers installed right now. Install the vulkan-radeon and lib32-vulkan-radeon system packages.

Jernel-dotcom commented 2 years ago

@kisak-valve You are right!

$ sudo pacman -S vulkan-radeon ``` [sudo] password for admin: resolving dependencies... looking for conflicting packages... Packages (1) vulkan-radeon-21.2.5-1 Total Download Size: 1.68 MiB Total Installed Size: 7.50 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... vulkan-radeon-21.2.5-1-x86_64 1720.1 KiB 2.64 MiB/s 00:01 [##############################################################################] 100% (1/1) checking keys in keyring [##############################################################################] 100% (1/1) checking package integrity [##############################################################################] 100% (1/1) loading package files [##############################################################################] 100% (1/1) checking for file conflicts [##############################################################################] 100% (1/1) checking available disk space [##############################################################################] 100% :: Processing package changes... (1/1) installing vulkan-radeon [##############################################################################] 100% Optional dependencies for vulkan-radeon vulkan-mesa-layers: additional vulkan layers :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ```
$ sudo pacman -S lib32-vulkan-radeon ``` resolving dependencies... looking for conflicting packages... Packages (1) lib32-vulkan-radeon-21.2.5-1 Total Download Size: 1.73 MiB Total Installed Size: 6.91 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... lib32-vulkan-radeon-21.2.5-1-x86_64 1772.7 KiB 2.50 MiB/s 00:01 [##############################################################################] 100% (1/1) checking keys in keyring [##############################################################################] 100% (1/1) checking package integrity [##############################################################################] 100% (1/1) loading package files [##############################################################################] 100% (1/1) checking for file conflicts [##############################################################################] 100% (1/1) checking available disk space [##############################################################################] 100% :: Processing package changes... (1/1) installing lib32-vulkan-radeon [##############################################################################] 100% Optional dependencies for lib32-vulkan-radeon lib32-vulkan-mesa-layers: additional vulkan layers :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ```

After installing both packaged the issue has been resolved. I didn't play the game for the past mount and the only thing I did on the system is the last few Arch system updates. I definitely didn't uninstall any package...

Anyway, thank you @kisak-valve for your help, you are the best!!!

kisak-valve commented 2 years ago

Metro Exodus stopped working yesterday

Issue transferred from https://github.com/ValveSoftware/steam-for-linux/issues/8335. @laroyru posted on 2022-01-05T19:49:12:

I had fantastic 22 hours last year playing Metro Exodus via Proton 6.3-8 on 6600XT amdgpu 21.30 Ubuntu 20.04.3. Yesterday after a bunch of updates for both Ubuntu and Metro (1GB) it's stopped working with no meaningful errors. I've managed to get an error report only after upgrading the driver to amdgpu 21.40.1 (no other changes). Can anyone have a look into it? Where should I upload it?

ShalokShalom commented 2 years ago

I had to launch with WINEDLLOVERRIDES="xaudio2_7=n,b" to fix horribly stuttering sound

I tried that fix. It did not solve my stutter: https://youtu.be/vVV0vJjWSzI My system