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

Warcraft III 2019 build (not Reforged) #1253

Closed
ChazyTheBest opened this issue Nov 24, 2019 · 15 comments
Closed

Warcraft III 2019 build (not Reforged) #1253

ChazyTheBest opened this issue Nov 24, 2019 · 15 comments
Labels

Comments

@ChazyTheBest
Copy link

ChazyTheBest commented Nov 24, 2019

The new 2019 build (not game) of Warcraft III The Frozen Throne freezes when you enter in the options window and click cancel, it also happens once you start a new game, when you click options and then cancel the screen turns black for a second and then comes back but frozen with the cursor clicking the button.

For example: Options -> Video -> Cancel, when the screen turns black but you don't hear the chains sound you know it crashed. It may not crash/freeze always, while testing I noticed once didn't happened, it also doesn't crash when you go to Options and just click Cancel.

Windowed mode (not fullscreen) works fine.

Software information

Warcraft III (1.31.1.12164 x86_64) default and all high, 1920x1080x75 fullscreen and windowed fullscreen.

System information

  • GPU: RX 480 8GB
  • Driver: amdgpu (free) 19.2.6
  • Wine version: 4.20 (staging)
  • DXVK version: 1.4.4 and 1.4.5 (both compiled and tested)

Apitrace file(s)

  • Put a link here

Log files

This wasn't included in the log (console output):

003d:fixme:thread:SetThreadDescription (FFFFFFFFFFFFFFFE L"dxvk-shader"): stub
003e:fixme:thread:SetThreadDescription (FFFFFFFFFFFFFFFE L"dxvk-shader"): stub
003f:fixme:thread:SetThreadDescription (FFFFFFFFFFFFFFFE L"dxvk-writer"): stub
0040:fixme:thread:SetThreadDescription (FFFFFFFFFFFFFFFE L"dxvk-submit"): stub
warn:  DXG0041:fixme:thread:SetThreadDescription (FFFFFFFFFFFFFFFE L"dxvk-queue"): stub
I: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
0042:fixme:thread:SetThreadDescription (FFFFFFFFFFFFFFFE L"dxvk-cs"): stub
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1920x1080
info:    Image count:  4
warn:  DXGI: MakeWindowAssociation: Ignoring flags
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_FIFO_KHR
info:    Buffer size:  1920x1080
info:    Image count:  4
0046:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0000000003ABFD28): stub
002b:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
002b:err:secur32:schan_free_handle Handle 0(0xa1a10) is not of type 0x1
002b:err:secur32:schan_free_handle Handle 1(0xa1a20) is not of type 0x1
002b:fixme:setupapi:SetupDiOpenDeviceInterfaceW 0000000001778A60 L"\\\\?\\DISPLAY#Default_Monitor#0000&0000#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}" 00000000 000000000022BFE0
002b:err:secur32:schan_free_handle Handle 2(0xa1a30) is not of type 0x1
002b:err:secur32:schan_free_handle Handle 3(0xa1a40) is not of type 0x1
002b:fixme:setupapi:SetupDiOpenDeviceInterfaceW 0000000001F818F0 L"\\\\?\\DISPLAY#Default_Monitor#0000&0000#{e6f07b5f-ee97-4a90-b076-33f57bf4eaa7}" 00000000 000000000022BFE0
002b:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23
@K0bin
Copy link
Collaborator

K0bin commented Nov 24, 2019

Apitrace file(s)

  • Put a link here

There's a reason why that's in the issue template. Please make an apitrace.

@doitsujin
Copy link
Owner

Is this the same game (and problem) as #1252?

@Thaodan
Copy link

Thaodan commented Nov 24, 2019

Yes its Warcraft 3 Reforged, Warcaft 3 original used d3dx9.

@doitsujin
Copy link
Owner

Considering that you're not getting any DXGI errors and the game seems to crash before even creating a swap chain, there are likely issues on your setup in addition to the DXVK problem. Closing as duplicate of #1252 .

@ChazyTheBest
Copy link
Author

@Thaodan No, Warcraft 3 classic/original got an update to support x86_64 and dx11, you can check the latest build is: 1.31.1.12164 x86_64 Jun 5 2019.
@doitsujin This is not the new Reforged remake. I am talking about the 2002 game Warcraft 3.

Does no one have this game to check it out? I can provide a screenshot:

Screenshot_20191124_221608

@doitsujin doitsujin reopened this Nov 24, 2019
@doitsujin
Copy link
Owner

doitsujin commented Nov 24, 2019

I am talking about the 2002 game Warcraft 3.

Why does that game even support D3D11? Did they remove D3D9 support or is that still an option?

