Apulse with WINE

Questions about Wine on Linux
Locked
jury
Level 2
Level 2
Posts: 43
Joined: Tue Feb 25, 2014 3:22 am

Apulse with WINE

Post by jury »

I have some unpleasant sound jittering in couple of games played through wine. I tried quite some tweaks for sound configuration in the system, but none of those helped.
Lately I have read on my distro forum (PCLOS) that its easy to turn off PulseAudio with just one tick in system configuration tool, so decided to try it.
So far everything works fine, and the applications like Firefox which rely on PulseAudio work fine when run with PulseAudio emulator called apulse.
The only thing that does not work is wine (especially that it should work with more sound drivers than PulseAudio) even running it with apulse.
I just get no sound at all and I do not see anything suspicious in terminal which would suggest that sound was not initialised. Below is an example of running first Flatout, maybe someone will see something.
And in winecfg I do not have any other options than PulseAudio to choose from and at least quite few years ago I remember there was much more there to choose from. And Wine FAQ says that it should work with ALSA, OSS, PulseAudio and CoreAudio drivers. So how can I choose ALSA? Or does anybody have any success running wine with apulse emulator?

Code: Select all

./flatout.sh
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0088:fixme:imm:ImeSetActiveContext (00010028, 0): stub
0088:fixme:imm:ImmReleaseContext (00010020, 00010028): stub
0024:fixme:imm:ImeSetActiveContext (0002004C, 1): stub
0024:fixme:imm:ImmReleaseContext (0006002C, 0002004C): stub
0024:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0024:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 7D58C41C.
0124:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #3:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #6:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #10:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #14:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #18:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[8]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #22:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #26:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #29:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #33:
0124:fixme:d3d_shader:print_glsl_info_log     Vertex info
0124:fixme:d3d_shader:print_glsl_info_log     -----------
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[0].zw" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[1]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[2]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[3]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[4]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[5]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[6]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[7]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[9]" might be used before being initialized
0124:fixme:d3d_shader:print_glsl_info_log     0(24) : warning C7050: "vs_out[11]" might be used before being initialized
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Apulse with WINE

Post by jkfloris »

So how can I choose ALSA?
An easy way to do this is with winetricks:

Code: Select all

winetricks sound=alsa
jury
Level 2
Level 2
Posts: 43
Joined: Tue Feb 25, 2014 3:22 am

Re: Apulse with WINE

Post by jury »

Wow, dead simple with winetricks. Thank you!

I tried couple of games and they work through ALSA fine. But trying one of those jittering games gives no sound at all (besides splash screens during start, but those splash screens sound well even with PulseAudio) So there is something going on for sure, as PulseAudio plays sounds but so unplesantly that its not 'listenable' and ALSA does not play at all.
There is some ALSA output in the terminal. Hopefully I should have some time to look at it during the weekend, so I will be able to play sound correctly in this game, as its one of my top favourites and I'm saying enough to listening to this ugly jitter :)
Locked