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

Path Of Exile hard freeze using Wine Staging Gallium Nine #296

Open
forkbomb1 opened this issue Dec 8, 2017 · 19 comments
Open

Path Of Exile hard freeze using Wine Staging Gallium Nine #296

forkbomb1 opened this issue Dec 8, 2017 · 19 comments

Comments

@forkbomb1
Copy link

Since unknown version (haven't played a while) PoE freezes at either map loading screen or after up to minute of playing. The whole system becomes unresponsive and has to be hard-reset.
Haven't found anything of import in the logs.
I'm on OpenSuse Tumbleweed + Mesa 17.4-dev + Wine 2.21 Staging + Gallium Nine.

Other people are affected as well:
https://www.reddit.com/r/wine_gaming/comments/6xdb63/path_of_exile_with_215_gallium_nine_freezes_pc/

The game runs without Gallium Nine, albeit with subpar performance.

@fosspill
Copy link

I can confirm that I also experience this. Would be amazing to see this fixed.

@gemantzu
Copy link

gemantzu commented Dec 21, 2017

I can confirm this issue as well (Solus - Wine 2.21 staging + Gallium Nine + Mesa 17.3). GPU = Club 3D 7970/280x Royal Queen Ghz Edition (GCN 1.0)

@siro20
Copy link

siro20 commented Dec 21, 2017

Please always mention the card you are using. If on radeon please disable csmt using csmt_force=0.
Try to provide a full mesa debug log or backtrace.

@siro20
Copy link

siro20 commented Dec 21, 2017

Also an apitrace file that shows the issue is very helpful.

@gemantzu
Copy link

I just tested it again with the new wine-3.0-rc2 on Solus, kernel: 4.14.8-41.current.
ixni -F:
Graphics: Card: Advanced Micro Devices [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] Display Server: x11 (X.Org 1.19.5 ) drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon) Resolution: [email protected], [email protected] OpenGL: renderer: AMD Radeon HD 7900 Series (TAHITI / DRM 3.19.0 / 4.14.8-41.current, LLVM 5.0.0) version: 4.5 Mesa 17.3.1

What can I provide you with so you can find out what's going on?

@john-tho
Copy link

john-tho commented Jan 17, 2018

Not sure if the same issue, but:
I was getting freeze on second game area loading screen using DirectX9Ex
Example:
PathOfExile would load into town and function
Upon loading to enter hideout, game would freeze.

Using DirectX9 (not DirectX9Ex), or PathOfExile.exe --nodx9ex I did not experience my issue.

@fosspill
Copy link

fosspill commented Mar 5, 2018

--nodx9ex does not work for me, exact same full system freeze on both.
Exactly what logs would need to be provided to fix this issue?

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega 10 XT [Radeon RX Vega 64]
           Display Server: x11 (X.Org 1.19.6 ) drivers: amdgpu (unloaded: vesa) Resolution: [email protected]
           OpenGL: renderer: Radeon RX Vega (VEGA10 / DRM 3.23.0 / 4.15.7-1-MANJARO, LLVM 5.0.1)
           version: 4.5 Mesa 17.3.6

@gemantzu
Copy link

gemantzu commented Mar 6, 2018

Solus had mesa 18.0.0.rc for a few days and things somehow seemed to get even worse in that version. Idk why, but there was a rollback to 17.something.something, so will test again when 18 comes back.

@axeldavy
Copy link

axeldavy commented Mar 9, 2018

A hard freeze is very bad, but is hardly coming from gallium nine (more likely from the underlying driver).
It may be a shader compilation problem.

Please reproduce the freeze and give the log produced with R600_DEBUG=vs,ps NINE_DEBUG=all NINE_TGSI_DUMP=TRUE NINE_FF_DUMP=TRUE
To have NINE_DEBUG=all do anything you need mesa built with --enable-debug.

This should produce a huge log with all the shader codes and the last calls will be able to identify the shader with the hang.

@fosspill
Copy link

fosspill commented Mar 9, 2018

Where would this log be saved?

@axeldavy
Copy link

axeldavy commented Mar 9, 2018

R600_DEBUG=vs,ps NINE_DEBUG=all NINE_TGSI_DUMP=TRUE NINE_FF_DUMP=TRUE wine myapp.exe &> myhugelog

Then compress this file with maximum xz compression (xz -9) and post it on some big file sharing platform.

@gemantzu
Copy link

Dropbox Link
I don't know if this is what you want... Enabling Gallium Nine, halts the game in loading screen.

@kmk3
Copy link

kmk3 commented May 13, 2018

Hello, I had the same issue (system freeze, needing hard-reset) in the hideout
with mesa 17.2+ and radeonsi on Manjaro, but it seems to be resolved as of mesa
17.3.8.

I would suggest to try with the latest packages and see if it works again.

Upstream bug:
https://bugs.freedesktop.org/show_bug.cgi?id=103246

Packages (as of the last test):
linux416 4.16.4-1

lib32-llvm-libs 6.0.0-1
llvm-libs 6.0.0-4

lib32-mesa 18.0.1-1
lib32-mesa-vdpau 18.0.1-1
libva-mesa-driver 18.0.1-1
mesa 18.0.1-1
mesa-vdpau 18.0.1-1

wine-gaming-nine 3.7-1

@montvid
Copy link

montvid commented Feb 11, 2019

Does not seem to work with padoka ppa unstable mesa 19.1 git. Some areas load but some don't using the gallium nine standalone build. Wine 4.0 4.1 staging emulation crashes the game, gallium nine does not - - the game disconnects from the server back to game intro screen.

Can anyone confirm that PoE works with gallium nine/standalone in dx9 and what wine version?

DXVK 0.96 runs fine in all areas but for me it seems gallium nine gives more fps. :)

@gemantzu
Copy link

Coming next patch, ggg will drop support for DX9 and WinXP, so we will probably have only DXVK to work with. Gallium nine only works with dx9, right? Source: PoE Announcement

@montvid
Copy link

montvid commented Feb 11, 2019

@gemantzu well it is interesting enough why gallium nine(g9) does not like to work with PoE. If it is a bug in g9 it could improve other games too.

@gemantzu
Copy link

@montvid I think that it has to do with their engine (custom made), let's see how things play out now that they will ditch dx9 and dx11 is the only option.

@kmk3
Copy link

kmk3 commented Mar 14, 2019

For me, it is back to freezing the entire computer after walking for a few
seconds. I tried for weeks to make it work, but I found it impossible to
debug. It happens both on radeon and amdgpu, on wine and wine-staging and on
GCN 1.0 and polaris.

I gave up and am using dxvk now. The fps is lower and I have to compile
llvm-svn and mesa-git, but at least I don't have to hard-reset. Also, since
v1.0, there is a lot less stuttering.

@gemantzu
Copy link

Yup, since they cut down dx9, the game only runs on dx11 and as it seems, this is not viable atm for poe. So dxvk it is, others on reddit told me that they had some success with it.

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

No branches or pull requests

8 participants