You are not logged in.

#1 2011-09-12 18:55:38

jgreen1tc
Member
From: St. Louis
Registered: 2011-05-16
Posts: 251

No sound in Diablo 2

After a recent wine update, there is no sound at all in diablo 2.

Here are some errors I'm getting.

jgreen1tc ~ $ wine ~/Media/Games/Diablo\ II/Game.exe
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
fixme:advapi:SetSecurityInfo stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33f26c,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d: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.
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d: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.
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:ddraw:ddraw_surface7_Flip Can't find a flip target
err:ddraw:ddraw_surface7_Flip Can't find a flip target
err:ddraw:ddraw_surface7_Flip Can't find a flip target
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d: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.
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK

I have tried switching DirectSound hardware acceleration to both Full and Emulation in winecfg and neither one work. Sound works everywhere else. What would have changed during the update to make this kind of thing happen?

Offline

#2 2011-09-12 19:10:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No sound in Diablo 2

err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory

Do you have libmpg123.so.0?

Did you update just wine or the whole system? mpg123 was updated on 8th Sept., check if you have the current version (1.13.4-1) installed.

Last edited by karol (2011-09-12 19:12:03)

Offline

#3 2011-09-12 19:13:25

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: No sound in Diablo 2

The blatantly obvious first line shows the error:

libmpg123.so.0: cannot open shared object file: No such file or directory

So install mpg123.

Edit: karol beat me to it.

Last edited by brebs (2011-09-12 19:14:33)

Offline

#4 2011-09-14 01:08:44

jgreen1tc
Member
From: St. Louis
Registered: 2011-05-16
Posts: 251

Re: No sound in Diablo 2

Oh I see. I'm not sure how to read error reports sometimes because I don't know the significance of each error. It's all still pretty foreign to me. I did as you said though, and I still have no sound. I did some research and thought that using the -opengl parameter would work but no dice. The errors now read:

jgreen1tc ~ $ wine ~/Media/Games/Diablo\ II/Game.exe -opengl
fixme:advapi:SetSecurityInfo stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33f26c,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d: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.
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d: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.
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
err:ddraw:ddraw_surface7_Flip Can't find a flip target
err:ddraw:ddraw_surface7_Flip Can't find a flip target
err:ddraw:ddraw_surface7_Flip Can't find a flip target
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:d3d: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.
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK
fixme:d3d_surface:surface_get_gl_buffer Higher back buffer, returning GL_BACK

Also, on winecfg, I am noticing there is no checkbox for ALSA which seems to be what most other fixes I am google-ing suggest checking. Sorry I can't be much help to you guys, but I'm a little ignorant. All help is appreciated.

Edit: I just realized the sound options are grayed out in game...that cant be good.

Edit2: I was getting an unhandeled exception error when the cinematics displayed yesterday. Today, when I booted my computer, ran pacman -Syu, and started the game, I noticed I had sound, but got the unhandled exception error again. I started the game immediately afterwards and it worked. Sound and everything. I noticed I couldnt adjust volume at first, but then noticed kmix wasn't in the system tray so I started it and I could.

Then when my computer died, kmix was started automatically and I started getting the same sound issue as before. So far I have absolutely no idea what I did, but I'm gonna try to reproduce it.

Last edited by jgreen1tc (2011-09-14 21:21:37)

Offline

Board footer

Powered by FluxBB