Wine apps in realtime,possible?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
sevy
Level 2
Level 2
Posts: 15
Joined: Sat Jan 17, 2009 5:34 pm

Wine apps in realtime,possible?

Post by sevy »

Hi All
I need a sound application which is cpu heavy,to run in real time.Im guessing it would eliminate skipping sound when I open other windows etc.
Is there a way of running wine apps in real time?
:?:
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Wine apps in realtime,possible?

Post by austin987 »

On Tue, Mar 24, 2009 at 9:29 AM, sevy <[email protected]> wrote:
Hi All
I need a sound application which is cpu heavy,to run in real time.Im guessing it would eliminate skipping sound when I open other windows etc.
Is there a way of running wine apps in real time?
You mean with full CPU access? It already does, unless you have some
other scheduler blocking it. You could try adjusting 'nice' settings,
to get it higher priority.

--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine apps in realtime,possible?

Post by vitamin »

sevy wrote:I need a sound application which is cpu heavy,to run in real time.
Wine is incapable of even soft real-time. Unless you just throwing words "real time" without understanding what they mean.

Wine is not a system process it can not guarantee that kernel will always schedule it's parts responsible for processing sound. You can re-nice Wine processes, however that will not guarantee anything. Too many dependencies and variables.
sevy
Level 2
Level 2
Posts: 15
Joined: Sat Jan 17, 2009 5:34 pm

Post by sevy »

OK
Ive been trying the different audio drivers including jack and esound but so far the most stable is alsa.
If I leave my sound playing and dont touch anything else its ok but I need to open other windows and thats when the sound stutters.I tried adjusting nice settings but no luck and different soundcards.
What else could I try?
Peter L Jones

Wine apps in realtime,possible?

Post by Peter L Jones »

Hi,

If you're trying to run an audio app that runs with ASIO in Windows, the most
stable way is to use ASIO in WINE, using WINEASIO and JACK. Apps like Reaper
work well like this (on a -rt kernel with the usual audio "real-time" tweaks).

Regards,

-- Peter

sevy wrote:
OK
Ive been trying the different audio drivers including jack and esound but so far the most stable is alsa.
If I leave my sound playing and dont touch anything else its ok but I need to open other windows and thats when the sound stutters.I tried adjusting nice settings but no luck and different soundcards.
What else could I try?




sevy
Level 2
Level 2
Posts: 15
Joined: Sat Jan 17, 2009 5:34 pm

Post by sevy »

Hi Peter
Im trying to run winamp with the linein plugin so I can use a dsp compressor that I cant do with out.
The best I can get out of it is Alsa in wine,then in winamp either directsound or waveout or even low latency waveout.
Luckily even though the sound breaks up when I move the mouse,my internet stream is fluid.I can settle for that. :)
Another problem Im having is that when I begin capturing sound through linein the latency is quite small but as time goes on it becomes much more(I hear myself speaking probably more than 10 seconds later!)
I havent yet had asio plugin for winamp work with linein.
Ill give asio in wine a try.

Thanx
sevy
Level 2
Level 2
Posts: 15
Joined: Sat Jan 17, 2009 5:34 pm

Post by sevy »

A better graphics card has helped alot,doesnt skip as much when moving windows :D
Sephiroth
Level 2
Level 2
Posts: 36
Joined: Fri Mar 27, 2009 4:57 pm

Post by Sephiroth »

Have you tried Audacious for Linux? I know it can use Winamp skins and all, and it may work with the plugins, although I honestly don't know. What exactly are you trying to do here, because Linux has a load of multimedia apps that stomp Winamp. I use VLC and Audacious myself and have yet to find a format that I am unable to play. It seems to me as though you're taking an unnecessary road to simply listen to Internet radio or record audio.
Locked