LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2015, 06:54 PM   #1
bfoster
LQ Newbie
 
Registered: Jan 2015
Posts: 16

Rep: Reputation: Disabled
Question Wine 1.4.1 and the Pursuit of Sound (Wheezy, Asus Xonar STX audio card)


Hey there,

This is only my second post here. My first post is related since my issue with getting sound to work with Wine brought me to totally destroy my Debian system and have to reinstall.
This first post is here: http://www.linuxquestions.org/questi....php?p=5294415

My audio card is Asus AV200 Xonar STX.

Code:
$ lspci -nn | grep audio
returns
Code:
02:04.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
I might need to install a driver.

Since I just reinstalled, I ran
Code:
# apt-get install wine
to get wine
When I run
Code:
wine
I get the message that the wine64-bin helper package (which is what I assume I ended up installing) doesn't provide wine itself and to run:
Code:
# dpkg --add-architecture i386
# apt-get update
# apt-get install wine-bin:i386
So far so good, so I run:
Code:
winecfg
and checkout the audio tab.
The selected driver is winealsa.drv
The defaults (output and input devices) are all set to (System default).
The Test Sound button makes no sound, but logs
Code:
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
I have read this is a red herring, but I am including it just in case someone disagrees.

When I run a Windows with wine, everything works just fine except the sound.

So I end up with a few questions:

Should I modify the default input/output devices (if so, to what?) I have tried this in the past, but couldn't get anything to work this way (so I doubt this will solve it alone).

How do I install the Asus Xonar STX driver, or should I stick with the default Oxygen HD audio driver?

And finally, in all my reading it seems Wine 1.4.1's sound is broken and later releases seem to work for people. Should I try to update to a later release, and if so, what is the best way to do this? (Attempting to install a later release led to installing libc6 from sid and destroyed my system last time, so I am rather weary of this at this point).

I'm open- flood this thread with suggestions and opinions.

And thanks for reading!
 
Old 01-03-2015, 01:48 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
First check whether sound is working file in linux. Normally sound is muted for playback. Use alsamixer to unmute. Wine uses the host alsa driver for sound emulation.
 
Old 01-04-2015, 12:53 PM   #3
bfoster
LQ Newbie
 
Registered: Jan 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
First check whether sound is working file in linux. Normally sound is muted for playback. Use alsamixer to unmute. Wine uses the host alsa driver for sound emulation.
See attached screenshots: neither my pulseaudio nor my audio card directly are muted. Like I said above, sound works for everything - VLC plays fine, browser has sounds, other games that don't use Wine play just fine, sound and all.

What could the problem be?

From reading around, my impression is that ALSA doesn't do multiple applications at the same time. Well, directly at least. Pulseaudio seems to regulate all of that. What if Wine is competing with another app (not sure which, since I get this issue with just running terminal to start the game with wine)...

Anyway, thanks for your response but as far as I can tell, it isn't muted.
Attached Thumbnails
Click image for larger version

Name:	20150105-alsaPlaybacknUmuted.png
Views:	32
Size:	24.9 KB
ID:	17275   Click image for larger version

Name:	20150105_XonarNotMuted.png
Views:	40
Size:	34.2 KB
ID:	17276  
 
Old 01-04-2015, 01:44 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Why not install the current version of WINE
Wine 1.7.33
or the current stable
Wine 1.6.2


1.4 is OLD

Quote:
VLC plays fine,
????????????/

WHY are you running vlc in WINE!!!

it is a NATIVE LINUX PROGRAM !!
-- with a ms windows port

USE THE DEBIAN DEB package!!!!
and NOT the windows exe file

Last edited by John VV; 01-04-2015 at 01:46 PM.
 
Old 01-04-2015, 02:15 PM   #5
bfoster
LQ Newbie
 
Registered: Jan 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
Why not install the current version of WINE
Wine 1.7.33
or the current stable
Wine 1.6.2


1.4 is OLD


????????????/

WHY are you running vlc in WINE!!!

it is a NATIVE LINUX PROGRAM !!
-- with a ms windows port

USE THE DEBIAN DEB package!!!!
and NOT the windows exe file
I was trying to demonstrate non-wine programs sound fine. I of course would not run VLC through wine.

How do you suggest I install the latest wine?
I tried building from the latest release files, but that didn't work last time (unmet dependencies I couldn't resolve, which led to trying to fulfill the dependencies from sid branch, which led to totally destroying my machine and having to reinstall)...

Thanks for the reply- sorry to scare you. :-P
 
Old 01-04-2015, 06:09 PM   #6
bfoster
LQ Newbie
 
Registered: Jan 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
I plan on following instructions from here: http://www.fandigital.com/2012/05/in...ian-linux.html

I will download
libwine-unstable_1.7.15-0.1_amd64.deb
wine64-unstable_1.7.15-0.1_amd64.deb
from http://dev.carbon-project.org/debian/wine-unstable/
and run
Code:
# dpkg -i
for each (lib first).

If I get the unmet dependencies message, I will run
Code:
# apt-get install -f

Do I need to uninstall Wine before doing this?

Any other suggestions?

Will post back with results.
 
Old 01-04-2015, 06:12 PM   #7
bfoster
LQ Newbie
 
Registered: Jan 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bfoster View Post
I plan on following instructions from here: http://www.fandigital.com/2012/05/in...ian-linux.html

I will download
libwine-unstable_1.7.15-0.1_amd64.deb
wine64-unstable_1.7.15-0.1_amd64.deb
from http://dev.carbon-project.org/debian/wine-unstable/
and run
Code:
# dpkg -i
for each (lib first).

If I get the unmet dependencies message, I will run
Code:
# apt-get install -f

Do I need to uninstall Wine before doing this?

Any other suggestions?

Will post back with results.
Hm... this is what I get:

Code:
# dpkg -i libwine-unstable_1.7.15-0.1_amd64.deb 
Selecting previously unselected package libwine-unstable:amd64.
(Reading database ... 150898 files and directories currently installed.)
Unpacking libwine-unstable:amd64 (from libwine-unstable_1.7.15-0.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libwine-unstable:amd64:
 libwine-unstable:amd64 depends on libc6 (>= 2.17); however:
  Version of libc6:amd64 on system is 2.13-38+deb7u6.
 libwine-unstable:amd64 depends on libgphoto2-6 (>= 2.5.2); however:
  Package libgphoto2-6 is not installed.
 libwine-unstable:amd64 depends on libgphoto2-port10 (>= 2.5.2); however:
  Package libgphoto2-port10 is not installed.
 libwine-unstable:amd64 depends on libmpg123-0 (>= 1.6.2); however:
 libwine-unstable:amd64 depends on libxml2 (>= 2.9.0); however:
  Version of libxml2:amd64 on system is 2.8.0+dfsg1-7+wheezy2.

dpkg: error processing libwine-unstable:amd64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libwine-unstable:amd64
Going to try
Code:
apt-get install -f
 
Old 01-04-2015, 06:13 PM   #8
bfoster
LQ Newbie
 
Registered: Jan 2015
Posts: 16

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by bfoster View Post
Hm... this is what I get:

Code:
# dpkg -i libwine-unstable_1.7.15-0.1_amd64.deb 
Selecting previously unselected package libwine-unstable:amd64.
(Reading database ... 150898 files and directories currently installed.)
Unpacking libwine-unstable:amd64 (from libwine-unstable_1.7.15-0.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libwine-unstable:amd64:
 libwine-unstable:amd64 depends on libc6 (>= 2.17); however:
  Version of libc6:amd64 on system is 2.13-38+deb7u6.
 libwine-unstable:amd64 depends on libgphoto2-6 (>= 2.5.2); however:
  Package libgphoto2-6 is not installed.
 libwine-unstable:amd64 depends on libgphoto2-port10 (>= 2.5.2); however:
  Package libgphoto2-port10 is not installed.
 libwine-unstable:amd64 depends on libmpg123-0 (>= 1.6.2); however:
 libwine-unstable:amd64 depends on libxml2 (>= 2.9.0); however:
  Version of libxml2:amd64 on system is 2.8.0+dfsg1-7+wheezy2.

dpkg: error processing libwine-unstable:amd64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libwine-unstable:amd64
Going to try
Code:
apt-get install -f
Definitely not what I expected.

Code:
# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  libwine-unstable
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 128 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 152018 files and directories currently installed.)
Removing libwine-unstable:amd64 ...
What am I doing wrong here?
 
  


Reply

Tags
asus, audio, debian, 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
ASUS Xonar DGX soundcard not recognised by ALSA in Debian Wheezy smith123 Debian 3 10-21-2014 06:35 PM
Problem With ASUS Xonar DS PCI 7.1 Audio Card tb75252 Linux - Newbie 0 02-04-2014 02:45 AM
[SOLVED] Asus P5LD2-VM audio problem debian wheezy rporro Linux - Hardware 4 08-20-2013 10:45 AM
(ASUS Xonar DX sound card) Only its Side output has sound. Akeke Linux - Hardware 3 04-13-2011 08:41 AM
Asus Xonar U1 real666 Linux - Hardware 4 01-04-2009 11:38 PM

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

All times are GMT -5. The time now is 03:18 AM.

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