I have a laptop (Thinkpad X1 Extreme Gen 2 - it has an Nvidia card) and a monitor (Dell UltraSharp43 - U4320Q). I connect the monitor to the laptop via USB-C. The system sees the monitor, I can select it via KDE’s applet or I can send audio to it via aplay like this, but without producing any sound:
I tried restarting wireplumber and pipewire and removing any audio configuration I had in my home folder. This used to work perfectly in Fedora 43. Curiously, when I connect the monitor through an actual HDMI cable, the audio works. I am running out of ideas, it sounds like some regression in how HDMI over USB-C works. Before filling a bug, has anybody any ideas what else might be wrong (and what logs can I provide with the bug report)?
Actually, I booted up both Fedora Live 44 and 43 and audio over USB-C does not work in either of them (it works over HDMI). Which is super weird. So it seems it cannot be a software problem, as it used to work with Fedora 43, but what kind of hardware problem would this be? Should I try different USB-C to USB-C cable? I tried reseting the monitor to factory settings and unplugging it for a few minutes, neither of which helped. I am utterly confused.
Aha, good catch. I did not realize I was running nouvou drivers at all, or maybe that nvidia drives was not running properly (nvidia was installed and nouveau now works so well I did not realize I was not running nvidia).
Actually, a problem seems to be that the appropriate modules (?) were not compiled (?) with sudo akmods --force - I was getting an error saying
Could not find files needed to compile modules for /boot/efi//3df672eef9054350b62cccb2eae56a38/7.0.1
2-201.fc44.x86_64/linux
Are the development files for kernel /boot/efi//3df672eef9054350b62cccb2eae56a38/7.0.12-201.fc44.x86
_64/linux or the appropriate kernel-devel package installed?
The magic comnmand was sudo akmds --force --kernels 7.0.12-201.fc44.x86_64
I am running sdboot, installed from netinstall - it seems this might be what is confusing akmods. I am up until now not sure if the proper path for that is /boot/efi/ or /efi` - the documentation for sdboot on Fedora is not exactly stellar, or I have not found the proper one :-/.
I will not try the new drivers, I suspect the problem was the broken akmod.
By the way, in the middle of fiddling with the drivers, all graphical output to the external monitor was not working. As I was running the akmod command successfuly, the image appeared all of a sudden.
But anyway, the sound through the monitor now works.
Edit: version of the driver was not the culprit, it now works with version 595 too.