Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Works beautifully apart from the audio #8

Closed
crazD802 opened this issue Jan 8, 2021 · 32 comments
Closed

Works beautifully apart from the audio #8

crazD802 opened this issue Jan 8, 2021 · 32 comments

Comments

@crazD802
Copy link

crazD802 commented Jan 8, 2021

Hi,

When I initially installed via USB I had audio - both speaker and mic.

Now, when booting up from the SSD, I have no audio, none at all. No devices are listed in audio preferences

macOS Info:

  • OS: [Big Sur]
  • Version [11.1]
  • Laptop Model: T450s

This is my third Hackintosh and first laptop, and easily the easiest of all 3. This is the only problem I've had. Thanks a million!!!

@racka98
Copy link
Owner

racka98 commented Jan 8, 2021

Hi,

When I initially installed via USB I had audio - both speaker and mic.

Now, when booting up from the SSD, I have no audio, none at all. No devices are listed in audio preferences

macOS Info:

  • OS: [Big Sur]
  • Version [11.1]
  • Laptop Model: T450s

This is my third Hackintosh and first laptop, and easily the easiest of all 3. This is the only problem I've had. Thanks a million!!!

That's odd. Have you tried clearing NVRAM? Clear it and see if solves the problem. You clear NVRAM from the boot selector

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Hi Thanks for getting back to me. This is even stranger. I was trying to narrow it down and get some more info, and in doing so restarted a few times, each time the start-up tone played. Then the last time it got stuck in a loop of playing the start-up tone so I had to hold the power button to reboot properly. On rebooting this time the audio is now fine. Has that boot loop and me powering off with the button cleared the NVRAM???

Thanks again!

@racka98
Copy link
Owner

racka98 commented Jan 8, 2021

Hi Thanks for getting back to me. This is even stranger. I was trying to narrow it down and get some more info, and in doing so restarted a few times, each time the start-up tone played. Then the last time it got stuck in a loop of playing the start-up tone so I had to hold the power button to reboot properly. On rebooting this time the audio is now fine. Has that boot loop and me powering off with the button cleared the NVRAM???

Thanks again!

The startput tone may be causing problems. Disable boot chime in config.plist

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

I've done that, no audio again. Reset NVRAM still no audio.

Is this screenshot correct? I'm new to opencore. in clover I'm thinking that's wrong...

Screenshot 2021-01-08 at 17 25 46

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Hmmm. 2 successful restarts with audio after, on the 3rd attempt no audio again.

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

A few more restarts and a "cut the power" and still no audio.

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Reset NVRAM. Still not working. This seems to follow no pattern....

This maybe something, the "play sound on startup" checkbox in Sound Preferences seems to change. I had turned it off, now its back on. Ill turn it off and see what that does.

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

That doesn't make a difference.

@racka98
Copy link
Owner

racka98 commented Jan 8, 2021

  1. Delete AudioDxe.efi in Config.plist under NVRAM/Drivers and in OC/Driver folder
    Screenshot 2021-01-08 at 20 54 37

  2. Delete the value in SystemAudioVolume as shown in the screenshot
    Screenshot 2021-01-08 at 20 54 48

  3. Change all values under UEFI/Audio to match the screenshot below
    Screenshot 2021-01-08 at 21 01 16

  4. Lastly delete the Audio folder under OC/Resources

That's how you disable bootchime.

After disabling these, clear NVRAM in boot menu then reboot the computer again and see if that fixes it

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Hey! Audio now works. I'll do a few restarts...

Thanks for your help, I'll let you know what happens...

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Nope. It's still seemingly random. Sometimes audio works, other times it doesn't. Sometimes resetting the NVRAM works sometimes it doesn't.

@racka98
Copy link
Owner

racka98 commented Jan 8, 2021

Nope. It's still seemingly random. Sometimes audio works, other times it doesn't. Sometimes resetting the NVRAM works sometimes it doesn't.

Ok i think there's am inconsistent initialization of AppleALC.

Can you please run this in terminal:

kextstat | grep -E "AppleHDA|AppleALC|Lilu

And send the output. Run it when audio doesn't work

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Aha, out of curiosity I ran that when audio did work, this is when it didn't, its different:

Screenshot 2021-01-08 at 19 16 53

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

This is when audio works, but I guess you will know this already...

Screenshot 2021-01-08 at 19 22 48

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

This is in Hackintool when it works, when there is no audio the entire panel is empty. The last value is Max Kernel 15, FWIW...

Screenshot 2021-01-08 at 19 26 18

@racka98
Copy link
Owner

racka98 commented Jan 8, 2021

This is when audio works, but I guess you will know this already...

Screenshot 2021-01-08 at 19 22 48

Aha, AppleHDA is not being initialized on boot. Inside config.plist in boot-args enter alcdelay=1000 (make sure there is a space between this arg and the keepsysm=1 arg)

@crazD802
Copy link
Author

crazD802 commented Jan 8, 2021

Yes! after I reset the NVRAM its survived 10 reboots and worked every time. Thanks so much, that's amazing!

@racka98
Copy link
Owner

racka98 commented Jan 8, 2021

Yes! after I reset the NVRAM its survived 10 reboots and worked every time. Thanks so much, that's amazing!

No problem

@racka98 racka98 closed this as completed Jan 8, 2021
@m4ak
Copy link

m4ak commented Mar 29, 2021

Hello, my 450S is now waking up after sleep. There is no sound in the video, so I just need to restart it. Is this related to ALC Fix

This is in Hackintool when it works, when there is no audio the entire panel is empty. The last value is Max Kernel 15, FWIW...

Screenshot 2021-01-08 at 19 26 18

My sound card is also displayed in Hackintool, which already has alcdelay=1000 in the config!

@racka98
Copy link
Owner

racka98 commented Mar 29, 2021

Hello, my 450S is now waking up after sleep. There is no sound in the video, so I just need to restart it. Is this related to ALC Fix

This is in Hackintool when it works, when there is no audio the entire panel is empty. The last value is Max Kernel 15, FWIW...

Screenshot 2021-01-08 at 19 26 18

My sound card is also displayed in Hackintool, which already has alcdelay=1000 in the config!

Do you have codeccommander kext enabled??

@m4ak
Copy link

m4ak commented Mar 29, 2021

Yes. Codecommander has been loaded, do I need to stop this and replace it with another alc_fix?

@racka98
Copy link
Owner

racka98 commented Mar 29, 2021

Yes. Codecommander has been loaded, do I need to stop this and replace it with another alc_fix?

Codeccommander should be left enabled. Maybe you have too many instances of alc_fix. How many did you install?

@m4ak
Copy link

m4ak commented Mar 29, 2021

I seem to have installed alc_fix several times. Now I switch to alc_fix_swift and disable Codeccommander. The problem still seems to be the same. When I switch to alc_fix_swift, I uninstall.sh first and then install it. I haven’t reset NVRAM yet. I will reset NVRAM later. Test to see if the problem can be solved.

@racka98
Copy link
Owner

racka98 commented Mar 29, 2021

I seem to have installed alc_fix several times. Now I switch to alc_fix_swift and disable Codeccommander. The problem still seems to be the same. When I switch to alc_fix_swift, I uninstall.sh first and then install it. I haven’t reset NVRAM yet. I will reset NVRAM later. Test to see if the problem can be solved.

Don't turn off codeccommander

@m4ak
Copy link

m4ak commented Mar 29, 2021

This folder contains instructions to install the new swift version of alc_fix which doesn't rely on hda-verb, alc-verb or CodecCommander kext. The installation process is in the folder.

Don't turn off codeccommander??Isn't codeccommander okay with alx_fix_swift? There is a new problem now. The earphones are all noisy. I haven't tested the audio problem after sleep.

The current configuration is as follows: Load codeccommander, use alc_fix_swift this repair script

屏幕快照 2021-03-29 14 27 48

屏幕快照 2021-03-29 14 31 59

@shtefanilie
Copy link

@racka98 I'm having the same issue on my T450 with Mojave. Works perfect, but as soon as I wake-from-sleep, no sound

@racka98
Copy link
Owner

racka98 commented Apr 26, 2021

@racka98 I'm having the same issue on my T450 with Mojave. Works perfect, but as soon as I wake-from-sleep, no sound

Is codeccommander turned on?

@shtefanilie
Copy link

shtefanilie commented May 1, 2021

Is codeccommander turned on?

Screenshot 2021-05-01 at 20 07 05
YYeep.

Edit: When I plug in my headphones via the jack, it get only static.

@racka98
Copy link
Owner

racka98 commented May 2, 2021

Edit: When I plug in my headphones via the jack, it get only static.

The static noise is a known issue that has no fix currently.

Try using the new OC 0.6.8 i just published to see if you still get the volume loss issue

@shtefanilie
Copy link

Updated to 0.6.8, but still missing sound after wake. And also, static noise.

@racka98
Copy link
Owner

racka98 commented May 5, 2021

Updated to 0.6.8, but still missing sound after wake. And also, static noise.

Static has no fix currently. Temporary fix is to put the laptop to sleep then wake. Headphones should not have any static.
(I'm planning on fixing this).

For the loss of sound can you try running a fresh copy of the entire EFI from this repo without modifying anything to see if still has that problem.

@racka98
Copy link
Owner

racka98 commented May 5, 2021

This folder contains instructions to install the new swift version of alc_fix which doesn't rely on hda-verb, alc-verb or CodecCommander kext. The installation process is in the folder.

Don't turn off codeccommander??Isn't codeccommander okay with alx_fix_swift? There is a new problem now. The earphones are all noisy. I haven't tested the audio problem after sleep.

The current configuration is as follows: Load codeccommander, use alc_fix_swift this repair script

屏幕快照 2021-03-29 14 27 48 屏幕快照 2021-03-29 14 31 59

Alc_swift doesn't seem to work. You should probably remove it. Only codeccommander works. I'll check other alc IDs to see they solve the issue

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

No branches or pull requests

4 participants