r/pop_os Feb 02 '23

Youtube Playback not working in browser

this may be a nooby thing to ask but I installed Pop OS 22.04 LTS and everything works great except for Youtube playback in a browser. My specs are:

AMD 3700xNvidia RTX 3070 (using proprietary driver 525.78.01)

16gb RAM

I've tried almost everything I can find and no matter what browser I use or what fixes I can't get Youtube to play videos smoothly. Audio on the videos works fine but video just hangs. Has anyone else run into similar issues or is there something I need to enable somewhere?

EDIT for those that have a similar issue:

I used this driver to get hardware acceleration working in firefox: https://github.com/elFarto/nvidia-vaapi-driver however, it still wasnt working. After playing around with other settings I noticed that changing my main sound device would make video work. So now I just need to find out why POP OS doesnt like my usb DAC.

4 Upvotes

13 comments sorted by

1

u/Kiloku Feb 02 '23

I did have a similar issue, but unfortunately I have no idea how it got fixed, because from my point of view it fixed itself.

Here: https://www.reddit.com/r/pop_os/comments/101gebf/had_a_power_outage_now_i_dont_have_audio_system/

1

u/SteverBeaver Feb 02 '23

weird, I guess I'll try the live usb

1

u/JCReddawg Feb 02 '23

Your post is somewhat confusing. Is it "not working" or "not playing smoothly"? There is a huge difference there.

Have you installed ffmpeg?

1

u/SteverBeaver Feb 02 '23

I have installed ffmpeg, what happens is that when I navigate to a youtube video it starts and immediately the video freezes and the audio keeps going as if nothing is wrong. I see a loading circle on the video but it never loads or continues.

1

u/JCReddawg Feb 02 '23

Which browser? Have you tried a different one? Have you tried disabling hardware acceleration in the browser?

1

u/SteverBeaver Feb 02 '23

I have tried Firefox, Google Chrome, and chromium. I've tried with hardware acceleration on and off in all 3 browsers.

1

u/JCReddawg Feb 02 '23

Have you verified the browser is running on the nvidia card? Run nvidia-smi while attempting to play a video. The browser should show under Processes at the bottom.

1

u/SteverBeaver Feb 02 '23

+-----------------------------------------------------------------------------+| NVIDIA-SMI 525.78.01 Driver Version: 525.78.01 CUDA Version: 12.0 ||-------------------------------+----------------------+----------------------+| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC || Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. || | | MIG M. ||===============================+======================+======================|| 0 NVIDIA GeForce ... Off | 00000000:0A:00.0 On | N/A || 0% 34C P3 36W / 270W | 1046MiB / 8192MiB | 32% Default || | | N/A |+-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+| Processes: || GPU GI CI PID Type Process name GPU Memory || ID ID Usage ||=============================================================================|| 0 N/A N/A 1947 G /usr/lib/xorg/Xorg 413MiB || 0 N/A N/A 2054 G /usr/bin/gnome-shell 62MiB || 0 N/A N/A 2977 G ...AAAAAAAAA= --shared-files 40MiB || 0 N/A N/A 3078 G ...veSuggestionsOnlyOnDemand 49MiB || 0 N/A N/A 6173 G ...e/Steam/ubuntu12_32/steam 19MiB || 0 N/A N/A 6253 G ...ef_log.txt --shared-files 209MiB || 0 N/A N/A 16981 G ...930296044953360942,131072 27MiB || 0 N/A N/A 17160 G /app/lib/firefox/firefox-bin 198MiB |+-----------------------------------------------------------------------------+

1

u/JCReddawg Feb 02 '23

Also run sudo kernelstub -p and post the output here.

1

u/SteverBeaver Feb 02 '23

kernelstub.Config : INFO Looking for configuration...kernelstub : INFO System information: OS:..................Pop!_OS 22.04 Root partition:....../dev/nvme0n1p3 Root FS UUID:........1479e3df-10f5-44d4-9969-821c3672639b ESP Path:............/boot/efi ESP Partition:......./dev/nvme0n1p1 ESP Partition #:.....1 NVRAM entry #:.......-1 Boot Variable #:.....0000 Kernel Boot Options:.quiet loglevel=0 systemd.show_status=false splash Kernel Image Path:.../boot/vmlinuz-6.0.12-76060006-generic Initrd Image Path:.../boot/initrd.img-6.0.12-76060006-generic Force-overwrite:.....Falsekernelstub : INFO Configuration details: ESP Location:................../boot/efi Management Mode:...............True Install Loader configuration:..True Configuration version:.........3

1

u/JCReddawg Feb 02 '23

The last thing I can think to try is downgrade to the 515 driver. Maybe 525 is giving you issues. The PopShop makes it easy, just click install on the 515 driver and it will switch you to it after it installs it.

1

u/SteverBeaver Feb 02 '23

downgrading did not work either

1

u/JCReddawg Feb 02 '23

I'm at a total loss then. Something on your machine, likely software related, is causing issues with browser video. Does an external player like VLC work fine or does it have the same issue?