Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

far mod requires DxgiAdapter::RegisterVideoMemoryBudgetChangeNotificationEvent #1544

Closed
soredake opened this issue Apr 2, 2020 · 11 comments
Closed
Labels

Comments

@soredake
Copy link

soredake commented Apr 2, 2020

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

@doitsujin
Copy link
Owner

doitsujin commented Apr 2, 2020

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.

@doitsujin doitsujin added the dxgi label Apr 2, 2020
@soredake
Copy link
Author

soredake commented Apr 2, 2020

@doitsujin
Copy link
Owner

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.

@doitsujin
Copy link
Owner

doitsujin commented Apr 2, 2020

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.

@soredake
Copy link
Author

soredake commented Apr 2, 2020

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

@doitsujin
Copy link
Owner

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.

@soredake
Copy link
Author

soredake commented Apr 3, 2020

@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

@popsUlfr
Copy link

popsUlfr commented Apr 3, 2020

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.

@soredake
Copy link
Author

soredake commented Apr 3, 2020

Awesome, it works for me even in-game
Screenshot_20200403_122517

@soredake
Copy link
Author

soredake commented Apr 3, 2020

@soredake
Copy link
Author

soredake commented Apr 3, 2020

note: i tested with dxvk dxgi with this commit 079cda1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants