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

EverQuest: Frequent crashes after client update to DX11 #3804

Open
rennil42 opened this issue Jan 18, 2024 · 21 comments
Open

EverQuest: Frequent crashes after client update to DX11 #3804

rennil42 opened this issue Jan 18, 2024 · 21 comments

Comments

@rennil42
Copy link

EverQuest has run on DX9 for many years with great performance on Linux with DXVK. On 2024-01-17 they rolled out an update to use DX11 which causes frequent crashes.

Software information

EverQuest - when loading into the zone called Laurion Inn the game consistently crashes for me on the loading screen. The game log dbg.txt is linked under log files.
This is the lines in the game log file I suspect:
[Thu Jan 18 15:42:58 2024]:UNSUPPORTED: FromDX11( DXGI_FORMAT ) - Unknown format 98
[Thu Jan 18 15:42:58 2024]:UNSUPPORTED: ComputeTextureSize() - Unknown format 98
[Thu Jan 18 15:43:19 2024]00747:Dump generation request succeeded: C:\Crash\76840a7b-e13c-4746-9cb1-c4db1a449add.dmp
[Thu Jan 18 15:43:19 2024]00748:Fatal error occurred in mainthread! (Release Client #630)

It makes reference to a generated dump, however I am not finding that dump anywhere on my system. Not sure if that would that been useful either.

System information

  • GPU: AMD 7900XTX
  • Driver: radv - Mesa 23.3.2-1pop0170423832122.04~36f1d0e
  • Wine version: 9.0.0
  • DXVK version: 2.3

Apitrace file(s)

Crash only happens with DXVK installed. Is it still meaningful to do an apitrace with DXVK disabled? With WineD3D the game is missing most textures and is mostly unplayable.
apitrace with DXVK enabled: https://mega.nz/file/0eME3Y6Y#qtOwEi7gx7JnRVssl5zo4LZY_oot9RAgz9SeOmYv8nQ

Log files

Wine stdout+stderr log: https://mega.nz/file/xbdBXAzA#vcdwgiRMC0Hg69GZnI1R6nFOkodBad9yWyzk_rPEGzI
EQ game log with some crash info: https://mega.nz/file/ce0FSSxL#o_G8KIu4u5z3j7SaqgMqMBlbknoNNKicOeV8RqM_aNQ

@pbulat
Copy link

pbulat commented Jan 18, 2024

I'm experiencing the exact same bug with the two same UNSUPPORTED lines in the EverQuest log file. This bug is not specifically related to the Laurion Inn zone from the latest expansion, it looks like it could happen anywhere, sometimes entering the zone crashes the client, and sometimes it works fine. This might be related to some specific texture (illusion spell ?) on a player character present in that zone at that time.

Playing on Steam with Proton Experimental but I have the same issue using Bottles with DXVK 2.3.

GPU: AMD Radeon™ RX 6600

@ryao
Copy link
Contributor

ryao commented Jan 18, 2024

This is the lines in the game log file I suspect:
[Thu Jan 18 15:42:58 2024]:UNSUPPORTED: FromDX11( DXGI_FORMAT ) - Unknown format 98
[Thu Jan 18 15:42:58 2024]:UNSUPPORTED: ComputeTextureSize() - Unknown format 98
[Thu Jan 18 15:43:19 2024]00747:Dump generation request succeeded: C:\Crash\76840a7b-e13c-4746-9cb1-c4db1a449add.dmp

Format 98 is DXGI_FORMAT_BC7_UNORM, which is a texture compression format. The game log file lines you provided were generated by the game itself, since I cannot find anything in either wine or dxvk's source tree that would print those lines.

Crash only happens with DXVK installed.

Assuming that you are using proton, I wonder if using WINEDLLOVERRIDES=dxgi=n %command% in your launch options makes any difference.

Is it still meaningful to do an apitrace with DXVK disabled? With WineD3D the game is missing most textures and is mostly unplayable.

One of the contributors who looks at apitrace files might find it helpful.

@Blisto91
Copy link
Contributor

Blisto91 commented Jan 19, 2024

In regards to the apitrace then when a crash is involved it is usually preferred to make it without dxvk with the assumption that it will then crash the same when replayed with dxvk later. Though sometimes that isn't the case, or possible, and then one with dxvk might be fine too or one of each for comparison.
But i will let the devs comment if the trace is fine.

@ryao
Copy link
Contributor

ryao commented Jan 19, 2024

@rennil42 @pbulat Would either of you be able to confirm/deny whether using WINEDLLOVERRIDES=dxgi=n %command% in your launch options makes any difference?

@pbulat
Copy link

pbulat commented Jan 19, 2024

I tried yesterday and still crashed.

@doitsujin
Copy link
Owner

Is the game 32-bit only? If so, there's a good chance it's just running out of address space.

The logs don't really point to anything specific.

@pbulat
Copy link

pbulat commented Jan 23, 2024

It's 64-bit only since february 2022.

@rennil42
Copy link
Author

How about the apitrace, did that provide any information? Is there anything else we can provide?

@xaldaren
Copy link

xaldaren commented Feb 6, 2024

Having the same issue/errors but with a 3070ti and on garuda arch linux. Steam, Lutris, Wine all do the same.

@Blisto91
Copy link
Contributor

Blisto91 commented Feb 6, 2024

@rennil42 Could you make a apitrace with wined3d? Just in the area it most consistently crashes getting past the point where it usually does. If you are able to despite the graphical errors

@Earthling-Z3R0
Copy link

Exact same issue here. For me the game crashes to desktop when I zone into PoK (a hub where many players hang out and each of them might have a lot of individual textures going -- think WoW transmog if you don't know EverQuest).

FWIW, some GIMP users are having the same issue:
https://old.reddit.com/r/skyrimmods/comments/m5ottd/dds_unsupported_dxgi_format_98_error/
https://stackoverflow.com/questions/64663216/how-can-i-resolve-dxgi-format-compatibility-issues
https://gitlab.gnome.org/GNOME/gimp/-/issues/5411

(Maybe a quick glance by a dev at those links might helpfinding the culprit.)

@K0bin
Copy link
Collaborator

K0bin commented Feb 6, 2024

FWIW, some GIMP users are having the same issue:

That texture format log has to be a game problem. DXGI Format 98 is DXGI_FORMAT_BC7_UNORM and DXVK supports that just fine. A lot of games use it without any issues too.
GIMP having problems with that format is pretty meaningless for us.

@rennil42
Copy link
Author

rennil42 commented Feb 7, 2024

@Blisto91 I have tried with no luck to get EQ to run with WineD3D and apitrace but I can't get the game to launch at all. I think I have found a zone where I can reliably recreate a crash so I will try tomorrow to see if I can run an apitrace on Windows 10 (not happy about booting up that mess).

I did create a clean wineprefix for the apitrace testing (only installed corefonts with winetricks) to avoid any presence of DXVK or other conflicting libraries. Interestingly I get most textures rendered with this and no crashes. I may have to do more testing. Maybe @pbulat or one of the other Linux EQ players can test this as well? (Wine 9.0 from WineHQ)

@Blisto91
Copy link
Contributor

Blisto91 commented Feb 26, 2024

@rennil42 were you able to make any progress on a apitrace without dxvk?
Or did it solve itself with a clean prefix

@Earthling-Z3R0
Copy link

The error (CTD) keeps popping up randomly for me. Also in a fresh prefix. It might be related to a certain texture worn by a player showing up in that zone when they log in.

@rennil42
Copy link
Author

@Blisto91 I can play the game with poor performance without DXVK with a clean prefix and only installing corefonts. The crash keeps happening with DXVK.
To reproduce it today in an attempt to ensure that I would capture things in Windows with apitrace enabled, I did the following.

  • On Linux laptop

    • Fresh prefix (with corefonts)
    • install DXVK 2.3
    • log into game and wait for a crash
  • On Windows Desktop

    • With apitrace
    • different account

Once I experienced a crash on the laptop I started logging in on the desktop computer and the laptop again. Both characters logged into the game and I waited 7-8 min before the crash happened on the laptop. I gave it a few sec before I quit out on the Windows computer. I agree with people that it is probably a character/pet/mount texture causing the crash since it is so intermittent.

Here is the new apitrace from Windows: https://mega.nz/file/FOEgGTDT#a5jWfAHGsGeWmZYlBzqnRQC-lnsD9LEeWSXoRnNYheE
(It contains 4 trace files as that was what was created when starting the game but I would expect that it is only the 1.7GB one that is interesting)

Let me know if there is anything else I can gather or test.

@Blisto91
Copy link
Contributor

@rennil42 Thank you very much for the valiant attempt. I am sad to say though that i do not see a crash when replaying that trace.
Here when i have some time i will try testing in game again. I have played quite as a lot as a new low level character without encountering anything, but i will look in to getting a Level 100 character with access to those zones.

@Earthling-Z3R0
Copy link

I'd bet you don't need a level 100 character. Just make a level 1 character and go to the Guild Lobby. That's where idle people are hanging out on live servers (which don't require a subscription) to get buffs while AFK. Chances are high someone with the presumably "bad texture" will appear there at one point. I got the error in the Guild Lobby on a live server.

I usually play on Agnarr server though and there is no Guild Lobby for me. People are hanging out in Plane of Knowledge and this is where the error occurrs for me 90%+ of the time. The other times are Plane of Tranquility or The Bazaar. All kinda idle zones. Error never popped up while I was out in a combat zone. (Way fewer players, especially on the low population Agnarr server.)

@Blisto91
Copy link
Contributor

Understood. Will see if i can figure it out 😁

@Earthling-Z3R0
Copy link

When I start the game using WINEDLLOVERRIDES="d3d11=b;dxgi=b" the error does not occur.

I toggled back and forth. I crash immediately in bazaar zone without the override.
I do not crash with the override set. Tried 6 times to verify. Hope this helps!

@doitsujin
Copy link
Owner

doitsujin commented Mar 11, 2024

I'm honestly just at a loss here. Game deliberately (and successfully) creates a BC7 texture and then complains that it doesn't know how to deal with BC7 textures. No idea why it doesn't do this on wined3d, there are no related feature queries or anything, but DXVK is really just doing what it's told here.

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