Project

General

Profile

Actions

Emulator Issues #5714

closed

[D3D9] Resizing window problem using Dx9 plugin

Added by hatarumoroboshi over 11 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
Category:
DX9
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

1) Game Name and ID (as it appears in right click > properties: "GZ2P01",
"RSBE01", etc):
many games (Batman Vengeance and Tales of Symphonia for example)

2) What is the expected output? What do you see instead?
I expect to stretch the window or go full screen without graphic glitches using Dx9 plugin.

3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.
The resizing of the window works correctly until r 3.0-97 included.
With r 3.0-135 (new shaderchache uids) you get the bug using the Dx9 plugin.
I couldn't find any revision between r3.0-97 and r3.0-135 (I think the gap is all covered by the shadercache merge)

4) What steps will reproduce the problem?

  1. Start for example Batman Vengeance (GC - GBVE41)
  2. Try to resize the game window or go full screen (ALT+ENTER)
  3. Watch a multicolor image instead of the game image (see attached links) - for other games it can be messed up letters (Metroid Prime) or a completely white screen (Tales of Symphonia)

5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar, etc)? Do not say 'latest version'
this changes multiple times a day.
On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.
r 3.0-831 on WinXP 32-bit, e8400, Amd 4850

6) Please provide any additional information below.
OpenGL isn't affected (don't know about Dx11 since I'm on WinXP)
With Batman Vengeance and Tales of Symphonia when you resize the window you get the bug and never get back to normal behaviour, with other games instead (like Metroid Prime for example) you get the bug but then after some screen images you come back to normal behaviour.
Some other games aren't affected at all.

7) Attachments. IMPORTANT! We have a limited storage quota on
GoogleCode, so please use a 3rd party host for screenshots or any other
files (http://min.us/ for example).

Here's the behaviour of Batman Vengeance (GBVE41) with Dx9 plugin

r3.0-97: http://imageupload.org/en/file/243395/r3.0-97.jpg.html
r3.0-97 stretched: http://imageupload.org/en/file/243396/r3.0-97-stretched-window.jpg.html

r3.0-135: http://imageupload.org/en/file/243397/r3.0-135.jpg.html
r3.0-135 stretched: http://imageupload.org/en/file/243398/r3.0-135-stretched-window.jpg.html

Actions #1

Updated by NeoBrainX over 11 years ago

Could you set the EnableShaderDebugging setting in the [Settings] section of your dx9 ini and check if any error messages pop up? You should have panic alerts enabled while testing this. The game should noticeably slow down, otherwise the feature has not been enabled properly.

Also, please use the git hashes from the about dialog, they are much more helpful than 3.0-xxx version numbers (which really are useless because I can't look up these with git nor with anything but delroth's table).

Actions #2

Updated by hatarumoroboshi over 11 years ago

Incredibly if I set the EnableShaderDebugging to True in the gfx_dx9.ini the issue doesn't show up anymore (this fixes the issue), so no error pops up.
Also the speed doesn't seem to drop very much.

r 3.0-97: revision 175ade74d74d9b4e33878b80c7134b9cbf3ea207

r 3.0-135: revision adef86c1ef29da8b51dc3c0a3dc3c296d62e13aa

Actions #3

Updated by NeoBrainX over 11 years ago

Uh, that's a good finding. But are you really sure that no message box pops up during emulation? Also, can you actually reproduce the issue reliably when that setting is not enabled?

EnableShaderDebugging isn't meant to fix bugs, so this really is a valid bug.. :p

Actions #4

Updated by hatarumoroboshi over 11 years ago

I confirm no message pop up during emulation even with EnableShaderDebugging enabled (True in gfx_dx9.ini).
When setting it to not enabled (False in gfx_dx9.ini) I can reproduce the bug 100% of times.

Actions #5

Updated by Billiard26 over 11 years ago

  • Issue type set to Bug
  • Category set to gfx
Actions #6

Updated by Sonicadvance1 about 11 years ago

  • Category changed from gfx to dx9
Actions #7

Updated by Autoran1 over 10 years ago

  • Status changed from New to Won't fix
Actions

Also available in: Atom PDF