Project

General

Profile

Actions

Emulator Issues #12705

closed

Graphical issues on dynamic objects in Phantasy Star Online Episode 1&2 under macOS BigSur 11.6 (Apple M1)

Added by neirene over 2 years ago. Updated almost 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% 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:
5.0-16337

Description

Game Name?

Phantasy Star Online Episode 1&2 Plus

Game ID? (right click the game in the game list, Properties, Info tab)

GPOJ8P

What's the problem? Describe what went wrong.

There are some graphic corruptions on dynamic objects such as switches or doors which shows distorted graphics. (see attached pictures)

What steps will reproduce the problem?

-Create a character and play Offline/Online
-Go to the first area "Forest 1"
-Play a little and you will notice these corruptions happening in doors, boxes, switches, etc.

These errors occur in any map and any mission of the game

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Dolphin 5.0 - 15276

Is the issue present in the latest stable version?

Yes

What are your PC specifications? (CPU, GPU, Operating System, more)

Apple MacBook Air M1 , 16GB RAM, 512 SSD

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

The error will happen in M1 builds alongside with older Intel builds running on Rosetta 2, and will happen with either Vulkan or OpenGL enabled as your graphic backends. It seems to be its related to the Apple M1 GPU maybe.


Files

Oct-09-2021 19-44-17.gif (4.13 MB) Oct-09-2021 19-44-17.gif Graphic Corruption Behavior on a Switch neirene, 10/09/2021 05:44 PM
fifologPSOM1.dff (3.85 MB) fifologPSOM1.dff FIFO LOG M1 PSO neirene, 10/09/2021 05:59 PM
EP2 CCA Graphic Corruption.gif (3.52 MB) EP2 CCA Graphic Corruption.gif Graphic Corruption at the CCA Dam Gate & Tower neirene, 10/09/2021 06:12 PM
fifologPSOEP2M1.dff.zip (1.5 MB) fifologPSOEP2M1.dff.zip neirene, 10/09/2021 06:13 PM
GPOJ8P_2021-10-26_08-35-01.png (1.43 MB) GPOJ8P_2021-10-26_08-35-01.png EP2 CCA Area, Textures missing, DAM Door, Far Tower, Warp Teleport, Floor Platforms neirene, 10/26/2021 06:40 AM
PSO_EP2_FIFO_MacOSMonterey.dff.zip (1.61 MB) PSO_EP2_FIFO_MacOSMonterey.dff.zip EP2 CCA Area, FIFO Log running on Monterey neirene, 10/26/2021 06:42 AM
EP2CCA_FIFO2.dff.zip (1.61 MB) EP2CCA_FIFO2.dff.zip neirene, 12/23/2021 05:14 AM
GPOJ8P_2021-12-26_00-14-03.png (2.35 MB) GPOJ8P_2021-12-26_00-14-03.png neirene, 12/25/2021 11:28 PM
GPOJ8P_2021-12-26_00-19-29.png (4.57 MB) GPOJ8P_2021-12-26_00-19-29.png neirene, 12/25/2021 11:28 PM
Actions #1

Updated by OatmealDome over 2 years ago

Could you record a fifolog of this issue? Here's how to do it:

  1. Go to the part in-game where the issue appears.
  2. Open Tools in the menu bar -> FIFO Player.
  3. Press Record.
  4. Press Save. You will be prompted to save a .dff file.
  5. Upload the .dff file here or elsewhere (you may need to compress it in a zip or similar to make it smaller).

This will help us debug the issue.

Actions #2

Updated by neirene over 2 years ago

OatmealDome wrote:

Could you record a fifolog of this issue? Here's how to do it:

  1. Go to the part in-game where the issue appears.
  2. Open Tools in the menu bar -> FIFO Player.
  3. Press Record.
  4. Press Save. You will be prompted to save a .dff file.
  5. Upload the .dff file here or elsewhere (you may need to compress it in a zip or similar to make it smaller).

This will help us debug the issue.

Hello Oath, I'm attaching the FIFO Log file you requested at the same spot.

Updated by neirene over 2 years ago

OatmealDome wrote:

Could you record a fifolog of this issue? Here's how to do it:

  1. Go to the part in-game where the issue appears.
  2. Open Tools in the menu bar -> FIFO Player.
  3. Press Record.
  4. Press Save. You will be prompted to save a .dff file.
  5. Upload the .dff file here or elsewhere (you may need to compress it in a zip or similar to make it smaller).

This will help us debug the issue.

I'm also attaching another gif showcasing the corruption happening in an Episode 2 zone at a bigger scale.

Actions #4

Updated by OatmealDome over 2 years ago

Thank you!

I played these fifologs on my MacBook Pro and can't reproduce the issue. It does seem to be M1-specific. I'll take a look at this later.

