Battlefield 1 DXVK (Installation Issues)

Hi All,

I’m new to Lutris and I’m trying to install Battlefield 1 DXVK using the install script from this site.

I have a strange issue occurring whereby the Origin installer starts to install (downloading with the progress bar). When the download gets about half way the progress bar shoots forward as if to complete the installation, but then it resets and begins downloading again.

This process repeats itself indefinitely, therefor the Origin installation never completes. I’ve left it running like this for approximately an hour now thinking that it may be pulling newer updates for Origin, but it is still not completed.

I’m beginning to think I’ve been doing something wrong now.

I’ve completed the wine hassle free setup. and I’m trying to run the Battlefield 1 DXVK installer script.

My setup:

OS: Ubuntu 17.10 x64
GPU: nVidia 1080

Please let me know if there is anything else I can try to do to get this working.

Any tips/suggestions greatly appreciated.

OK, got to the bottom of the issue, tried this on both Ubuntu 17.10 and Manjaro 17.1.8.

If your wine prefix is on a ZFS file system then set a quota on the dataset that holds your wine prefixes. Apparently wine has issues determining disk space if there is no quota set on the ZFS dataset.

Now to try and copy my old windows battlefield 1 installation directory over to this wine prefix and see if it works…

Ugh, looks like BF1 needs an update, but Origin just hangs/stalls while trying to download the remaining data:

lutris_bf1_origin_download_stuck

Anyone have any thoughts on this, I am not familiar with wine at all, so any thoughts would be appreciated.

NOTE:
[1] I should mention that I’ve switched from Ubuntu 17.10 (as mentioned in OP) to Manjaro 17.1.8.

And how did you do it? I have the same problem

I’m guessing you’re talking about setting a quota on a dataset, if so, then:

zfs set quota=100g pool/dataset

Substitute your pool,dataset and size for your environment.

Update, I’ve tried the whole process again using the newer version of the installer script (the one that uses wine staging 3.8). I get a little further now, but, It errors out when attempting to install the VC++ runtimes:

lutris_bf1_vc_error

[1] Are there any known work-arounds for this error message?

Starting lutris in debug mode yeilds the following log, I dont see anything out of the norm here, can someone more experienced than I see anything I’m missing:

