Project

General

Profile

Actions

Emulator Issues #8931

closed

Bounding box emulation only works when SSBO is supported

Added by Megadardery over 8 years ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

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

Description

Due to the new hardware bbox emulation replacement, Many users with semi-old GPUs that do not support this feature, and even users with GPUs that support it but run it very slow are not going to be able to use the latest revisions. Even though some users with New GPUs should have gained a performance boost, others lost the whole feature.

I know that the old bbox emulation was hacky, and it was dropped because it was hard to maintain. But I guess if an option was made: "Use software hacky bbox emulation" with the tooltip: "This is a compatibility option, if the bbox is not emulated on your hardware correctly use this option. Please do not report any bugs that occur with this option. Default: off" or something like that.


Related issues 12 (0 open12 closed)

Has duplicate Emulator - Emulator Issues #9153: White shadow appears againDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9460: [BBox not working recent builds)]Duplicate

Actions
Has duplicate Emulator - Emulator Issues #9473: Open GL fixes not working on OSXDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9805: Paper Mario: The Thousand-Year Door SoftlockDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9530: Rendering glitches in Paper Mario TTYD on OS XDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9963: there is a white shadowDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9791: Paper Mario TTYD crashes after prologue screenDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9393: Re-Bug Paper MarioDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9405: Many areas are unplayableDuplicate

Actions
Has duplicate Emulator - Emulator Issues #10017: Crash in Super Paper Mario IntroDuplicate

Actions
Has duplicate Emulator - Emulator Issues #10385: Game won't exit cutscene?Duplicate

Actions
Has duplicate Emulator - Emulator Issues #10488: Super Paper Mario stopping and buzzing thru the opening cutscenesDuplicate

Actions
Actions #1

Updated by JosJuice over 8 years ago

  • Operating system N/A added
  • Operating system deleted (Windows)
Actions #2

Updated by JMC4789 over 8 years ago

  • Status changed from New to Working as intended
  • % Done changed from 0 to 100

We can't. It is incompatible with a Vertex Loader JIT; the old code is gone forever.

What will alleviate this is new extensions and technology. AMD's new graphics cards can eat up bounding box like it's nothing, and NVIDIA will have a new extension that should help as well.

Actions #3

Updated by JosJuice over 8 years ago

Actions #4

Updated by JosJuice over 8 years ago

  • Status changed from Working as intended to Won't fix

"Working as intended" isn't accurate - we acknowledge that this is an issue, but it won't be fixed.

Actions #5

Updated by JosJuice about 8 years ago

Actions #6

Updated by JosJuice about 8 years ago

Actions #7

Updated by JosJuice over 7 years ago

Actions #8

Updated by JosJuice over 7 years ago

Actions #9

Updated by JosJuice over 7 years ago

Actions #10

Updated by JosJuice over 7 years ago

  • % Done changed from 100 to 0
  • Relates to performance changed from Yes to No
Actions #11

Updated by JosJuice about 7 years ago

Actions #12

Updated by JosJuice about 7 years ago

  • Subject changed from Bring back the old Bbox emulation as an option. to Bounding box emulation only works when SSBO is supported
  • Status changed from Won't fix to Fixed
  • Fixed in set to 5.0-2964

5.0-2964 (https://dolphin-emu.org/download/dev/a0acdfc070d5bed422d3cdafd7675fc28af4eed5/) added a new hardware implementation of bounding box that has lower hardware requirements than the hardware implementation we've had until now. I hope this will resolve the situation for everyone who has been unable to play bounding box games in recent versions of Dolphin (except for TASers, who are covered by issue 10065 instead). Please note that the new implementation currently only is available when using OpenGL.

Actions #13

Updated by JosJuice almost 7 years ago

Actions #14

Updated by JosJuice almost 7 years ago

Actions #15

Updated by JosJuice almost 7 years ago

Actions #16

Updated by JosJuice almost 7 years ago

Actions #17

Updated by JosJuice over 6 years ago

  • Has duplicate Emulator Issues #10488: Super Paper Mario stopping and buzzing thru the opening cutscenes added
Actions #18

Updated by dzaragoza about 3 years ago

This issue is happening again starting version 5.0-9173. I was able to reproduce it by playing Paper Mario: TTYD and got the same soft lock as reported in issue 9805.

Version 5.0-9166 is the last version that works without this issue.

Actions #19

Updated by JosJuice about 3 years ago

  • Status changed from Fixed to Questionable
  • Fixed in deleted (5.0-2964)

Indeed, the second bounding box implementation was removed at some point. Reopening as Questionable for now (we would need someone with more experience of the video backends to decide whether this is something that could come back).

Actions #20

Updated by Stenzek about 3 years ago

If I remember correctly we removed the old stencil path as part of the videocommon unification.

Hardware bounding box needs a DX11 GPU, which is basically anything made in the last 10 years. I think that's a reasonable requirement to have, given alternative implementations are hacky/unreliable at best, too slow to be usable at worse.

Actions #21

Updated by dzaragoza about 3 years ago

For reference my system is Windows 10 desktop, with a 5 years old DX12 GPU (Radeon R9 380).

The version that reintroduces the soft lock (5.0-9173) is covered in this dolphin progress report: https://dolphin-emu.org/blog/2018/12/04/dolphin-progress-report-november-2018/#50-9173-vulkan-add-support-on-macos-via-moltenvk-by-stenzek

The related commit https://dolphin-emu.org/download/dev/6388992f62098c5d0c6af5bf2f091330ed29de94/ mentions about vulkan support in Mac OS via molten VK, however as I mentioned above the issue is reproducible in a Win10 system. The same settings are used between 5.0-9166 (working) and 5.0-9173 (soft-lock).

Actions #22

Updated by dzaragoza about 3 years ago

The comment about Vulkan in the commit triggered to test again changing the graphical backend. On my report I was using the default OpenGL, so I switched to Vulkan and 5.0-9173 doesn't soft lock anymore :)

So the issue seems to be solved by using Vulkan video backend. I tested also in the latest 5.0-14009 and get the same result, OpenGL softlock, Vulkan does not.

Actions #23

Updated by JosJuice about 3 years ago

From an IRC discussion about this earlier today:

(16:32:07) Stenzek: lol, so uh, I think this bbox on GL thing is a driver bug
(16:32:18) Stenzek: if I change it to use 4 separate SSBOs, it works fine

(AMD + OpenGL driver bug)

Actions #24

Updated by Miksel12 over 2 years ago

I'm pretty sure this was fixed by: https://github.com/dolphin-emu/dolphin/pull/9764

Actions #25

Updated by JMC4789 over 1 year ago

  • Status changed from Questionable to Fixed

SSBOs are still required, but it seems to work on all major GFX card manufacturers.

Actions

Also available in: Atom PDF