Open OrdinaryMagician opened 2 weeks ago
I'm unable to reproduce this on an old Thinkpad using Intel iGPU HD4400, running arch and hyprland.
The immediate thing that comes to mind is probably this code here, but this shouldn't prevent gstreamer from falling back to decoders that exist on your machine. It could however prefer codecs that don't function properly (not sure about this tbh).
A good way to see if it's a gstreamer problem itself is to try playing some video files with gst-play
, might be gst-play-1.0
depending on the distro.
Something like gst-play --videosink gtkglsink --use-playbin2 --volume 0.5 [video file path]
would be pretty much be the same pipeline ahoviewer uses for videos.
Trying that, it fails to initialize OpenGL, apparently.
Seeing as it works on your end, I got curious and checked on my AMD laptop. Works fine there. I guess it's a NVIDIA issue (not surprised in the slightest, then).
What it says on the tin. Even after installing the necessary requirements, it just seems that videos do not play at all.
It's possible to get them to work by setting
GDK_BACKEND=x11
before launching the program from a terminal, but this results in severe visual glitching (audio plays just fine, though).