macOS Catalina interface laggy randomly while running Roon (High GPU usage randomly, Roon idle 20% GPU, sometimes up to 99% usage) [Resolved in Roon 1.8]

Hi @noris

  1. If you get into this high GPU state and stop clicking and stay on just one screen in Roon, does the GPU usage go back down or does it remain near the max?

A/ it does remain at 99% the only way I can get it to work around it will be to minimize Roon, do cmd+w, as soon as I maximize Roon it will reach the 99% of GPU usage. Or to get out of the state cmd+q until the next time.

  1. Let’s try to minimize the amount of screens that are accessed. If you navigate just between your Overview and Library -> Tracks tab for a bit, are you able to reproduce the issue?

I will give it a try and reply back.

Thanks.

can you confirm you have 99% of GPU usage and share a screenshot?

welcome to the forum @DANIEL_PELLEGRINO

hey @noris here is the homework:

20.40 started testing trying to repro:

From 20.40 to 20.50 constantly clicked and scrolled between ¨Overview and Tracks¨, 10 minutes, can’t repro.

From 20.50 to 21.00 constantly clicked and scrolled between ¨Overview and Discover¨ menu. After 10 minutes or so can’t repro.

From 21.00 to around 21.08 clicked between ¨Overview and Albums¨ scrolled through the 3000+ albums I have for about 5 minutes without stopping. Can’t repro.

At 21.08 decided to record my steps and do a more realistic test:

cmd+q Roon > open the app > Overview > Discover > Click an album from there > clicked the album artist > that triggered the issue at 21.09:

Closed Roon.

Second repro: 21.11 > Overview > Discover > Selected an album > scroll in the album > clicked in the album artist > that triggered the issue at 21.11 > closed Roon.

Forgot the screenshot…

3rd repro 21.14: Overview > Discover > selected an Album > clicked the album artist > clicked another album from that artist > that triggered the issue at 21.14 > closed Roon.

7.
At this point decided to record it.
I have found it is super easy to reproduce it Please have a look:

21.41:

21.44:

Logs:

https://drive.google.com/file/d/1qKr3xqD9VRmmxBrfiXZlsF14pqoiA0aB/view?usp=sharing

Let me know if we need something else, I am always open to a Zoom session or so if needed.
Thanks @noris

3 Likes

Hi @mavmcl,

Thanks for the further attempts and for the videos!

I took a look over them and it looks like we’re onto something here, the high stuck GPU behavior happened exactly once you started flipping between the Composer and Performer tab.

We’ve started testing with this aspect in mind in the QA lab and we’ll take a look to see if we can reproduce your findings on the Mac’s we have in-house.

Thanks again for the testing you have done so far, I’ll let you know how our testing goes on our end but overall this is fantastic news as we now have reproductions steps!

Hi @noris thanks, nice the hear that, looks like you will need a MBP 16 inch 2019 or an 2019 iMac to repro.
Please keep me posted if you have news from QA or ir need further repro on my side.
Thanks.

2 Likes

Thank you for your response and for welcoming the forum. Upload screenshot.

Hi @noris I can tell it has turned for worst after last update to 537, before the update it happened every couple of days, nowadays it happens just after few minutes or clicks, I have to run Roon permanently minimized, a shame I bought this computer to have Roon running in fullscreen.
Thanks.

hi @noris I have been using my old MacBook Air 2014 today, installed the Roon interface then used it the whole afternoon, it is impressive the low resource usage in this machine, QA will not be able to reproduce the issue in an older Mac the will need a 2019 mbp or iMac.

3 Likes

Hi @mavmcl,

I wanted to touch base with some good news. We’ve managed to reproduce this issue on a staff member’s 2019 16" MBP and gathering all the necessary info for a ticket for the devs :+1:. If there’s any other info we need from your end we will let you know, thanks!

3 Likes

hi @noris those are great news!!! thanks for sharing, hope the devs can get our Roon fixed!!!

1 Like

Great news!

2 Likes

hi @noris is there any feedback from QA on this matter you can share with us?
Thanks!

Following. I am experiencing the same issues on my 2015 Macbook Pro.

1 Like

Hi @mavmcl,

I have been discussing this issue with QA today, and we do have an update to share.

As I mentioned earlier in the thread, we were able to reproduce this issue, but we were only able to reproduce exactly once, it seems that no matter how much we’re trying to recreate the issue on multiple Macs in the lab, we’re not succeeding any longer, even on the 2019 MBP which exhibited it once.

I spoke to QA again and we’re still trying to narrow down the proper steps to troubleshoot this further. One aspect which may help with discovering the underlying cause would be a sample of the Roon process when your PC is in this state.

Can I please request that you @mavmcl, @jmvdv & @RustySanwa provide a sample of the Roon process when you’re in this state? Hopefully this will give further clues to narrow down what exactly is causing this issue.

Thanks all.

1 Like

Hi @noris fair enough, let me finish up playing with a Qobuz issue and will collect the data you are requesting, have QA or the testers to use Roon in a secondary desktop in the Mac, it is easy to repro as well when in full screen.
Thanks!

1 Like

Hey @noris here you go, it is just happening now, RAAT and Roon Samples link: https://drive.google.com/open?id=1VWuKU6huG39X8NOxAnX3PoaExJv4BGyp

1 Like

this looks like something:

+ !                     :   | 1 getIvar(objc_class*, char const*)  (in libobjc.A.dylib) + 59  [0x7fff6c32f5e6]
    + !                     :   1 _class_getVariable  (in libobjc.A.dylib) + 27  [0x7fff6c32f53f]
    + !                     2 ???  (in <unknown binary>)  [0x119c2d82b]
    + !                     : 1 ???  (in <unknown binary>)  [0x114ac13fe]
    + !                     : | 1 mono_class_static_field_address  (in Roon) + 141  [0x107b2f3ed]
    + !                     : |   1 **mono_domain_lock**  (in Roon) + 19  [0x107c800e3]
    **+ !                     : |     1 _pthread_mutex_lock_init_slow  (in libsystem_pthread.dylib) + 52  [0x7fff6d6db66a]**
    + !                     : 1 ???  (in <unknown binary>)  [0x114ac1380]
    + !                     2 ???  (in <unknown binary>)  [0x11acd3663]
    + !                     : 1 ???  (in <unknown binary>)  [0x11ae842d3]
    + !                     : | 1 ???  (in <unknown binary>)  [0x10df194eb]
    + !                     : 1 ???  (in <unknown binary>)  [0x11ae83318]
    + !                     2 ???  (in <unknown binary>)  [0x11ae9b083]
    + !                     : 2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :   2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :     2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :       2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :         2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :           2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :             2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :               2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                 2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                   2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                     2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                       2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                         2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                           2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                             2 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                               1 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                               | 1 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                               |   1 ???  (in <unknown binary>)  [0x11ae9c353]
    + !                     :                               |     1 ???  (in <unknown binary>)  [0x11ae9bd63]
    + !                     :                               |       1 ???  (in <unknown binary>)  [0x11ae9ebcb]
    + !                     :                               1 ???  (in <unknown binary>)  [0x10b400cb0]
    + !                     2 ???  (in <unknown binary>)  [0x11ae9b0eb]
    + !                     : 1 ???  (in <unknown binary>)  [0x11aea5800]
    + !                     : 1 ???  (in <unknown binary>)  [0x11aea6361]
    + !                     2 ???  (in <unknown binary>)  [0x11aea6ba9]
    + !                     : 2 glDrawArrays_ACC_GL3Exec  (in GLEngine) + 214  [0x7fff3e2e2bd4]
    + !                     :   2 gleDoDrawDispatchCoreGL3  (in GLEngine) + 361  [0x7fff3e310600]
    + !                     :     1 gleUpdateDeferredStateFull  (in GLEngine) + 2559  [0x7fff3e30cdc4]
    + !                     :     | 1 gleUpdateFragmentFallbackProgram  (in GLEngine) + 217  [0x7fff3e30464c]
    + !                     :     1 gleUpdateDeferredStateFull  (in GLEngine) + 2636  [0x7fff3e30ce11]
    + !                     :       1 gleUpdateVertexFallbackProgram  (in GLEngine) + 1652  [0x7fff3e303108]
    + !                     :         1 cvmHashMachineFindObject  (in libCVMSPluginSupport.dylib) + 13  [0x7fff3d5b9a03]
    + !                     :           1 cvm_hash_set_find  (in libCVMSPluginSupport.dylib) + 39  [0x7fff3d5b9a34]
    + !                     1 ???  (in <unknown binary>)  [0x10fd4e53b]
    + !                     : 1 ???  (in <unknown binary>)  [0x10b40508f]

