Missing Codecs | Video playback not works all the time

Is it the same as choosing the old kernel in grub? I believe I saw one because I have two Fedora lines at least. But it didn’t change anything

We live in the same timezone. Neighboring country northeast of France.

Then enjoy your remaining days of weekend, there’s so tiny left ! Thank you really.

1 Like

Yes, that is how you choose an older kernel – in the Grub boot loader. You might need to run that dnf downgrade ... command first though if the original working kernel is no longer installed on your system. (If you have updated your kernel more than three times since the initial install, then the original kernel would no longer be installed.)

I don’t see how possibly it could’ve been updated more than 3 times already. When I can I’ll take a photo of my grub (hopefully, because it’s kinda quick to vanish, or at least make a list) so that you can tell me maybe

There should be a way to check how many times the kernel has been updated with the dnf history list command, but I don’t know a simple way since it lists transaction ids by default and then you have to use dnf history info <id> for each one to see what packages were updated in that transaction. Maybe grep’ing /var/log/dnf.log* would work. I’m not sure.

If it is getting late for you though, this can certainly wait for another day. :slightly_smiling_face:

Edit: Actually, the easiest way to know is to simply run the dnf downgrade command. If the original kernel is still installed, it should say so and do nothing.

I understood that this was a fresh fedora42 install. The existence of the kernel-6.14.0-63.fc42.x86_64 in /boot seems to support this.

Thank you so much too really. Take a pause too :slight_smile: we’ll work it out for sure. And if the result is to give up Fedora or downgrade to a much older version, it’s still a result !
Have a good day/weekend too :slight_smile:

1 Like

Yeah, I did install it on my laptop just few days ago, like on Thursday or so. And I never had Fedora before so it’s a very new install

The link may only be good for “background”. We need to dig into the specifics for your model. There ae often module options for quirks of specific cards. One of my systems from 2012 only recently needed a “quirk option”:

~% cat /etc/modprobe.d/alsa-base.conf
# per: https://superuser.com/questions/688437/no-sound-from-headphones-ubuntu-on-imac
options snd-hda-intel model=imac27_122

I suspect previous versions of the module checked for the specific model and/or chips. It may be that those checks were removed in favor of using options.

A post was merged into an existing topic: Very new on Linux/Fedora, I need help with ‘/boot has no space left’

It is easy for kernel changes to inadvertently break older/unicorn hardware that Linux devs don’t have. I’ve had that happen several times, but it can also be a change in how hardware “quirks” are handled in a newer kernel, in which case there should be alsa configuration options to support your system (unfortunately not always easy to discover). If an older kernel works you can “versionlock” it (see man dnf-versionlock) while researching alsa support for your model.

First for today, let’s start with what mark asked for yesterday :

❯ sudo dnf history info 1  | head -15
sudo dnf history info 2  | head -15
[sudo] Mot de passe de louise : 
Transaction ID : 1
Begin time     : 2025-04-09 12:05:10
Begin rpmdb    : e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
End time       : 2025-04-09 12:05:30
End rpmdb      : 029205ab7296c4da1c7172b5411f4caaceedae83b291fcc92540b3cc4613f032
User           : 0 Super User <root>
Status         : Ok
Releasever     : 42
Description    : dnf5 --config /builddir/result/image/build/image-root/kiwi_dnf5.conf -y --disable-plugin=priorities,versionlock --installroot /builddir/result/image/build/image-root --releasever=42 --exclude=device-mapper-multipath --exclude=fcoe-utils --exclude=gfs2-utils install basesystem dnf5 fedora-release-workstation filesystem grubby @anaconda-tools
Comment        : 
Packages altered:
  Action  Package                                                              Reason          Repository
  Install basesystem-0:11-22.fc42.noarch                                       User            624cbc92582d4ecfae4c58749abde4f8
  Install fedora-release-workstation-0:42-25.noarch                            User            624cbc92582d4ecfae4c58749abde4f8
  Install filesystem-0:3.18-36.fc42.x86_64                                     User            624cbc92582d4ecfae4c58749abde4f8
Transaction ID : 2
Begin time     : 2025-04-09 12:06:33
Begin rpmdb    : 029205ab7296c4da1c7172b5411f4caaceedae83b291fcc92540b3cc4613f032
End time       : 2025-04-09 12:18:06
End rpmdb      : 807066871da2139c5816be86acaf24ea8c0fff7ba9fa92f61a3862ee4a7489ff
User           : 0 Super User <root>
Status         : Ok
Releasever     : 42
Description    : dnf5 --config /kiwi_dnf5.conf -y --disable-plugin=priorities,versionlock --releasever=42 --exclude=device-mapper-multipath --exclude=fcoe-utils --exclude=gfs2-utils --exclude=gfs2-utils --exclude=qemu-user-static --exclude=reiserfs-utils install aajohan-comfortaa-fonts anaconda anaconda-install-env-deps anaconda-live anaconda-webui btrfs-progs dracut-live glibc-all-langpacks grub2-efi-x64 grub2-efi-x64-cdboot grub2-efi-x64-modules grub2-pc grub2-pc-modules isomd5sum kernel kernel-core kernel-modules kernel-modules-extra livesys-scripts mediawriter shim-signed-x64 systemd-oomd-defaults systemd-resolved udisks2-btrfs @anaconda-tools @fonts @guest-desktop-agents @hardware-support @multimedia @networkmanager-submodules @printing @standard @workstation-product-environment
Comment        : 
Packages altered:
  Action  Package                                                                Reason          Repository
  Install aajohan-comfortaa-fonts-0:3.105-0.6.20210729git2a87ac6.fc42.noarch     User            624cbc92582d4ecfae4c58749abde4f8
  Install anaconda-0:42.27.12-1.fc42.x86_64                                      User            624cbc92582d4ecfae4c58749abde4f8
  Install anaconda-install-env-deps-0:42.27.12-1.fc42.x86_64                     User            624cbc92582d4ecfae4c58749abde4f8
❯ sudo rpm -V  $( rpm -qa \* )
.M.......  c /etc/default/grub
.......T.    /boot/efi/EFI/BOOT/BOOTX64.EFI
.......T.    /boot/efi/EFI/BOOT/fbx64.efi
.......T.    /boot/efi/EFI/fedora/BOOTX64.CSV
.......T.    /boot/efi/EFI/fedora/mmx64.efi
.......T.    /boot/efi/EFI/fedora/shim.efi
.......T.    /boot/efi/EFI/fedora/shimx64.efi
.......T.    /boot/efi/EFI/BOOT/BOOTIA32.EFI
.......T.    /boot/efi/EFI/BOOT/fbia32.efi
.......T.    /boot/efi/EFI/fedora/BOOTIA32.CSV
.......T.    /boot/efi/EFI/fedora/mmia32.efi
.......T.    /boot/efi/EFI/fedora/shimia32.efi
.M.......    /boot/efi/System
.M.......    /boot/efi/System/Library
.M.......    /boot/efi/System/Library/CoreServices
.M.....T.    /boot/efi/System/Library/CoreServices/SystemVersion.plist
.M.....T.    /boot/efi/mach_kernel
SM5....T.  c /var/lib/unbound/root.key
manque     /run/gluster/metrics
.M.......  g /var/lib/selinux/targeted/active/modules/200/NetworkManager-ssh
..5....T.  c /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
..5....T.  c /etc/yum.repos.d/google-chrome.repo
..5....T.  c /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
..5....T.  c /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
.M.......  g /run/thermald/thermald.pid
.M.......  g /var/lib/boltd
S.5....T.  c /etc/sysconfig/livesys
.......T.  c /etc/selinux/targeted/contexts/customizable_types
.M.......  g /usr/lib/sysimage/libdnf5/comps_groups
.M.......  g /usr/lib/sysimage/libdnf5/environments.toml
.M.......  g /usr/lib/sysimage/libdnf5/groups.toml
.M.......  g /usr/lib/sysimage/libdnf5/modules.toml
.M.......  g /usr/lib/sysimage/libdnf5/nevras.toml
.M.......  g /usr/lib/sysimage/libdnf5/packages.toml
.M.......  g /usr/lib/sysimage/libdnf5/system.toml
S.5....T.  c /etc/libvirt/qemu.conf
.....UG..  g /run/libvirt/qemu
.....UG..  g /run/libvirt/qemu/dbus
.....UG..  g /run/libvirt/qemu/passt
.....UG..  g /run/libvirt/qemu/slirp
.....UG..    /var/lib/libvirt/qemu
.....UG..    /var/lib/libvirt/qemu/checkpoint
.....UG..    /var/lib/libvirt/qemu/dump
.....UG..    /var/lib/libvirt/qemu/nvram
.....UG..    /var/lib/libvirt/qemu/ram
.....UG..    /var/lib/libvirt/qemu/save
.....UG..    /var/lib/libvirt/qemu/snapshot
S.5....T.  c /etc/fwupd/remotes.d/lvfs-testing.conf
S.5....T.  c /etc/fwupd/remotes.d/lvfs.conf