If so, I'd suggest using D3D9 instead. I can't debug this without an apitrace and I don't have the game. Or try D3D11 with wined3d and see if that works. There's currently nothing for me to work with.

Edit: Tagging as a DXGI issue since you mentioned windowed mode.

@doitsujin doitsujin added dxgi and removed duplicate labels Nov 24, 2019
@Thaodan
Copy link

Thaodan commented Nov 24, 2019 via email

@Oschowa
Copy link
Contributor

Oschowa commented Nov 24, 2019

@ChazyTheBest So i downloaded the game with the battle.net app, but i can't figure out how to actually launch the game. Running either x86_64/Warcraft III.exe or Warcraft III Public Test Launcher.exe just exit immediately, and it doesn't even show up in the battle.net app itself.

@ChazyTheBest
Copy link
Author

ChazyTheBest commented Nov 24, 2019

Why does that game even support D3D11? Did they remove D3D9 support or is that still an option?

@doitsujin I don't know, I was about to read the patch notes: https://wow.gamepedia.com/Warcraft_III/Patch_1.31.0
Looks like D3D9 is still an option:

Removed: -d3d (Replacement: -graphicsapi Direct3D9 [May be removed in the future])

Or try D3D11 with wined3d and see if that works.

I tried but I get a black window with sound.

I mean, the game works fine in windowed mode (not fullscreen) no crashes here. The crashes are specific to clicking cancel in fullscreen mode (windowed or not). The game is perfectly playable either way (trying not to trigger it), I just wanted to report this weird crash. I'll try and make an apitrace.

It should even have a opengl switch if I remeber corectly

@Thaodan Yes, it's in the patch notes:

Remvoed: -opengl (Replacement: -graphicsapi OpenGL [May be removed in the future])

So i downloaded the game with the battle.net app, but i can't figure out how to actually launch the game. Running either x86_64/Warcraft III.exe or Warcraft III Public Test Launcher.exe just exit immediately, and it doesn't even show up in the battle.net app itself.

@Oschowa Hmm I didn't do anything special, just compile dxvk and install it in a new prefix. I always enable the 2 options from staging: enable VAAPI and EAX. And also run the 64 bits binary:

runaswine /home/GAMES/Warcraft\ III/x86_64/Warcraft\ III.exe

@Oschowa I just noticed you're using the PTR. Maybe it doesn't work with the beta build. Try the stable one.

@nvaert1986
Copy link

nvaert1986 commented Dec 3, 2019

The Reforged Multiplayer Beta actually stopped working ~ 1,5 - 2 weeks ago after the last Night Elf patch (they were added as a playable race in the Beta). The -graphicsapi OpenGL did resolve the issue either The dxvk-1.4.6 release resolved the issue with the beta, by adding the required features and is now working perfectly again with the Reforged Beta.

EDIT: Actually had a boost boost of 8 - 10 FPS too, so the patch must've improved things and perhaps added some DirectX 12 stuff indeed.

Thanks! It's appreciated :-)

@ChazyTheBest ChazyTheBest changed the title Warcraft III 2019 build Warcraft III 2019 build (not Reforged) Dec 5, 2019
@RevenantX
Copy link

@ChazyTheBest So i downloaded the game with the battle.net app, but i can't figure out how to actually launch the game. Running either x86_64/Warcraft III.exe or Warcraft III Public Test Launcher.exe just exit immediately, and it doesn't even show up in the battle.net app itself.

You cannot install old Warcraft III from battle.net app (from app - only Reforged). To buy and install old Warcraft III you need buy it from battle.net shop and download original installers for Reign of Chaos and Frozen Throne.

@avindra
Copy link

avindra commented Nov 26, 2020

Sharing finding from the other thread here: this game used DirectX 8 before the 1.31 patch:

#1808 (comment)

Also the game's OpenGL backend is as raggedy as it was since the early 2000s. I barely get 20FPS on a Threadripper + 1080Ti build with Warcraft's OpenGL renderer.

The DirectX backends don't have this issue, so it's best to try to get it working properly (via dxvk).

A telltale sign is no logs from DXVK during startup, and DXVK_HUD=1 having no effect. That means you fell into the OpenGL renderer.

@Blisto91
Copy link
Contributor

@ChazyTheBest @avindra is this still an issue? If you are still around and able to test this.

@K0bin
Copy link
Collaborator

K0bin commented Oct 6, 2022

Stale

@K0bin K0bin closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2022
@Blisto91
Copy link
Contributor

Blisto91 commented Oct 6, 2022

Also wasn't able to reproduce with the same warcraft version and newest dxvk or 1.4.5
If any of you still have the issue then comment here again.

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

9 participants