rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

Issue with releases later than v0.0.34-17138 on Mac M3 Pro

Open Dino0005 opened this issue 1 year ago • 2 comments

Quick summary

From version after v0.0.34-17138 there is something wrong on MAC with M3 Pro (12 core CPU, 18 core CPU, 18 GB RAM). When loading a game, RPCS3 becomes slower and heavier.

Details

To better understand what is happening I took some video captures, starting a game with "Marvel vs. Capcom 3 - Fate of Two Worlds", showing the game starting, switching to full screen mode and exiting the game. What you see happens with all games. I compared v0.0.34-17138 with v0.0.34-17151

Build with regression

The issue appears to have started from v0.0.34-17141

Attach two log files

Log v0.0.34-17138.zip

Log v0.0.34-17151.zip

Attach capture files for visual issues

Capture video v0.0.34-17138: https://mega.nz/file/vMxQRQ7T#BlS-EWhsdYouxXrfRNpDr28d5bhy-bIocD89NxBpIDA

Capture video v0.0.34-17151: when starting the game, then when you go to full screen mode and then when you exit the game the mouse pointer shows the spinning rainbow wheel effect, but strangely in the video capture this is not visible. https://mega.nz/file/zM4TEKaK#bOjE0R3iy64mxnxj-x6VU_crcKsVTa7hg0Q5-08ye-c

System configuration

MacBook Pro, M3 Pro (CPU 12 core, CPU 18 Core, RAM 18 GB).

Other details

I don't know if any other information is needed, if necessary just ask me.

Dino0005 avatar Nov 24 '24 08:11 Dino0005

Details:

Same issue here, overall interaction with the emulator causes freezing for a long while with spinning rainbow ball when trying to go into fullscreen mode, building cache, right clicking for context menu. Doesn't seem to be a game dependent definitely.

System configuration:

  • SYS: RPCS3 v0.0.34-17151-b94ddb0c Alpha | HEAD
  • SYS: VirtualApple @ 2.50GHz | 8 Threads | 16.00 GiB RAM | TSC: 1.000GHz | FMA3
  • SYS: Operating system: macOS, Version: 15.2.0
  • SYS: Current Time: 2024-11-24T11:17:28
  • RSX: Found Vulkan-compatible GPU: 'Apple M1' running on driver 0.2.995
  • SYS: Firmware version: 4.91

mavethee avatar Nov 24 '24 10:11 mavethee

Was also able to repro the same behaviour on an M2 MacBook Air running macOS 15.2 Beta 4 and on macOS 14.7.1, when either compiling firmware caches, running any game or running VSH with the latest RPCS3 macOS arm64 releases. Build 17141 lines up with the merging of #16186 and the move to Qt 6.8 so maybe that's what's responsible?

schm1dtmac avatar Nov 24 '24 13:11 schm1dtmac

Would suggest renaming this issue as it affects any Mac after #16186.

mavethee avatar Nov 25 '24 08:11 mavethee

https://github.com/RPCS3/rpcs3/pull/16186 appears to be responsible. @Megamouse Likely an upstream issue. Maybe we should just use known-stable versions (current release - 1) for these dependencies.

kd-11 avatar Nov 25 '24 09:11 kd-11

#16186 appears to be responsible. @Megamouse Likely an upstream issue. Maybe we should just use known-stable versions (current release - 1) for these dependencies.

Sounds right, simply compiling against 6.7.3 was enough to fix the slowdowns when launching/exiting PS3 titles.

schm1dtmac avatar Dec 01 '24 14:12 schm1dtmac

@schm1dtmac I'm not entirely convinced by downgrading you're addressing the issue properly but who am I to judge 🤷🏻

mavethee avatar Dec 01 '24 15:12 mavethee

@schm1dtmac I'm not entirely convinced by downgrading you're addressing the issue properly but who am I to judge 🤷🏻

I mean, from the looks of it this is an upstream issue, and I'd personally (as a user) rather not wait for Qt to fix things and push another stable release whilst being left with broken macOS builds in the meantime, so the only other option is a downgrade I guess. IDK if Qt 6.8.1 is officially out yet or if that fixes things on the macOS side at a brief glance so I haven't looked further into that.

schm1dtmac avatar Dec 01 '24 17:12 schm1dtmac

@schm1dtmac I'm not entirely convinced by downgrading you're addressing the issue properly but who am I to judge 🤷🏻

I mean, from the looks of it this is an upstream issue, and I'd personally (as a user) rather not wait for Qt to fix things and push another stable release whilst being left with broken macOS builds in the meantime, so the only other option is a downgrade I guess. IDK if Qt 6.8.1 is officially out yet or if that fixes things on the macOS side at a brief glance so I haven't looked further into that.

Can I test your version somehow? I'm running into issues with the current macOS build where it basically goes unresponsive if I do anything.

Dorkington avatar Dec 10 '24 15:12 Dorkington

@schm1dtmac I'm not entirely convinced by downgrading you're addressing the issue properly but who am I to judge 🤷🏻

