Форум

Can't run/install anything, 32/64bit, on Debian Jessie

Автор Replies
rbarclay4711 Tuesday 6 May 2014 at 22:53
rbarclay4711Anonymous

Aloha,

I've not used POL in quite some time (half a year?), and there were lots of (Debian) updates inbetween.

Now I'd like to again, and I can't run any of my previously-working-fine games, nor install new ones.

POL itself starts fine, but when I try to install something, I get "Wine crashed" immediately after selecting "32/64 bit". Ignoring that as suggested doesn't help.

OS: Debian Jessie (testing), amd64, foreign arch i386
Relevant (I guess) packages installed:
ii playonlinux 4.2.2-1 all front-end for Wine
ii wine 1.6.2-8 amd64 Windows API implementation - stan
ii wine-bin 1.6.2-8 i386 Windows API implementation - bina
ii wine32 1.6.2-8 i386 Windows API implementation - 32-b


(I hope I'm doing those code tags right!)

POL console output: ~ $ playonlinux
Looking for python... 2.7.6 - selected
[main] Message: PlayOnLinux (4.2.2) is starting
[clean_tmp] Message: Cleaning temp directory
[POL_System_CheckFS] Message: Checking filesystem for /home/user/.PlayOnLinux/
[main] Message: Filesystem is compatible
[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...
[maj_check] Message: List is up to date
[POL_Config_Write] Message: Config write: MANUAL_INSTALL_INCREMENT 23
[POL_SetupWindow_Init] Message: Creating new window for pid 21447
[POL_SetupWindow_menu] Message: menu answer: Install a program in a new virtual drive
[POL_SetupWindow_textbox] Message: textbox answer: risen
[POL_Wine_SelectPrefix] Message: Selecting prefix: risen
[POL_System_SetArch] Message: POL_ARCH set to x86
[POL_SetupWindow_checkbox_list] Message: checkbox_list answer: Use another version of Wine~Configure Wine~Install some libraries
[POL_SetupWindow_menu] Message: menu answer: 1.7.18
[POL_System_SetArch] Message: POL_ARCH set to x86
[POL_SetupWindow_menu_num] Message: menu_num answer: 0
[POL_System_SetArch] Message: POL_ARCH set to x86
[POL_Wine_PrefixCreate] Message: POL_WINEVERSION is already set to 1.7.18. Using it
[POL_Wine_PrefixCreate] Message: Creating prefix (1.7.18)...
[POL_Wine_PrefixCreate] Message: Prefix already exists
[POL_SetupWindow_menu] Message: menu answer: Erase (virtual drive content will be lost)
[POL_Wine_PrefixCreate] Message: Erase Prefix
[POL_Wine_PrefixCreate] Message: Using wine 1.7.18
[POL_Wine_InstallVersion] Message: Installing wine version path: 1.7.18, x86
[POL_Config_PrefixWrite] Message: Prefix config write: ARCH x86
[POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.7.18
[POL_Wine] Message: Running wine-1.7.18 --version (Working directory : /usr/share/playonlinux/python)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
Connection failure: Connection refused
pa_context_connect() failed: Invalid argument
[POL_Wine] Error: Wine seems to have crashed

If your program is running, just ignore this message


Running ~/.PlayOnLinux/wine/linux-x86/1.7.18/bin/winecfg works, however, as does just running the system winecfg.

I tried with 32 vs. 64bit virtual drives, and with quite a couple different Wine versions (freshly downloaded), plus the system one.

Trying to start a previously-working program yields:
[POL_System_CheckFS] Message: Checking filesystem for /home/user/.PlayOnLinux/wineprefix/Steam-default/drive_c/Program Files/Steam/Steam.exe
[POL_Wine] Message: Running wine-1.7.8 /home/user/.PlayOnLinux/wineprefix/Steam-default/drive_c/Program Files/Steam/Steam.exe -no-dwrite (Working directory : /home/user/.PlayOnLinux/wineprefix/Steam-default/drive_c/Program Files/Steam)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
Connection failure: Connection refused
pa_context_connect() failed: Invalid argument
[POL_Wine] Message: Wine return: 1
[POL_SetupWindow_Init] Message: Creating new window for pid 24657
[main] Error: Steam crashed.
Click on debug link to get more details.


And via the "debug" link:
[05/06/14 22:41:09] - Running wine-1.7.8 /home/user/.PlayOnLinux/wineprefix/Steam-default/drive_c/Program Files/Steam/Steam.exe -no-dwrite (Working directory : /home/user/.PlayOnLinux/wineprefixConnection failure: Connection refused
pa_context_connect() failed: Invalid argument


When I run the setup.exe manually, it works at least until the setup screen comes up, console output: ~ $ WINEPREFIX=/home/user/.PlayOnLinux/wineprefix/risen/ wine /usr/local/src/games/risen/setup_risen_2.0.0.6.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0xfde8b0, overlapped 0xfde8bc): stub
wine: configuration in '/home/waldner/.PlayOnLinux/wineprefix/risen' has been updated.
fixme:process:SetProcessDEPPolicy (1): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c05a 00000001
fixme:msg:ChangeWindowMessageFilter c05a 00000001
fixme:msg:ChangeWindowMessageFilter c05a 00000001
fixme:msg:ChangeWindowMessageFilter c05a 00000001
fixme:shell:SHAutoComplete stub
fixme:msg:ChangeWindowMessageFilter c05a 00000001
fixme:msg:ChangeWindowMessageFilter c05a 00000001
fixme:wincodecs:PngDecoder_Block_GetCount 0x16d8e0,0x33f928: stub
fixme:gdiplus:resample_bitmap_pixel Unimplemented interpolation 6
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x170224,0x162370): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x17117c,0x170cf0): stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x170460,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x170460,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x170460,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x158708,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x190e60,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x1919f8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x193688,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x208058,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x20ee60,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x1989f8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x16aeb8,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x158da0,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x158dc8,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x158dc8,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x158dc8,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x158dc8,0x33f928: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5b36340,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5b363f0,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5b37408,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5b37c60,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5ba8540,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5ba8e78,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5ba9818,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5baa938,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bab1c8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5baba40,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bac2c0,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bacb08,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bad388,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5badc00,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bae470,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5baecd0,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5baf550,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bafde8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb0668,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb0f10,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb1760,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb1fc8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb2868,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb30b8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb3928,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb41a0,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb4a08,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb52a8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb5b00,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb6390,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5bb6be8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5b379e8,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x146948,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x147108,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x1470a0,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x178bc0,0x33f958: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x5c16cf8,0x33f958: stub
fixme:win:WINNLSEnableIME hwnd 0x1013a enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1013a enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1013a enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1013a enable -1: stub!



Any hints?

Kind regards,
rbarclay
Ronin DUSETTE Wednesday 7 May 2014 at 9:21
Ronin DUSETTE
Admin

Connection failure: Connection refused

Quote


It seems like Steam cannot connect to the internet. Are you behind a firewall of some type? Can that particular computer get online?

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
rbarclay4711 Wednesday 7 May 2014 at 10:03
rbarclay4711Anonymous

It's not about Steam - that was just an example of a previously-working program. The error is the same when I try to install anything new (see first console output in my original post):

As for an example of another previously-working program: ~ $ playonlinux
Looking for python... 2.7.6 - selected
[main] Message: PlayOnLinux (4.2.2) is starting
[clean_tmp] Message: Cleaning temp directory
[POL_System_CheckFS] Message: Checking filesystem for /home/user/.PlayOnLinux/
[main] Message: Filesystem is compatible
[maj_check] Message: Web version : 1399449193
[maj_check] Message: Current local version : 1399398102
[maj_check] Message: Updating list
[POL_Config_Write] Message: Config write: LAST_TIMESTAMP 1399449193
[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...
[POL_System_CheckFS] Message: Checking filesystem for nwn2.exe
[POL_Wine] Message: Running wine-1.5.27 nwn2.exe (Working directory : /home/user/.PlayOnLinux/wineprefix/NeverwinterNights2_gog/drive_c/GOG Games/Neverwinter Nights 2 Complete)
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
Connection failure: Connection refused
pa_context_connect() failed: Invalid argument
[POL_Wine] Message: Wine return: 1
[POL_SetupWindow_Init] Message: Creating new window for pid 4351
[main] Error: Neverwinter Nights 2 Complete crashed.
Click on debug link to get more details.
[POL_SetupWindow_Close] Message: Closing window for pid 4351


(And, yes, this particular PC can get online - in fact it's not even NATed nor firewalled for outgoing connections ;) )

Kind regards,
rbarclay
Ronin DUSETTE Wednesday 7 May 2014 at 16:23
Ronin DUSETTE
Admin

Connection failure: Connection refused
pa_context_connect() failed: Invalid argument

Quote


I see it now. It looks like a PulseAudio conflict. Have you changed anything, in regards to your audio system? Installed/upgraded pulse, or maybe been running Jack through ALSA or something? That pa_context_connect is what is trying to connect to the pulseaudio server, and its getting rejected. Maybe pulse is not running or something? A quick google search of that error resulted in a LOT of results with people getting the same errors. I would start there. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
booman Thursday 8 May 2014 at 0:35
booman

I see a lot of i386 errors which are 32-bit compatible errors.
Did you install 32-bit libraries multiarch?
I'm not exactly sure how it works for Debian but in Mint and Ubuntu those 32-bit libraries have to be installed for most games to work.

Also, its a good idea to install Wine first, then install PlayOnLinux.

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
rbarclay4711 Thursday 8 May 2014 at 18:57
rbarclay4711Anonymous


Connection failure: Connection refused
pa_context_connect() failed: Invalid argument

Quote


I see it now. It looks like a PulseAudio conflict. Have you changed anything, in regards to your audio system? Installed/upgraded pulse, or maybe been running Jack through ALSA or something? That pa_context_connect is what is trying to connect to the pulseaudio server, and its getting rejected. Maybe pulse is not running or something? A quick google search of that error resulted in a LOT of results with people getting the same errors. I would start there. :)

Quote from DJYoshaBYD


I don't use PulseAudio, Jack, artsd, EsounD (never have), just plain Alsa.

Hmm - does POL start Wine in some special way that requires PulseAudio? Because running Wine directly works: ~ $ WINEPREFIX=/home/user/.PlayOnLinux/wineprefix/risen/ .PlayOnLinux/wine/linux-x86/1.7.18/bin/wine /usr/local/src/games/rise
n/setup_risen_2.0.0.6.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.s
o: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-ke
yring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0xece8b0, overlapped 0xece8bc): stub
wine: configuration in '/home/user/.PlayOnLinux/wineprefix/risen' has been updated.
fixme:process:SetProcessDEPPolicy (1): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.s
o: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-ke
yring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilterEx 0x1008c c05a 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x2008c c05a 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x10092 c05a 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x20092 c05a 1 (nil)
fixme:shell:SHAutoComplete stub
fixme:msg:ChangeWindowMessageFilterEx 0x100b4 c05a 1 (nil)
fixme:msg:ChangeWindowMessageFilterEx 0x100ba c05a 1 (nil)
fixme:wincodecs:PngDecoder_Block_GetCount stub
fixme:gdiplus:resample_bitmap_pixel Unimplemented interpolation 6
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18666c,0x166488): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x18713c,0x166470): stub
fixme:win:WINNLSEnableIME hwnd 0x10128 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10128 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10128 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10128 enable -1: stub!


Kind regards,
rbarclay
rbarclay4711 Thursday 8 May 2014 at 19:04
rbarclay4711Anonymous

I see a lot of i386 errors which are 32-bit compatible errors.
Did you install 32-bit libraries multiarch?

Quote from booman


Yes: ~ $ dpkg -l | egrep ^ii | cut -d " " -f 3 | grep 32
ia32-libs
ia32-libs-i386
lib32asan0
lib32atomic1
lib32bz2-1.0
lib32bz2-dev
lib32gcc-4.7-dev
lib32gcc-4.8-dev
lib32gcc1
lib32gomp1
lib32itm1
lib32ncurses5
lib32quadmath0
lib32stdc++6
lib32tinfo5
lib32z1
lib32z1-dev
libc6-dev-x32
libc6-x32
libx32asan0
libx32atomic1
libx32gcc-4.7-dev
libx32gcc-4.8-dev
libx32gcc1
libx32gomp1
libx32itm1
libx32quadmath0
libx32stdc++6
mpg321
wine32

(Plus a whole lot of arch:i386 packages, to many (>200) to list.)

Also other 32bit programs (like Firefox/Flash) work just fine ...

II'm not exactly sure how it works for Debian but in Mint and Ubuntu those 32-bit libraries have to be installed for most games to work.