~ took 1m0s

Then the history list :

❯ dnf history list
ID Command line                                                                Date and time       Action(s) Altered
32 dnf install qpwgraph                                                        2025-05-10 16:20:59                 1
31 dnf distro-sync                                                             2025-05-10 07:33:13                71
30 dnf install intel-media-driver                                              2025-05-09 21:46:02                 1
29 dnf update @multimedia --setopt=install_weak_deps=False --exclude=PackageKi 2025-05-09 21:45:56                 4
28 dnf install libavcodec-freeworld                                            2025-05-09 21:45:44                 1
27 dnf swap ffmpeg-free ffmpeg --allowerasing                                  2025-05-09 21:37:08                13
26 dnf install libva-utils egl-utils                                           2025-05-09 21:32:28                 2
25 dnf remove firefox                                                          2025-05-09 18:10:22                 2
24 dnf update @core                                                            2025-05-09 13:51:34                 1
23 dnf install rpmfusion-nonfree-release-tainted                               2025-05-09 13:49:44                 1
22 dnf install rpmfusion-free-release-tainted                                  2025-05-09 13:49:27                 1
21 dnf remove firefox                                                          2025-05-09 13:37:05                23
20 dnf install -y brave-browser                                                2025-05-09 13:06:15                 3
19 dnf group upgrade core                                                      2025-05-09 12:21:45                 3
18 dnf install nautilus-python nautilus-extensions                             2025-05-09 11:43:46                 1
17 dnf install gparted                                                         2025-05-09 00:58:16                 1
16 dnf group install --with-optional virtualization                            2025-05-09 00:20:43                20
15 dnf install @virtualization                                                 2025-05-09 00:20:27                11
14 dnf install libvirt -y                                                      2025-05-09 00:19:29                 8
13 dnf remove kitty                                                            2025-05-08 23:40:52                 5
12 dnf install kitty                                                           2025-05-08 23:39:10                 5
11 dnf install dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts lib 2025-05-08 23:35:14                 6
10 dnf5 install gnome-tweaks                                                   2025-05-08 23:33:50                 1
 9 dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfre 2025-05-08 23:33:21                 1
 8 dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-rele 2025-05-08 23:33:16                 1
 7 dnf group install multimedia                                                2025-05-08 23:13:24                 1
 6 dnf remove kde-connect                                                      2025-05-08 20:18:38               103
 5 dnf install kde-connect                                                     2025-05-08 17:47:27               103
 4 dnf install timeshift                                                       2025-05-08 17:11:22                 1
 3 dnf upgrade                                                                 2025-05-08 16:42:25               931
 2 dnf5 --config /kiwi_dnf5.conf -y --disable-plugin=priorities,versionlock -- 2025-04-09 12:06:33              1722
 1 dnf5 --config /builddir/result/image/build/image-root/kiwi_dnf5.conf -y --d 2025-04-09 12:05:10               286

~

And I didn’t understand the rest of your message, maybe it can already tell us something

Also, upwards this post I posted my Grub so that we could see which kernels are available at reboot for me, but the shot was moved into the /boot discussion. Hopefully the link to the message here works.

I don’t remember if I had something else to give you, tell me if I forgot something.
Also, in my grub there are two Fedora kernels and one “rescue” slot. I see that slot in my Mint ones too but it’s called “recovery”. What does it mean, is that mode possibily useful in our situation ?

Unfortunately, even after a night in which the laptop was fully off, the video + sound issues persist in Fedora, even with the commands I just sent you all. Strangely, all works in Mint without any issue. I’ve had minor sound issues on mint too but alsamixer to put it on my Intel sound card and/or reboot did the trick, so I’m wondering why it’s so difficult for Fedora.

Fedora is ahead of other distros with recent kernel changes, so is often first to encounter issues. I assume the early warning of problems is one reason Red Hat sees benefits from supporting problem Fedora users face is determining whether a problem should be brought to the attention of kernel.org or another upstream developer. Bugs can be reported on Red Hat Bugzilla. Many outside developers interesting in having their software work on Red Hat will (sooner of later) discover them on bugzilla.