I mean, from the looks of it this is an upstream issue, and I'd personally (as a user) rather not wait for Qt to fix things and push another stable release whilst being left with broken macOS builds in the meantime, so the only other option is a downgrade I guess. IDK if Qt 6.8.1 is officially out yet or if that fixes things on the macOS side at a brief glance so I haven't looked further into that.

Can I test your version somehow? I'm running into issues with the current macOS build where it basically goes unresponsive if I do anything.

Download one of the macOS artifacts (Intel or arm64) complied from PR #16365, it’ll be available to download as a ZIP archive off of Azure Pipelines.

schm1dtmac avatar Dec 10 '24 15:12 schm1dtmac

IDK if Qt 6.8.1 is officially out or if that fixes things on the macOS side.

QT 6.8.1 is now merged into the RPCS3 master branch. Has it helped? Ok, https://github.com/RPCS3/rpcs3/pull/16365#issuecomment-2538484794

Darkhost1999 avatar Dec 12 '24 13:12 Darkhost1999

I tested with RPCS3 0.0.34-17177-49081d0d Alpha. No, unfortunately Qt 6.8.1 does not fix the issue, It doesn't solve the issue I see when I launch and exit a game.

Dino0005 avatar Dec 12 '24 14:12 Dino0005

I tested with RPCS3 0.0.34-17177-49081d0d Alpha. No, unfortunately Qt 6.8.1 does not fix the issue, It doesn't solve the issue I see when I launch and exit a game.

Right, guess reverting to 6.7.3 is needed for now then (@shinra-electric reported the same so I’m relatively confident in this).

schm1dtmac avatar Dec 12 '24 14:12 schm1dtmac

It looks like the fix didn't work properly, at least on Intel: https://rpcs3.net/download only lists the Arm version, and RPCS3 itself reports "E UPDATER: Some information seems unavailable".

Behodar avatar Dec 15 '24 03:12 Behodar

It looks like the fix didn't work properly, at least on Intel: https://rpcs3.net/download only lists the Arm version, and RPCS3 itself reports "E UPDATER: Some information seems unavailable".

The fix worked for ARM but I made a cockup that broke the Intel build script (somehow the PR CI didn’t catch it so I didn’t notice until after the merge), already opened a PR to fix it in #16405.

schm1dtmac avatar Dec 15 '24 11:12 schm1dtmac

Thanks, confirmed all good now :)

Behodar avatar Dec 16 '24 01:12 Behodar

Qt 6.8.2 is still broken, for reference, so it doesn't seem like macOS can be moved beyond 6.7.3 any time soon.

schm1dtmac avatar Feb 18 '25 16:02 schm1dtmac

@schm1dtmac can you please try with 6.8.3?

hcorion avatar Apr 01 '25 07:04 hcorion

@schm1dtmac can you please try with 6.8.3?

Tested a fresh RPCS3 compile against 6.8.3 @hcorion @Megamouse, it's just as broken as before (freezes and lags when booting any software). I'll hold out a bit of hope for 6.9, otherwise this issue likely needs reporting upstream if it's ever going to be fixed.

schm1dtmac avatar Apr 01 '25 14:04 schm1dtmac

Qt 6.9 is also bad FYI, as far as macOS issues go.

schm1dtmac avatar Apr 02 '25 15:04 schm1dtmac

@Megamouse new problem, Qt's also gone and taken down the official download for Qt 6.7.3, so if the Azure Qt cache expires/is invalidated for whatever reason macOS builds will start failing.

schm1dtmac avatar Apr 06 '25 15:04 schm1dtmac

@schm1dtmac 6.7.3 is still online , QT just moved all 6.7 to an archive url , rather than the official releases url, the reason I know this other projects found it out and pointed to the archive url https://github.com/PCSX2/pcsx2/pull/12477

https://download.qt.io/archive/qt/6.7/6.7.3/

Mrlinkwii avatar Apr 06 '25 15:04 Mrlinkwii

@schm1dtmac 6.7.3 is still online , QT just moved all 6.7 to an archive url , rather than the official releases url, the reason I know this other projects found it out and pointed to the archive url PCSX2/pcsx2#12477

https://download.qt.io/archive/qt/6.7/6.7.3/

Ah, good to know, thanks!

schm1dtmac avatar Apr 06 '25 16:04 schm1dtmac

@schm1dtmac, @mavethee is that still an issue?

digant73 avatar Oct 25 '25 21:10 digant73

@schm1dtmac, @mavethee is that still an issue?

Last I attempted to compile against Qt 6.9.x the same performance issues persisted, current RPCS3 just works around this by compiling against 6.7.3. P.S. are these necros necessary?

schm1dtmac avatar Oct 25 '25 21:10 schm1dtmac

Retested with a fresh Qt 6.10 CI compile, I couldn't even get as far as seeing if the lag still existed because nothing boots under Qt 6.10, you just get this VK error instead.

Image

schm1dtmac avatar Oct 30 '25 16:10 schm1dtmac

Resolved completely under Qt 6.10.3 by #17807.

schm1dtmac avatar Dec 03 '25 21:12 schm1dtmac