Trying to use Wine for the first time and running into trouble trying to run some GUI-based Windows programs, heavy of graphics and visualization and, I speculate, in parallel processing.
I have access to 3 different Linux setups (same OS: Rocky 9) and the one difference the I noticed is the number of CPUS.
I have installed Wine 10, 64-bit in all 3 platforms:
-Platform 1, 2 cpus: the program runs just fine
-Platform 2, 16 cpus: the program runs just fine
-Platform 2, 192 cpus: the program does NOT runs well...one of the error messages is "maximum number of clients reached...cannot connect to local display..."
Unfortunately, the production environment is the one with the 192 cpus and the one where I really need to get the program to run.
I fear that the program I am trying to run is "used" to being the ONLY program running in some Windows laptop with a handful of CPUs and, hence, it has the luxury of blindly grabbing all CPUs available and start launching parallel processes, threads, etc. Thus, while attempting to do the same in an environment with 192 cpus, it just produces too many of those threads or something.
Question: Is there a way to limit the number of cpus Wine is allowed to use?