crazii / SBEMU

legacy sound blaster emulation for DOS
GNU General Public License v2.0
625 stars 33 forks source link

No sound on Dell E6500 Laptop with 82801I (ICH9 Family) HD Audio Controller #108

Open nanonomad opened 6 months ago

nanonomad commented 6 months ago

Hello, Thank you to all of the contributors on this project. I recently tried out SBEmu on one of my old laptops, and unfortunately couldn't get it working. Its a Dell E6500 with Intel HDA. It looks like the volume is muted, but all attempts to unmute have failed. (mixerset, sbmix, sbemu volume flags)

I've tried the 1b4 release, recent stable releases, and the unmute version that crazii posted in a thread with no luck. When SBEmu is loaded, there is a slight click/pop in the speakers or the headphones when they are plugged in.

Here is as much information as I could gather:

On load SBEmu reports: Sound card: Intel HDA Real mode support: enabled Protected mode support: enabled OPL3 emulation at port 388: enabled MPU-401 UART emulation at address 330: enabled SB Pro(1:Intel HDA) emulation at address 220, IRQ 7, DMA 1: enabled

Autoexec: c:\sbemu1b4\jload c:\sbemu1b4\qpiemu.dll c:\sbemu1b4\hdpmi32i.exe c:\sbemu1b4\sbemu.exe /T1 /V9

Config: device=c:\sbemu1b4\jemmex.exe EMX SB MAXEXT=32768

sbemu /scl output: 1: Intel HDA: Intel ICH9 (8086293E) -> IDT (111D76B2) (max 192khz/24bit/8ch)

SBEmu log:

