Two different alsa init's? (was: Re: starcraft problem)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did some more poking around, and i found some interesing differences in the 
initialisation of the alsa driver when you run the demo installer, or the 
installed demo.

Maybe this will help to solve the problem.
Regards, cedric

The demo installer (with perfectly sound, and speed)
bash-2.05b$ wine --debugmsg +wave SCDemo.exe
err:font:ReadFontDir Can't open directory 
"/home/cedric/wine-c-drive/windows/Fonts"
Fontconfig error: line 24: not well-formed (invalid token)
Fontconfig error: Cannot load default config file
trace:wave:ALSA_WaveInit dev=0 id=SB16 DSP name=DSP v4.16 subdev=0 
subdev_name=subdevice #0 subdev_avail=0 subdev_num=1 stream=PLAYBACK 
subclass=GENERIC MIX
trace:wave:ALSA_TraceParameters FLAGS: sampleres=true overrng=false 
pause=false resume=false syncstart=false batch=false block=false double=false 
halfd=false joint=false
trace:wave:ALSA_TraceParameters access=MMAP_INTERLEAVED
trace:wave:ALSA_TraceParameters format=S8
trace:wave:ALSA_TraceParameters channels=0
trace:wave:ALSA_TraceParameters buffer_size=0
trace:wave:ALSA_TraceParameters rate=0
trace:wave:ALSA_TraceParameters buffer_time=0
trace:wave:ALSA_TraceParameters periods=0
trace:wave:ALSA_TraceParameters period_size=0
trace:wave:ALSA_TraceParameters period_time=0
trace:wave:ALSA_TraceParameters tick_time=1000
trace:wave:ALSA_WaveInit Configured with dwFmts=00000888 dwSupport=0000006c
trace:wave:ALSA_InitializeVolumeCtl    ctrl range: min=0  max=31  step=0
trace:wave:ALSA_wodMessage (0, 0064, 00000000, 00000000, 00000000);
trace:wave:ALSA_wodMessage (0, 0003, 00000000, 00000000, 00000000);
trace:wave:ALSA_wodMessage (0, 0005, 41F8D35C, 41F8D3AC, 00030008);
trace:wave:wodOpen (0, 0x41f8d3ac, 00030008);
trace:wave:ALSA_TraceParameters access=MMAP_INTERLEAVED
trace:wave:ALSA_TraceParameters format=S16_LE
trace:wave:ALSA_TraceParameters channels=2
trace:wave:ALSA_TraceParameters buffer_size=11025
trace:wave:ALSA_TraceParameters rate=22050
trace:wave:ALSA_TraceParameters buffer_time=500000
trace:wave:ALSA_TraceParameters periods=49
trace:wave:ALSA_TraceParameters period_size=221
trace:wave:ALSA_TraceParameters period_time=10022
trace:wave:ALSA_TraceParameters tick_time=1000
trace:wave:wodPlayer waiting 4294967295ms (4294967295,4294967295)
trace:wave:wodOpen handle=3c053ff8
trace:wave:wodOpen wBitsPerSample=16, nAvgBytesPerSec=88200, 
nSamplesPerSec=22050, nChannels=2 nBlockAlign=4!
trace:wave:wodNotifyClient wMsg = 0x03bb dwParm1 = 0000 dwParam2 = 0000
trace:wave:ALSA_wodMessage (0, 0007, 00000000, 403B47D8, 00000020);
trace:wave:wodPrepare (0, 0x403b47d8, 00000020);
trace:wave:ALSA_wodMessage (0, 0007, 00000000, 403B47F8, 00000020);
trace:wave:wodPrepare (0, 0x403b47f8, 00000020);
trace:wave:ALSA_wodMessage (0, 0009, 00000000, 403B47D8, 00000020);
trace:wave:wodWrite (0, 0x403b47d8, 00000020);
trace:wave:ALSA_wodMessage (0, 0009, 00000000, 403B47F8, 00000020);
trace:wave:wodWrite (0, 0x403b47f8, 00000020);
trace:wave:wodPlayer_WriteMaxFrags Writing wavehdr 0x403b47d8.0[29400]
trace:wave:wodPlayer_WriteMaxFrags Writing wavehdr 0x403b47f8.0[29400]
trace:wave:wodNotifyClient wMsg = 0x03bd dwParm1 = 403B47D8 dwParam2 = 0000
trace:wave:wodPlayer waiting 10ms (10,4294967295)
trace:wave:wodPlayer_WriteMaxFrags Writing wavehdr 0x403b47f8.14700[29400]
trace:wave:wodPlayer waiting 10ms (10,4294967295)
trace:wave:wodPlayer_WriteMaxFrags Writing wavehdr 0x403b47f8.14832[29400]
trace:wave:wodPlayer waiting 10ms (10,4294967295)
trace:wave:ALSA_wodMessage (0, 0009, 00000000, 403B47D8, 00000020);
trace:wave:wodWrite (0, 0x403b47d8, 00000020);
trace:wave:wodPlayer_WriteMaxFrags Writing wavehdr 0x403b47f8.15588[29400]
trace:wave:wodPlayer waiting 10ms (10,4294967295)
<end of interesting part>

