Cannot Install Wine

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
Michael_
Posts: 26
Joined: Tue Dec 10, 2024 8:20 pm

Re: Cannot Install Wine

#11 Post by Michael_ »

Well after working with FL 11 for a couple hours it seems to work okay.
But there are some factory audio files missing and opening the demo project results in errors as shown in the picture in my last post.

Of course i'm a bit worried if i can trust the app in this condition.
If someone has any ideas what i could try please let me know. Otherwise i think i have to leave it like that for now.

Maybe any log files that could be of interest?

User avatar
Kester
Posts: 384
Joined: Tue Aug 09, 2022 10:39 am

Re: Cannot Install Wine

#12 Post by Kester »

This is just a suggestion that may be useful if you have old Windows operating system discs and provides an alternative to Wine. Setr up Windows as a virtual operating system using VirtualBox or similar. I run Windows XP professional this way (albeit with it isolated from the internet) and run a number of old windows programs in it - it also allows be to access certain peripherals not compatible with Linux. Dual booting is another option but that might be a step too far for some.

Michael_
Posts: 26
Joined: Tue Dec 10, 2024 8:20 pm

Re: Cannot Install Wine

#13 Post by Michael_ »

Kester wrote: Wed May 14, 2025 10:38 am This is just a suggestion that may be useful if you have old Windows operating system discs and provides an alternative to Wine. Setr up Windows as a virtual operating system using VirtualBox or similar. I run Windows XP professional this way (albeit with it isolated from the internet) and run a number of old windows programs in it - it also allows be to access certain peripherals not compatible with Linux. Dual booting is another option but that might be a step too far for some.
Well it already seems to run good enough to not deal with a VM.

A VM would also be not ideal for doing Audio Work. Assuming it does work good enough the workflow would still suck.

I had a dual boot until now but i decided to not do that anymore starting with this new machine.
Long Term Plan is looking at Bitwig Studio and hoping this will be a good native linux replacement.

So again if someone has an idea what this could be and how to fix it please let me know.
I would also happily provide logs if you tell me which ones.
Otherwise i will ignore the error and missing audio files for now and hope this is really all that's not working correctly.
But i'm sure it could be fixed as its working fine on other linux distros.

Nokkaelaein
Posts: 311
Joined: Fri Jul 17, 2020 10:32 am

Re: Cannot Install Wine

#14 Post by Nokkaelaein »

Kester wrote: Wed May 14, 2025 10:38 am This is just a suggestion that may be useful if you have old Windows operating system discs and provides an alternative to Wine. Setr up Windows as a virtual operating system using VirtualBox or similar.
This is generally a good way to go, for many purposes where a compatibility layer for running the binaries directly isn't working well. However, in this particular case, there is a HUGE catch: professional digital audio workstation software needs to have rock solid audio hardware implementation and stable, predictable, efficient low-latency driver support. Virtualization in Virtualbox or similar will not really work for that. If the idea is not to run such software in such a manner that they should react to user input in realtime, it can work (in the sense that you do get sound out of it, after a little pause, when pressing play :p, hearing the project, using just a regular driver with ample buffers). For realtime stuff that this software is most often used for, not so much.

Michael_
Posts: 26
Joined: Tue Dec 10, 2024 8:20 pm

Re: Cannot Install Wine

#15 Post by Michael_ »

I think i got a bit further with this but i still need help.

To recap i get this error message when loading the demo project:

Code: Select all

Access violation at address 00000000004A5702D in module 'Harmor_x64.dll'. Read of address 000002D4C22BE910.
I now started fl from terminal using:

Code: Select all

 wine fl
When opening the Demo Project i get this error in the terminal:

Code: Select all

0128:err:winediag:NtCreateFile Too many open files, ulimit -n probably needs to be increased
0128:fixme:thread:GetThreadUILanguage : stub, returning default language.
0128:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0055C1E4, 00000000 0055C20C
0128:fixme:nls:get_dummy_preferred_ui_language (0x38 0x407 0055C1E4 00000000 0055C20C) returning a dummy value (current locale)
0128:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0055C1E4, 8631A680 0055C20C
0128:fixme:nls:get_dummy_preferred_ui_language (0x38 0x407 0055C1E4 8631A680 0055C20C) returning a dummy value (current locale)
0128:fixme:thread:GetThreadUILanguage : stub, returning default language.
0128:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0055C1E4, 00000000 0055C20C
0128:fixme:nls:get_dummy_preferred_ui_language (0x38 0x407 0055C1E4 00000000 0055C20C) returning a dummy value (current locale)
0128:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0055C1E4, 85EFA680 0055C20C
0128:fixme:nls:get_dummy_preferred_ui_language (0x38 0x407 0055C1E4 85EFA680 0055C20C) returning a dummy value (current locale)
0128:fixme:thread:GetThreadUILanguage : stub, returning default language.
0128:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0055C1E4, 00000000 0055C20C
0128:fixme:nls:get_dummy_preferred_ui_language (0x38 0x407 0055C1E4 00000000 0055C20C) returning a dummy value (current locale)
0128:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0055C1E4, 85973350 0055C20C
0128:fixme:nls:get_dummy_preferred_ui_language (0x38 0x407 0055C1E4 85973350 0055C20C) returning a dummy value (current locale)
According to ChatGPT this line is interesting:

