protonscr

far mod requires DxgiAdapter::RegisterVideoMemoryBudgetChangeNotificationEvent

dxvkclosed dxgi
doitsujin/dxvk#1544 · opened 2020-04-02 by soredake · updated 2020-04-03 · 11 comments · github
Ssoredake 2020-04-02 github

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.

Reports with no log files will be ignored.

Software information

Nier Automata, far mod, proton

System information

  • GPU: rx 560
  • Driver: Mesa 20.0.3
  • Wine version: proton-tkg latest
  • DXVK version: 1.6

Apitrace file(s)

  • Put a link here

Log files

logs from FAR mod:
crash.log
dinput8.log
modules.log
steam_api.log

related pr https://source.winehq.org/patches/data/174998

Ddoitsujin maintainer 2020-04-02 github

You can use wine's DXGI implementation with DXVK, which Proton already does by default. I'm not sure if this is worth implementing on our end given that it is poorly documented, a lot of work, and not used by any actual game I'm aware of.

Ssoredake 2020-04-02 github
Ddoitsujin maintainer 2020-04-02 github

You can compile wine yourself. That's certainly going to be faster than me spending the next couple of days to figure out how exactly this function is supposed to even work.

Ddoitsujin maintainer 2020-04-02 github

I think one of the main problems is going to be that DXVK's memory management doesn't work at all like memory management works on Windows. It is certainly possible to impement this, but it will behave differently from Windows and will almost certainly lead to unexpected behaviour.

Rewriting all of DXVK's memory management to resemble that of Windows is obviously not an option either.

Ssoredake 2020-04-02 github

Ok, i'll ask tkg to rebase this patch.

Ddoitsujin maintainer 2020-04-03 github

Ok, apparently I misunderstood what this method is supposed to do and it's actually a lot simpler than expected. No idea if FAR works, but I guess it's implemented now.

Ssoredake 2020-04-03 github

@doitsujin thanks, it goes forward, even displays some ui, but still crashes after seconds
Screenshot_20200403_101348

warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  b18b10ce-2649-405a-870f-95f777d4313a
warn:  D3D11DXGIDevice::QueryInterface: Unknown interface query
warn:  d0223b96-bf7a-43fd-92bd-a43b0d82b9eb
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported
warn:  D3D11Device::CreateShaderModule: Class linkage not supported

dxvk+lutris+far logs:
NieRAutomata.tar.gz

PpopsUlfr 2020-04-03 github

This is interesting. Have you seen the guide by MiyacoGBF ?

https://gist.github.com/MiyacoGBF/6fd49ae4a73a9a7f4d13c488bff2da77

I haven't had any luck myself making it work in-game though. But the FAR GUI displays and is usable in the main menu at least.

Ssoredake 2020-04-03 github

Awesome, it works for me even in-game
Screenshot_20200403_122517

Ssoredake 2020-04-03 github

Nothing extracted yet.