The bug
Whenever Minecraft starts with version 1.17 Prerelease 1 (on specific devices – see environment), the following errors are shown in the game log:
[Render thread/ERROR]: Failed syctl call: machdep.cpu.vendor, Error code: 2
[Render thread/ERROR]: Failed sysctl call: machdep.cpu.stepping, Error code: 2
[Render thread/ERROR]: Failed sysctl call: machdep.cpu.model, Error code: 2
[Render thread/ERROR]: Failed sysctl call: machdep.cpu.signature, Error code: 2oshi.util.platform.mac.SysctlUtil is shown in the second column of the launcher's game log window.
This group of four errors is shown twice during the game start, a few seconds apart from each other.
This group of errors also is shown when pressing F3 + L.
I am unsure if this affects others.
This was not an issue in 1.16.5 or 21w20a.
Environment
macOS Big Sur (11.4)
MacBook Air 2020
ARM M1 chipset
Comments 5
Hi @unknown! Yep, it seems to show fine. I'm guessing that this issue that I am experiencing is caused by the changes to debug profiling in this version, and due to the changes, it also affects others by not properly showing the CPU info. But for me, it just fails to get the CPU info in the errors, but nothing else seems to work incorrectly.
This issue does not occur for me on a Mac with an Intel processor running macOS Catalina. However, it seems very plausible that this issue might affect all M1 Macs in 1.17 prerelease 1. Also, this might be related to MC-226576 because MC-226576 was also reported in 1.17 prerelease 1 and both MC-226576 and this issue mention the OSHI library in their error messages.
@unknown, does the debug screen display your CPU info properly in 1.17 prerelease 1?