Project

General

Profile

Actions

Emulator Issues #10222

closed

Nvidia 3D Vision may be selected on computers without 3D vision tech

Added by MayImilae about 7 years ago. Updated almost 4 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-10945

Description

A user on the forums somehow managed to turn on 3D Vision even though they do not have any 3D Vision gear, resulting in everything they saw being from the left viewport. Even switching to OpenGL (which doesn't support 3D Vision) didn't fix the bug! This got me curious, and I looked into it, and wow what a bug!

To make the Nvidia 3D Vision option appear on a system that doesn't have the 3D Vision enabled, follow these steps:

  1. Have an Nvidia GPU.
  2. Open the graphics config and set the backend to D3D11. Feel free to look at enhanced tab and note that 3D Vision does not appear in the stereoscopy dropdown.
  3. Close Dolphin.
  4. Reopen Dolphin, and without opening the graphics config, run a game.
  5. Now with a game running, open to the graphics config, and expand the stereoscopy dropdown, and there it is! Nvidia 3D Vision. Turn it on for some shenanigans!
  6. You can now switch to OpenGL and see the shenanigans are still happening! And the 3D Stereoscopy dropdown appears blank.

Attached are images of my reproduction of the bug. The first image is D3D, and the second is OpenGL.


Files

3dvisionbug.png (301 KB) 3dvisionbug.png 3D Vision selected on a system without 3D Vision gear, D3D MayImilae, 04/19/2017 07:07 AM
3dvisionbugogl.png (267 KB) 3dvisionbugogl.png 3D Vision selected on OpenGL. Since OGL doesn't support it it appears as blank, but 3D options still effect the image. MayImilae, 04/19/2017 07:38 AM
leftviewportonly.png (1.25 MB) leftviewportonly.png Shows the bug in action in OpenGL. Everything is from the left viewport, with 3D settings maxed it is very apparent! MayImilae, 04/19/2017 07:57 AM
Actions #1

Updated by MayImilae about 7 years ago

Apparently you don't even need an Nvidia GPU for this, since Dolphin doesn't actually check if you support 3D vision. Wow. So um, all you need is Windows and D3D11 or D3D12.

Actions #2

Updated by MayImilae about 7 years ago

So apparently this issue occurs because Nvidia 3D vision is enabled in both of the D3D backends at all times, regardless of whether or not you have the hardware necessary to use it. This is because opening the graphics window only hides the 3D Vision option instead of destroying it, due to the video configuration window's local configuration object only being copied on window creation.

If you open the video config window prior to having started a game at all, then the 3D vision option will be hidden and never appear (whether or not you support it!) but if you start a game prior to opening the configuration window, as long as it has already been set to D3D, you'll be able to see and select 3D Vision. If you select 3D Vision, the option will persist even if you change video backends to OpenGL, even though the OGL backend does not support it (See the second attached image).

To fix these issues, the following will need to be completed:

When the video configuration window is opened, it needs to reload the global configuration object into it's local configuration object each time rather than video config window object instantiation.

Proper detection of 3D Vision (and all other backend specific features).

Nvidia 3D Vision should not be available, hidden or otherwise, on backends that don't support it.

Small note: if you actually want to USE 3D Vision, you have to follow the reproduction steps above. Crazy!

Actions #4

Updated by JosJuice about 7 years ago

  • Milestone set to Current
Actions #5

Updated by degasus about 7 years ago

Sounds like two bugs for me:
VideoCommon for not clearing this option if this feature is not available.
D3D for invalid reporting of this feature,

Actions #6

Updated by MayImilae about 7 years ago

  • Status changed from New to Accepted
Actions #7

Updated by Lioncash about 7 years ago

  • Assignee set to Lioncash

Assigning myself to this. I meant to check this out yesterday, but more work stuff came up. Will look into it tonight (for real this time!).

Actions #8

Updated by Miksel12 almost 4 years ago

3DVision has been removed from Dolphin and has been/will be deprecated by Nvidia so I guess this issue can marked invalid.

Actions #9

Updated by JosJuice almost 4 years ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-10945
Actions

Also available in: Atom PDF