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

[Dd7to9] [Plants vs. Zombies] Toggling full-screen crashes the game, but not with DXVK. #334

Open
Windowslover1234 opened this issue Jan 18, 2025 · 0 comments

Comments

@Windowslover1234
Copy link

Notes

Alright, It's been a while, but I found another bug, Toggling Fullscreen causes a crash, but this is fixed using DXVK.

Steps to reproduce:

  1. Open the game
  2. Toggle Fullscreen (Either in or out, doesn't matter)
  3. If possible, Quit the Game

The Issue

Seems to get to:

3756 16:40:24.075 Direct3D9SetSwapEffectUpgradeShim Calling 'Direct3D9SetSwapEffectUpgradeShim' ... 0
3756 16:40:24.075 Redirecting 'DirectDrawCreate' IID_IDirectDraw7 to --> 'Direct3DCreate9'
3756 16:40:24.075 Creating interface m_IDirectDrawX::m_IDirectDrawX (05AE67C0) converting interface from v7 to v9
3756 16:40:24.075 Redirecting 'Direct3DCreate9' ...
3756 16:40:24.154 Creating interface m_IDirect3D9Ex::m_IDirect3D9Ex (0A7B6558) IID_IDirect3D9
3756 16:40:24.154 WndProc::AddWndProc Creating WndProc instance! WND(004C033A,MainWindow,{0,0,800,600})
3756 16:40:24.156 m_IDirectDrawX::CreateD3D9Device Direct3D9 device! 1600x900 refresh: 0 format: D3DFMT_X8R8G8B8 wnd: WND(004C033A,MainWindow,{0,0,800,600}) params: {1600,900,D3DFMT_X8R8G8B8,1,0,0,1,WND(004C033A,MainWindow,{0,0,800,600}),0,0,D3DFMT_UNKNOWN,0x0,0,0x80000000} flags: 0x46
3756 16:40:24.156 UpdatePresentParameter Removing window WS_EX_TOPMOST
3756 16:40:24.226 Creating interface m_IDirect3DDevice9Ex::m_IDirect3DDevice9Ex (1FABFC20) IID_IDirect3DDevice9
3756 16:40:24.228 m_IDirectDrawX::CreateSurface2 Primary surface 0x0 dwFlags: 0x21 ddsCaps: 0x2238, 0x0, 513
3756 16:40:24.230 Creating interface m_IDirect3DVertexBuffer9::m_IDirect3DVertexBuffer9 (0A7B6AF8)

And crashes. No idea how DXVK Fixes this.

Versions:

Both v1.1.7122.22 (No Scaling Optimizations) and v1.1.7134.22 (Scaling Optimizations).

Logs:

I don't know if these will help, but I might as well give them to you.
With DXVK.log Without DXVK.log

Config:

Only Dd7to9=1

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

1 participant