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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2010, 02:09 AM   #1
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99
Blog Entries: 39

Rep: Reputation: 19
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio


After losing all of my files to a dumb partitioning mistake on my part, I'm happy with my shiny new fedora 13 system.

I'm reinstalling my Windows games under wine currently ( Total Annihilation currently ) and everything works except the sound. By experience I know I have to open the 'audio' tab in winecfg and wine will normally auto-detect my sound settings.

No such luck. Winecfg crashes when I look at the tab. Knowing the problem is probably pulse-audio related, I did a yum remove pulseaudio ; killall pulseaudio.

Sound still works with the rest of the system, and the sound tab does not crash in winecfg. But now I'm presented with an empty list of 'Sound Drivers' with an options labelled 'Sound Drivers' that looks like it will expand when I click on its little '+' but it does not budge.

Changing the wine registry audio key to ALSA does not yield results either.

See attached

Is there a solution to my problem?

Fedora 13 64-bit
Attached Thumbnails
Click image for larger version

Name:	wineconfig_audiotab.png
Views:	72
Size:	4.5 KB
ID:	3831  
 
Old 06-13-2010, 03:37 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I believe the driver entry is case sensitive. I tried editing mine from "alsa" to "ALSA" and subsequently winecfg complained that it was a non-existent driver.

If alsa isn't working for you, you can also try using the esd driver, since pulse was designed to be a drop-in replacement for it.

In addition to using regedit (HKEY_CURRENT_USER\Software\Wine\Drivers), you can also edit the ~/.wine/user.reg file directly. The sound driver entry is this:

Code:
[Software\\Wine\\Drivers] 1276414916
"Audio"="esd"
Muliple drivers can be separated with commas ("Audio"="esd,alsa"), although as the dialog says, this isn't recommended. My wine shows alsa, esd, oss, jack, and nas as options.

BTW, the number string on the first line appears to be simply the time (in epoch form) when the setting was changed.

And just for completeness, the DirectSound settings at the bottom part of the dialog appear to use this entry:

Code:
[Software\\Wine\\DirectSound] 1276414916
"DefaultBitsPerSample"="16"
"DefaultSampleRate"="44100"
"EmulDriver"="Y"
"HardwareAcceleration"="Full"
DefaultBitsPerSample can be 8 or 16, and DefaultSampleRate has options for 8000 11025 16000 22050 44100 or 48000. 44100/16 is CD quality, of course.

EmulDriver is Y or N. I'm not 100% sure what this does, since there's no direct equivalent for it in the gui. Best to just leave it on, I think.

HardwareAcceleration can be either Full or Emulation.
 
1 members found this post helpful.
Old 06-13-2010, 04:03 AM   #3
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 39

Rep: Reputation: 19
Quote:
Originally Posted by David the H. View Post
I believe the driver entry is case sensitive. I tried editing mine from "alsa" to "ALSA" and subsequently winecfg complained that it was a non-existent driver.
Just tried. Caps or not putting alsa in the key does not change the outcome.

[quote[
If alsa isn't working for you, you can also try using the esd driver, since pulse was designed to be a drop-in replacement for it.
[/QUOTE]

A yum install esound and then changing the key to esd does not work either
 
Old 06-13-2010, 04:35 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
You didn't need to install esound. As I said, pulse is a drop-in replacement for esound. If you have pulse running, then anything that uses esd should work with it out-of-the-box.

But if none of the settings are working, then your problem must be something deeper than just winecfg. You might try stepping back to a previous version of wine, to determine if this is a recent bug.
 
1 members found this post helpful.
Old 06-13-2010, 06:07 AM   #5
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 39

Rep: Reputation: 19
Quote:
Originally Posted by David the H. View Post
You didn't need to install esound. As I said, pulse is a drop-in replacement for esound. If you have pulse running, then anything that uses esd should work with it out-of-the-box.

But if none of the settings are working, then your problem must be something deeper than just winecfg. You might try stepping back to a previous version of wine, to determine if this is a recent bug.
Installing esound just installs the pulseaudio-esound-compat packages.

I cannot downgrade wine AFAIK, but I am new to the YUM system
Code:
root ~ $ yum list wine
Loaded plugins: presto, refresh-packagekit
fedora/metalink                                                                                                | 3.2 kB     00:00     
updates/metalink                                                                                               | 3.2 kB     00:00     
Available Packages
wine.i686                                                      1.1.38-1.fc13                                                    fedora
wine.x86_64                                                    1.1.38-1.fc13                                                    fedora
root ~ $ yum downgrade wine
Loaded plugins: presto, refresh-packagekit
Setting up Downgrade Process
No Match for available package: wine-1.1.38-1.fc13.i686
No Match for available package: wine-1.1.38-1.fc13.x86_64
Nothing to do
root ~ $
Perhaps if I remove the 64 bit version and just use the 32 bit package it will work.

EDIT: I only have the 32bit version ( i686 ) installed. Odd, I'll try the 64 bit package.

EDIT2: Problem still here.

Last edited by William (Dthdealer); 06-13-2010 at 06:10 AM.
 
Old 06-13-2010, 07:30 AM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
The winehq download page link for fedora leads here, and this says that the fedora packages have the audio drivers separated into separate packages. Not being a fedora user, it's unclear to me whether this refers to the official repository versions, or to a separate source. In any case, 1.1.38 is now several releases out of date, so you may want to try to compile your own, newer, version.

(Edit: The page also suggests backing up your configuration and testing problems with a fresh installation.)

I also found this bug report (which in turn leads here). It may or may not be related to what you're experiencing.

Incidentally, it also mentions that the 64bit version of wine will only run 64bit programs. (version 1.1.44 has added apparently added support, however.)

Last edited by David the H.; 06-13-2010 at 07:34 AM.
 
1 members found this post helpful.
  


Reply



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
No Sound with Pulseaudio on Intel HDA STAC92xx KenjiKinya Linux - Software 1 09-13-2009 09:12 AM
no sound after pulseaudio update russianwizard Linux - Software 7 03-19-2009 01:00 PM
sound is very faint (alsa and pulseaudio, Fedora 10) bach-fiend Linux - Newbie 3 02-16-2009 03:11 PM
LXer: Using PulseAudio sound server on Fedora 8 LXer Syndicated Linux News 0 03-14-2008 03:10 PM
Winecfg *crashing* on sound tab? Tisch Slackware 1 10-17-2006 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 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