Post

Replies

Boosts

Views

Activity

Reply to Sudden error being logged continuously in XCode console
Hello! This is 100% case of projects that go through Rosetta on new Apple Silicon. The simplest reproduction case that I could find using open source samples: clone: https://github.com/trzecieu/margit start MargitMac xcode project (kudos for Mikael Brockman that I based the simple example) If architecture is set to: -x86_64 then the console is spamming with 2022-04-30 14:25:44.037689+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e20] CVCGDisplayLink::setCurrentDisplay: 2 2022-04-30 14:25:44.037801+0200 MargitMac[43672:1302152] [] CurrentVBLDelta returned 0 for display 2 -- ignoring unreasonable value 2022-04-30 14:25:44.037825+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e20] Bad CurrentVBLDelta for display 2 is zero. defaulting to 60Hz. 2022-04-30 14:25:44.037845+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e00] CVDisplayLinkCreateWithCGDisplays count: 1 [displayID[0]: 0x2] [CVCGDisplayLink: 0x7fa8ea0e8e20] 2022-04-30 14:25:44.038117+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e20] CVCGDisplayLink::setCurrentDisplay: 2 2022-04-30 14:25:44.038150+0200 MargitMac[43672:1302152] [] CurrentVBLDelta returned 0 for display 2 -- ignoring unreasonable value 2022-04-30 14:25:44.038170+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e20] Bad CurrentVBLDelta for display 2 is zero. defaulting to 60Hz. 2022-04-30 14:25:44.038196+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e00] CVDisplayLinkStart 2022-04-30 14:25:44.038215+0200 MargitMac[43672:1302152] [] [0x7fa8ea0e8e20] CVDisplayLink::start 2022-04-30 14:25:44.038525+0200 MargitMac[43672:1302756] [] [0x600002c7a4c0] CVXTime::reset 2022-04-30 14:25:44.038553+0200 MargitMac[43672:1302756] [] CurrentVBLDelta returned 0 for display 2 -- ignoring unreasonable value 2022-04-30 14:25:44.038571+0200 MargitMac[43672:1302756] [] [0x7fa8ea0e8e20] Bad CurrentVBLDelta for display 2 is zero. defaulting to 60Hz. 2022-04-30 14:25:44.064625+0200 MargitMac[43672:1302756] [] CurrentVBLDelta returned 0 for display 2 -- ignoring unreasonable value 2022-04-30 14:25:44.064666+0200 MargitMac[43672:1302756] [] [0x7fa8ea0e8e20] Bad CurrentVBLDelta for display 2 is zero. defaulting to 60Hz. 2022-04-30 14:25:44.081314+0200 MargitMac[43672:1302756] [] CurrentVBLDelta returned 0 for display 2 -- ignoring unreasonable value 2022-04-30 14:25:44.081378+0200 MargitMac[43672:1302756] [] [0x7fa8ea0e8e20] Bad CurrentVBLDelta for display 2 is zero. defaulting to 60Hz. 2022-04-30 14:25:44.097989+0200 MargitMac[43672:1302756] [] CurrentVBLDelta returned 0 for display 2 -- ignoring unreasonable value 2022-04-30 14:25:44.098017+0200 MargitMac[43672:1302756] [] [0x7fa8ea0e8e20] Bad CurrentVBLDelta for display 2 is zero. defaulting to 60Hz. .... If the architecture is set to arm64, the console looks sane: 2022-04-30 14:29:40.615702+0200 MargitMac[44435:1306130] [] [0x1398b3a20] CVCGDisplayLink::setCurrentDisplay: 2 2022-04-30 14:29:40.615841+0200 MargitMac[44435:1306130] [] [0x1398b3a00] CVDisplayLinkCreateWithCGDisplays count: 1 [displayID[0]: 0x2] [CVCGDisplayLink: 0x1398b3a20] 2022-04-30 14:29:40.616056+0200 MargitMac[44435:1306130] [] [0x1398b3a20] CVCGDisplayLink::setCurrentDisplay: 2 2022-04-30 14:29:40.616075+0200 MargitMac[44435:1306130] [] [0x1398b3a00] CVDisplayLinkStart 2022-04-30 14:29:40.616086+0200 MargitMac[44435:1306130] [] [0x1398b3a20] CVDisplayLink::start 2022-04-30 14:29:40.616214+0200 MargitMac[44435:1306604] [] [0x60000387d730] CVXTime::reset
Apr ’22