Hi
A few days ago I decided to remove the dust of some older games and try to play them in wine. My system is an Alu Macbook 13.3" late 2008 with FreeBSD 8.2 Release.
First problem was the sound in general (not only wine). The System has an ALC885 Audio Chipset inside. Of course I read the handbook and searched the web but couldn't get the sound running at all. I loaded the modules sound and snd_hda via loader.conf. Because of this chipset which is known to be differently wired by the manufacturers there has to be something added to /boot/device.hints. Here was/is the problem: How to know what Options are the right ones? (I read the man pages for snd_hda) Do I really have to try all the combinations and always restart after each one? I searched the web but all I found were different advices for Macbook Pro which did not really work. Finally with the following options the headphone connector works but the Speaker does not:
So any idea how to figure out the correct options for the speaker other than the method of trial and error? At least I have sound so I can live with headphone connector if nobody has a better solution.
So here is the second problem regarding sound in this case connected to wine. As I wrote above I wanted to play some games and here sound almost doesn't work at all. First one is Diablo II LoD. I have sound in the intro videos but then nothing ingame. Searched the web but did not find anything but the statement on winehq.org that the sound except intro does not work so maybe no solution here possible. The second game I tried was Commandos II and here I have sound in the main menu and afterwards nothing. If I disable music in the menu there is sound at the beginning ingame (some kind of ingame sequence) then again silence. Next step was save and end game then start again with load (so skipping sequence) which brought the ingame sound at least for about 30sec. But this is not a long term solution (always saving and restarting the whole game after sound output). So to summarize it seems that every time there is new sound output (music from the menu, ingame sequence, normal ingame sound) there is no sound furthermore (only restart helps). So any tips here? I did not find anything working. (I already checked that there is no sound and not only muted via mixer in console.) Sound setting was built-in oss and emulation checked in winecfg audio. (Full hardware acceleration did not make any sound at all.)
So as a last attempt I tried to use the ossv4 from ports (audio/oss) which did not work at all. First I unloaded sound and snd_hda and installed audio/oss with a following restart. With this configuration I don't have any sound in FreeBSD. ossdetect finds my hardware but ossmix has much output:
Any suggestions here how to get the sound working?
A few days ago I decided to remove the dust of some older games and try to play them in wine. My system is an Alu Macbook 13.3" late 2008 with FreeBSD 8.2 Release.
First problem was the sound in general (not only wine). The System has an ALC885 Audio Chipset inside. Of course I read the handbook and searched the web but couldn't get the sound running at all. I loaded the modules sound and snd_hda via loader.conf. Because of this chipset which is known to be differently wired by the manufacturers there has to be something added to /boot/device.hints. Here was/is the problem: How to know what Options are the right ones? (I read the man pages for snd_hda) Do I really have to try all the combinations and always restart after each one? I searched the web but all I found were different advices for Macbook Pro which did not really work. Finally with the following options the headphone connector works but the Speaker does not:
Code:
hint.hdac.0.config="gpio0"
hint.hdac.0.cad0.nid21.config="as=4 seq=15"
So here is the second problem regarding sound in this case connected to wine. As I wrote above I wanted to play some games and here sound almost doesn't work at all. First one is Diablo II LoD. I have sound in the intro videos but then nothing ingame. Searched the web but did not find anything but the statement on winehq.org that the sound except intro does not work so maybe no solution here possible. The second game I tried was Commandos II and here I have sound in the main menu and afterwards nothing. If I disable music in the menu there is sound at the beginning ingame (some kind of ingame sequence) then again silence. Next step was save and end game then start again with load (so skipping sequence) which brought the ingame sound at least for about 30sec. But this is not a long term solution (always saving and restarting the whole game after sound output). So to summarize it seems that every time there is new sound output (music from the menu, ingame sequence, normal ingame sound) there is no sound furthermore (only restart helps). So any tips here? I did not find anything working. (I already checked that there is no sound and not only muted via mixer in console.) Sound setting was built-in oss and emulation checked in winecfg audio. (Full hardware acceleration did not make any sound at all.)
So as a last attempt I tried to use the ossv4 from ports (audio/oss) which did not work at all. First I unloaded sound and snd_hda and installed audio/oss with a following restart. With this configuration I don't have any sound in FreeBSD. ossdetect finds my hardware but ossmix has much output:
Code:
Selected mixer 0/High Definition Audio ALC885
Known controls are:
jack.green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.int-speaker.mode1 <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.int-speaker1 [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-speaker.mute1 ON|OFF (currently OFF)
jack.int-mic.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.int-mic [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-mic.mute ON|OFF (currently OFF)
jack.int-speaker.mode2 <front|rear|center/LFE|side|pcm4|input> (currently rear)
jack.int-speaker2 [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-speaker.mute2 ON|OFF (currently OFF)
record.mix.mute.int-speaker1 ON|OFF (currently OFF)
record.mix.mute.int-mic1 ON|OFF (currently OFF)
record.mix.mute.int-speaker2 ON|OFF (currently OFF)
record.mix.mute.headphone1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
record.mix.mute.int-speaker3 ON|OFF (currently OFF)
record.mix.mute.int-mic2 ON|OFF (currently OFF)
record.mix.mute.int-speaker4 ON|OFF (currently OFF)
record.mix.mute.headphone2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
record.mix.mute.int-speaker5 ON|OFF (currently OFF)
record.mix.mute.int-mic3 ON|OFF (currently OFF)
record.mix.mute.int-speaker6 ON|OFF (currently OFF)
record.mix.mute.headphone3 ON|OFF (currently OFF)
record.mix.mute.linein3 ON|OFF (currently OFF)
record.mix.mute.input-mix3 ON|OFF (currently OFF)
record.mix3 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
misc.int-speaker1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.int-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.int-speaker2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix <int-mic|linein> (currently int-mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.front2 <front|input-mix> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.rear2 <rear|input-mix> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.center/lfe2 <center/LFE|input-mix> (currently center/LFE)
misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.side2 <side|input-mix> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 24.7 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("knotify4")
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm12 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm13 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)