What about this?

   + !               : |     9 semaphore_wait_trap  (in libsystem_kernel.dylib) + 10  [0x7fff6d61ce36]
    + !               : 1 ???  (in <unknown binary>)  [0x10c2557b3]
    + !               : | 1 ???  (in <unknown binary>)  [0x10c255a20]
    + !               : 1 ???  (in <unknown binary>)  [0x1110d6143]
    + !               :   1 ???  (in <unknown binary>)  [0x10c255622]
    + !               21 ???  (in <unknown binary>)  [0x1110d6d22]
    + !               13 ???  (in <unknown binary>)  [0x1110d58c5]
    + !               : 6 mono_100ns_ticks  (in Roon) + 11  [0x107dec6db]
    + !               : | 6 mach_absolute_time  (in libsystem_kernel.dylib) + 28,0,...  [0x7fff6d61d298,0x7fff6d61d27c,...]
    + !               : 6 mono_100ns_ticks  (in Roon) + 66,72  [0x107dec712,0x107dec718]
    + !               : 1 ves_icall_System_Threading_Timer_GetTimeMonotonic  (in Roon) + 4  [0x107c9ae74]
    + !               8 ???  (in <unknown binary>)  [0x10c262e38]
    + !               7 ???  (in <unknown binary>)  [0x1110d6f5a]
    + !               7 ???  (in <unknown binary>)  [0x1110d7065]
    + !               6 ???  (in <unknown binary>)  [0x10c262e6c]