$ lutris -d
DEBUG    2018-05-19 13:26:20,062 [runtime]:Runtime steam is up to date
DEBUG    2018-05-19 13:26:20,063 [runtime]:Runtime lib32 is up to date
DEBUG    2018-05-19 13:26:20,063 [runtime]:Runtime lib64 is up to date
DEBUG    2018-05-19 13:26:20,063 [runtime]:Runtime p7zip is up to date
INFO     2018-05-19 13:26:20,064 [lutriswindow]:Connected to lutris.net as Asgaroth
DEBUG    2018-05-19 13:26:20,065 [api]:Fetching game library
DEBUG    2018-05-19 13:26:20,162 [steam]:Watching Steam folder /home/username/.local/share/Steam    /steamapps
DEBUG    2018-05-19 13:26:20,163 [steam]:Watching Steam folder /data/games/steam/steamapps
DEBUG    2018-05-19 13:26:25,816 [system]:Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S /home/username/.cache/lutris/winekeys.reg
DEBUG    2018-05-19 13:26:25,816 [system]:WINEARCH=win64 WINE=/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 WINEPREFIX=/data/lutris/battlefield-1
DEBUG    2018-05-19 13:26:27,186 [system]:Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S /home/username/.cache/lutris/winekeys.reg
DEBUG    2018-05-19 13:26:27,187 [system]:WINEARCH=win64 WINE=/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 WINEPREFIX=/data/lutris/battlefield-1
DEBUG    2018-05-19 13:26:27,275 [system]:Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S /home/username/.cache/lutris/winekeys.reg
DEBUG    2018-05-19 13:26:27,275 [system]:WINEARCH=win64 WINE=/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 WINEPREFIX=/data/lutris/battlefield-1
DEBUG    2018-05-19 13:26:27,365 [system]:Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S /home/username/.cache/lutris/winekeys.reg
DEBUG    2018-05-19 13:26:27,366 [system]:WINEARCH=win64 WINE=/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 WINEPREFIX=/data/lutris/battlefield-1
DEBUG    2018-05-19 13:26:27,439 [system]:Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine regedit /S /D HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops
DEBUG    2018-05-19 13:26:27,439 [system]:WINEARCH=win64 WINE=/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine WINEPREFIX=/data/lutris/battlefield-1
DEBUG    2018-05-19 13:26:27,535 [system]:Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S /home/username/.cache/lutris/winekeys.reg
DEBUG    2018-05-19 13:26:27,536 [system]:WINEARCH=win64 WINE=/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 WINEPREFIX=/data/lutris/battlefield-1
INFO     2018-05-19 13:26:27,610 [dxvk]:Replacing /data/lutris/battlefield-1/drive_c/windows/system32/dxgi with DXVK version
INFO     2018-05-19 13:26:27,613 [dxvk]:Replacing /data/lutris/battlefield-1/drive_c/windows/system32/d3d11 with DXVK version
INFO     2018-05-19 13:26:27,616 [dxvk]:Replacing /data/lutris/battlefield-1/drive_c/windows/syswow64/dxgi with DXVK version
INFO     2018-05-19 13:26:27,618 [dxvk]:Replacing /data/lutris/battlefield-1/drive_c/windows/syswow64/d3d11 with DXVK version
DEBUG    2018-05-19 13:26:27,691 [game]:Launching Battlefield 1: {'env': {'DXVK_HUD': '1', 'DRI_PRIME': '0', 'WINEDEBUG': '-all', 'WINEARCH': 'win64', 'WINE': '/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine', 'WINEPREFIX': '/data/lutris/battlefield-1', 'WINEDLLOVERRIDES': 'd3d11,dxgi=n;nvapi64='}, 'command': ['/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine', '/data/lutris/battlefield-1/drive_c/Program Files (x86)/Origin/OriginThinSetupInternal.exe']}
DEBUG    2018-05-19 13:26:27,693 [thread]:Command env: SDL_VIDEO_FULLSCREEN_DISPLAY="off" PULSE_LATENCY_MSEC="60" DXVK_HUD="1" DRI_PRIME="0" WINEDEBUG="-all" WINEARCH="win64" WINE="/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine" WINEPREFIX="/data/lutris/battlefield-1" WINEDLLOVERRIDES="d3d11,dxgi=n;nvapi64=" 
DEBUG    2018-05-19 13:26:27,693 [thread]:Running command: "/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine" "/data/lutris/battlefield-1/drive_c/Program Files (x86)/Origin/OriginThinSetupInternal.exe"
DEBUG    2018-05-19 13:26:27,693 [thread]:Storing environment variable SDL_VIDEO_FULLSCREEN_DISPLAY to off
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable PULSE_LATENCY_MSEC to 60
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable DXVK_HUD to 1
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable DRI_PRIME to 0
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable WINEDEBUG to -all
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable WINEARCH to win64
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable WINE to /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable WINEPREFIX to /data/lutris/battlefield-1
DEBUG    2018-05-19 13:26:27,694 [thread]:Storing environment variable WINEDLLOVERRIDES to d3d11,dxgi=n;nvapi64=
info:  Enabled instance layers:
info:  Enabled instance extensions:
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  GeForce GTX 1080:
info:    Driver: 396.24.0
info:    Vulkan: 1.1.70
info:    Memory Heap[0]: 
info:      Size: 8192 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:      Memory Type[8]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 48260 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[9]: Property Flags = 0x6
info:      Memory Type[10]: Property Flags = 0xe
info:  D3D11CreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
warn:  Vulkan extension VK_EXT_vertex_attribute_divisor not supported
warn:  Vulkan extension VK_KHR_maintenance2 not supported
info:  Enabled device extensions:
info:    VK_KHR_descriptor_update_template
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_maintenance1
info:    VK_KHR_shader_draw_parameters
info:    VK_KHR_swapchain
warn:  DxgiAdapter::QueryInterface: Unknown interface query
warn:  0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5
warn:  DxgiAdapter::QueryInterface: Unknown interface query
warn:  0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5
warn:  D3D11Device::GetDeviceRemovedReason: Stub
warn:  D3D11Texture2D::QueryInterface: Unknown interface query
warn:  035f3ab4-482e-4e50-b41f-8a7f8bd8960b
DEBUG    2018-05-19 13:26:29,886 [thread]:Start process monitoring
DEBUG    2018-05-19 13:26:29,886 [thread]:Processes monitored: OriginThinSetup (86873:S), Origin.exe (86911:S), OriginThinSetup (86873:S)
DEBUG    2018-05-19 13:26:31,891 [thread]:Processes monitored: OriginThinSetup (86873:S), Origin.exe (86911:S), QtWebEngineProc (86977:R), OriginThinSetup (86873:S), IGOProxy.exe (86951:S), IGOProxy.exe (86980:S), QtWebEngineProc (86982:S)
warn:  D3D11Texture2D::QueryInterface: Unknown interface query
warn:  9d8e1289-d7b3-465f-8126-250e349af85d
wine: Call from 0x7bc7aa09 to unimplemented function d3d11.dll.D3D11CoreCreateDevice, aborting
wine: Unimplemented function d3d11.dll.D3D11CoreCreateDevice called at address 0x7bc7aa09 (thread 0091), starting debugger...
wine: Call from 0x7bc7c10c to unimplemented function d3d11.dll.D3D11CoreCreateDevice, aborting
wine: Unimplemented function d3d11.dll.D3D11CoreCreateDevice called at address 0x7bc7c10c (thread 00bd), starting debugger...
DEBUG    2018-05-19 13:26:33,896 [thread]:Processes monitored: OriginThinSetup (86873:Z), Origin.exe (86911:S), QtWebEngineProc (86977:S), OriginThinSetup (86873:Z), IGOProxy64.exe (87262:S), QtWebEngineProc (86982:S), IGOProxy64.exe (87284:S)
DEBUG    2018-05-19 13:26:33,896 [thread]:Processes excluded: winedbg (87279:S)
DEBUG    2018-05-19 13:26:35,875 [thread]:Processes monitored: OriginThinSetup (86873:Z), Origin.exe (86911:S), QtWebEngineProc (86982:S)
DEBUG    2018-05-19 13:26:37,899 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), QtWebEngineProc (87351:S), QtWebEngineProc (87349:S), Origin.exe (86911:S), QtWebEngineProc (87353:t), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:39,919 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:R), QtWebEngineProc (87351:S), QtWebEngineProc (87349:S), Origin.exe (86911:R), QtWebEngineProc (87353:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:41,910 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:R), QtWebEngineProc (87353:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:43,910 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:R), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:45,915 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:R), QtWebEngineProc (87353:R), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:47,932 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:R), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:49,919 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:51,922 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:R), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:53,906 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:55,917 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:R), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:57,918 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:S), OriginClientSer (88973:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:26:59,911 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:S), OriginClientSer (88973:S), QtWebEngineProc (87321:S), touchup.exe (89270:S)
DEBUG    2018-05-19 13:27:05,903 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:R), QtWebEngineProc (87353:S), OriginClientSer (88973:S), QtWebEngineProc (87321:S), touchup.exe (89270:S)
DEBUG    2018-05-19 13:27:07,923 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:S), OriginClientSer (88973:S), QtWebEngineProc (87321:S), touchup.exe (89270:S)
DEBUG    2018-05-19 13:27:15,910 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), QtWebEngineProc (87353:S), OriginClientSer (88973:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:27:23,905 [thread]:Processes monitored: OriginThinSetup (86873:Z), QtWebEngineProc (87347:S), Origin.exe (86911:S), OriginClientSer (88973:S), QtWebEngineProc (87321:S)
DEBUG    2018-05-19 13:27:25,887 [thread]:Processes monitored: OriginThinSetup (86873:Z)
INFO     2018-05-19 13:27:27,465 [application]:Shutting down Lutris
INFO     2018-05-19 13:27:27,469 [lutriswindow]:Battlefield 1 is still running, stopping it

I am not entirely sure which version of Visual C runtime BF1 requires, This link points to it needing 2012 and 2013.

In order to manually install needed VC and .NET (try the VC first, you might not need the .NET libraries), right click your launcher in Lutris front page, run “winetricks” and use it to install the required VC runtimes into your bottle.

Still having issues, I try to install the VC-2012 and VC-2013 dll’s using winetricks, but both of them return with an exit code of 5. I tried to google around for this exit code, but I cannot find anything relating to wine.

I did find a post with the same exit code, but running on windows and that turned out to be an antivirus blocking the installation, but I’m guessing that is not happening here.

Log for VC-2012

DEBUG    2018-05-19 17:04:19,802 [thread]:Command env: WINEARCH="win64" WINE="/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine" WINEPREFIX="/data/lutris/battlefield-1" 
DEBUG    2018-05-19 17:04:19,802 [thread]:Running command: "/usr/share/lutris/bin/winetricks" "--unattended"
DEBUG    2018-05-19 17:04:19,802 [thread]:Storing environment variable WINEARCH to win64
DEBUG    2018-05-19 17:04:19,803 [thread]:Storing environment variable WINE to /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine
DEBUG    2018-05-19 17:04:19,803 [thread]:Storing environment variable WINEPREFIX to /data/lutris/battlefield-1
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180217-next - sha256sum: a05e185b4e21a7aab1bd1a66fe20ac4295bdf44cf85a955a4bc1e4cfb86dbf77 with wine-3.8 (Staging) and WINEARCH=win64
------------------------------------------------------
You are running winetricks-20180217-next, latest upstream is winetricks-20180513!
------------------------------------------------------
------------------------------------------------------
DEBUG    2018-05-19 17:04:21,980 [thread]:Start process monitoring
DEBUG    2018-05-19 17:04:21,980 [thread]:Processes monitored: winetricks (59153:S), None (59507:None)
You should update using your distribution's package manager, --self-update, or manually.
------------------------------------------------------
Gtk-Message: 17:04:23.549: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:04:24,000 [thread]:Processes monitored: winetricks (59153:S), winetricks (59952:S)
DEBUG    2018-05-19 17:04:24,000 [thread]:Processes excluded: sh (59954:S), zenity (59956:S), tr (59955:S)
Gtk-Message: 17:04:26.755: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:04:28,000 [thread]:Processes monitored: winetricks (59153:S), winetricks (60352:S)
DEBUG    2018-05-19 17:04:28,000 [thread]:Processes excluded: sh (60354:S), zenity (60356:S), tr (60355:S)
Gtk-Message: 17:04:27.817: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:04:31,981 [thread]:Processes monitored: winetricks (59153:S), winetricks (60386:S), None (61136:None), None (61137:None)
Gtk-Message: 17:04:32.685: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:04:33,984 [thread]:Processes monitored: winetricks (59153:S), winetricks (60386:S), grep (61604:S)
DEBUG    2018-05-19 17:04:33,984 [thread]:Processes excluded: sh (61602:S), zenity (61606:S), tr (61603:S), tr (61605:S)
Executing w_do_call vcrun2012
Executing load_vcrun2012 
Using native,builtin override for following DLLs: atl110 msvcp110 msvcr110 vcomp110
Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine regedit /S C:\windows\Temp\_vcrun2012\override-dll.reg
000b:fixme:winediag:start_process Wine Staging 3.8 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
DEBUG    2018-05-19 17:04:44,003 [thread]:Processes monitored: winetricks (59153:S), winetricks (61674:S), regedit (61703:S), regedit (61703:S), OriginWebHelper (61726:S)
0027:fixme:file:FindFirstFileExW flags not implemented 0x00000002
0027:err:wintab32:LoadTablet LoadTabletInfo(0x10030) failed
wine: Unhandled page fault on read access to 0x00000004 at address 0x1006b810 (thread 0027), starting debugger...
Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S C:\windows\Temp\_vcrun2012\override-dll.reg
Executing cd /home/username/.cache/winetricks/vcrun2012
Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine vcredist_x86.exe /q
003d:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0040:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0040:fixme:advapi:DecryptFileW (L"C:\\users\\username\\Temp\\{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}\\", 00000000): stub
003d:fixme:ole:CoInitializeSecurity (0x33f79c,-1,(nil),(nil),6,2,(nil),12288,(nil)) - stub!
0044:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng12.so.0
0044:fixme:shell:SHAutoComplete stub
------------------------------------------------------
Note: command /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine vcredist_x86.exe /q returned status 5. Aborting.
------------------------------------------------------
This option is not available. Please see --help for all possible usages.
DEBUG    2018-05-19 17:04:46,003 [thread]:Processes monitored: winetricks (59153:Z)
DEBUG    2018-05-19 17:04:47,996 [thread]:Waiting for processes to exit
DEBUG    2018-05-19 17:04:47,997 [thread]:Thread is no longer running
DEBUG    2018-05-19 17:04:47,997 [thread]:Restoring environment

Log for VC-2013

DEBUG    2018-05-19 17:17:35,463 [thread]:Command env: WINEARCH="win64" WINE="/home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine" WINEPREFIX="/data/lutris/battlefield-1" 
DEBUG    2018-05-19 17:17:35,463 [thread]:Running command: "/usr/share/lutris/bin/winetricks" "--unattended"
DEBUG    2018-05-19 17:17:35,464 [thread]:Storing environment variable WINEARCH to win64
DEBUG    2018-05-19 17:17:35,464 [thread]:Storing environment variable WINE to /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine
DEBUG    2018-05-19 17:17:35,464 [thread]:Storing environment variable WINEPREFIX to /data/lutris/battlefield-1
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180217-next - sha256sum: a05e185b4e21a7aab1bd1a66fe20ac4295bdf44cf85a955a4bc1e4cfb86dbf77 with wine-3.8 (Staging) and WINEARCH=win64
------------------------------------------------------
DEBUG    2018-05-19 17:17:37,662 [thread]:Start process monitoring
DEBUG    2018-05-19 17:17:37,663 [thread]:Processes monitored: winetricks (80953:S), None (81136:None)
You are running winetricks-20180217-next, latest upstream is winetricks-20180513!
------------------------------------------------------
------------------------------------------------------
You should update using your distribution's package manager, --self-update, or manually.
------------------------------------------------------
Gtk-Message: 17:17:39.256: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:17:39,662 [thread]:Processes monitored: winetricks (80953:S), winetricks (81590:S)
DEBUG    2018-05-19 17:17:39,663 [thread]:Processes excluded: sh (81592:S), zenity (81594:S), tr (81593:S)
DEBUG    2018-05-19 17:17:43,658 [thread]:Processes monitored: winetricks (80953:S), winetricks (81802:S), None (81862:None)
Gtk-Message: 17:17:43.798: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: 17:17:44.956: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:17:45,660 [thread]:Processes monitored: winetricks (80953:S), winetricks (81990:S)
DEBUG    2018-05-19 17:17:45,660 [thread]:Processes excluded: sh (81992:S), zenity (81994:S), tr (81993:S)
DEBUG    2018-05-19 17:17:49,648 [thread]:Processes monitored: winetricks (80953:S), winetricks (82171:S), None (82357:None)
Gtk-Message: 17:17:50.687: GtkDialog mapped without a transient parent. This is discouraged.
DEBUG    2018-05-19 17:17:51,664 [thread]:Processes monitored: winetricks (80953:S), winetricks (82171:S), grep (83039:S)
DEBUG    2018-05-19 17:17:51,664 [thread]:Processes excluded: sh (83037:S), zenity (83041:S), tr (83038:S), tr (83040:S)
Executing w_do_call vcrun2013
Executing load_vcrun2013 
Using native,builtin override for following DLLs: atl120 msvcp120 msvcr120 vcomp120
Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine regedit /S C:\windows\Temp\_vcrun2013\override-dll.reg
000b:fixme:winediag:start_process Wine Staging 3.8 is a testing version containing experimental patches.
DEBUG    2018-05-19 17:17:59,661 [thread]:Processes monitored: winetricks (80953:S), winetricks (83104:S), regedit (83133:S), regedit (83133:S)
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
0026:fixme:file:FindFirstFileExW flags not implemented 0x00000002
0026:err:wintab32:LoadTablet LoadTabletInfo(0x10030) failed
wine: Unhandled page fault on read access to 0x00000004 at address 0x1006b810 (thread 0026), starting debugger...
Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine64 regedit /S C:\windows\Temp\_vcrun2013\override-dll.reg
Executing cd /home/username/.cache/winetricks/vcrun2013
Executing /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine vcredist_x86.exe /q
003c:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
003c:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
003f:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
003f:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
003f:fixme:advapi:DecryptFileW (L"C:\\users\\username\\Temp\\{f65db027-aff3-4070-886a-0d87064aabb1}\\", 00000000): stub
003c:fixme:ole:CoInitializeSecurity (0x33f57c,-1,(nil),(nil),6,2,(nil),12288,(nil)) - stub!
0043:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng12.so.0
0043:fixme:shell:SHAutoComplete stub
------------------------------------------------------
Note: command /home/username/.local/share/lutris/runners/wine/staging-3.8-x86_64/bin/wine vcredist_x86.exe /q returned status 5. Aborting.
------------------------------------------------------
This option is not available. Please see --help for all possible usages.
DEBUG    2018-05-19 17:18:01,670 [thread]:Processes monitored: winetricks (80953:Z)
DEBUG    2018-05-19 17:18:03,667 [thread]:Waiting for processes to exit
DEBUG    2018-05-19 17:18:03,667 [thread]:Removing stdout monitor
DEBUG    2018-05-19 17:18:03,668 [thread]:Thread is no longer running
DEBUG    2018-05-19 17:18:03,668 [thread]:Restoring environment

Could this be an issue with 32-bit runtimes being installed by winetricks onto a 64-bit wine prefix? I’m not sure what to try here.

How do others install this game, are they doing a full download of the game after installing Origin?

Doing a complete re-download of BF1 solves this issue.