The “recovery kernel” is much larger that the others because it includes more drivers, while regular kernels only include drivers needed to boot your current hardware. From the grub menu you should be able to select one of the older kernels to determine which ones are working properly. Then you can versionlock the latest one that works and file a bug against the oldest non-working kernel. This will (eventually) reach a much larger developer audience, and is also a very useful learning experience if you have never filed a bug report.

The issue is, outside of the recovery one, I only have one older (at least from what’s visible in grub) since I installed very recently and I believe my issues were there too. I’ll double check a bit later though, to be sure of what I tell you. How can I check other than through grub to be sure I don’t miss any other kernel to test ?
And do I also try the recovery kernel or not ?

only limited time today, but anyway.

could you pls post

sudo dnf history info 3 | head -15  
rpm -qa firefox\*
flatpak list

check again that alsa still works and then try the same with pipewire

aplay /usr/share/sounds/alsa/Front_Center.wav
pw-cat -pv /usr/share/sounds/alsa/Front_Center.wav
sudo dnf install pavucontrol 

start pavucontrol and check tabs Configuration ( open the profile widget, what is available? ) Output Devices and Playback

e.g


Can you see anything in the Gnome notification area when rhythmbox is playing an audio stream?

let see if this produces any warnings:

fixfiles  -R $( rpm -qa pulse\* pipewire\* jack\* wireplumber\* dbus\* --qf "%{name},"  ) check
❯ sudo dnf history info 3 | head -15  
rpm -qa firefox\*
flatpak list
[sudo] Mot de passe de louise : 
Transaction ID : 3
Begin time     : 2025-05-08 16:42:25
Begin rpmdb    : 483e0db87b5179f71c32742abc92f7b28cbf39bc7fe0acffc9a5706ed329bc74
End time       : 2025-05-08 16:55:18
End rpmdb      : 72db661bbe7613e490cc914d1e34872f15ce4ac887e6d200d86d03fe010a8bc4
User           : 1000 Louise <louise>
Status         : Ok
Releasever     : 42
Description    : dnf upgrade
Comment        : 
Packages altered:
  Action   Package                                                              Reason          Repository
  Install  xorg-x11-xinit-0:1.4.3-2.fc42.x86_64                                 Dependency      fedora
  Install  setxkbmap-0:1.3.4-5.fc42.x86_64                                      Dependency      fedora
  Install  xmodmap-0:1.0.11-8.fc42.x86_64                                       Dependency      fedora
firefox-138.0.1-1.fc42.x86_64
firefox-langpacks-138.0.1-1.fc42.x86_64
Name                             Application ID                     Version                  Branch     Installation
Discord                          com.discordapp.Discord             0.0.94                   stable     system
Gestionnaire d’extensions        com.mattjakeman.ExtensionManager   0.6.3                    stable     system
Freedesktop Platform             org.freedesktop.Platform           freedesktop-sdk-24.08.19 24.08      system
Mesa                             …g.freedesktop.Platform.GL.default 25.0.5                   24.08      system
Mesa (Extra)                     …g.freedesktop.Platform.GL.default 25.0.5                   24.08extra system
Intel VAAPI driver               ….freedesktop.Platform.VAAPI.Intel                          24.08      system
openh264                         org.freedesktop.Platform.openh264  2.5.1                    2.5.1      system
GNOME Application Platform vers… org.gnome.Platform                                          48         system
Firefox                          org.mozilla.firefox                138.0.1                  stable     system

~

Both alsa and pipe work for the default track when I put it on my Intel card. It shows this

❯ aplay /usr/share/sounds/alsa/Front_Center.wav
Lecture WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Fréquence 48000 Hz, Mono