For reference, my specs:
MacBook Pro 16" (2019)
Intel i9
Intel UHD 630
AMD Radeon Pro 5500M

Actions #5

Updated by OatmealDome over 2 years ago

Small update - I was able to reproduce this issue on an M1 Mac Mini using the fifologs. (Oddly, this issue apparently does not occur on the mobile line of Apple Silicon chips.)

Specs:
Mac Mini (Late 2020)
Apple M1
macOS Big Sur 11.6

Actions #6

Updated by neirene over 2 years ago

OatmealDome wrote:

Small update - I was able to reproduce this issue on an M1 Mac Mini using the fifologs. (Oddly, this issue apparently does not occur on the mobile line of Apple Silicon chips.)

Specs:
Mac Mini (Late 2020)
Apple M1
macOS Big Sur 11.6

At first I thought at the time it was an issue related to Rosetta when I acquired my M1 Air last December, but its been happening across all the versions of Big Sur released this year, I was hoping it would get fixed once the Dolphin Team released the M1 Native version of Dolphin but it kept happening regardless.

To add salt to the injury this issue is also happening under Windows 10/11 running on a Parallels virtual machine. With a windows native build of Dolphin and with the graphic adapter set to DX11.

Now that you mentioned you tested this bug on an M1 equipped iPad and it didn't happened adds even more confusion to this puzzle as it's exactly the same chip...

So it seems to be something related to the relationship between the Mac's M1's + Big Sur on how they control the M1's GPU?

It would be wise to test again with MacOS Monterey due to being released next week see if this issue get's fixed and confirm indeed it was a Big Sur issue since the beginning?

Updated by neirene over 2 years ago

Updated to macOS Monterey 12.0.1

The graphical issues persist in the same spots like happened on Big Sur, the behavior is different, this time it doesn't shows the textures at all and the seizure inducing corrupted squares are gone.
You can see the affected spots in the latest screenshot at the Dam gate walls, the Floor platforms, the Warp Teleport terminal hollow textures and the Tower at the horizon main texture gone.

I'm attaching a FIFO Log and screenshot of this area as it's the most affected one where you can see all the errors in one place.

Actions #8

Updated by OatmealDome over 2 years ago

I had a chance to look in the Xcode GPU debugger. This issue appears to be the same one that causes Sonic Adventure 2: Battle to render as all-black (https://bugs.dolphin-emu.org/issues/12523) and Super Mario Sunshine's M warps to have a black box surrounding them.

I have a fix for this, but I haven't submitted a pull request yet.

Specs:
Mac Mini (late 2020)
Apple M1
macOS Monterey 12.0.1

Actions #9

Updated by neirene over 2 years ago

OatmealDome wrote:

I had a chance to look in the Xcode GPU debugger. This issue appears to be the same one that causes Sonic Adventure 2: Battle to render as all-black (https://bugs.dolphin-emu.org/issues/12523) and Super Mario Sunshine's M warps to have a black box surrounding them.

I have a fix for this, but I haven't submitted a pull request yet.

Specs:
Mac Mini (late 2020)
Apple M1
macOS Monterey 12.0.1

I noticed today your PR M1 graphic fix was finally merged into the dev channel in the latest Dolphin 5.0-15682, I ran again the same tests we did last time and can confirm the issue is still not fixed for PSO Episode 1&2 as the textures appear translucent and black as they previously did since the update to Monterey.

Monterey has been updated to 12.1 on this machine
I'm attaching a fresh FIFO recording of the same area we previously tested.

Actions #10

Updated by OatmealDome over 2 years ago

The PR that was merged was not intended to fix this issue. (However, it was a prerequisite before I could open the PR for the fix, so I should get on that.)

Thanks for testing Monterey 12.1. I was hoping Apple would fix the bug in the OS eventually, but I guess that didn't happen.

Updated by neirene over 2 years ago

OatmealDome wrote:

Could you test PR 10290? Here's a build:

https://dl.dolphin-emu.org/prs/42/88/pr-10290-dolphin-latest-universal.dmg

Tested it all with PSO EP1&2 and PSO Episode 3 the card game and can confirm that all the graphical glitches disappeared!
Also the performance seems more stable too.

Amazing job Oatmeal!

Actions #13

Updated by OatmealDome over 2 years ago

  • Status changed from New to Fix pending

Thanks for testing!

Actions #14

Updated by neirene about 2 years ago

OatmealDome wrote:

Thanks for testing!

I've been updating Dolphin to the very latest dev builds (currently 16120) and the issue is still there, did the PR you sent me to test a few months back which fixed the issue was ever merged to main?

Actions #15

Updated by JosJuice about 2 years ago

It hasn't been merged yet. You can check its status at https://github.com/dolphin-emu/dolphin/pull/10290

Actions #16

Updated by JosJuice almost 2 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-16337
Actions

Also available in: Atom PDF