The log is plaged of those messages:

  + !       1 worker_callback  (in Roon) + 733  [0x107d50f7d]
    + !         1 mono_string_new_checked  (in Roon) + 70  [0x107d0c7b6]
    + !           1 monoeg_g_utf8_to_utf16  (in Roon) + 23  [0x107df3897]
    + !             1 eg_utf8_to_utf16_general  (in Roon) + 527  [0x107df3aaf]
    + 5 ???  (in <unknown binary>)  [0x1196f8aa3]
    + ! 5 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !   5 ???  (in <unknown binary>)  [0x118e80223]
    + !     5 ???  (in <unknown binary>)  [0x11950bd8e]
    + !       5 ???  (in <unknown binary>)  [0x1110b677b]
    + !         5 ???  (in <unknown binary>)  [0x1193ec852]
    + !           5 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !             5 ???  (in <unknown binary>)  [0x118e80223]
    + !               5 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                 5 ???  (in <unknown binary>)  [0x1110b677b]
    + !                   5 ???  (in <unknown binary>)  [0x1193ec852]
    + !                     5 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                       5 ???  (in <unknown binary>)  [0x118e80223]
    + !                         5 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                           5 ???  (in <unknown binary>)  [0x1110b677b]
    + !                             5 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               : 3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :   3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :     3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :       3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :         3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :           3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :             3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :               3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                 3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                   3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                     3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                       3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                         3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                           3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                             3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                               3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                 3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                                   3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                                     3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                                       3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                         3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                           3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                                             3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                                               3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                                                 3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                                   3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                                     3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                                                       3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                                                         3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                                                           3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                                             3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                                               3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                                                 3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                                                                   3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                                                                     3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                                                                       3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                                                         3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                                                           3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                                                                             3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                                                                               3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                                                                                 3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                                                                   3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                                                                     3 ???  (in <unknown binary>)  [0x11950bd8e]
    + !                               :                                                                                       3 ???  (in <unknown binary>)  [0x1110b677b]
    + !                               :                                                                                         3 ???  (in <unknown binary>)  [0x1193ec852]
    + !                               :                                                                                           3 ???  (in <unknown binary>)  [0x118e7ecb3]
    + !                               :                                                                                             3 ???  (in <unknown binary>)  [0x118e80223]
    + !                               :                                                                                               3 ???  (in <unknown binary>)  [0x11a08731e]
    + !                               :                                                                                                 2 ???  (in <unknown binary>)  [0x164b492bb]
    + !                               :                                                                                                 | 1 ???  (in <unknown binary>)  [0x10c26c38b]
    + !                               :                                                                                                 | + 1 ???  (in <unknown binary>)  [0x10c26c6ed]
    + !                               :                                                                                                 | +   1 ves_icall_System_IO_MonoIO_Write_raw  (in Roon) + 96  [0x107ca06a0]
    + !                               :                                                                                                 | +     1 ves_icall_System_IO_MonoIO_Write  (in Roon) + 219  [0x107d78aeb]
    + !                               :                                                                                                 | +       1 mono_w32file_read_or_write  (in Roon) + 146  [0x107d71f92]
    + !                               :                                                                                                 | +         1 file_write  (in Roon) + 331  [0x107d772eb]
    + !                               :                                                                                                 | +           1 write  (in libsystem_kernel.dylib) + 10  [0x7fff6d61fbf6]
    + !                               :                                                                                                 | 1 ???  (in <unknown binary>)  [0x111016923]
    + !                               :                                                                                                 |   1 ???  (in <unknown binary>)  [0x1110169d3]
    + !                               :                                                                                                 |     1 ???  (in <unknown binary>)  [0x10b40cfab]
    + !                               :                                                                                                 |       1 ???  (in <unknown binary>)  [0x10c24efeb]
    + !                               :                                                                                                 |         1 ???  (in <unknown binary>)  [0x10c253a27]
    + !                               :                                                                                                 |           1 SystemNative_LStat2  (in libmono-native.dylib) + 27  [0x10b5b05db]
    + !                               :                                                                                                 |             1 lstat$INODE64  (in libsystem_kernel.dylib) + 10  [0x7fff6d62372e]
    + !                               :                                                                                                 1 ???  (in <unknown binary>)  [0x164b493fa]
    + !                               1 ???  (in <unknown binary>)  [0x1196aa5f3]
    + !                               : 1 ???  (in <unknown binary>)  [0x1196aab0b]
    + !                               :   1 ???  (in <unknown binary>)  [0x1196c3043]
    + !                               :     1 ???  (in <unknown binary>)  [0x1196c31a3]
    + !                               :       1 ???  (in <unknown binary>)  [0x1196c511b]
    + !                               :         1 ???  (in <unknown binary>)  [0x1196c63e9]
    + !                               :           1 ???  (in <unknown binary>)  [0x1196c67c3]
    + !                               :             1 ???  (in <unknown binary>)  [0x1196c6d53]

The jagged scrolling occurs when editing an album and scrolling in the edit-overlay (see screenshot).

I’m getting this when switching between different screens:

