goldfish64 / audiopkg Goto Github PK
View Code? Open in Web Editor NEWAudio stack for UEFI. Currently supports HD audio controllers/codecs. WIP
Audio stack for UEFI. Currently supports HD audio controllers/codecs. WIP
Hi, does audiodxe.efi support usb speaker yet?
I'm using MSI Tomahawk B450, with Realtek ALC892 audio chip
BootChimeCfg tool blank screen when selected in opencore 0.5.6
audio codec dump tool works
Hdacodecdump shows nothing. I grab codec from ubuntu. Hope it helps to solve the issue.
codec_dump.txt
Thanks for the project.
Sorry, I got this issue when building latest AudioPkg:
[CODE]
MacBook-Pro:~ badruzeus$ cd /Users/badruzeus/udk/EXT_PACKAGES/AudioPkg
MacBook-Pro:AudioPkg badruzeus$ git pull
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 10 (delta 6), reused 7 (delta 3), pack-reused 0
Unpacking objects: 100% (10/10), done.
From https://github.com/Goldfish64/AudioPkg
4b82d5e..dcbf8ff master -> origin/master
Updating 4b82d5e..dcbf8ff
Fast-forward
Application/HdaCodecDump/HdaCodecDump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
MacBook-Pro:AudioPkg badruzeus$ ./macbuild.tool
Already up to date.
ln: AudioPkg: File exists
[/CODE]
Got the chime working OK, and CFG file is in tools folder. Default volume was 0070 and it is SO loud! Changing that number seems to have no effect on the volume of the chime. Am I missing something?
Partial dump:
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x mute=5
1 no value for stepsize, it must be 0x5 according the linux dump
2 mute 5 is invalid, it is 0 or 1, yes or no, "mute" cannot be a number
maybe stepsize and mute are misplaced?
the same for a lot of nodes
Thanks
I was testing NdkBootPicker.efi by adding it the end of Drivers list the OpenCore config.plist.
It was place after BootChimeDxe.efi.
But OC hangs.
I reported the issue to the author of NdkBootPicker here.
It transpires that the issue was not with the Boot Picker but with the boot chime EFI.
See the issue report in that link.
Basically, anything attempted to be loaded after bootchime efi, hangs the system.
BootChimeDxe.efi seems to leave "bomb" after loading.
Temporary Workaround:
Put BootChimeDxe.efi at the end of the Drivers list in OC config.plist
Result :
Problem :
After sound finish (when i press enter in macOS Partition), system is freeze. No loading bar, just apple logo. If i deleted bootchimedxe.efi. Then it will be fine. Can you check it?
audiopkg use this nvrams
{ L"Device", &gBootChimeVendorVariableGuid }, { L"Volume", &gBootChimeVendorVariableGuid },
{ L"Index", &gBootChimeVendorVariableGuid }
to set, we have to enter shell to set nvram to use audiopkg.
now clover can set nvram in gui.
can we consider this nvram without command in shell?
thanks in advance
hi goldfish64
i had a ASUS X299 TUF mk1 and they gotta Realtek S1220A audio output only.
so i would like to enable a bootchime with your library.
Will you consider the realtek S1220A chipset for x299 users? : )
best regard.
Hello!
Thanks for your work!
if it is possible - how can I convert custom WAV/CAF/AIF into that format of data? Thanks
hello first of all, thank you for your project.
i can use BootChimeCfg.efi on modern system(UEFI). but old firmware(UEFI). ex HP 4320s laptop(sandy bridge). I can't access shell. as result, i can't command BootChimeCfg.efi option.
always play Boot sound with full volume.
can i decrease boot sound volume?
HdaCodecDump start
Codec: NVIDIA (Unknown)
AFG Function Id: 0x1 (unsol 0)
Vendor ID: 0x10DE0042
Revision ID: 0x100100
Default PCM: N/A
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
.......
it works but I need a dump of Analog Codec, not HDMI
how to fix that?
Getting this error message trying to build it. Any ideas?
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Tests
Traceback (most recent call last):
File "RunTests.py", line 22, in
import TestTools
File "/Users/hasseye/Desktop/hackintosh/AudioPkg/UDK/BaseTools/Tests/TestTools.py", line 94
print description, '(base64 encoded):'
^
SyntaxError: invalid syntax
make[1]: *** [test] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.