[Webkit-unassigned] [Bug 272216] New: Webkit uses the wrong GPU for video decoding (Epiphany/Gnome Web)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 5 00:34:41 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272216

            Bug ID: 272216
           Summary: Webkit uses the wrong GPU for video decoding
                    (Epiphany/Gnome Web)
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aniket.bugzilla at gmail.com

Issue Summary :

I have laptop with an integrated AMD Vega 7 GPU and a RTX 3050 Mobile, when watching videos on Youtube or Twitch, I see that epiphany uses the dedicated Nvidia GPU for decoding the video, but the application itself is launched with the integrated graphics. My integrated gpu supports decoding avc and vp9 but not av1. This is causing huge battery drain issues for as is expected. I have also tried launching using dedicated graphics card but I'm not able to play videos at all If I do that. This might be a separate issue because nvidia.

Steps to reproduce : 

1. Open Gnome Web on multi GPU setup (ideally similar to mine)
2. Open any webpage that has video playback (e.g. Youtube, Twitch etc)
3. Play the video and check nvidia-smi or any other monitoring tool to see what GPU is used for decoding

What is actually happening :

It uses the dedicated nvidia graphics to perform the decoding instead of the integrated GPU which the application is launched with.

What is expected to happen :

It should use the integrated graphics or the CPU to perform decoding, unless the app is specifically launched with discrete graphics.

Epiphany details :

* Epiphany version: 46.0
* WebKitGTK version: WebKitGTK 2.44.0, GStreamer 1.22.10
* Distributor: Flathub stable

# System Details Report
---

## Report details
- **Date generated:**                              2024-04-04 16:21:27

## Hardware Information:
- **Hardware Model:**                              Lenovo IdeaPad Gaming 3 15ACH6
- **Memory:**                                      16.0 GiB
- **Processor:**                                   AMD Ryzen™ 5 5600H with Radeon™ Graphics × 12
- **Graphics:**                                    AMD Radeon™ Graphics
- **Graphics 1:**                                  NVIDIA GeForce RTX™ 3050 Laptop GPU
- **Disk Capacity:**                               1.5 TB

## Software Information:
- **Firmware Version:**                            H3CN32WW(V2.02)
- **OS Name:**                                     Fedora Linux 39.20240402.0 (Silverblue-ublue-nvidia)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               45.5
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.7.10-200.fc39.x86_64

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240405/c71f7643/attachment.htm>


More information about the webkit-unassigned mailing list