RunningBoard	standaard	09:59:19.764369+0200	runningboardd	Acquiring assertion targeting executable<Roon(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:156] with description <RBSAssertionDescriptor; frontmost:98026; ID: 335-156-5683; target: 98026> attributes = {
    <RBSDomainAttribute: 0x7f85a7e22be0; domain: com.apple.launchservicesd; name: RoleUserInteractiveFocal; sourceEnvironment: 0x0>;
}
RunningBoard	standaard	09:59:19.764556+0200	runningboardd	Assertion 335-156-5683 (target:executable<Roon(501)>) will be created as active
NowPlayingTouchUI	standaard	09:59:19.769536+0200	NowPlayingTouchUI	[NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x600001d19230 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x60000115c4b0>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x600003d76400 (com.roon.Roon - 98026) LSASN:{hi=0x0;lo=0x422422}>";
}}
RunningBoard	standaard	09:59:19.770601+0200	runningboardd	Finished acquiring assertion 335-156-5683 (target:executable<Roon(501)>)
RunningBoard	standaard	09:59:19.770824+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring jetsam update because this process is not memory-managed
RunningBoard	standaard	09:59:19.771353+0200	runningboardd	[executable<Roon(501)>:98026] Set darwin role to: UserInteractiveFocal
RunningBoard	standaard	09:59:19.771696+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring GPU update because this process is not GPU managed
RunningBoard	standaard	09:59:22.451632+0200	runningboardd	Invalidating assertion 335-156-5683 (target:executable<Roon(501)>) from originator 156
RunningBoard	standaard	09:59:22.564455+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring jetsam update because this process is not memory-managed
RunningBoard	standaard	09:59:22.568447+0200	runningboardd	[executable<Roon(501)>:98026] Set darwin role to: UserInteractiveNonFocal
RunningBoard	standaard	09:59:22.568593+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring GPU update because this process is not GPU managed
RunningBoard	standaard	09:59:24.170042+0200	runningboardd	Acquiring assertion targeting executable<Roon(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:156] with description <RBSAssertionDescriptor; frontmost:98026; ID: 335-156-5685; target: 98026> attributes = {
    <RBSDomainAttribute: 0x7f85a7c0f810; domain: com.apple.launchservicesd; name: RoleUserInteractiveFocal; sourceEnvironment: 0x0>;
}
RunningBoard	standaard	09:59:24.170299+0200	runningboardd	Assertion 335-156-5685 (target:executable<Roon(501)>) will be created as active
NowPlayingTouchUI	standaard	09:59:24.174220+0200	NowPlayingTouchUI	[NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x600001d1ca50 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x60000115c4b0>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x600003d10300 (com.roon.Roon - 98026) LSASN:{hi=0x0;lo=0x422422}>";
}}
RunningBoard	standaard	09:59:24.174978+0200	runningboardd	Finished acquiring assertion 335-156-5685 (target:executable<Roon(501)>)
RunningBoard	standaard	09:59:24.176934+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring jetsam update because this process is not memory-managed
RunningBoard	standaard	09:59:24.177586+0200	runningboardd	[executable<Roon(501)>:98026] Set darwin role to: UserInteractiveFocal
RunningBoard	standaard	09:59:24.178070+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring GPU update because this process is not GPU managed
RunningBoard	standaard	09:59:28.374581+0200	runningboardd	Invalidating assertion 335-156-5685 (target:executable<Roon(501)>) from originator 156
RunningBoard	standaard	09:59:28.481324+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring jetsam update because this process is not memory-managed
RunningBoard	standaard	09:59:28.481524+0200	runningboardd	[executable<Roon(501)>:98026] Set darwin role to: UserInteractiveNonFocal
RunningBoard	standaard	09:59:28.482455+0200	runningboardd	[executable<Roon(501)>:98026] Ignoring GPU update because this process is not GPU managed

Is that from the https://support.omnigroup.com/sample-osx/ @noris requested? In case no can you repro then collect and upload here a copy of your sample?

morning @noris I compared the sample with the one from my MacBook Air 2014 and has nothing like this looping logging from the iMac 2019 over and over these events:

Edit: Compare it to a 2018 MBP and those unknown binary messages are looping there in the MBP sample as well.