~ 
❯ pw-cat -pv /usr/share/sounds/alsa/Front_Center.wav
sndfile: opened file "/usr/share/sounds/alsa/Front_Center.wav" format "Default Endian WAV (Microsoft) Signed 16 bit PCM" channels:1 rate:48000
sndfile: using default channel map: MONO
PCM: fmt:s16 rate:48000 channels:1 width:2
rate:48000 latency:4800 (0,100s)
connecting playback stream; target=(null)
stream state changed unconnected -> connecting
stream param change: Spa:Enum:ParamId:Latency
stream param change: Spa:Enum:ParamId:Tag
stream properties:
	application.name = "pw-cat"
	node.name = "pw-cat"
	media.format = "WAV (Microsoft)"
	node.rate = "1/48000"
	node.latency = "4800/48000"
	media.type = "Audio"
	media.category = "Playback"
	media.role = "Music"
	media.filename = "/usr/share/sounds/alsa/Front_Center.wav"
	media.name = "/usr/share/sounds/alsa/Front_Center.wav"
	stream.is-live = "true"
	node.want-driver = "true"
	node.autoconnect = "true"
	node.loop.class = "main"
	node.async = "true"
	media.class = "Stream/Output/Audio"
remote 0 is named "pipewire-0"
stream state changed connecting -> paused
stream param change: Spa:Enum:ParamId:Props
stream param change: Spa:Enum:ParamId:Latency
stream param change: Spa:Enum:ParamId:Latency
stream param change: Spa:Enum:ParamId:Format
stream state changed paused -> streaming
stream set volume to 1,000 - success
stream node 65
stream time: now:289890205762 rate:1/48000 ticks:0 delay:2048 queued:0 buffered:0 buffers:0 avail:2 size:2048
stream time: now:292152926454 rate:1/48000 ticks:49152 delay:2048 queued:0 buffered:0 buffers:1 avail:1 size:2048
drain start
stream drained

~

With settings on Pipewire (seems similar) :

❯ aplay /usr/share/sounds/alsa/Front_Center.wav
pw-cat -pv /usr/share/sounds/alsa/Front_Center.wav
Lecture WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Fréquence 48000 Hz, Mono
sndfile: opened file "/usr/share/sounds/alsa/Front_Center.wav" format "Default Endian WAV (Microsoft) Signed 16 bit PCM" channels:1 rate:48000
sndfile: using default channel map: MONO
PCM: fmt:s16 rate:48000 channels:1 width:2
rate:48000 latency:4800 (0,100s)
connecting playback stream; target=(null)
stream state changed unconnected -> connecting
stream param change: Spa:Enum:ParamId:Latency
stream param change: Spa:Enum:ParamId:Tag
stream properties:
	application.name = "pw-cat"
	node.name = "pw-cat"
	media.format = "WAV (Microsoft)"
	node.rate = "1/48000"
	node.latency = "4800/48000"
	media.type = "Audio"
	media.category = "Playback"
	media.role = "Music"
	media.filename = "/usr/share/sounds/alsa/Front_Center.wav"
	media.name = "/usr/share/sounds/alsa/Front_Center.wav"
	stream.is-live = "true"
	node.want-driver = "true"
	node.autoconnect = "true"
	node.loop.class = "main"
	node.async = "true"
	media.class = "Stream/Output/Audio"
remote 0 is named "pipewire-0"
stream state changed connecting -> paused
stream param change: Spa:Enum:ParamId:Props
stream param change: Spa:Enum:ParamId:Latency
stream param change: Spa:Enum:ParamId:Latency
stream param change: Spa:Enum:ParamId:Format
stream state changed paused -> streaming
stream set volume to 1,000 - success
stream node 68
stream time: now:378282105509 rate:1/48000 ticks:0 delay:2048 queued:0 buffered:0 buffers:0 avail:2 size:2048
stream time: now:379306029000 rate:1/48000 ticks:49152 delay:2048 queued:0 buffered:0 buffers:1 avail:1 size:2048
drain start
stream drained

Btw once I quit alsa the settings come on pipewire by default. is there a terminal command to possibly register on which card (Intel ont if relevant) I wanna be without having to let alsa opened all the time ?

Pavu control shows me a lot of options :

OH what the !!! it came back for few seconds it seems ! I don’t know what I did exactly but rhythmbox finally gives me stuff !
I possibly increased speaker volume and checked “by default”… but somehow it’s gone again when I closed pavucontrol. we may be on something here. The Kink radio is soo loud, I got too surprised lol

And the last command you gave :

❯ fixfiles  -R $( rpm -qa pulse\* pipewire\* jack\* wireplumber\* dbus\* --qf "%{name},"  ) check
libsemanage.semanage_create_store: Could not read from module store, active modules subdirectory at /var/lib/selinux/targeted/active/modules. (Permission denied).
libsemanage.semanage_direct_connect: could not establish direct connection (Permission denied).
genhomedircon:  Could not connect to policy handler

~ took 2s