taskset: failed to set pid 11011's affinity: Invalid argument
Hello everyone! When I click “Start Wine” in the Mobox Emulator menu, a download occurs where it says that it cannot be configured and that I need to look at the log file. I looked at the log where it was written - "taskset: failed to set pid 11011's affinity: Invalid argument". My phone:
OS: Android 11
Device: WP18 (WP18_EEA)
ROM: OUKITEL_WP18_EEA_V16_20230317
Baseband: unknown
Kernel: aarch64 Linux 4.19.127-00014-g2d8fe55-dirt Uptime:
CPU: MT6761V/WBB
GPU: MT6761V/WBB
RAM: 2277MiB / 3830MiB
Help please!
I'm having this same issue. Ofc its a different PID. I'm going to try using box64 instead of WoW64
Same exact issue. This is weird
im using a Lenovo 300e Second Gen MTK with:
- a MediaTek mt8173 (4 threads at 1.70GHz)
- 4GB ram
i believe latest version of ChromeOS (shouldnt matter) Android 11 Subsystem PowerVR Rogue GX6250 (according to AIDA64)
As I understand it, this problem is related to the processor cores. Here is a quote from ChatGPT:
"1. Process PID does not exist: Check if a process with the specified PID 1417 exists at the time of attempting to install CPU affinity. This process may have already completed or the PID was incorrectly specified.
Invalid parameters: Verify that the parameters used with the taskset command are correct. For example, the CPU number must be within range for your system.
Unavailable processor cores: If the processor cores you specified are not available (for example, reserved for other tasks), this can also cause an "Invalid argument" error.
To try to fix this error, here are a few steps you can take:
Check for process existence: Make sure that the process with PID 1417 exists when you try to install CPU affinity.
Review the taskset command parameters: Review the taskset command to ensure that all parameters are correct.
Select other processor cores: Try to specify other available processor cores to install CPU affinity."
As I understand it, this problem is related to the processor cores. Here is a quote from ChatGPT:
"1. Process PID does not exist: Check if a process with the specified PID 1417 exists at the time of attempting to install CPU affinity. This process may have already completed or the PID was incorrectly specified.
- Invalid parameters: Verify that the parameters used with the taskset command are correct. For example, the CPU number must be within range for your system.
- Unavailable processor cores: If the processor cores you specified are not available (for example, reserved for other tasks), this can also cause an "Invalid argument" error.
To try to fix this error, here are a few steps you can take:
- Check for process existence: Make sure that the process with PID 1417 exists when you try to install CPU affinity.
- Review the taskset command parameters: Review the taskset command to ensure that all parameters are correct.
- Select other processor cores: Try to specify other available processor cores to install CPU affinity."
you are a fucking idiot. no sane individual would consult an AI LLM for troubleshooting. that said, i'm having a similar issue.
It seems mobox assume every device have 8 cores. On my OnePlus 3t, it uses 4-7 as primary cores default, and will choose 6-7 if I manully set 2 cores as primary; but in fact my device have 4 cores totally, the primary cores should be 2-3. That makes the initial taskset failed, since my device not even have those cores. The current solution seems edit usr/glibc/opt/conf/cores.conf manually. In future, I suggest detect total cores at runtime; or if not possible, at least let user choose it.