-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Amiberry fast boot doesn't wait for sound / issue with RPi 4 sound #3356
Comments
Hmmm.. this issue might be something completely different. I just noticed that Changing that line to |
@Cybolic I just checked the code:
So basically as you want 3,5mm jack output and have a generally audio-capable HDMI monitor attached, you need to select Another issue, if I think through it, is that, if the RPi onboard audio card is not yet enabled, the amixer settings (which are to switch between auto, HDMI and 3,5mm output) cannot be applied. I am not sure if those are still stored to ALSA settings file then or ignored completely. In letter case, there would be indeed just a two stage solution:
For our Amiberry images it hence makes sense to enable onboard audio for first boot. When dietpi.txt is edited to enable/apply e.g. some USB DAC for first boot, onboard is automatically disabled for next reboot. What I find strange is that you apply If you find time, could you go through the following steps:
If indeed values are not stored wthout hardware being enabled/available, I'll edit the sound card selection so that amixer settings are applied automatically on next boot a single time, via script which removes itself once done, so that there is no manual two stage selection required. |
I tested a bit and what I found what that sound just doesn't work on boot without either
I did notice though, that when setting Perhaps this is actually the fix from #2173 causing an issue? |
I think I was right on that one.
|
For what it's worth, my config has
|
@Cybolic If you find time, could you test with Okay found it, this audio device only appears with the full KMS driver |
+ DietPi-Set_hardware | rpi-opengl: Be more strict on arguments, only allow the two explicit valid overlays + DietPi-Set_hardware | rpi-opengl: Install libegl1 as well, to have all possible OpenGL output variants supported OOTB + DietPi-Set_hardware | soundcard: Fix wrong ALSA state file being removed + DietPi-Set_hardware | soundcard on RPi: Fix wrong card index increment when vc4-fkms-v3d overlay has been added, since only the full KMS driver adds the vc4hdmi sound device: #3356 (comment) + DietPi-Set_hardware | Tiny coding and alignment
Live patch via MOTD or can be done manually:
|
ADMIN EDIT
Solution:
Required Information
6.28
10.2
4.19.93-v71+
RPi 4 Model B
Additional Information (if applicable)
Steps to reproduce
Amiberry fast boot
through dietpi-configExpected behaviour
Amiberry should be able to start the emulation.
Actual behaviour
Amiberry freezes on the first black (emulation) boot screen and the log will say that it can't open an audio device.
Extra details
What I need to do to actually use Amiberry, is to:
dietpi-config
and go toAudio Options
rpi-bcm2835-3.5mm
; select Okhw:0,0
; select OkIf I don't follow the last step, ALSA won't work (alsamixer won't launch and Amiberry will keep freezing).
I've tried adding
After=sound.target
to/etc/systemd/system/amiberry.service
but with ALSA not really starting correctly anyway, I'm not sure that helps anything.The text was updated successfully, but these errors were encountered: