crazii / SBEMU

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

SBEMU hangs on Dell Latitude D530 #38

Open bert003 opened 8 months ago

bert003 commented 8 months ago

When I boot I get the following messages and the system stops booting there (refer to the attached image):

image

I grouped all the files in a directory called SBEMU and changed paths into CONFIG.SYS and AUTOEXEC.BAT accordingly.

What could be the issue please?

bert003 commented 8 months ago

Did anyone have a similar issue please?

tiagotarifa commented 6 months ago

Did anyone have a similar issue please?

Yes, I do! Same problem here in a D530 too.

I was trying to compile sbemu with some "printfs" to see where exactly it's freeze, but I couldn't find a way to compile it. So I gave up.

Maybe one day with time I can try this again.

(I tried a new version today: UserBuild_2023.12.25_19-41. Same problem)

crazii commented 6 months ago

I'll add some extra msg to help locating the problem.

crazii commented 6 months ago

Did anyone have a similar issue please?

Yes, I do! Same problem here in a D530 too.

I was trying to compile sbemu with some "printfs" to see where exactly it's freeze, but I couldn't find a way to compile it. So I gave up.

Maybe one day with time I can try this again.

(I tried a new version today: UserBuild_2023.12.25_19-41. Same problem)

Have you read the latest readme? you can build on Linux, Windows(WSL/MinGW)

tiagotarifa commented 6 months ago

Today I made a new test with UserBuild_2024.01.14_11-11.

Now it's not freeze any more when it load. However, there is no sound. I tried on Doom 1.9 shareware and BioMenace.

tela1

A curious thing I discovered is when I try to change output with sbemu.exe /O0 (headphones) it's made some kind of "pop" noise on headphones, like trying to activate the sound card, and then it's give an error. tela2

Additional information

hjnijlunsing commented 6 months ago
tiagotarifa commented 6 months ago
  • Does it work with other games? With my Intel HDA; especially Dooms seems problematic

I tried BioMenace. Do you have other suggestion?

hjnijlunsing commented 6 months ago

Epic Pinball works with my Intel HDA on SBEMU, can you check?

tiagotarifa commented 6 months ago

Epic Pinball works with my Intel HDA on SBEMU, can you check?

Same problem, no sound. I tried to change sbemu options like IRQ and VOL and nothing changed.

Another curious thing: Before sbemu load the pcspeaker (emulated by soundcard) works. It's stop to work after it's load.

hjnijlunsing commented 6 months ago

The PC Speaker; I had exactly the same issue with VSBHDA: https://github.com/Baron-von-Riedesel/VSBHDA/issues/2 You did try VSBHDA, MPXPlay and confirm your HDA has an IRQ assigned? (as per https://github.com/Baron-von-Riedesel/VSBHDA/issues/1)

tiagotarifa commented 6 months ago

You did try VSBHDA, MPXPlay and confirm your HDA has an IRQ assigned?

Yes, I did. No sound ether. ( https://github.com/Baron-von-Riedesel/VSBHDA/issues/3#issuecomment-1891012728)

MPXPlay

I tried now. It recognise the sound card, show playing a wav file but still no sound.

and confirm your HDA has an IRQ assigned

pciinfo gave me this: 0 1b 0 4 3 0 2 8086/284b 9 multimedia controller (HDA) I didn't got you "EMPTY" issue.

Other test that I made

@hjnijlunsing, thank you for all your support and information.

hjnijlunsing commented 6 months ago

Ok, crazii is looking at the intel hda code at the moment (https://github.com/crazii/SBEMU/issues/13). Let's wait if a potential fix might also work for your case.

Meanwhile if you need any help in compiling per directions of crazii let me know; I could compile the project for you if required.

tiagotarifa commented 5 months ago

@crazii , great news! (and bad news too)

GREAT NEWS Using version UserBuild_2024.02.03_17-10 works but it's need some steps:

  1. Load sbemu as usual. I did this way: sbemu /VOL9
  2. Then change the output: sbemu /O0

This way doesn't work: sbemu /VOL9 /O0

but, if I run sbemu /VOL9 /O0 and then sbemu /O1 works too.

Sound and FM works. OPL3 doesn't

BAD NEWS Games crashed after run for a while. Games tested:

These same games doesn't crash if I play without load sbemu and it's dependencies.

On Linux, the sound card description is this: Intel Corporation 82801H (ICH8 family) HD Audio Controller (rev 02)

Some pictures of the problem and more information about this sound card on dmesg: new_IMG_20240204_201713 new_IMG_20240204_201825 new_IMG_20240204_202712

crazii commented 5 months ago

Thanks for the report , Plz test with the UserBuild_2024.02.04_23-49 to see if there's any changes.

crazii commented 5 months ago
  1. Load sbemu as usual. I did this way: sbemu /VOL9
  2. Then change the output: sbemu /O0

This way doesn't work: sbemu /VOL9 /O0

but, if I run sbemu /VOL9 /O0 and then sbemu /O1 works too.

can you test with the second run with /R (reset sound card driver)? I believe we missed something in handling you card. but dunno what, plz be patient that more time is needed for this problem.

tiagotarifa commented 5 months ago

Thanks for the report , Plz test with the UserBuild_2024.02.04_23-49 to see if there's any changes. ... can you test with the second run with /R (reset sound card driver)?

I tested and It has the same behaviour.

I believe we missed something in handling you card. but dunno what, plz be patient that more time is needed for this problem.

Don't worry. I just mark you because it's is a great achievement, in my opinion. I appreciate your work! Thank you!