kernel 5.6, Firmware and the correct path to firmware under Debian Bullseye.
by Forsland from LinuxQuestions.org on (#51N0G)
Practicing Social distancing to Covid-19 and i found some oddities under the hood of my DAW.
The computer is a ROG Strix X399-e Gaming. Ryzen 12 core, 12 threads, used as a DAW. Debian Buster got installed mid October 2019 and it got upgraded to Bullseye recently. In October 2019 i hand copied Firmware to Realtek 8822 to place to get wifi working and compiled a 5.4.* (i think) rt-kernel for the DAW.
Now i found out there is two firmware trees. /lib/firmware and /usr/lib/lirmware. I suspect one is from Buster and the other from Bullseye.
I have at least three questions about the firmware.
Which tree is the correct one for Bullseye /lib/firmware?
Debian have several firmware packages. Non-free, firmware-realtek, firmware-something... Is a firmware tarball at kernel.org what Debian split up to different .deb packages?
Can i uninstall all the .deb firmware packages and untar a firmware tarball from kernel org to the right place /lib/firmware?
If someone wonder why i am going with the newest kernels. Because i can ;). With kernel 5.4-rt the DAWs best latency was 512 ms with xruns. With kernel 5.5 kernels compiled low-latency desktop , latency 64 ms, fewer xruns. Kernel 5.6, latency 64 ms, no xruns. I have questions about that too, but on another forum.


The computer is a ROG Strix X399-e Gaming. Ryzen 12 core, 12 threads, used as a DAW. Debian Buster got installed mid October 2019 and it got upgraded to Bullseye recently. In October 2019 i hand copied Firmware to Realtek 8822 to place to get wifi working and compiled a 5.4.* (i think) rt-kernel for the DAW.
Now i found out there is two firmware trees. /lib/firmware and /usr/lib/lirmware. I suspect one is from Buster and the other from Bullseye.
I have at least three questions about the firmware.
Which tree is the correct one for Bullseye /lib/firmware?
Debian have several firmware packages. Non-free, firmware-realtek, firmware-something... Is a firmware tarball at kernel.org what Debian split up to different .deb packages?
Can i uninstall all the .deb firmware packages and untar a firmware tarball from kernel org to the right place /lib/firmware?
If someone wonder why i am going with the newest kernels. Because i can ;). With kernel 5.4-rt the DAWs best latency was 512 ms with xruns. With kernel 5.5 kernels compiled low-latency desktop , latency 64 ms, fewer xruns. Kernel 5.6, latency 64 ms, no xruns. I have questions about that too, but on another forum.