ValveSoftware / Proton

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

The Elder Scrolls V: Skyrim Special Edition (489830) #4

Open LiamDawe opened 6 years ago

LiamDawe commented 6 years ago

Unsure if this is where to leave such an issue.

I tested Proton out with The Elder Scrolls V: Skyrim Special Edition and while it works, seemed to have okay performance the NPCs didn't seem to have any voices, yet other audio did work.

megatog615 commented 6 years ago

This seems to be the only problem I could find. On Wine it is typically solved by installing xact or patching Wine's xaudio2. Other than this bug, the game runs better in Proton than any other attempt I've made at running it in Wine.

Leopard1907 commented 6 years ago

Well , that had a solution on Wine if you want to take a look.

Forcing xact

Using D3D audio dll overrides.

https://www.reddit.com/r/linux_gaming/comments/91kazq/comment/e2yyxp1

LiamDawe commented 6 years ago

Interesting @Leopard1907 i wonder if Valve can look into your suggested fixes, which seem to work going by the comments to get this one supported.

Leopard1907 commented 6 years ago

@LiamDawe Yep. Bethesda's games that developed by themselves ( not id Software etc ) needs many workarounds. Fallout 3 and Fallout New Vegas are also needs treatment like this.

At least in Wine.

ghost commented 6 years ago

xact is required for sound to work in a lot of games. I've made an issue for that specifically over here: #54

(edit: wrong issue linked! sorry)

knro commented 6 years ago

I haven't tried yet communicating with NPCs, but boy was I amazed that not only it worked flawlessly thus far, but I was able to pickup exactly from where I left it 5 years ago! Great work!

aeikum commented 6 years ago

This needs WMA support. See also WineHQ Bug 39402 and ValveSoftware/Wine#2.

jarrard commented 6 years ago

yeah sometimes xact doesn't install the DLLs in the correct windows folders or something, surely a work around can be applied to proton.

Another game that can have this issue (among others) is Fallout4. Thought sometimes audio chucks up with FO4 altogether.

kisak-valve commented 6 years ago

Error when loading mods in Skyrim (72850)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/301. @valeth posted on 2018-08-23T17:03:37:

When trying to load mods in Skyrim an error message appears on the launcher with the message Failed to extract plugin file from ckm!.

This does not prevent the game from being launched, it just skips initializing any third party mods (the high resolution texture packs seem to work, they are at least listed in the Data Files menu). screenshot_20180823_185709

System Info

azertyfun commented 6 years ago

I can't get SKSE64 to work with Skyrim SE. Here is the relevant information in skse64.log:

SKSE64 runtime: initialize (version = 2.0.7 01050270 01D43B0F41F014A8, os = 6.1 (7601))
imagebase = 0000000140000000
reloc mgr imagebase = 0000000140000000
couldn't allocate trampoline, no free space before image
couldn't create branch trampoline. this is fatal. skipping remainder of init process.

According to my google-fu, this is a problem with Wine and this patch supposedly fixes it, as well as other Script Extenders. The repo's maintainer seems active and could probably give out more information.

Elkasitu commented 6 years ago

Tried following the steps on reddit as well as installing xact to the game's wine prefix and even force installing it but to no avail, NPC audio and background music don't seem to play.

@aeikum Since you seem to be working on the FAudio-based xaudio2, is there a way users can test it with their own games? Maybe it'll make it easier on you to have the whole community testing your branch :-)

Leopard1907 commented 6 years ago

A quick update:

That problem occuring on Skyrim and many other games will be solved for good thanks to FNA implementation created by Ethan Lee ( Linux game porter , FNA maintainer ) as XACT/XNA2 implementation. https://github.com/FNA-XNA/FNA/issues/90#issuecomment-415503383

October 1

grigi commented 6 years ago

Some mods do install, e.g. SkyUI, but installing SKSE through steam or manually, I get an error message in game saying SKSE isn't loaded so SkyUI won't work right. I confirmed that the SKSE and Skyrim versions match.

I tried changing the Launch Options in Properties, but it seems to be ignored? Is is possible to override launch options using Proton?

smirgol commented 6 years ago

@grigi I don't have Skyrim SE, but I guess it's the same problem as with Fallout 4 - unfortunately the script extender will not work without additional patching to wine/proton. Here's the unofficial patch that makes it work for FO4: https://github.com/hdmap/wine-hackery/tree/master/f4se

grigi commented 6 years ago

@smirgol eep, This is a Skyrim NON-SE issue. sorry, I posted in wrong thread.

grigi commented 6 years ago

72850 is the original skyrim, 489830 is Special Edition. So this thread talks about both versions?

LiamDawe commented 6 years ago

No i created this just for the newer version.

malahx commented 6 years ago

@grigi there's an SKSE issue ;) #170

kisak-valve commented 6 years ago

Sorry about throwing the original and the special edition together, I misidentified the appid during the mass addition of appids to issue reports and was only referencing that afterwards. Since #460 just came in for the original, let's use that to continue the discussion of 72850.

kisak-valve commented 6 years ago

Normal fixes for Skyrim SE's audio not working.

Issue transferred from https://github.com/ValveSoftware/Proton/issues/469. @nstgc posted on 2018-08-25T01:19:42:

Trying to get Skyrim SE to run with Proton. I have installed xact, used winecfg --force xact, and tried combinations of setting xaudio2_6 and 2_7 to native. This has allowed me to get past the opening wagon scene, however audio kind of dies after the dragon lands which breaks scripted events. From everything I've found, this should work, but it doesn't.

Note that I've only used Proton for all of this (by specifying the full path to the binary) until this most recent attempt where I used wine64 to "update" the prefix using local wine (3.13)

I'm on Arch Linux.

returntrip commented 6 years ago

Issue (When using Wayland):

Workaround:

Or

Other issues (Xorg and Wayland):

kisak-valve commented 6 years ago

Skyrim SE stuck at loading screen

Issue transferred from https://github.com/ValveSoftware/Proton/issues/828. @TomBZombie posted on 2018-08-28T14:17:10:

I've seen several people say that Skyrim SE works with a solution for NPC audio, however I can't get that far.

Weirdly it works fine under Wine+DXVK so it seems to be a proton issue.

I get to the main menu fine but if I load a game or start a new game it just sits on the loading screen forever. It doesn't crash but it keeps zooming in and out of whatever model is loaded and brings up tips. I've left it for 5 minutes and nothing happens.

It happens with both proton and proton beta. I've tried a fresh install of Arch Linux with the same result as my standard install.

Specs: Arch Linux AMD Threadripper 1950x 32gb RAM nvidia 980ti with 396.54 driver KDE Plasma desktop Playing at 3840x2160 but running 1080p makes no difference no mods, vanilla game straight from steam


@nstgc commented on 2018-08-28T14:18:42

Could you provide both a log (use PROTON_LOG=1 in launch options) and your system information (in the client help==>system information)?


@TomBZombie commented on 2018-08-28T14:28:34

System information:

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD Ryzen Threadripper 1950X 16-Core Processor 
    CPU Family:  0x17
    CPU Model:  0x1
    CPU Stepping:  0x1
    CPU Type:  0x0
    Speed:  3400 Mhz
    32 logical processors
    16 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Linux 4.x (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.18.5-arch1-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12001000
    X Window Manager:  KWin
    Steam Runtime Version:  <Runtime disabled>

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 980 Ti/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 396.54
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x17c8
    Revision Not Detected
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  3840 x 2160
    Desktop Resolution: 7680 x 2160
    Primary Display Size: 20.51" x 11.54" (23.50" diag)
                                            52.1cm x 29.3cm (59.7cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 6144 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC1220

Memory:
    RAM:  32025 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_GB.UTF-8
    Total Hard Disk Space Available:  468083 Mb
    Largest Free Hard Disk Block:  418381 Mb
    VR Headset: None detected

Recent Failure Reports:

And log file:

steam-489830.log

sorin255 commented 6 years ago

I'm having some issues with Special Edition not saving graphics settings. The launcher will auto-detect and set to ultra but the game launches windowed with lowest settings. I try to set everything manually but I get the same issue. Everything else seems to work fine so far (except my xbone controller but I think that's just a general Proton issue ATM). I'm on Ubuntu 18.04, running Nvidia 396.54 graphics drivers, GeForce GTX 1060 16GB RAM, Intel i5-7700HQ

johan-bjareholt commented 6 years ago

System Information

Status

Sound doesn't work for dialogs and other sound effects are also buggy, after force installing xact with winetricks all sound worked but started crackling a lot instead. Solution to the crackling was to set default-fragment-size-msec = 5 in /etc/pulse/daemon.conf and restart pulseaudio.

After that it seems to work flawlessly, great fps even with max graphics. Have played for a few hours without hickups

EDIT: As you can see below, it seems like some quests fails to trigger some events due to audio sometimes getting out of sync or something somehow.

nstgc commented 6 years ago

For those reporting all sound working, have you played through the entire opening? I lose a channel or two of sound starting with the dragon's silent roar which breaks scripts. No crackling through.

johan-bjareholt commented 6 years ago

@nstgc Previously I tested with a save which got synced via Steam Cloud, but now tested with a new save. Seems like you are correct, sound stops working shortly after the dragon arrives. Doing a quicksave and then restarting the game fixed it, but kind of annoying.

nstgc commented 6 years ago

@johan-bjareholt At what point did you quick save? I made a quick save right after my name was called and I started walking, but the sound cut out at the same point, and the script still failed to run/advance.

johan-bjareholt commented 6 years ago

@nstgc The script stopped advancing for me aswell for a while, alduin was stuck right before he was about to breathe fire into the watchtower but instead just stood there at the watchtower doing nothing and looking in. I thought the bug was funny and started trying to jump and stand at the tip of his tail, but after I did that a few times (maybe 3min later) he suddenly started moving again and did his fire breath so the game continued. I guess I must've somehow re-triggered the scripting when walking in/out of the watchtower between my attempts, or it just fixed itself after waiting a while.

Leopard1907 commented 6 years ago

According to some user reports , that fix works for some extent for Skyrim SE.

https://www.reddit.com/r/linux_gaming/comments/99i4se/skyrim_on_linux_steam_play_no_voiceno_music_audio/

When you fast travel , only music plays.

nstgc commented 6 years ago

@Leopard1907 Yes. That fix has been mentioned several times, including by me. The issue, at least for Johan and me, is that the intro part of the game (dragon attack) is broken due to the no sound bug triggering when the thing lands on the tower. Its a 100% bug even with that fix, and the scripts are (for reasons beyond me) tied to there being sound.

3vi1 commented 6 years ago

I can confirm what nstgc experienced. Just tested on Ubuntu 18.10 (pre-release) and the xact fix works until the dragon sequence, where all sound shuts down and scripts then don't work. So, it's pretty much unplayable even with the xact fix.

webavant commented 6 years ago

@johan-bjareholt

Solution to the crackling was to set default-fragments-size-msec = 5 in /etc/pulse/daemon.conf and restart pulseaudio.

Can you confirm that key name for pulse/daemon.conf? The key within the default file included with my package is less one letter, "s": default-fragment-size-msec instead of default-fragments-size-msec.

johan-bjareholt commented 6 years ago

@webavant You are correct, here's my config (Line starting with ; is commented out default value). Edited original comment to fix that.

; default-fragment-size-msec = 25
default-fragment-size-msec = 5
C0rn3j commented 6 years ago

To all those wondering about sound issues, a patch was staged in wine-staging 3.15.

It requires wine-staging to be compiled with ffmpeg 4. Am playing the game just fine on Wine-staging 3.16 (git from sept 23 I believe), SKSE and lots of mods.

Proton is based on Wine 3.7 I believe and not staging, so that's why it won't work properly with it.

I can't get some mods to work however, but that may be a mod/skse issue as I don't have a windows machine available to confirm.

mmatis commented 6 years ago

Are you talking about Legendary Edition or Special Edition?

shadywack commented 6 years ago

To all those wondering about sound issues, a patch was staged in wine-staging 3.13 I believe.

It requires wine-staging to be compiled with ffmpeg 4. Am playing the game just fine on Wine-staging 3.16 (git from sept 23 I believe), SKSE and lots of mods work.

Proton is based on Wine 3.7 I believe and not staging, so that's why it won't work properly with it.

I can't get some mods to work however, but that may be a mod/skse issue as I don't have a windows machine available to confirm.

Would love to see if this is regarding SSE or just Skyrim vanilla.

C0rn3j commented 6 years ago

@mmatis I am talking about the edition this issue is for. So SE.

EDIT so I don't ping everyone: AMDGPU, RX 580, Arch Linux, wine-staging-git from AUR.

mmatis commented 6 years ago

@mmatis I am talking about the edition this issue is for. So SE.

Would you mind giving a few more details on your setup? Video card, distro, what method you used to compile wine, etc. I have a similar setup, but I get baffling semi-random freezing in the game. We should probably take this discussion elsewhere, since it concerns WINE. not specifically Proton.

Volkinaz commented 6 years ago

Faced with 2 problems: There are drops in performance. The work of sound.

Moreover, with the project PortSteam-16 (portwine-linux.ru) everything works fine: high performance at high graphics settings, no bugs, sound works, mods works.

Perhaps Poroton should be updated to the current version of Wine \ Wine-Staging.

Also the latest wine-staging with DXVK works great with the game. Which again proves that it is necessary to update the Wine in the proton.

megatog615 commented 6 years ago

Or perhaps the relevant code should be merged to fix it. Upgrading to a release far in the future is bound to break a bunch of applications.

breadland commented 6 years ago

I'm currently on Antergos/Arch Linux with everything updated, I have an RX 580 with mesa 18.2.2-1 and Skyrim Special Edition will not launch. Can't even get to the launcher. It always hangs at the "Preparing to launch..." Steam dialogue box.

Both the Proton 3.7-6 and 3.7-7 beta don't work. Weirdly enough, I can't even validate the files or uninstall the game since it always hangs on everything. Uninstall prompt, revalidating files, launching, etc.

Normal edition works, Fallout 4 works, New Vegas works, most other non Bethesda games work too. So I'm not sure what I'm missing or what's not working causing this problem.

Volkinaz commented 6 years ago

I'm currently on Antergos/Arch Linux with everything updated, I have an RX 580 with mesa 18.2.2-1 and Skyrim Special Edition will not launch. Can't even get to the launcher. It always hangs at the "Preparing to launch..." Steam dialogue box.

Both the Proton 3.7-6 and 3.7-7 beta don't work. Weirdly enough, I can't even validate the files or uninstall the game since it always hangs on everything. Uninstall prompt, revalidating files, launching, etc.

Normal edition works, Fallout 4 works, New Vegas works, most other non Bethesda games work too. So I'm not sure what I'm missing or what's not working causing this problem.

To run, I used these packages, try installing, rebooting and running skyrim

sudo pacman -Syu --needed freeglut glew lib32-alsa-lib lib32-alsa-plugins lib32-glu lib32-icu lib32-libdrm lib32-libelf lib32-libglvnd lib32-libice lib32-libpciaccess lib32-libsm lib32-libxdamage lib32-libxi lib32-libxml2 lib32-libxshmfence lib32-libxxf86vm lib32-llvm-libs lib32-lm_sensors lib32-mesa lib32-ncurses lib32-readline lib32-wayland mesa-demos zenity cabextract gnu-netcat icoutils lib32-acl lib32-fontconfig lib32-freetype2 lib32-gettext lib32-harfbuzz lib32-lcms2 lib32-libjpeg-turbo lib32-libnl lib32-libpcap lib32-libpng lib32-libtiff lib32-libusb lib32-libxcursor lib32-libxrandr lib32-libxrender lib32-libxss libutempter p7zip wxgtk-common wxgtk2 wxpython xbitmaps xorg-luit xorg-xmessage xterm samba lib32-libudev0-shim lib32-libgudev lib32-libpulse lib32-libldap lib32-libxml2 lib32-libpng lib32-giflib lib32-gnutls lib32-mpg123 vulkan-icd-loader lib32-vulkan-icd-loader lib32-libldap

breadland commented 6 years ago

@Volkinaz

Thanks for the list! I was going to try installing all those packages, but first since I was curious, I deleted all the game's files manually, since uninstalling would get stuck at 0%.

I had done it before but it didn't fix the problem. I only deleted the appmanifest and SSE's folder in common. After deleting SSE's files in compatdata as well and reinstalling the game, I finally got the launcher to open. And then could get ingame.

It still needs the xact overrides for voices, but otherwise it works well as far as I tested it.

Volkinaz commented 6 years ago

It still needs the xact overrides for voices, but otherwise it works well as far as I tested it.

I would advise using the PortSteam project (Portwine-linux.ru) for Bethesda games. Proton is currently using an older version of Wine. PortSteam uses modified Wine-staging with a lot of additional patches. Is a Windiws version of the Steam packaged individual wine. I would advise Valve to ask for help for the development of Proton to this project. At the moment PortWine can already run Uplay!

TRPB commented 6 years ago

The loading screen issue I posted earlier seems to only affect AMD Threadripper:

https://steamcommunity.com/app/221410/discussions/8/1734336452599497070/

Two other people on the same thread with 1950x's suffer the loading screen issue. Can anyone help me debug this further?

I've tried:

taskset -c 0-7 steam

But I'm not sure if this just sets steam to use max 8 cores. Is that setting reflected in process then lauched by steam?

Alternatively, everyone with the issue has 32gb or more ram. If it's a memory issue can the memory be limited for the process? Is anyone here using 32gb+ RAM and running skyrim special edition successfully?

TRPB commented 6 years ago

I've tried the following:

Neither make any difference, the issue is elsewhere.

Bizarrely, a year or so ago Wine+DXVK worked perfectly on this same machine, now both Proton and Wine are affected.

I have tried several versions of both Wine (3.11 and 3.14), either they can't lauch steam or they have the same problem. Older versions of DXVK (0.4) also suffer the same problem. This is very strange.

derram commented 6 years ago

I was having this issue as well.

First the no voices thing which was fixed with the solutions mentioned here, but the game was still getting stuck with the dragon shout causing the NPC scripts to break problem.

I switched my proton version over to 3.16-1 Beta and managed to get past the tutorial without issue and played another 2 hours without noticing anything amiss.

3vi1 commented 6 years ago

Just tested with proton 3.16-1 Beta. Sound and scripts still break as soon as entering Helgen Keep, right after the first dragon sequence.

TRPB commented 6 years ago

Just tried Wine 3.18 and DXVK 0.9. Same issue, can't get past the loading screen. Suggestions online say this is an issue with mods but I don't have anything installed beyond the default steam install that comes with the Bethesda DLC.

edit: I can't determine if this issue is DXVK or WINE because running without DXVK just gives a black screen

C0rn3j commented 6 years ago

@TomBZombie Works on wine-staging-git from AUR compiled with ffmpeg 4(just have it installed) and Nvidia 410.xx for you?

Cause that setup works for me, and the only major difference I can think of would be the threadripper. Might be worth it opening up a bug report on Wine AppDB if that turns out to be the case.