SBEMU icon indicating copy to clipboard operation
SBEMU copied to clipboard

Rise of the Triad's sound setup freezes.

Open StrikerTheHedgefox opened this issue 1 year ago • 28 comments

Seems if I try to run ROTT's sound setup, the system freezes, I'm using a system with Intel HD Audio. The system is an ASUS EEE PC T101MT.

If I run cwsdpmi before launching, the freezes stop, but it doesn't detect any audio devices at all.

I used your preconfigured FreeDOS image with SBEMU in the releases page.

StrikerTheHedgefox avatar Apr 28 '24 23:04 StrikerTheHedgefox

Seems I'm getting the same issue with Duke Nukem 3D as well.

StrikerTheHedgefox avatar Apr 28 '24 23:04 StrikerTheHedgefox

Thanks for the feedback, I will try to check it under FreeDOS.

crazii avatar Apr 29 '24 06:04 crazii

The freeze of ROTT will be fixed, but another quesion, can you try the ROTT setup with 8bit mixing selection? I tested and it worked. I found it will use 8bit command for 16 bit DMA, which is very strange, so I test it in DOSBox and the it failed to detect the SB using 16 bit mixing either.

I'm testing the shareware version and it seems it's buggy. the freeze will be fixed first and every thing else later.

EDIT: did a simple test with duke3d on FreeDOS it works, I'll try more setup options.

crazii avatar Apr 30 '24 09:04 crazii

I'll give it a go, and report back.

StrikerTheHedgefox avatar Apr 30 '24 09:04 StrikerTheHedgefox

Makes no difference. Still freezes at the "DOS/4GW" screen, at least with ROTT. Will test Duke in a sec.

EDIT: Nope. I can't even get into the setup in either case, regardless of settings. I have to not load SBEMU in order to not get freezes and configure things. Freezes at the DOS/4GW screen. Seems almost anything that uses DOS/4GW is a no-go.

This is all using the image provided in releases, too.

StrikerTheHedgefox avatar Apr 30 '24 09:04 StrikerTheHedgefox

So it just freezes on startup? that's strange. what build version are you using? I'll mark it with 'compatibility` too.

crazii avatar Apr 30 '24 09:04 crazii

So it just freezes on startup? that's strange. what build version are you using? I'll mark it with 'compatibility` too.

Duke Nukem 3D: Atomic Edition. Straight from a copy taken from Zoom.

As for ROTT, v1.2, from GoG.

EDIT: As for the FreeDOS image: https://github.com/crazii/SBEMU/releases/tag/UserBuild_2024.04.28_03-45

StrikerTheHedgefox avatar Apr 30 '24 09:04 StrikerTheHedgefox

Thanks for the detail, the games should be working. can you test this zip? it contains 2 exes and just overwrite the original 2 files. meanwhile I'll try to add some more better log supports. SBEMU_fix2.zip

I'll try to grab the games of the exact edition too.

crazii avatar Apr 30 '24 09:04 crazii

Just bought the duke3d atomic edition from zoom, and it works like the copy I was using before. while the ROTT is kinda hard for me now, because the access to GOG is very much slow or limited. web page still in loading after 'checck out' clicked.

also you can help testing with the new dpmi & sbemu planned on next release (if you like), currently HDPMI is like a black box to me (although actually it is not), so another one is written to help me debugging more easily.

and I'll probably postpone the fix to the next release when the new DPMI is used. won't take long, it'll be available soon.

crazii avatar Apr 30 '24 10:04 crazii

I can hook you up with ROTT, if you have another form of contact, like Discord.

StrikerTheHedgefox avatar Apr 30 '24 10:04 StrikerTheHedgefox

With the fix zip, same deal: IMG_20240430_075826_736.jpg

Honestly, would love to try and test the new DPMI if it will help.

StrikerTheHedgefox avatar Apr 30 '24 10:04 StrikerTheHedgefox

I can hook you up with ROTT, if you have another form of contact, like Discord.

Much appreciated, but no hurries, I'll pick another time to try it.

Here's the new built bundle: just skip HDPMI32i in the fdauto/autoexec, and run vdpmid /ll=1 (2 LLs that for loglevel) and then run the new sbemu here

SBEMU_DPMI.zip

if any problems encountered, try another run with vdpmi /ll=2 /log=2 (it might be very slow when log file enabled) and then sbemu there'll be a vdpmi.log after pc freeze/restarts, and you can paste the vdpmi.log

crazii avatar Apr 30 '24 11:04 crazii

Here's the log after the same crash/freeze. IMG_20240430_091609_924.jpg

StrikerTheHedgefox avatar Apr 30 '24 12:04 StrikerTheHedgefox

This error is expected for DOS4GW. Can you try a higher loglevel with /ll=2 or /ll=3? you can upload the log file directly if it contains too many lines.

crazii avatar Apr 30 '24 12:04 crazii

With ll2 and ll3, I freeze here.

Would it be better if I didn't use LH?

IMG_20240430_092431_206.jpg

StrikerTheHedgefox avatar Apr 30 '24 12:04 StrikerTheHedgefox

It's not freeze probably, but too slow down overwhelmed by log outputs, wait a minute to see what happens. LH doesn't affect it, but better not used.

crazii avatar Apr 30 '24 12:04 crazii

Alright, will give it a few minutes then.

On Tue, Apr 30, 2024, 9:31 a.m. crazii @.***> wrote:

It's not freeze probably, but too slow down overwhelmed by log outputs, wait a minute to see what happens.

— Reply to this email directly, view it on GitHub https://github.com/crazii/SBEMU/issues/105#issuecomment-2085204826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMLGILQP2QI7FSE3WVMC3DY76FI3AVCNFSM6AAAAABG5LNS2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGIYDIOBSGY . You are receiving this because you authored the thread.Message ID: @.***>

StrikerTheHedgefox avatar Apr 30 '24 12:04 StrikerTheHedgefox

But it's also possible that it freezes, then /ll=2 might make it better, or if it freezes over 1 minute, just restart and post the log for sbemu freeze.

crazii avatar Apr 30 '24 12:04 crazii

Definitely froze. No HDD activity for several minutes.

xms alloc 20000
xms alloc h=106 p=1866000-9866000
translation buffer: la=9d3d0 pa=9d000, size 1000
disable eoi: 0
disable eoi: 1
INT2F PM
v0.9 32 bit client creation
MEM Alloc: h=57e5b4, la=1866000, pa=1866000, size=d0000
CALL RMINT 21 ax=4200
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=4200
CALL RMINT 21 ax=3f00
CALL RMINT 21 ax=3f00
INT 21H, AX=3e00
MEM Alloc: h=57e5c4, la=1936000, pa=1936000, size=80000
CALL RMINT 21 ax=3000
CALL RMINT 21 ax=3306
install int handler: 24, -68
install int handler: 75, 13
install int handler: 9, 1
CALL RMINT 21 ax=4400
CALL RMINT 21 ax=4400
CALL RMINT 21 ax=4400
CALL RMINT 21 ax=4400
CALL RMINT 21 ax=4400
CALL RMINT 21 ax=1947
CALL RMINT 21 ax=71a0
CALL RMINT 21 ax=1920
CALL RMINT 21 ax=1900
CALL RMINT 21 ax=71a0
CALL RMINT 21 ax=4300
CALL RMINT 21 ax=1920
CALL RMINT 21 ax=1900
CALL RMINT 21 ax=71a0
CALL RMINT 21 ax=4300
CALL RMINT 10 ax=1a00
CALL RMINT 10 ax=800
CALL RMINT 10 ax=81a
CALL RMINT 10 ax=320
CALL RMINT 10 ax=fe65
CALL RMINT 10 ax=3ff
CALL RMINT 10 ax=2ff
CALL RMINT 10 ax=3ff
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=318
CALL RMINT 10 ax=218
CALL RMINT 10 ax=318
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=318
CALL RMINT 10 ax=218
CALL RMINT 10 ax=318
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=3cf
CALL RMINT 10 ax=2cf
CALL RMINT 10 ax=318
CALL RMINT 10 ax=218
CALL RMINT 21 ax=4400
CALL RMINT 21 ax=4000
CALL RMINT 2d ax=100
CALL RMINT 2d ax=200
CALL RMINT 2d ax=300
CALL RMINT 2d ax=400
CALL RMINT 2d ax=500
CALL RMINT 2d ax=600
CALL RMINT 2d ax=700
CALL RMINT 2d ax=800
CALL RMINT 2d ax=900
CALL RMINT 2d ax=a00
CALL RMINT 2d ax=b00
CALL RMINT 2d ax=c00
CALL RMINT 2d ax=d00
CALL RMINT 2d ax=e00
CALL RMINT 2d ax=f00
CALL RMINT 2d ax=1000
CALL RMINT 2d ax=1100
CALL RMINT 2d ax=1200
CALL RMINT 2d ax=1300
CALL RMINT 2d ax=1400
CALL RMINT 2d ax=1500
CALL RMINT 2d ax=1600
CALL RMINT 2d ax=1700
CALL RMINT 2d ax=1800
CALL RMINT 2d ax=1900
CALL RMINT 2d ax=1a00
CALL RMINT 2d ax=1b00
CALL RMINT 2d ax=1c00
CALL RMINT 2d ax=1d00
CALL RMINT 2d ax=1e00
CALL RMINT 2d ax=1f00
CALL RMINT 2d ax=2000
CALL RMINT 2d ax=2100
CALL RMINT 2d ax=2200
CALL RMINT 2d ax=2300
CALL RMINT 2d ax=2400
CALL RMINT 2d ax=2500
CALL RMINT 2d ax=2600
CALL RMINT 2d ax=2700
CALL RMINT 2d ax=2800
CALL RMINT 2d ax=2900
CALL RMINT 2d ax=2a00
CALL RMINT 2d ax=2b00
CALL RMINT 2d ax=2c00
CALL RMINT 2d ax=2d00
CALL RMINT 2d ax=2e00
CALL RMINT 2d ax=2f00
CALL RMINT 2d ax=3000
CALL RMINT 2d ax=3100
CALL RMINT 2d ax=3200
CALL RMINT 2d ax=3300
CALL RMINT 2d ax=3400
CALL RMINT 2d ax=3500
CALL RMINT 2d ax=3600
CALL RMINT 2d ax=3700
CALL RMINT 2d ax=3800
CALL RMINT 2d ax=3900
CALL RMINT 2d ax=3a00
CALL RMINT 2d ax=3b00
CALL RMINT 2d ax=3c00
CALL RMINT 2d ax=3d00
CALL RMINT 2d ax=3e00
CALL RMINT 2d ax=3f00
CALL RMINT 2d ax=4000
CALL RMINT 2d ax=4100
CALL RMINT 2d ax=4200
CALL RMINT 2d ax=4300
CALL RMINT 2d ax=4400
CALL RMINT 2d ax=4500
CALL RMINT 2d ax=4600
CALL RMINT 2d ax=4700
CALL RMINT 2d ax=4800
CALL RMINT 2d ax=4900
CALL RMINT 2d ax=4a00
CALL RMINT 2d ax=4b00
CALL RMINT 2d ax=4c00
CALL RMINT 2d ax=4d00
CALL RMINT 2d ax=4e00
CALL RMINT 2d ax=4f00
CALL RMINT 2d ax=5000
CALL RMINT 2d ax=5100
CALL RMINT 2d ax=5200
CALL RMINT 2d ax=5300
CALL RMINT 2d ax=5400
CALL RMINT 2d ax=5500
CALL RMINT 2d ax=5600
CALL RMINT 2d ax=5700
CALL RMINT 2d ax=5800
CALL RMINT 2d ax=5900
CALL RMINT 2d ax=5a00
CALL RMINT 2d ax=5b00
CALL RMINT 2d ax=5c00
CALL RMINT 2d ax=5d00
CALL RMINT 2d ax=5e00
CALL RMINT 2d ax=5f00
CALL RMINT 2d ax=6000
CALL RMINT 2d ax=6100
CALL RMINT 2d ax=6200
CALL RMINT 2d ax=6300
CALL RMINT 2d ax=6400
CALL RMINT 2d ax=6500
CALL RMINT 2d ax=6600
CALL RMINT 2d ax=6700
CALL RMINT 2d ax=6800
CALL RMINT 2d ax=6900
CALL RMINT 2d ax=6a00
CALL RMINT 2d ax=6b00
CALL RMINT 2d ax=6c00
CALL RMINT 2d ax=6d00
CALL RMINT 2d ax=6e00
CALL RMINT 2d ax=6f00
CALL RMINT 2d ax=7000
CALL RMINT 2d ax=7100
CALL RMINT 2d ax=7200
CALL RMINT 2d ax=7300
CALL RMINT 2d ax=7400
CALL RMINT 2d ax=7500
CALL RMINT 2d ax=7600
CALL RMINT 2d ax=7700
CALL RMINT 2d ax=7800
CALL RMINT 2d ax=7900
CALL RMINT 2d ax=7a00
CALL RMINT 2d ax=7b00
CALL RMINT 2d ax=7c00
CALL RMINT 2d ax=7d00
CALL RMINT 2d ax=7e00
CALL RMINT 2d ax=7f00
CALL RMINT 2d ax=8000
CALL RMINT 2d ax=8100
CALL RMINT 2d ax=8200
CALL RMINT 2d ax=8300
CALL RMINT 2d ax=8400
CALL RMINT 2d ax=8500
CALL RMINT 2d ax=8600
CALL RMINT 2d ax=8700
CALL RMINT 2d ax=8800
CALL RMINT 2d ax=8900
CALL RMINT 2d ax=8a00
CALL RMINT 2d ax=8b00
CALL RMINT 2d ax=8c00
CALL RMINT 2d ax=8d00
CALL RMINT 2d ax=8e00
CALL RMINT 2d ax=8f00
CALL RMINT 2d ax=9000
CALL RMINT 2d ax=9100
CALL RMINT 2d ax=9200
CALL RMINT 2d ax=9300
CALL RMINT 2d ax=9400
CALL RMINT 2d ax=9500
CALL RMINT 2d ax=9600
CALL RMINT 2d ax=9700
CALL RMINT 2d ax=9800
CALL RMINT 2d ax=9900
CALL RMINT 2d ax=9a00
CALL RMINT 2d ax=9b00
CALL RMINT 2d ax=9c00
CALL RMINT 2d ax=9d00
CALL RMINT 2d ax=9e00
CALL RMINT 2d ax=9f00
CALL RMINT 2d ax=a000
CALL RMINT 2d ax=a100
CALL RMINT 2d ax=a200
CALL RMINT 2d ax=a300
CALL RMINT 2d ax=a400
CALL RMINT 2d ax=a500
CALL RMINT 2d ax=a600
CALL RMINT 2d ax=a700
CALL RMINT 2d ax=a800
CALL RMINT 2d ax=a900
CALL RMINT 2d ax=aa00
CALL RMINT 2d ax=ab00
CALL RMINT 2d ax=ac00
CALL RMINT 2d ax=ad00
CALL RMINT 2d ax=ae00
CALL RMINT 2d ax=af00
CALL RMINT 2d ax=b000
CALL RMINT 2d ax=b100
CALL RMINT 2d ax=b200
CALL RMINT 2d ax=b300
CALL RMINT 2d ax=b400
CALL RMINT 2d ax=b500
CALL RMINT 2d ax=b600
CALL RMINT 2d ax=b700
CALL RMINT 2d ax=b800
CALL RMINT 2d ax=b900
CALL RMINT 2d ax=ba00
CALL RMINT 2d ax=bb00
CALL RMINT 2d ax=bc00
CALL RMINT 2d ax=bd00
CALL RMINT 2d ax=be00
CALL RMINT 2d ax=bf00
CALL RMINT 2d ax=c000
CALL RMINT 2d ax=c100
CALL RMINT 2d ax=c200
CALL RMINT 2d ax=c300
CALL RMINT 2d ax=c400
CALL RMINT 2d ax=c500
CALL RMINT 2d ax=c600
CALL RMINT 2d ax=c700
CALL RMINT 2d ax=c800
CALL RMINT 2d ax=c900
CALL RMINT 2d ax=ca00
CALL RMINT 2d ax=cb00
CALL RMINT 2d ax=cc00
CALL RMINT 2d ax=cd00
CALL RMINT 2d ax=ce00
CALL RMINT 2d ax=cf00
CALL RMINT 2d ax=d000
CALL RMINT 2d ax=d100
CALL RMINT 2d ax=d200
CALL RMINT 2d ax=d300
CALL RMINT 2d ax=d400
CALL RMINT 2d ax=d500
CALL RMINT 2d ax=d600
CALL RMINT 2d ax=d700
CALL RMINT 2d ax=d800
CALL RMINT 2d ax=d900
CALL RMINT 2d ax=da00
CALL RMINT 2d ax=db00
CALL RMINT 2d ax=dc00
CALL RMINT 2d ax=dd00
CALL RMINT 2d ax=de00
CALL RMINT 2d ax=df00
CALL RMINT 2d ax=e000
CALL RMINT 2d ax=e100
CALL RMINT 2d ax=e200
CALL RMINT 2d ax=e300
CALL RMINT 2d ax=e400
CALL RMINT 2d ax=e500
CALL RMINT 2d ax=e600
CALL RMINT 2d ax=e700
CALL RMINT 2d ax=e800
CALL RMINT 2d ax=e900
CALL RMINT 2d ax=ea00
CALL RMINT 2d ax=eb00
CALL RMINT 2d ax=ec00
CALL RMINT 2d ax=ed00
CALL RMINT 2d ax=ee00
CALL RMINT 2d ax=ef00
CALL RMINT 2d ax=f000
CALL RMINT 2d ax=f100
CALL RMINT 2d ax=f200
CALL RMINT 2d ax=f300
CALL RMINT 2d ax=f400
CALL RMINT 2d ax=f500
CALL RMINT 2d ax=f600
CALL RMINT 2d ax=f700
CALL RMINT 2d ax=f800
CALL RMINT 2d ax=f900
CALL RMINT 2d ax=fa00
CALL RMINT 2d ax=fb00
CALL RMINT 2d ax=fc00
CALL RMINT 2d ax=fd00
CALL RMINT 2d ax=fe00
CALL RMINT 2d ax=ff00
CALL RMINT 21 ax=6200
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b101
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b101
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b101
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b101
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b101
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b101
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
CLIENT DEF INT 1a cs:eip=af:37cd7 ax=b102
 /VOL6
goto END

:VSBHDA32
c

Log cuts off with random data, looks like my setup.bat.

StrikerTheHedgefox avatar Apr 30 '24 12:04 StrikerTheHedgefox

OK, thanks for your time for testing, I'll investigate more, I think it won't get fixed soon. LOL And please make sure your setup.bat or any file not corrupted (normally not gonna happen, but needs to make sure).

crazii avatar Apr 30 '24 12:04 crazii

This is an error I get trying to run BOOM with that build. Might be a hint, hopefully.IMG_20240430_095043_937.jpg

StrikerTheHedgefox avatar Apr 30 '24 12:04 StrikerTheHedgefox

OK, thanks for your time for testing, I'll investigate more, I think it won't get fixed soon. LOL And please make sure your setup.bat or any file not corrupted (normally not gonna happen, but needs to make sure).

Oh, I definitely know the batch is fine.

StrikerTheHedgefox avatar Apr 30 '24 12:04 StrikerTheHedgefox

No worries, It's a debug check, just to make sure everything works fine, and exit on any unexpected error, I will also debug boom to see the problem. And after the exiting with error 2, the DPMI with SBEMU both terminated, and needs re-run the DPMI & SBEMU. just let you know if you're confused that anything not worked anymore.

crazii avatar Apr 30 '24 12:04 crazii

Well, thanks either way. If you make any breakthroughs or just want me to try another build in the future, let me know. I appreciate it.

BTW, No idea if it helps or is even relevant, but the t101mt runs on an Intel Atom N450.

StrikerTheHedgefox avatar Apr 30 '24 13:04 StrikerTheHedgefox

Thanks for the additional information, the Atom CPU is kinda slow and may expose the bugs in codes that was never found before.

crazii avatar Apr 30 '24 13:04 crazii

Tried the newish beta from May. Still getting freezes. Always seems to be the most common with anything using DOS/4GW.

Dunno if this would help you any: https://www.ebay.com/itm/204712551073

StrikerTheHedgefox avatar Aug 01 '24 21:08 StrikerTheHedgefox

Hmm, with VSBHDA, setting to IRQ 2 fixed my problems there. But, SBEMU doesn't allow setting to IRQ 2.

StrikerTheHedgefox avatar Aug 02 '24 22:08 StrikerTheHedgefox

IRQ 7 seems to work for VSBHDA, but not SBEMU. Still getting the same freezes. In Duke3D for example, it hangs on the "DOS/4GW" header. Eventually, it says it cannot read from drive C. (Abort/Retry/Fail)

There's just something SBEMU seems to absolutely hate about it for some reason, causing a whole system failure.

StrikerTheHedgefox avatar Aug 04 '24 22:08 StrikerTheHedgefox