Comments (9)
JACK is a lot more strict on buffer size and timing compared to pulseaudio, so understandable that they dont behave the same way.
Did you try to get good RT behaviour by declaring the variables for realtime usage?
It requires wine-rt or wine-staging.
So try this:
export STAGING_SHARED_MEMORY=1
export STAGING_RT_PRIORITY_BASE=15
export STAGING_RT_PRIORITY_SERVER=10
export WINE_RT_POLICY=FF
export WINE_RT=15
export WINE_RT_PRIO=15
export WINE_SVR_RT=10
Then start your wine application from the same terminal where you exported those variables
from wineasio.
Hi Filipe,
Thanks for answering. Sorry for the delay but I had a really hard time installing wine-staging. Following your advice, I have installed :
wine --version
wine-5.4 (Staging)
and also wineasio version 5:0.10.0~git20200209
Then the terminal I did what you said :
export STAGING_SHARED_MEMORY=1
export STAGING_RT_PRIORITY_BASE=15
export STAGING_RT_PRIORITY_SERVER=10
export WINE_RT_POLICY=FF
export WINE_RT=15
export WINE_RT_PRIO=15
export WINE_SVR_RT=10
In the same terminal I ran the program, doing :
wine "c:\programData\Ableton\Live 10 Trial\Program\Ableton Live 10 Trial.exe"
Then running Ableton Live I am able to use the wineasio driver.
But it didn't solve my problem : same crazy cpu usage and xruns.
Just for your info, in case it can be useful :
I didn't use playOnLinux to install ableton live and wineasio : I installed wine and wineasio with synaptic and the terminal.
But on playonlinux, the wine version proposed for 64 bits is the 3.10-staging, and when trying to install the wineasio driver with playonlinux, playonlinux says :
64-bit wineprefix is not supported. Please use a 32-bit prefix.
Also, when I use the winecfg gui, in the libraries panel I can't find the wineasio.
Do you have another tips? Do you recommand using playonlinux version?
Philippe
UPDATE : I tried Wine asio with the flStudio demo and it works with no latency. So I guess wineasio is not the problem, it is more a problem about my wine configuration I guess.
So I stop bothering you. Keep up with the good work.
Cheers!
from wineasio.
UPDATE : I tried Wine asio with the flStudio demo and it works with no latency. So I guess wineasio is not the problem, it is more a problem about my wine configuration I guess.
So I stop bothering you. Keep up with the good work.
Cheers!
I am only seeing this now, so I guess it works for you after all.
Cheers too.
from wineasio.
from wineasio.
Hey @philnsicab, did you solved the problem? I am on Guitar Pro and the latency is too much.
from wineasio.
JACK is a lot more strict on buffer size and timing compared to pulseaudio, so understandable that they dont behave the same way.
Did you try to get good RT behaviour by declaring the variables for realtime usage? It requires wine-rt or wine-staging.
So try this:
export STAGING_SHARED_MEMORY=1 export STAGING_RT_PRIORITY_BASE=15 export STAGING_RT_PRIORITY_SERVER=10 export WINE_RT_POLICY=FF export WINE_RT=15 export WINE_RT_PRIO=15 export WINE_SVR_RT=10
Then start your wine application from the same terminal where you exported those variables
Thx a lot @falkTX (for all the great dev and this suggestion) !
I've been experiencing the same problem of high DSP load and xruns with ableton live. The switch to wine-staging and those env parameters have done the trick perfectly !
Maybe the existence of the realtime feature in wine-staging and it's use to improve WineASIO response in certain situations could be documented in the README ? I don't measure how specific this issue is but RT feature and music seems to pair pretty generally to me.
from wineasio.
Hey @philnsicab, did you solved the problem? I am on Guitar Pro and the latency is too much.
Hi @mani-rai , no I didn't solve the problem. I reached to chose wineasio in the parameters of live but then live won't open anymore.
Did you try to get good RT behaviour by declaring the variables for realtime usage? It requires wine-rt or wine-staging.
Hi @e-lie , no I didn't. I tried thought. On the first try I could select wineasio driver in live preferences but then I closed live and I couldn't open it again. I had opened it several times before thought with pulseaudio.
---- failed to open <asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\home\my_user_name\asioapp\dosdevices
z:\home\my_user_name\asioapp\dosdevices\z:\timeshift\snapshots\2022-01-18_14
-51-46\localhost\usr\share\ghostscript\9.50\Resource\CIDFSubst\DroidSansFallback
.ttf>
DroidSansFallback.ttf is a font.
from wineasio.
@falkTX : I tried Wineasio with the flStudio demo and it works with no latency.
I retested and yes flStudio demo works flawlessly with wineasio, with no latency.
Now I can select the wineasio driver in Ableton. When I do so, I have no latency but I still have the audio glitches.
I can select the flStudio asio driver in Ableton, and it gives me a little latency (it says 100 ms but I think it is like 30 to 40 ms), and no glitches !
I must also say that in winecfg, the selected audio driver is winepulse.drv. Is it normal ? If not, how do I change this ?
A weird thing happens when I launch Ableton live from the command line : Live opens but there is no instruments inside, no effects, etc...
I redirected the errors in a file and the
cat file | egrep *:err:*
and
cat file | grep fail
gives :
---- failed to open </usr/share/fonts/\type1\gsfonts\n019024l.pfb> as a font
---- failed to open </usr/share/fonts/\X11\Type1\c0419bt_.pfb> as a font
0114:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
0114:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0114:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
After installing the windbind package, those 2 previous errors disappeared, but didn't solve the behaviour.
0168:err:d3d:wined3d_context_gl_reacquire Acquired context 0000000000387D20 instead of 00000000002EADA0.
0168:err:d3d:wined3d_context_gl_reacquire Acquired context 00000000002B18F0 instead of 0000000000387D20.
There is also a load of :
0118:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000011ED90 1 C) semi-stub
and some :
0118:fixme:dxgi:d3d11_swapchain_Present1 Ignored present parameters 000000000011E5A0.
Any idea on how to solve this ?
Edit : I usually consider 256 samples / period beying okay for latency. But I tried with 512 and then there are no glitches in the audio in Ableton Live. Still erratic behaviour of the processor but with less charge.
from wineasio.
Experiencing issues as well. I run jack2 and a motu interface. At 128 samples is kind of ok as long as I don't press any menus or file browser in live. It looks like the graphics are causing glitches.
If anyone has a tip or experience on this please do tag me here and I'll provide more info.
I tried rt kernel, wine from aur and run playonlinux
from wineasio.
Related Issues (20)
- Create wineasio-register HOT 3
- wineasio.dll osx
- wineasio settings HOT 1
- Unable to build on Kubuntu 22.04 LTS HOT 4
- Clarify installation steps HOT 8
- JACK protocol mismatch (8 vs 9) HOT 4
- wineasio-register not copying files properly. HOT 9
- Freezing issue with FL Studio, and crashing with Ableton Live when selecting the WINEASIO option. HOT 3
- wineasio-register needs to installed 32-bit library into syswow64 folder
- wineasio not registering correctly(?) HOT 1
- Invalid in/out channels fails CreateBuffers call crashing application.
- No sound with WineASIO in fl studio HOT 6
- No longer getting the wineasio to register after upgrading to winehq-stable 9 HOT 7
- Add a README section to explain how to manually register the compiled files?
- Can't change sample rate for FL Studio, causes crash HOT 2
- FL Studio crashes when WineASIO device is selected HOT 3
- wineasio-register fails to register 64-bit DLL in Debian HOT 1
- Unable to open a JACK client as: <name> HOT 2
- Unable to make 32 or 64 HOT 1
- Unable to Build both this and AUR version on Arch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wineasio.