[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No speech in the alpha Installer, and speech freeze in Bookworm



Hi,

Cleverson Casarin Uliana <clul+debaccess@posteo.com.br> (2025-05-26):
> Hi, Roland Clobus writes:
> > After some more digging, we came up with another image for you to test
> > (this time a network installer image):
> > It turned out that the firmware needs to be made available in another
> > location for the speech installer to work.
> > 
> It talked, hence it works! I actually had no Debian installed, but now
> I'm gonna install it next weekend.

Thanks, that's very good news. Roland was able to check my image was
working at least on one affected system, but it's really nice to hear
(no pun intended) that's also working for you.

Proofreading my mail, I've come to a slightly different conclusion
regarding the relevant of the firmware-intel-sound package, but I'm
keeping it as written initially, see “Update” below.

There are several things at play here:
 - including some extra modules in the d-i build (which I'll clean up
   and merge into master shortly);
 - including some extra firmware in the debian-cd build, adding them
   alongside firmware-sof-signed files, modifying the initramfs on the
   fly (that's already ready on the debian-cd side, along with other
   patches of mine, see kibi/for-master branch);
 - including a patterns file so that hw-detect can queue the
   firmware-intel-sound package for installation (also enabling the
   non-free-firmware component if it's not already enabled) based on
   modalias information.

The first two things are the reason why the speech synthesis is able to
start with the modified image. I'd be happy to hear from either or both
of you regarding the third point: I expect firmware-intel-sound to be
deployed via the install-firmware script. This can be confirmed via the
installer syslog (/var/log/syslog while d-i is running, kept as
/var/log/installer/syslog in the installed system), and/or via the
/var/log/installer/firmware-summary file in the installed system.

I'm afraid speech synthesis won't work in the installed system if the
package doesn't get deployed. Roland, it might be easier for you to
check what happens on your system (without using speech synthesis).
Cleverson, if you want to make sure, and if you can run a few commands
within d-i (e.g. once you reach the final screen, before rebooting),
something like this should return an installed package:

    chroot /target dpkg -l firmware-intel-sound

If it's not installed, assuming non-free-firmware was enabled anyway
(e.g. because of CPU microcode), you should be able to install it with:

    chroot /target apt-get -y install firmware-intel-sound

(I'm not really how much it matters if and when the initramfs for the
installed system is rebuilt…)


Update: Looking back at the initial report, the card is 8086:51ca and
it's indeed *not* in the list that's supposed to be supported by the
module(s) listed in the description of the firmware-intel-sound package
but it *is* in the list that's supposed to be supported by the modules
related to the firmware-sof-signed package.

So perhaps in the end, adding firmware-intel-sound to the installer's
initramfs (and making sure it gets deployed in the installed system when
relevant) is optional, and maybe all that matters is including enough
modules for the i915 one to load successfully.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: