Closed SergeyLatyshev closed 5 years ago
I followed the instructions, and now the game crashes when I try to load it. I had to delete steamapps/compatdata/883710/pfx folder.
@SergeyLatyshev make sure to use newest dvxk
I use v0.95.
If you think this is a DXVK bug for whatever reason, please attach the log files (you'll have to enable that in steamapps/common/Proton 3.16 Beta/user_settings.py
).
That being said, the game requires the media foundation hack as @james-munson mentioned (the demo partially works without it), but otherwise should run fine.
AFAIR, there was a similar '...dx11.cpp' error in the demo with DXVK 0.94 which has gone in 0.95, so I thought it's a DXVK bug. Sorry if I'm wrong.
Anyway, I tried what was suggested in the comments of that video, but it either didn't help, or started to crash the game when I load a savefile.
My log file: steam-883710.zip
Apologies, referenced the wrong report there.
Just to say I got this running on my end with those same drivers and that same GPU and manually upgraded DXVK 0.95. I'll try to play up to this part.
I have to say, however, I'm experiencing an after image "blinking" phenomenon... Every once in a while, a former image will blink on the screen.
This happens only with the cursor in the menu and then with the whole screen in-game...
Do you play with keyboard and mouse? If so, that's an input issue where the camera perspective changes rapidly for some reason, not a rendering issue.
Indeed I play with Keyboard and mouse.
Mmh, must be it, would you know a fix?
Apart from using a controller, no.
Ok. I'm stuck in mf shenanigans anyway. Thanks.
As a side note, the bug disappears when running the game Windowed...
Guys, guys, it works! The instruction:
value = value.replace("%SystemRoot%", "C:\\windows")
)$ export WINEPREFIX=/your_path_to_steam_library/steamapps/compatdata/883710/pfx/
$ ./install-mf-64.sh
My terminal output:
$ ./install-mf-64.sh mediafoundation
- wow64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_04d9defd57c1f6bf.manifest (wow64)
- amd64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_fa8534ab236134c4.manifest (win64)
- mf.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
- mf.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32
- mfps.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32 002f:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:err:mscoree:LoadLibraryShim error reading registry key for installroot 002f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 002f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0033:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0033:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0033:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0023:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518 0035:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x856590, init_notify 0, handle 0x114fa10): stub 004f:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 004f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 004f:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 004d:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018 0051:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x8d8870, init_notify 0, handle 0x111fc88): stub wine: configuration in '/2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx' has been updated. mf
- wow64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_b5899692ced89b37.manifest (wow64)
- amd64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_ab34ec409a77d93c.manifest (win64) mfreadwrite
- wow64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_21d097c56304ba5a.manifest (wow64)
- amd64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_177bed732ea3f85f.manifest (win64)
- mfreadwrite.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32
- mfreadwrite.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64 wmadmod
- amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
- x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
- wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
- wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32 wmvdecod
- x86_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_c491ee3d3e923b78.manifest (win32)
- amd64_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_20b089c0f6efacae.manifest (win64)
- wmvdecod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
- wmvdecod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32 wmadmod
- amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
- x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
- wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/syswow64
- wmadmod.dll -> /2TB/Games/Linux/Steam/steamapps/compatdata/883710/pfx/drive_c/windows/system32
Done! Now you need to get mfplat.dll version 12.0.7601.23471 from elsewhere and place it in your application directory (it was different before editing the script and had errors)
A screenshot from the video that wasn't played before:
A game screenshot after:
Don't forget to replace the old DXVK files in /your_path_to_steam_library/steamapps/common/Proton 3.16 Beta/dist/lib64/wine/dxvk/
with the newest version 0.96.
Also, run winetricks mf
before executing the Python script to make sure you have file ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
to extract dlls from.
@SergeyLatyshev Thanks! It works! Although the performance is awful on Proton.
Is it? I tried the intro on Wine 4.0 and had exactly the same performance as on Proton. About 45 fps at max graphics settings and with my six years old FX-8350 50% loaded with all 8 threads in use. Just like on PS4 and XOne but with better graphics. I don't know what performance I could have got on Windows though. Probably much better (I had about 90fps in RE7 on Windows 10.) Well, I think it's playable enough for me. At least I don't have to use Windows to play it. The game also has great variety of graphics settings, so I'm sure it should run even on older hardware.
@SergeyLatyshev The fps difference between wine-taging and Proton is huge for me, 60fps on wine-staging, 4Xfps on Proton, no matter how low the setting is, I can see lots of frame drops and stutter on Proton, the audio in cut scene is desync. In Windows 10, none of the problem happens. CPU: i5-4460 GPU: AMD RX580 8G RAM: 8G DDR3
@laichiaheng Haven't you forgotten to switch off Wine debugging after you were done?
@DistantThunder Isn't it disabled by default?
I followed the instructions and I keep getting errors.
./install-mf-64.sh
mediafoundation
/home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
for registry_key in registry_keys[0].getchildren():
- amd64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_fa8534ab236134c4.manifest (win64)
- wow64_microsoft-windows-mediafoundation_31bf3856ad364e35_6.1.7601.17514_none_04d9defd57c1f6bf.manifest (wow64)
Traceback (most recent call last):
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in <module>
process_files(output_files)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
install_dll(file_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
dest_dir = get_dll_destdir(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
arch = check_dll_arch(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
if 'x86-64' in out:
TypeError: a bytes-like object is required, not 'str'
mf
- amd64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_ab34ec409a77d93c.manifest (win64)
- wow64_microsoft-windows-mf_31bf3856ad364e35_6.1.7601.17514_none_b5899692ced89b37.manifest (wow64)
mfreadwrite
/home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
for registry_key in registry_keys[0].getchildren():
- amd64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_177bed732ea3f85f.manifest (win64)
- wow64_microsoft-windows-mfreadwrite_31bf3856ad364e35_6.1.7601.17514_none_21d097c56304ba5a.manifest (wow64)
Traceback (most recent call last):
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in <module>
process_files(output_files)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
install_dll(file_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
dest_dir = get_dll_destdir(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
arch = check_dll_arch(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
if 'x86-64' in out:
TypeError: a bytes-like object is required, not 'str'
wmadmod
/home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
for registry_key in registry_keys[0].getchildren():
- amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
- x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
Traceback (most recent call last):
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in <module>
process_files(output_files)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
install_dll(file_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
dest_dir = get_dll_destdir(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
arch = check_dll_arch(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
if 'x86-64' in out:
TypeError: a bytes-like object is required, not 'str'
wmvdecod
/home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
for registry_key in registry_keys[0].getchildren():
- amd64_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_20b089c0f6efacae.manifest (win64)
- x86_microsoft-windows-wmvdecod_31bf3856ad364e35_6.1.7601.17514_none_c491ee3d3e923b78.manifest (win32)
Traceback (most recent call last):
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in <module>
process_files(output_files)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
install_dll(file_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
dest_dir = get_dll_destdir(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
arch = check_dll_arch(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
if 'x86-64' in out:
TypeError: a bytes-like object is required, not 'str'
wmadmod
/home/michael/Downloads/python-installcab-master/installcab.py:175: DeprecationWarning: This method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.
for registry_key in registry_keys[0].getchildren():
- amd64_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_e474f0ac34979bc4.manifest (win64)
- x86_microsoft-windows-wmadmod_31bf3856ad364e35_6.1.7601.17514_none_885655287c3a2a8e.manifest (win32)
Traceback (most recent call last):
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 305, in <module>
process_files(output_files)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 243, in process_files
install_dll(file_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 214, in install_dll
dest_dir = get_dll_destdir(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 65, in get_dll_destdir
arch = check_dll_arch(dll_path)
File "/home/michael/Downloads/python-installcab-master/installcab.py", line 85, in check_dll_arch
if 'x86-64' in out:
TypeError: a bytes-like object is required, not 'str'
Done!
Now you need to get mfplat.dll version 12.0.7601.23471 from elsewhere and place it in your application directory
Anyone know what its talking about? Did I place the python-installcab-master
folder in the wrong place or something? I also have ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
Game keeps getting stuck loading after the gas station still.
The edited script: python-installcab-master.zip
It doesn't contains any dlls from Windows, because uploading any dlls from Windows is illegal somehow.
Yea got it fixed in the end. https://www.youtube.com/watch?v=JCPgIyZTHA0
just wanted to say installcab.py is in python2 so if you are on a distro like Arch Linux, instead of the third step on https://github.com/doitsujin/dxvk/issues/886#issuecomment-458487008 use this (assuming you are in the installcab.py directory and exported the WINEPREFIX path):
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mediafoundation
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe _mf
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe mfreadwrite
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmadmod
python2 installcab.py ~/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe wmvdecod
the mfplat.dll file in https://github.com/ValveSoftware/Proton/files/2705555/WMF_workaround.zip is working for me.
The link to that workaround.zip seems broken.. :-/
The link to that workaround.zip seems broken.. :-/
Use that one >>> https://github.com/doitsujin/dxvk/files/2810674/python-installcab-master.zip
(It doesn't contain any dlls from Windows just the script)
That archive probably was removed. Distributing Windows files isn't legal, so you'll have to find mfplat.dll elsewhere. It's in C:\Windows\system32 on every computer with Windows 7 (I'm not sure if Win10 version works.)
I searched for mfplat.dll version 12.0.7601.23471
using https://duckduckgo.com/ and it was the second in the search results (make sure that it is for windows 7 64bit
or it won't work)
You can email me if you can't find it and I will send it to you
@SergeyLatyshev Not tested myself if win10 mfplat works but it was reported not to. Only Win7
After applying the patch the game seems to crash.. 01b0:err:mmdevapi:MMDevice_Activate Invalid/unknown iid {bbf8e066-aaaa-49be-9a4d-fd2a858ea27f} wine: Call from 0x7b44e477 to unimplemented function mfreadwrite.dll.DllGetClassObject, aborting wine: Unimplemented function mfreadwrite.dll.DllGetClassObject called at address 0x7b44e477 (thread 01a7), starting debugger... 01bb:fixme:ntdll:EtwEventRegister ({47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x18008b460, 0x180145380, 0x180145378) stub. 01bb:fixme:ntdll:EtwEventRegister ({58a9201e-73b0-42ce-9821-7e134361bc70}, 0x18008b460, 0x1801453b8, 0x1801453b0) stub. 01bb:fixme:ntdll:EtwEventRegister ({3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x18008b460, 0x180145348, 0x180145340) stub. 01bb:fixme:ntdll:EtwEventRegister ({1432afee-73b0-42ce-9821-7e134361b433}, 0x18008b460, 0x1801453f0, 0x1801453e8) stub. 01bb:fixme:ntdll:EtwEventRegister ({4372afee-73b0-42ce-9821-7e134361b519}, 0x18008b460, 0x180145428, 0x180145420) stub. 01bb:fixme:imm:ImmGetOpenStatus (0x19660): semi-stub 01bb:fixme:dbghelp:elf_search_auxv can't find symbol in module 01bb:fixme:dbghelp:elf_search_auxv can't find symbol in module 01bb:fixme:dbghelp:elf_search_auxv can't find symbol in module
@Sur3 did you install mf first from winetricks?
Yes
Start over with a clean prefix.
How to do it with Lutris or Wine, there is no /your_path_to_steam_library/steamapps/compatdata/883710/pfx/
in their steam path.
In Wine it's just ~/.wine
and you don't even need to export it, in Lutris it's whatever your wineprefix is. But I'd recommend to not use the default Wine prefix just in case something goes wrong and your wineprefix gets broken.
@laichiaheng Made a video for you for making and finding the WINEPREFIX of Lutris to work with.
https://www.youtube.com/watch?v=HYCCsGatnrg
So in the video the prefix would be ~/Documents/Random_game/
I installed RE2 in the default steam library so for me it was ~/.local/share/Steam/steamapps/compatdata/883710/pfx/
But the location of the game to put mfplat.dll file was in ~/.local/share/Steam/steamapps/common/RESIDENT EVIL 2 BIOHAZARD RE2/
@Sur3 Windows 7
thx, I have it set to windows 10 in my old prefix, but windows 7 in my new one, I'll try some other things with the new prefix then.. ^^
Just finished Clairs chapter..no problems at all FPS was great all the way on max settings.
You also use wine to run the game, so you also use the windows version of steam like I do to run it?
@Sur3 No I use native steam to run the game. I use Proton to run the game version 3.16-6 Beta Proton. You don't just need proton for this game because other WINE versions are working with it too. At first I was using windows steam to start the game but when I found the fix I installed it on native steam and removed windows steam.
Ahh ok, yeah with the linux version of steam I also can only use proton and not my wine-staging because wine only works with the windows version of steam and otherwise says it cant connect to the steam api, but I get the same mfreadwrite error at least with proton/linux-steam or wine-staging/windows-steam. ^^
@Sur3 That mfreadwrite.dll should be installed when you run winetricks mf
the only dll you need to find is mfplat because the installer doesn't have it.
You ran export WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/883710/pfx/
then winetricks mf
then run the mf install script?
Can you tell me if your md5sums of you proton prefix and mfplat.dll match mine? 2188de5fa5c741fb2b81eb9f37d26ba7 mfplat.dll e8706a051bffc9da9e9b935aaa432aac ./windows/system32/mfreadwrite.dll bfebb6f76a0988a38260870c61a6d1b7 ./windows/syswow64/mfreadwrite.dll
md5sum for mfplat: 2188de5fa5c741fb2b81eb9f37d26ba7 mfplat.dll md5sum for mfreadwrite system32: e8706a051bffc9da9e9b935aaa432aac mfreadwrite.dll md5sum for mfreadwrite syswow64: bfebb6f76a0988a38260870c61a6d1b7 mfreadwrite.dll
Looks the same.
Ok thanks, weird then the error must be somewhere else, probably some zombie ghosts.. ^^"
Ok I finally got it working, the problem was I commented out the lines in the install script, should have read the instructions more carefully.. :upside_down_face:
@Sur3 Glad it's working for you now. I'm on my second play through lol
@SergeyLatyshev Close this issue man. It is not DXVK issue, and it is fixed.
If anyone is viewing this issue still in hopes to run RE2 through Proton, I've made a comprehensive guide detailing every fix and every step: https://steamcommunity.com/sharedfiles/filedetails/?id=1654060648
In RESIDENT EVIL 2 / BIOHAZARD RE:2 I can play the intro level (at the gas station) which ends with a cutscene where Leon and Claire are driving the police car. After that there is a loading screen, but the game doesn't load the next level. If I quit the game with Alt+F4, I see this error:
Software information
RESIDENT EVIL 2 / BIOHAZARD RE:2 https://store.steampowered.com/app/883710/ I tried max and min graphics settings, both characters.
System information
error: ‘mutex’ in namespace ‘std’ does not name a type
error: ‘mutex’ is not a member of ‘std’