00:00:00.054 sc_inthd.c 1001 cs:1 csc:1 GCAP:00004401 sdo: 00000100 00:00:00.329 sc_inthd.c 1489 IHD board type: Intel ICH9 (8086293E) 00:00:00.329 sc_inthd.c 879 azx reset_start: gctl1:00000001 00:00:00.329 sc_inthd.c 888 gctl2b:00000001 gctl2d:00000001 00:00:00.329 sc_inthd.c 894 gctl3:00000000 timeout:499 00:00:00.329 sc_inthd.c 906 gctl4:00000001 timeout:499 00:00:00.329 sc_inthd.c 920 azx_reset_end: codec_mask:00000001 00:00:00.329 sc_inthd.c 1494 PCI & hw_init time: 329 ms 00:00:00.329 sc_inthd.c 1035 snd_ihd_mixer_init start 00:00:00.329 sc_inthd.c 1041 codec vendor id:111D76B2 00:00:00.329 sc_inthd.c 543 total_nodes:1 afg_nodenum:1 00:00:00.329 sc_inthd.c 1053 outcaps:80027F7F incaps:80000000 afgsubnodes:31 anid:10 00:00:00.549 sc_inthd.c 643 n:10 c: 3 w:00400181 t: 4 p:00 0000001C d:0421101F i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:11 c: 0 w:00400081 t: 4 p:00 00001724 d:04A11021 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:12 c: 0 w:00400081 t: 4 p:00 00001724 d:40F000F0 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:13 c: 3 w:00400181 t: 4 p:00 00000014 d:90170110 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:14 c: 0 w:00400081 t: 4 p:00 00001724 d:23A1102E i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:15 c: 3 w:00400181 t: 4 p:00 00000014 d:23011050 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:16 c: 0 w:000D0C05 t: 0 p:00 00000000 d:00000000 i:00000000 o:80027F7F s:00000000 00:00:00.549 sc_inthd.c 643 n:17 c: 0 w:000D0C05 t: 0 p:00 00000000 d:00000000 i:00000000 o:80027F7F s:00000000 00:00:00.549 sc_inthd.c 643 n:18 c: 1 w:001D0541 t: 1 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:19 c: 1 w:001D0541 t: 1 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:20 c: 1 w:00400100 t: 4 p:00 00000010 d:40F000F2 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:21 c: 3 w:00300101 t: 3 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:22 c: 1 w:00200100 t: 2 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:23 c: 5 w:0020010B t: 2 p:00 00000000 d:00000000 i:80051F17 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:24 c: 0 w:0040000D t: 4 p:00 00000020 d:90A601A0 i:00000000 o:00270300 s:00000000 00:00:00.549 sc_inthd.c 643 n:25 c: 0 w:0040000D t: 4 p:00 00000020 d:40F000F4 i:00000000 o:00270300 s:00000000 00:00:00.549 sc_inthd.c 643 n:26 c: 3 w:0030010D t: 3 p:00 00000000 d:00000000 i:00000000 o:00270300 s:00000000 00:00:00.549 sc_inthd.c 643 n:27 c: 3 w:0030010D t: 3 p:00 00000000 d:00000000 i:00000000 o:00270300 s:00000000 00:00:00.549 sc_inthd.c 643 n:28 c: 4 w:0030090D t: 3 p:00 00000000 d:00000000 i:00000000 o:80050F00 s:00000000 00:00:00.549 sc_inthd.c 643 n:29 c: 4 w:0030090D t: 3 p:00 00000000 d:00000000 i:00000000 o:80050F00 s:00000000 00:00:00.549 sc_inthd.c 643 n:30 c: 1 w:00400301 t: 4 p:00 00000010 d:014613B0 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:31 c: 2 w:00400701 t: 4 p:00 00010010 d:40F000F6 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:32 c: 1 w:00400301 t: 4 p:00 00000010 d:40F000F7 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:33 c: 0 w:00040211 t: 0 p:00 00000000 d:00000000 i:00000000 o:00000000 s:000E07E0 00:00:00.549 sc_inthd.c 643 n:34 c: 0 w:00040211 t: 0 p:00 00000000 d:00000000 i:00000000 o:00000000 s:000E07E0 00:00:00.549 sc_inthd.c 643 n:35 c: 0 w:00F00000 t:15 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:36 c: 3 w:00300101 t: 3 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:37 c: 3 w:00300101 t: 3 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:38 c: 0 w:0070000C t: 7 p:00 00000000 d:00000000 i:00000000 o:80170303 s:00000000 00:00:00.549 sc_inthd.c 643 n:39 c: 0 w:00400000 t: 4 p:00 00000020 d:40F000F0 i:00000000 o:00000000 s:00000000 00:00:00.549 sc_inthd.c 643 n:40 c: 0 w:00600000 t: 6 p:00 00000000 d:00000000 i:00000000 o:00000000 s:00000000 00:00:00.659 sc_inthd.c 1099 dac0:16 dac1:0 out0:13 out1:10 vol0:16 vol1:0 00:00:00.659 sc_inthd.c 1107 snd_ihd_mixer_init end with success 00:00:00.659 sc_inthd.c 1509 MIXER init time: 330 ms Real mode support: Protected mode support: OPL3 emulation at port 388: MPU-401 UART emulation at address 330: SB Pro(1:Intel HDA) emulation at address 220, IRQ 7, DMA 1: 00:00:00.659 sc_inthd.c 1139 setup_periods: dmasize:4096 periods:8 prsize:512 00:00:00.659 sc_inthd.c 1172 controller timeout1:300 00:00:00.659 sc_inthd.c 1182 timeout2:300 format:00004011

hjnijlunsing commented 6 months ago
nanonomad commented 6 months ago
  • Does the card work with MPXPlay?

No. No sound output from MPXPlay at all. I tried both self-assigned IRQ (I get 7) and /I5, both with /O0 and /O1, with /V9 and nothing. No errors, just no sound output.

* Does the card have an IRQ assigned by the BIOS? (I had to _enable_ network boot in order for the card to get an IRQ) (See also: [Partially working on Acer A0751h Baron-von-Riedesel/VSBHDA#1](https://github.com/Baron-von-Riedesel/VSBHDA/issues/1))

It appears to be getting IRQ 3 according to PCIInfo

* Can you try running the virtualized Sound Blaster on IRQ 5 (set BLASTER=A220 I5 D1); I have one system where it only works on 5

Same behavior as default/using /I7

* Did you try passing the output option? /O1

No change. I did notice that it crashes jemmex if i try to reset it with /R or /R /O1 or /R /O0

crazii commented 6 months ago

Thanks for the very detailed feedback, I'll check the logs later when I've got time.