The demo: (withoud sound, low speed)
bash-2.05b$ wine --debugmsg +wave wine-c-drive/Program\ Files/Starcraft\ 
Shareware\(ED\)/Starcraft.exe
err:font:ReadFontDir Can't open directory 
"/home/cedric/wine-c-drive/windows/Fonts"
Fontconfig error: line 24: not well-formed (invalid token)
Fontconfig error: Cannot load default config file
fixme:console:SetConsoleCtrlHandler (0x4b7480,1) - no error checking or 
testing yet
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel 
(0x40396868)->(00010021,00000013)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 
8
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Need to update SYSMETRICS after 
resizing display (now 640x480)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 
8
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Need to update SYSMETRICS after 
resizing display (now 640x480)
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
trace:wave:ALSA_WaveInit dev=0 id=SB16 DSP name=DSP v4.16 subdev=0 
subdev_name=subdevice #0 subdev_avail=0 subdev_num =1 stream=PLAYBACK 
subclass=GENERIC MIX
trace:wave:ALSA_TraceParameters FLAGS: sampleres=true overrng=false 
pause=false resume=false syncstart=false batch=fa lse block=false 
double=false halfd=false joint=false
trace:wave:ALSA_TraceParameters access=MMAP_INTERLEAVED
trace:wave:ALSA_TraceParameters format=S8
trace:wave:ALSA_TraceParameters channels=0
trace:wave:ALSA_TraceParameters buffer_size=0
trace:wave:ALSA_TraceParameters rate=0
trace:wave:ALSA_TraceParameters buffer_time=0
trace:wave:ALSA_TraceParameters periods=0
trace:wave:ALSA_TraceParameters period_size=0
trace:wave:ALSA_TraceParameters period_time=0
trace:wave:ALSA_TraceParameters tick_time=1000
trace:wave:ALSA_WaveInit Configured with dwFmts=00000888 dwSupport=0000006c
trace:wave:ALSA_InitializeVolumeCtl    ctrl range: min=0  max=31  step=0
trace:wave:ALSA_wodMessage (0, 0064, 00000000, 00000000, 00000000);
trace:wave:ALSA_wodMessage (0, 0003, 00000000, 00000000, 00000000);
trace:wave:ALSA_wodMessage (0, 0816, 00000000, 4066FCFC, 00000000);
trace:wave:wodDsGuid (0,0x4066fcfc)
trace:wave:ALSA_wodMessage (0, 0816, 00000000, 4066FDAC, 00000000);
trace:wave:wodDsGuid (0,0x4066fdac)
trace:wave:ALSA_wodMessage (0, 0814, 00000000, 4066FD68, 00000000);
trace:wave:wodDsCreate driver created
trace:wave:IDsDriverImpl_GetDriverDesc (0x403a9598,0x403a99ac)
trace:wave:ALSA_wodMessage (0, 0005, 4066FC70, 4066FCC0, 00030080);
trace:wave:wodOpen (0, 0x4066fcc0, 00030080);
err:wave:wodOpen unable to set required format: Invalid argument
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Need to update SYSMETRICS after 
resizing display (now 1280x1024)
trace:wave:ALSA_wodMessage (0, 0065, 00000000, 00000000, 00000000);


_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux