Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBEMU hangs on Dell Latitude D530 #38

Open
bert003 opened this issue Nov 12, 2023 · 16 comments
Open

SBEMU hangs on Dell Latitude D530 #38

bert003 opened this issue Nov 12, 2023 · 16 comments

Comments

@bert003
Copy link

bert003 commented Nov 12, 2023

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
Copy link
Author

bert003 commented Nov 16, 2023

Did anyone have a similar issue please?

@tiagotarifa
Copy link

tiagotarifa commented Dec 29, 2023

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
Copy link
Owner

crazii commented Dec 30, 2023

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

@crazii
Copy link
Owner

crazii commented Dec 30, 2023

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
Copy link

tiagotarifa commented Jan 14, 2024

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

  • Parallel port and IEE1904 are disabled on bios;
  • Tests were made booting this freedos image by PXE boot;
  • Changing IRQ port 7 to 5 make no difference;
  • Others options like reset (/R) and change volume (/VOL9) was tried too;

@hjnijlunsing
Copy link

hjnijlunsing commented Jan 14, 2024

  • Does it work with other games? With my Intel HDA; especially Dooms seems problematic

@tiagotarifa
Copy link

  • Does it work with other games? With my Intel HDA; especially Dooms seems problematic

I tried BioMenace. Do you have other suggestion?

@hjnijlunsing
Copy link

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

@tiagotarifa
Copy link

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
Copy link

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

@tiagotarifa
Copy link

tiagotarifa commented Jan 14, 2024

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

Yes, I did. No sound ether. ( Baron-von-Riedesel/VSBHDA#3 (comment))

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

  • On BIOS, I disabled USB, Parallel port, COM ports, wifi, bluetooth, network without PXE, network at all, usb "emulator" (for msdos boot from usb). The problem still the same;

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

@hjnijlunsing
Copy link

Ok, crazii is looking at the intel hda code at the moment (#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
Copy link

tiagotarifa commented Feb 5, 2024

@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:

  • Doom: Freezes;
  • Epic Pinball: Freeze after leave Android table;
  • Boom: Crashed when I tried to run asetup.exe to configure the sound;

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
Copy link
Owner

crazii commented Feb 5, 2024

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

@crazii
Copy link
Owner

crazii commented Feb 5, 2024

  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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants