SBEMU icon indicating copy to clipboard operation
SBEMU copied to clipboard

Intel PCH support?

Open sparky4 opened this issue 2 years ago • 54 comments

My current laptop has a 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)

HDA Intel PCH

will you add support for this card?

also this is an amazing program! <3

sparky4 avatar Mar 06 '23 22:03 sparky4

MPXPlay has PCH support, it's a subset of HDA. but might not work for all PCs. have you test it? It doesn't have Cannon Lake as PCH, but as SKL. Here's a part of MPXPlay's device list {"Intel PCH (Panther Point)", 0x8086, 0x1e20, AZX_DRIVER_PCH }, {"Intel PCH (Lynx Point)", 0x8086, 0x8c20, AZX_DRIVER_PCH }, {"Intel PCH (9 Series)", 0x8086, 0x8ca0, AZX_DRIVER_PCH }, {"Intel PCH (Wellsburg)", 0x8086, 0x8d20, AZX_DRIVER_PCH }, {"Intel PCH (Wellsburg)", 0x8086, 0x8d21, AZX_DRIVER_PCH }, {"Intel PCH (Lewisburg)", 0x8086, 0xa1f0, AZX_DRIVER_PCH }, {"Intel PCH (Lewisburg)", 0x8086, 0xa270, AZX_DRIVER_PCH }, {"Intel PCH (Lynx Point-LP)", 0x8086, 0x9c20, AZX_DRIVER_PCH }, {"Intel PCH (Lynx Point-LP)", 0x8086, 0x9c21, AZX_DRIVER_PCH }, {"Intel PCH (Wildcat Point-LP)",0x8086, 0x9ca0, AZX_DRIVER_PCH }, {"Intel SKL (Cannonlake)", 0x8086, 0x9dc8, AZX_DRIVER_SKL },

crazii avatar Mar 08 '23 07:03 crazii

Yes i tested it on my thinkpad p53 No sound at all

sparky4 avatar Mar 09 '23 15:03 sparky4

okay got the new version confirmed crashing

sparky4 avatar Mar 22 '23 22:03 sparky4

still crashing . lmk if you need testing! <3

sparky4 avatar Mar 30 '23 19:03 sparky4

20230406_163125 The crash

sparky4 avatar Apr 10 '23 20:04 sparky4

Please wait that I need a real hardware to debug. I have a Lenovo T540p which is working. - don't know differences between the two. possibly all HDA sounds.

crazii avatar Apr 21 '23 10:04 crazii

ah okay

sparky4 avatar Jun 01 '23 15:06 sparky4

okay disabling the touchpad in a different os fixes the crash xinput --disable "Elan Touchpad" there is no sound out of this laptop when i use the driver

sparky4 avatar Nov 14 '23 19:11 sparky4

The website focused on Win3.1 drivers has some HDA materials:

I think there is source code in that - potentially useful to improve the DOS implementation? But I may be mistaken.

Torinde avatar Dec 30 '23 23:12 Torinde

cant seem to link the objects together to make sbemu.exe latest version from pull. there is a bunch of undefined references trying to compile in dos with rhide

sparky4 avatar Jan 10 '24 17:01 sparky4

ah it compiles now... the proram gets stuck at switching to pio

sparky4 avatar Jan 31 '24 17:01 sparky4

ah it compiles now... the proram gets stuck at switching to pio

Sorry for that. we might need more investigation on PIO. the PIO mode works for @jiyunomegami 's PCs.

EDIT: can you perform a debug build with make DEBUG=1 to check the output logs?

crazii avatar Jan 31 '24 18:01 crazii

will do! :D

sparky4 avatar Feb 04 '24 20:02 sparky4

image cant compile at latest pull

sparky4 avatar Feb 04 '24 21:02 sparky4

image

sparky4 avatar Feb 04 '24 21:02 sparky4

plz wait a moment, I'll update the RHIDE project file.

crazii avatar Feb 05 '24 00:02 crazii

updated, plz also uncomment the line 18 in sc_inthd.c //#define MPXPLAY_USE_DEBUGF 1 so that there'll be more info.

crazii avatar Feb 05 '24 00:02 crazii

okay will do

sparky4 avatar Feb 05 '24 17:02 sparky4

image

sparky4 avatar Feb 05 '24 19:02 sparky4

sorry, that file is just removed. can you run the menu "windows" -> "project" then in the project window, find test.c (pres 't' 'e' then it will be located) and delete it (press delete and confirm yes) I'll update the project file later.

crazii avatar Feb 05 '24 19:02 crazii

ah i did :D 20240205_135348

sparky4 avatar Feb 05 '24 20:02 sparky4

Thanks, I think the PIO check still needs to be performed anyway. You'll be informed when there's improvements.

crazii avatar Feb 05 '24 20:02 crazii

ah i can provide more screen shots 20240205_135352

sparky4 avatar Feb 05 '24 21:02 sparky4

Hi, the PIO checking code is added, you can confirm if it is working by using the latest zip, if it isn't, then the RHIDE project file is also update, you can still get debug log/infos using the same way above.

crazii avatar Feb 06 '24 03:02 crazii

okay let me pull and compile g

sparky4 avatar Feb 06 '24 14:02 sparky4

20240206_092217 20240206_092208 20240206_092019 20240206_092207

sparky4 avatar Feb 06 '24 15:02 sparky4

It seems the CORB/RIRB and PIO both failed. I'll check the code later, thanks

crazii avatar Feb 06 '24 18:02 crazii

np

sparky4 avatar Feb 07 '24 13:02 sparky4

Hi, there's an additional fix for the CORB/RIRB and PIO problem, you can test with the latest build: https://github.com/crazii/SBEMU/releases/tag/UserBuild_2024.02.09_01-59

plz make sure that the HDPMI32i.exe is also used from this zip, because it's updated too.

crazii avatar Feb 09 '24 02:02 crazii

no sound still... imma enable debug

sparky4 avatar Feb 17 '24 16:02 sparky4