Code: Select all

0128:err:winediag:NtCreateFile Too many open files, ulimit -n probably needs to be increased
ChatGPT suggested increasing the limit but all the solutions it gave me did not work including

Code: Select all

ulimit -n 65535 && wine fl
returns

Code: Select all

bash: ulimit: open files: Kann die Grenze nicht ändern: Die Operation ist nicht erlaubt
I'm not an MX Linux expert. Does somebody know how i can increase this limit?
I think there is a pretty high chance that this is my issue.

User avatar
wdscharff
Posts: 1108
Joined: Mon Feb 24, 2020 1:07 am

Re: Cannot Install Wine

#16 Post by wdscharff »

Google (NOT chatAIGPTmurks ;-} ) said: https://www.cyberciti.biz/faq/linux-inc ... pen-files/

theres a lot of links to the theme "ulimit", also in german ;-}
my working horse Desktop AMD Ryzen 9 3900x, 32GB Ram // SSD ... enough
mx-fluxbox, what else?

In nature there are neither rewards nor punishments.
There are consequences.


my wallpaper gallery

User avatar
Stevo
Developer
Posts: 14596
Joined: Fri Dec 15, 2006 7:07 pm

Re: Cannot Install Wine

#17 Post by Stevo »

If you're not bound to FL Studio, AVLinux may be able to suggest an alternative. I think you really should be running a Liquorix kernel for the low latency, too, usually a prerequisite for audio work.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

Michael_
Posts: 26
Joined: Tue Dec 10, 2024 8:20 pm

Re: Cannot Install Wine

#18 Post by Michael_ »

wdscharff wrote: Wed May 14, 2025 8:56 pm Google (NOT chatAIGPTmurks ;-} ) said: https://www.cyberciti.biz/faq/linux-inc ... pen-files/

theres a lot of links to the theme "ulimit", also in german ;-}
I found this article to be pretty confusing / not very easy & straight forward.
This helped me fix it in the end: https://github.com/ethereum/go-ethereum/issues/17312

But i did it a little different.

1. Open Terminal and execute: (You can also use nano etc.)

Code: Select all

kate /etc/security/limits.conf
2. Below (this might vary a bit depending on your configuration):

Code: Select all

#*               soft    core            0
#root            hard    core            100000
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#ftp             -       chroot          /ftp
#@student        -       maxlogins       4
add: (replace with your username)

Code: Select all

michael          soft    nofile          100000
michael          hard    nofile          200000
3. Save (will ask for root password)

4. Reboot

-----

FL Studio 11 is now working fine, no more errors when loading the demo project.
I will now try the Liquorix kernel to see if i really get lower latency with that. :)

Michael_
Posts: 26
Joined: Tue Dec 10, 2024 8:20 pm

Re: Cannot Install Wine

#19 Post by Michael_ »

Michael_ wrote: Thu May 15, 2025 3:55 am I will now try the Liquorix kernel to see if i really get lower latency with that. :)
The answer to this question is NO. The performance is even a bit worse and i found the reason by accident.
The Liquorix Kernel limits my maximum CPU Clock Speed to 2 GHZ which is the base clock speed. In other Words it disables Turbo Boost.
Reverting back to the Standard Kernel Turbo Boost is enabled and working again letting me get speeds up to 4.7GHZ.

Needless to say that 2GHZ is rather low for realtime audio production.
But this is also a limitation of my system (W9-3595x with 60 cores, 120 Threads & 512GB RAM) which is not perfect for Audio Processing to begin with because from what i understand this CPU/Platform has a somewhat higher latency in general.
Running FL Studio in Wine doesn't make things better. I need 4096 samples Buffersize to run the demo project. Smaller Projects i can run with 512 samples.
In Bitwig i can get down to 128 samples with a few minor dropouts but still very usable or 256 samples and the demo project plays perfectly.

But i kinda expected this and it's not an issue because this is not the main application for this system.
Running multiple Virtual Machines is. And from what i read i should probably better stay away from the Liquorix kernel for that and if i prioritize Stability & Reliability in general.

Michael_
Posts: 26
Joined: Tue Dec 10, 2024 8:20 pm

Re: Cannot Install Wine

#20 Post by Michael_ »

Michael_ wrote: Thu May 15, 2025 6:04 am The Liquorix Kernel limits my maximum CPU Clock Speed to 2 GHZ which is the base clock speed. In other Words it disables Turbo Boost.
Reverting back to the Standard Kernel Turbo Boost is enabled and working again letting me get speeds up to 4.7GHZ.
I need to correct myself since this is not entirely true.
If using "cpupower" it reports that the max clock speed is 2 GHZ. I cannot set the minimum clock speed above 2GHZ using "cpupower" when using Liquorix Kernel.
BUT inxi -Fz still reports some cores clocking at 3 to 4 ghz under load. So it seems like it does NOT disable Turbo Boost but still prevents me from setting a higher min clock frequency than 2 GHZ. With the Standard Kernel it allows me to do this though.

Post Reply

Return to “MX Help”