Bug 257089
| Summary: | [GStreamer] Youtube broken on NVidia GPU | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | tarch1 <menegonitobia> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro, philn |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Other | ||
| OS: | Linux | ||
tarch1
Hi,
I'm running Epiphany browser that works very great in most sites but it will become unusable with youtube, that have working audio but doesn't reproduce video, it instead shows only a white window and when in fullscreen a black one.
I have a laptop with i5-11400H and RTX 3060
The system is Artix, linux kernel 6.3.2, with gnome-shell and gnome relative packages, and by following the Arch wiki I've installed all the Gstreamer plugins.
Whit a video it uses 300 MB and webkitwebprocess uses 750 MB, measured with bpytop.
App version: epiphany 44.2 - webkitgtk-6.0 2.40.1 - webkit2gtk-4.1 2.40.1 - mutter 44.1 - gnome-shell 44.1
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
tarch1
*** Bug 257088 has been marked as a duplicate of this bug. ***
Philippe Normand
Can you follow the instructions and upload logs please?
https://github.com/Igalia/meta-webkit/wiki/Providing-useful-GStreamer-Zero-copy-issue-reports#in-webkit
tarch1
Manufacturer: ASUSTeK COMPUTER INC.
Model: FX706HM
CPU : 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
Operating System Version: "Artix Linux"
Kernel : Linux 6.3.2-artix1-1
Video Card: nVidia RTX 3060
Driver : nvidia 530.41.03-11 - nvidia-prime 1.0-4 - nvidia-utils 530.41.03-1
Driver: Intel Mesa Intel(R) UHD Graphics (TGL GT1)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.0.3
OpenGL Version: 4.6
Audio device: Realtek ALC256
RAM: 15721 Mb
gst-inspect-1.0 version 1.22.2
GStreamer 1.22.2
GST packages : clutter-gst gnome-video-effects gst-editing-services gst-libav gst-plugin-gtk gst-plugin-pipewire gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-openh264 gstreamer-vaapi gupnp-dlna rygel totem
Using gst-play-1.0 --videosink glimagesink /path/to/video.mp4 with a random video use 2% of CPU and run smoothly
Philippe Normand
Did you read the "In WebKit" section of the wiki page?
tarch1
I took some info from steam to make it quick
With this command I can't produce any log file in /tmp :
GST_DEBUG="3,webkit*:6" GST_DEBUG_FILE=/tmp/gst.log GST_DEBUG_DUMP_DOT_DIR=/tmp epiphany "https://www.youtube.com/watch?v=EUlC8ue8NFI"
instead in terminal output I have
(epiphany:12205): Gtk-WARNING **: 21:23:33.323: GtkWindowControls 0x55c27fc62d20 (windowcontrols) reported min width -166, but sizes must be >= 0
(epiphany:12205): Gtk-WARNING **: 21:23:33.325: GtkWindowControls 0x55c27fcc96f0 (windowcontrols) reported min width -166, but sizes must be >= 0
(epiphany:12205): epiphany-WARNING **: 21:23:35.384: Web process crashed
sorry for late
Philippe Normand
This seems fixed in 2.46.1. Closing.