Also, its a good idea to install Wine first, then install PlayOnLinux.

Quote from booman


... and actually so does (32bit!) Wine when I start it directly, see my previous post.

Kind regards,
rbarclay
terryc Friday 9 May 2014 at 14:18
terrycAnonymous

None of this is probably eal help, but just information.

I'm running stuff under Debian Wheezy, but it is a relatively fresh install and fandangling in some of the 32 bit libaries was a bit hokey pokey at times.

For sound, this system has pulseadio; user based and I basically have to kill it(twice) and then immediately start the game/app.


rbarclay4711 Saturday 10 May 2014 at 12:52
rbarclay4711Anonymous

Solved it.

Seems my memory about never having used Pulseaudio was not entirely correct. I ran POL through strace, waded through the copious output to where Wine crashed and saw that it ran Wine through 'pasuspender' - and pasuspender failed
Grep'ed for pasuspender in ~/.PlayOnLinux/* and found BEFORE_WINE=pasuspender -- in playonlinux.cfg - so clearly I've put that in there at some point.

Commented it out, now Wine&POL cooperate again.

Thanks to everyone who's tried to help me out!

Kind regards,
rbarclay
booman Saturday 10 May 2014 at 14:48
booman

Wow, your knowledge of Linux is very helpful. I never would have thought of that.
Glad you got it worked out.
How do you know that you put that line in playonlinux.cfg?
I never would have messed with its cfg file.

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
rbarclay4711 Saturday 10 May 2014 at 21:49
rbarclay4711Anonymous

Well, either I've got unwanted (and really perfectly sneaky) guests on my box, or I did some fiddling with Pulseaudio that I can't remember offhand. First one's unlikely, so the second option's probably true.

Fun aside, I'm rather cross with myself for not going through strace before and basically wasting everyones time - it's really sysadmin 101 if stuff doesn't work, and I'm a Unix/Linux sysadmin for over 15 years now, so really should know better.

Kind regards,
rbarclay
booman Saturday 10 May 2014 at 21:53
booman

Ah, that makes sense now. You definitely have some advantage over most of us.
What exactly does BEFORE_WINE=pasuspender -- do in PlayOnLinux?
I'm curious because I've read many problems with pulseaudio and PlayOnLinux/Wine.
There are a few work-arounds, but nothing permanent.

† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
rbarclay4711 Tuesday 13 May 2014 at 8:32
rbarclay4711Anonymous

Background: audio devices can usually only be used by one program at a time. This means you can't have, say, something playing music and a games audio output on at the same time.

Puleaudio, essentially, is a piece of code that opens your audio device, other programs (yes, multiple ones, at the same time) can then connect to Pulseaudio, and Pulse will mix the audio streams together and send it to the audio device. Plus Pulseaudio does other neat stuff like buffering, volume control (have your music at another volume than your game sound) and so on. See also http://en.wikipedia.org/wiki/PulseAudio
The basic idea behind Pulseaudio is good, and pretty neat. Never could make it work for me, though.

pasuspender -- /some/program suspends Pulseaudio for as long as /some/program runs, so that that program can open the audio device directly. Putting it in the BEFORE_WINE tag in PlayOnLinux.cfg essentially has POL running Wine through it, thus disabling Puleaudio for as long as Wine runs.

Be sure to read 'man pasuspender' before using it.

Kind regards,
rbarclay
petch Tuesday 13 May 2014 at 10:02
petch
Developer

I use ALSA dmix feature, and I can share audio devices without using PulseAudio.
So while PulseAudio may have its own benefits (network transparency, support for some specific audio hardware?), under Linux it's not the only way to get audio devices sharing.

Edited by petch

Deleted SPAM