Article 6QFWT Video/Audio not working or partially working on Fedora 40

Video/Audio not working or partially working on Fedora 40

by
6th_sense
from LinuxQuestions.org on (#6QFWT)
Hi guys,

Problem:

One fine day after a few weeks of having installed fedora 40, I tried playing videos on youtube and the videos wouldn't play. I tried updating the Nvidia card drivers, and then running the videos - but, they wouldn't play - that is, until I muted the volume either from KDE or from the volume control on the video or if I changed the device to which the sound is output - ie anything except my external Lenovo USB C thunderbolt sound card. But regardless of the sound card used - it seems to not deliver any sound.

I also tried playing music or videos through the vlc player. I can seem to output music to the thunderbolt sound card this way... However, vlc seems oblivious to the mixer controls that I use from the volume widget in KDE - which can be set to the thunderbolt dock, or the internal Intel PCH sound card.

I can play music through Mixxx - and go to Mixxx's settings and if I switch between the two sound cards - it will switch between the two sound cards with no problems whatsoever - however, it too seems to ignore the settings that are made at the KDE volume/sound widget level.

All of these controls in the KDE volume/sound widget used to work - and now they don't seem to matter in some software playback systems and it does matter, yet doesn't properly work for others.

When I try to go to the settings and test the various cards - vis-a-vis the settings dialog box in KDE - it gives me the following error: "Error trying to play a test sound. The system said: "Invalid state""

My Personal Background with Linux:

I have been working with Linux for a long time - but, I am still very un-knowledgeable about a LOT of things in Linux... The sound system is one of those things that are a black box to me - so please be patient with me...

Tests I Have Run:

I took the liberty of looking at some of the other threads on sound under the forums and looking around on the net - and I followed some of the discussions to try and figure out what is going on.

Here are some of the output, of various commands that may or may not be relevant - I'll let you guys help me decide... Where I've put periods - this should indicate that other, possibly non-relevant information is present - so, I've left out those portions.

Code:# inxi -Fxmz
System:
Kernel: 6.10.6-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-37.fc40
Desktop: KDE Plasma v: 6.1.4 Distro: Fedora Linux 40 (Forty)
Machine:
Type: Laptop System: LENOVO product: 20N6CTO1WW v: ThinkPad P53s
serial: <filter>
Mobo: LENOVO model: 20N6CTO1WW v: SDK0R32862 WIN serial: <filter>
UEFI: LENOVO v: N2IET98W (1.76 ) date: 01/05/2022
Battery:
ID-1: BAT0 charge: 58.1 Wh (100.0%) condition: 58.1/57.0 Wh (101.9%)
volts: 12.8 min: 11.6 model: LGC 02DL011 status: full
Memory:
System RAM: total: 24 GiB available: 23.13 GiB used: 8.14 GiB (35.2%)
igpu: 64 MiB
Array-1: capacity: 32 GiB note: est. slots: 2 modules: 2 EC: None
max-module-size: 16 GiB note: est.
Device-1: ChannelA-DIMM0 type: DDR4 size: 8 GiB speed: spec: 2667 MT/s
actual: 2400 MT/s
Device-2: ChannelB-DIMM0 type: DDR4 size: 16 GiB speed: spec: 2667 MT/s
actual: 2400 MT/s
CPU:
Info: quad core model: Intel Core i7-8565U bits: 64 type: MT MCP
arch: Comet/Whiskey Lake note: check rev: C cache: L1: 256 KiB L2: 1024 KiB
L3: 8 MiB
Speed (MHz): avg: 696 high: 800 min/max: 400/4600 cores: 1: 800 2: 800
3: 400 4: 800 5: 400 6: 800 7: 800 8: 771 bogomips: 31999
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
.
...
Audio:
Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
Device-2: Lenovo ThinkPad Thunderbolt 3 Dock USB Audio
driver: hid-generic,snd-usb-audio,usbhid type: USB bus-ID: 3-2.1.1.2:7
Device-3: Microsoft LifeCam VX-800 driver: snd-usb-audio,uvcvideo
type: USB bus-ID: 3-2.1.4.1:8
API: ALSA v: k6.10.6-200.fc40.x86_64 status: kernel-api
Server-1: PipeWire v: 1.0.7 status: active
Server-2: PulseAudio v: 16.1 status: active (root, process)
Network:
Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
bus-ID: 00:14.3
IF: wlp0s20f3 state: down mac: <filter>
Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6
IF: enp0s31f6 state: down mac: <filter>
Device-3: Lenovo ThinkPad TBT 3 Dock driver: r8152 type: USB
bus-ID: 4-2.1.2:4
IF: enp7s0u2u1u2 state: up speed: 100 Mbps duplex: full mac: <filter>
..
...
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 353 Uptime: 1d 3h 33m Init: systemd target: graphical (5)
Packages: N/A Compilers: clang: 18.1.6 gcc: 14.2.1 Shell: Bash v: 5.2.26
inxi: 3.3.34Code:$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 45
Tile Size: 65472
User Name: XXXX
Host Name: XXX
Server Name: pulseaudio
Server Version: 16.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Lenovo_ThinkPad_Thunderbolt_3_Dock_USB_Audio_000000000000-00.analog-stereo
Default Source: alsa_input.usb-Microsoft_Microsoft_LifeCam_VX-800-02.mono-fallback
Cookie: b795:de0fCode:$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: USB [ThinkPad Thunderbolt 3 Dock USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [ASUS VP249]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [K272HL]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0Code:$ rpm -qa |grep -e pipe -e pulse
pulseaudio-libs-16.1-7.fc40.x86_64
libpipeline-1.5.7-5.fc40.x86_64
pulseaudio-libs-glib2-16.1-7.fc40.x86_64
vlc-plugin-pipewire-3-2.fc40.x86_64
pulseaudio-utils-16.1-7.fc40.x86_64
pipewire0.2-libs-0.2.7-12.fc40.x86_64
pipewire-codec-aptx-1.0.7-1.fc40.x86_64
pipewire-1.0.7-2.fc40.x86_64
pipewire-libs-1.0.7-2.fc40.x86_64
pipewire-jack-audio-connection-kit-libs-1.0.7-2.fc40.x86_64
pulseaudio-qt-qt6-1.5.0-1.fc40.x86_64
pulseaudio-qt-qt5-1.5.0-1.fc40.x86_64
pipewire-jack-audio-connection-kit-1.0.7-2.fc40.x86_64
pipewire-alsa-1.0.7-2.fc40.x86_64
pipewire-gstreamer-1.0.7-2.fc40.x86_64
pipewire-utils-1.0.7-2.fc40.x86_64
pulseaudio-16.1-7.fc40.x86_64
pulseaudio-module-bluetooth-16.1-7.fc40.x86_64
alsa-plugins-pulseaudio-1.2.12-1.fc40.x86_64
kpipewire-6.1.4-1.fc40.x86_64
kde-settings-pulseaudio-40.1-1.fc40.noarchContinuing:

I tried using the ncurses interface at a non-X-window System CLI prompt and I managed to figure out how to use the interface... However, that interface doesn't really tell you what should be muted and what should be turned on, in order for the state of the sound cards to be something that the sound/volume controls in KDE not get messed up with.

Last of All

I am looking for any answers as to what I need to do to fix the situation I am in and I realize that I haven't been extra-ordinarily comprehensive with my reading - but, I will try what you suggest if there is a shorter route proffered.

Thank you in advance for all the trouble you take to help me with this...
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments