You are not logged in.

#1 2023-09-04 15:07:13

AlexBeer
Member
Registered: 2023-08-24
Posts: 22

[SOLVED] Web browsers cant' reproduce video (hardware acceleration)

Hi,
I finally had firefox(also tested chrome) play videos (youtube, twitch, etc) following: https://wiki.archlinux.org/title/Hardwa … celeration
System info:

 inxi -G
Graphics:
  Device-1: NVIDIA GA106 [Geforce RTX 3050] driver: nvidia v: 535.104.05
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0
    compositor: sway v: 1.8.1 driver: X: loaded: nvidia
    unloaded: modesetting,nouveau gpu: nvidia,nvidia-nvswitch
    resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce RTX
    3050/PCIe/SSE2

and

vdpauinfo
display: :0   screen: 0
Error creating VDPAU device: 1

Videos(youtube) was reproduced correctly with hardware acceleration enabled and webgl disabled until system sleep (maybe: didn't tried if after system reboot the videos on firefox work correctly again until sleep) then I'm getting only static image with turning wheel, unless I mute video but muted video seems to play well.
(Incidentally I noted once that videos begun to play correctly during "pacman -Syu", until next sleep.)

Any helps?

Best Regards

Last edited by AlexBeer (2023-09-07 18:53:21)

Offline

#2 2023-09-04 19:14:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,103

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

unless I mute video but muted video seems to play well.

Sounds like an issue w/ the sound server (pulseaudio/pipewire)

Incidentally I noted once that videos begun to play correctly during "pacman -Syu", until next sleep.

Might have been the udev reset.

maybe: didn't tried if after system reboot the videos on firefox work correctly again until sleep

So it's not clear whether this is related to the system sleep???

The information in your port is somewhat contradictive.
Did you try to simply restart
1. the browser
2. sway
3. the system

Offline

#3 2023-09-05 16:53:05

Akira-Amatsume
Member
Registered: 2023-09-05
Posts: 2

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

Maybe the problem of pulseaudio.https://wiki.archlinux.org/title/PulseA … do_no_playI tried this and solved the problem on my machine.

Offline

#4 2023-09-05 20:57:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

Output of

sudo fuser -v /dev/snd/*

during issue reproduction.

Offline

#5 2023-09-07 16:53:01

AlexBeer
Member
Registered: 2023-08-24
Posts: 22

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

seth wrote:

So it's not clear whether this is related to the system sleep???

Just rebooted: after reboot video works, then after sleep comes the problem.

Offline

#6 2023-09-07 16:58:42

AlexBeer
Member
Registered: 2023-08-24
Posts: 22

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

Akira-Amatsume wrote:

Maybe the problem of pulseaudio.https://wiki.archlinux.org/title/PulseA … do_no_playI tried this and solved the problem on my machine.

well, after "pulseaudio --kill" the video begin, with audio, reproduce two commercial, then video stop again.

Last edited by AlexBeer (2023-09-07 17:03:58)

Offline

#7 2023-09-07 17:06:48

AlexBeer
Member
Registered: 2023-08-24
Posts: 22

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

V1del wrote:

Output of

sudo fuser -v /dev/snd/*

during issue reproduction.

                     UTENTE      PID ACCESSO COMANDO
/dev/snd/controlC0:  myuser  F.... wireplumber
                     myuser  F.... pulseaudio
/dev/snd/controlC1:  myuser  F.... wireplumber
                     myuser  F.... pulseaudio
/dev/snd/seq:        myuser  F.... pipewire

Offline

#8 2023-09-07 17:41:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,103

Offline

#9 2023-09-07 18:52:15

AlexBeer
Member
Registered: 2023-08-24
Posts: 22

Re: [SOLVED] Web browsers cant' reproduce video (hardware acceleration)

Offline

Board footer

Powered by FluxBB