Win-Test - Problems in Wine under Linux with newer CPUs
I recently bought a HP Stream 11 laptop for my portable operations. It’s a reasonable priced 11.6” laptop with a net weight of 1 kg and only the most important features, like USB ports, headphone jack and a microSD card reader. It has a 64 GB eMMC storage device and comes with Windows 10 Home in S mode. Because I banned Windows from my shack long time ago, I directly installed Xubuntu 20.04 LTS on it and also the Wine runtime environment with all kind of ham radio software, which is only available for Windows, like 4NEC2, VOACAP, Ham Cap, IonoProbe and of course the Win-Test contest logger für contest operations.
The Win-Test integrated DX Telnet Cluster (wtDxTelnet.exe) ran fine out of the box, but the main Win-Test application (wt.exe) crashed immediately after the start with an almost endless error log.
After trying different Wine versions and even a new installation of the older Xubuntu 18.04 LTS, the problem with wt.exe remained. So I filed a bug on the Wine website. Quick answer by one of the Wine developers: This problem is related to a rather new x86 security feature called User-Mode Instruction Prevention (UMIP). The execution of UMIP instructions like SLDT causes problems with the Linux 5.4 LTS kernel, which comes with Xubuntu 20.04. A quick solution is to update the Linux kernel to a version 5.10 or later, where UMIP instructions are supported. In my case Win-Test worked fine after I did that update.
All flavours of Ubuntu 21.04, coming out in April 2021, should have a Linux kernel 5.10 or newer on board.