https://bugs.winehq.org/show_bug.cgi?id=45208
--- Comment #37 from wi1itw atl4ntdev@yandex.ru --- (In reply to Serge V Shistarev from comment #34)
I find out two simple workarounds to install Office.
Slow: Use cpulimit command to limit cpu cycles for setup.exe process (smth like cpulimit -l 10 -p <setup.exe_pid>
-OR-
More sophisticated, but much faster: while setup is installing office disable all cpu cores, except cpu0, run empty cycle with nice level -20 (highest priority), wait until setup finished (or last step, when setup says that it sets up updates), roll everything back.
Script:
cpus() { for i in $(seq $(cat /sys/devices/system/cpu/present | tr "-" " ")); do \ [ $i = 0 ] && continue; echo $1 | tee /sys/devices/system/cpu/cpu$i/online; \ done; }; cpus 0; echo "Press any key to stop CPU stress"; tty=$(stty --save); \ stty -icanon -icrnl time 0 min 0; nice -n -20 sh -c \ 'while [ -z "$(cat -v)" ]; do :; done'; stty $tty; cpus 1
Tested on Ryzen 3700X, Core i7-7700HQ
Thank you very much for this script. It only helped me. But wtf? did anyone find out how this fucking bug?