Open LiamDawe opened 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.
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
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.
@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.
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)
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!
This needs WMA support. See also WineHQ Bug 39402 and ValveSoftware/Wine#2.
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.
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).
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.
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 :-)
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
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?
@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
@smirgol eep, This is a Skyrim NON-SE issue. sorry, I posted in wrong thread.
72850 is the original skyrim, 489830 is Special Edition. So this thread talks about both versions?
No i created this just for the newer version.
@grigi there's an SKSE issue ;) #170
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.
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.
Or
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:
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
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.
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.
@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.
@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.
@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.
According to some user reports , that fix works for some extent for Skyrim SE.
When you fast travel , only music plays.
@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.
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.
@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
.
@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
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.
Are you talking about Legendary Edition or Special Edition?
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.
@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 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.
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.
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.
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.
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
@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.
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!
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?
I've tried the following:
Enabling NUMA in the bios and using numactl -m 0 -t
to force the steam (and child processes) to use a maximum 16gb RAM
Disabling SMT so there are only 16 cores available
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.
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.
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.
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
@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.
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.