[Wine] Re: Fedora Core 4 system lockup with wine 200506.. - 0.9.1

Rein Klazes wijn at wanadoo.nl
Thu Nov 17 13:09:26 CST 2005


On Mon, 14 Nov 2005 09:36:32 -0500, in gmane.comp.emulators.wine.user
you wrote:

>>>>> Stop all wine processes;
>>>>> edit your ~/.wine/system.reg and look for something like:
>>>>> [Software\\Wine\\Config\\Winmm] 1101586916
>>>>> "Drivers"="wineoss.drv"
>>>>>
>>>>> Try changing "wineoss" to "winealsa", something else or even to "none".
>>>>>
>>>>> Rein
>>>>>     
>
>Using "Drivers"="winealsa.drv" or "none" did allow wine to start without 
>parameters where before it would crash but launching a wine app locked 
>things up again so things were a little better.

Oops, I made a mistake with the registry key. The one I mention seems to
be out of use now. It should have been:

[Software\\Wine\\Drivers] 1121776151
"Audio"="oss"

To disable enter change "oss" to ""

>I finally decided to just remove the Diamond monster sound vortex2 card 
>and just use the built in motherboard audio(which was disabled) and now 
>wine works just fine.  It is a problem with the vortex driver it seems. 
>  It is strange that setting Drivers to none for Winmm still caused a 
>crash though.  You would think it would just ignore audio.
>
>The vortex cards were abondonded years ago by diamond (199?).  It was 
>the first card that came out that supported multiple audio streams(even 
>before sb live) so I have stuck with the card because it was just there. 
>  Time for it to be retired I guess.

If you still have the card around, and can compile wine form source then
it would be nice if you could test the attached patch. It works on a
similar problem with a vortex card I have here

Rein.
-------------- next part --------------
--- wine/dlls/winmm/wineoss/audio.c	2005-10-04 15:40:14.000000000 +0200
+++ mywine/dlls/winmm/wineoss/audio.c	2005-11-17 20:03:45.000000000 +0100
@@ -1019,6 +1019,7 @@ static void OSS_WaveFullDuplexInit(OSS_D
         for (c = 1; c <= MAX_CHANNELS; c++) {
             arg=c;
             rc=ioctl(ossdev->fd, SNDCTL_DSP_CHANNELS, &arg);
+            if( rc < 0) break;
             if (rc!=0 || arg!=c) {
                 TRACE("DSP_CHANNELS: rc=%d returned %d for %d\n",rc,arg,c);
                 continue;


More information about the wine-users mailing list