I noticed that sometomes when I boot my OS youtube videos don’t work. Browsers become unresponsive or all videos load very slowly. Also when it loads doesn’t start and if I try to rewind it to later time just one frame loads and then is loading forever… Often browser crashes (I use firefox). I though that is a problem with Firefox but same happens in Opera.
The second problem I have is with sound. When I play something I can’t hear nothing. In systry I can see sound devices and I even see that progressbar that sound is playing on speciffic line but when I click it no sound came out.
Both problems occur occasionally when I start my PC and restart usually helps to fix it but is annoying. What can I do about it? How I can debug this?
I have to say, I can’t find any faults (fails or errors) in the logs you posted. The system you have should by itself be very capable of playing YT videos, etc. without any hastle.
Perhaps you can open a terminal-window with htop, glances, or ksysguard, or similar running next to your browser window, when running YT videos, in order to find out which running process is likely carrying much CPU-load for further debugging…
Problems with videos happens only sometimes when I turn on my PC, all other times are working perfectly. CPU + GPU are more than capable to run them but it seems like sometimes something goes wrong on boot.
How I can debug it next time it happens? …is there any specific command to run to check if all video drivers are loaded correctly or something similar?
API: ALSA v: k6.1.22-1-lts status: kernel-api
Server-1: PipeWire v: 0.3.67 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Since Firefox version >=52, the browser has dropped support for ALSA and depends solely on PulseAudio for sound requirements, hence rendering all sites playing audio broken on an ALSA-only system (such as Lubuntu, an official Ubuntu Flavor).
Mozilla has cited ongoing problems and maintenance issues for dropping ALSA support, as explained in the original bug report. This gives the options of either downgrading to an earlier version of Firefox (not really) or switching to a different browser.
If PulseAudio is not installed, Firefox uses ALSA instead.
Your system configuration shows you have pipewire server installed rather than pulseaudio. And pipewire-alsa has replaced the functions of ALSA.
Therefore, to satisfy firefox’s default configuration for pulseAudio, a emulation for ALSA may meet the requirement, e.g. ‘apule’.
yay -S apulse (emulation for ALSA)
To run firefox, just use apulse to initiate firefox:
$ /usr/bin/apulse /usr/lib/firefox/firefox %u
I am not sure if this will work for your hardware.
After that I tried to start play YT video in opera browser and results were the same … CPU rise to above 80% usage … but in general in opera & FF that CPU usage varies between 20% to 95% when I triy to play YT videos sometimes after reboot.
Is not just YT videos but videos on websites in general.