LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2016, 03:37 PM   #1
jimtrenton
Member
 
Registered: Oct 2007
Distribution: Slackware 15.0, Manjaro
Posts: 37

Rep: Reputation: 10
no sound in Diablo 3 under wine


Hello All,

Could I possibly ask for a bit of advice in troubleshooting a problem with sound in wine? My problem is with sound in Diablo 3, in short there is none.

I have Slackware-current installed, converted to multilib using slackpkg+. I believe the multilib is upto date (even if the kernel(4.4.6 installed) and some other packages aren't), alsa packages also seem to be up to date as well. I installed wine-1.8-x86_64 from AlienBob's repo and it seems to be working fine. When in winecfg I can use the "Test Sound" button and I can hear a sound.
But when I start Diablo 3 I can get no sound from it.
I am attaching the output from when I run Diablo 3.
diablo.wine.out.txt
I have searched for similar problems but what I have found on the net seems to be resolving sound issues in wine in general which it seems I don't have as sound tests in winecfg are successful.
Please advise if more info is needed to help with this.
 
Old 05-22-2016, 03:47 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Make sure you have all the dependencies installed required by pulseaudio (assuming you are using it). I had this issue not long ago where some multilib packages were missing, it affected different games, but could be the same problem: https://www.linuxquestions.org/quest...nt-4175571745/

Check if these exist on your system;
Code:
alsa-plugins-compat32
pulseaudio-compat32
json-c-compat32
libasyncns-compat32

Last edited by coralfang; 05-22-2016 at 03:50 PM.
 
Old 05-22-2016, 04:11 PM   #3
jimtrenton
Member
 
Registered: Oct 2007
Distribution: Slackware 15.0, Manjaro
Posts: 37

Original Poster
Rep: Reputation: 10
Hi coralfang,

Thanks for the advice. I have all these packages installed and latest versions at that.

Thanks
 
Old 05-22-2016, 08:24 PM   #4
slackartist
Member
 
Registered: Oct 2015
Location: Where the buffalo's roam
Distribution: Slackware Current Multilib
Posts: 161
Blog Entries: 20

Rep: Reputation: 26
diablo working good on slackware there .

how did you upgrade your current kernel? just wondering if it was done correctly . since its not to use through slackpkg.

how does your aplay -l output look?

and did you configure .asoundrc ...

weird its only diablo ,

but I had that at first with diablo i believe and tf2

Last edited by slackartist; 05-22-2016 at 08:27 PM.
 
Old 05-23-2016, 03:19 AM   #5
jimtrenton
Member
 
Registered: Oct 2007
Distribution: Slackware 15.0, Manjaro
Posts: 37

Original Poster
Rep: Reputation: 10
Hi slackartist,

Diablo 3 is working fine, thank you. I get over 25fps on my rig and around 30fps with eyecandy set to lowest values.

My kernel is 4.4.6, I haven't upgraded it. I have made an ISO from -current a while back(when the kernel was at 4.4.6) and made a clean install, since I was putting a new SSD drive in and changing to UEFI boot this seemed the easiest solution. Only /home and a custom configs from /etc have been reused. Since then I have only been updating some packages and left the kernel untouched. I do realise that I am a little behind the current -current, but the alsa and pulseaudio packages are up to date.
This is my .asoundrc,
Code:
[trenton@stormik]$ cat .asoundrc
pcm.pulse {
        type pulse
}
ctl.pulse {
        type pulse
}
pcm.!default {
        type pulse
}
ctl.!default {
        type pulse
}
I believe AlienBob has advised this file is no longer needed since inclusion of Pulseaudio in Slackware but to help apps that might require it it should be setup as above(please correct me if this is wrong).

The command "aplay -l" gives the following output:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: VT1708S Alt Analog [VT1708S Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
And yes, I get sound when playing flash videos in Firefox, I get sound in Kodi and mplayer. Thanks to Pulseaudio I can hear these streams simultaneously, something I couldn't achieve with alsa before(maybe I just lacked time to research and configure it properly). And the only frustration now is the lack of sound in Diablo 3.

Thanks

Last edited by jimtrenton; 05-23-2016 at 03:22 AM. Reason: Corrected reason for the clean install
 
Old 05-23-2016, 04:53 AM   #6
slackartist
Member
 
Registered: Oct 2015
Location: Where the buffalo's roam
Distribution: Slackware Current Multilib
Posts: 161
Blog Entries: 20

Rep: Reputation: 26
look over this page if you havn't already http://docs.slackware.com/howtos:har...s_on_slackware
 
Old 05-23-2016, 06:58 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
If you're only partially upgrading your packages that could be the cause of your issue. Packages are built off of each other and, many times, require the versions they were built against to run properly. Diablo 3 may be accessing something that is linking to an old version of pulse or alsa, which could cause your audio to not function.

Have you checked with ldd to see if it's missing any libraries (not that this is conclusive, but if it dumps errors, then they need to get fixed).

Maybe it'd be worth giving Slackware Live Edition[1] a go (a live Slackware version developed by Alien Bob, based on the latest -current release).

[1] Also known as liveslak or Slacklive -- I'm not positive on the name since I've seen several iterations. However, I'm leaning towards liveslak referring to the scripts and Slackware Live Edition as the released ISOs.
 
Old 05-23-2016, 07:20 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bassmadrigal View Post
If you're only partially upgrading your packages that could be the cause of your issue. Packages are built off of each other and, many times, require the versions they were built against to run properly. Diablo 3 may be accessing something that is linking to an old version of pulse or alsa, which could cause your audio to not function.

Have you checked with ldd to see if it's missing any libraries (not that this is conclusive, but if it dumps errors, then they need to get fixed).

Maybe it'd be worth giving Slackware Live Edition[1] a go (a live Slackware version developed by Alien Bob, based on the latest -current release).

[1] Also known as liveslak or Slacklive -- I'm not positive on the name since I've seen several iterations. However, I'm leaning towards liveslak referring to the scripts and Slackware Live Edition as the released ISOs.
The collection of scripts to create the ISOs is called "liveslak". The resulting ISO will boot "Slackware Live Edition". There is no such thing as "Slacklive".
 
1 members found this post helpful.
Old 05-23-2016, 07:30 AM   #9
jimtrenton
Member
 
Registered: Oct 2007
Distribution: Slackware 15.0, Manjaro
Posts: 37

Original Poster
Rep: Reputation: 10
Hi All,

@slackartist: Thanks. I have seen that page before(the whole site is an often read), but my understanding is that the info there is to help troubleshoot general sound issues in Slackware. I've used that info in the past to configure my alsa setup. But one of the reasons for the reinstall was to have an out-of-the-box install of Pulseaudio and it's working great for everything other than this Diablo install.

@bassmadrigal:I know that upgrading only some of the packages is not always good but after reviewing the possible upgrades, I decided there was nothing I urgently needed. The essential parts of the system, in the form of the multilib, are up to date and I believe that is enough for the core to be considered up to date. I can't check with the 'ldd' as in the meantime I have found the solution to my particular problem.

I have somehow missed the following error in the output I have attached in the first post:
Code:
err:dsound:get_mmdevenum CoCreateInstance failed: 80040154
Researching that online sent me to this forum thread:
https://forum.winehq.org/viewtopic.php?t=14531

The poster of the same error advises that the issues has been resolved by recompiling Wine.
As my first wine package was installed from AlienBob's awesome packages repository, I thought it should not be an issue but still decided to recompile my own wine package from ponce's SlackBuild for the current branch.
And this proves that building stuff directly on the destination system makes all the difference.
After recompiling Wine and reinstalling Diablo 3 all works great.
Thanks for all the help and suggestions. Time to mark this as SOLVED.
 
1 members found this post helpful.
Old 05-23-2016, 07:48 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Alien Bob View Post
The collection of scripts to create the ISOs is called "liveslak". The resulting ISO will boot "Slackware Live Edition". There is no such thing as "Slacklive".
slackware.uk has it mirrored under alien-slacklive/, so that's probably where my confusion started.

But thanks for confirming my theory on the naming!

Quote:
Originally Posted by jimtrenton View Post
As my first wine package was installed from AlienBob's awesome packages repository, I thought it should not be an issue but still decided to recompile my own wine package from ponce's SlackBuild for the current branch.
And this proves that building stuff directly on the destination system makes all the difference.
After recompiling Wine and reinstalling Diablo 3 all works great.
Glad you got this fixed. I wonder if Eric's wine package was referencing newer libraries than what was on your system, causing the problem. Recompiling it would've fixed that as they would've been built against the older libraries on your system.

Anyway, I'm glad you got it working, and thanks for sharing the solution!
 
Old 05-23-2016, 08:31 AM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bassmadrigal View Post
I wonder if Eric's wine package was referencing newer libraries than what was on your system, causing the problem. Recompiling it would've fixed that as they would've been built against the older libraries on your system.
Actually I am thinking that the wine package for slackware-current in my repository is fairly old (30 Dec 2015) whereas PulsAudio was added to Slackware-current on 13 Jan 2016 - two weeks later. Perhaps if I compile a new Wine package, and it picks up PulseAudio, the OP's problem will disappear.
 
Old 05-23-2016, 09:06 AM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Alien Bob View Post
Actually I am thinking that the wine package for slackware-current in my repository is fairly old (30 Dec 2015) whereas PulsAudio was added to Slackware-current on 13 Jan 2016 - two weeks later. Perhaps if I compile a new Wine package, and it picks up PulseAudio, the OP's problem will disappear.
That makes sense as well. Guess I should've looked at the date of your wine package before I assumed it was referencing newer libraries that weren't on OP's computer.
 
  


Reply

Tags
diablo, sound, wine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine problem with Diablo 2 Rustylinux Linux - Games 1 04-28-2008 01:17 PM
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
Diablo II under Wine, no sound Baix Linux - Software 1 05-08-2005 02:21 PM
Wine with Diablo II odd Linux - Software 7 05-29-2004 01:36 PM
Diablo and WINE Avitas Linux - Software 9 04-29-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration