Epiphany uses the wrong GPU for video decoding
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 seperate issue because nvidia...
Steps to reproduce
- Open Epiphany on multi GPU setup (ideally similar to mine)
- Open any webpage that has video playback (e.g. Youtube, Twitch etc)
- 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)
- OS Build: (null)
- OS Type: 64-bit
- GNOME Version: 45.5
- Windowing System: Wayland
- Kernel Version: Linux 6.7.10-200.fc39.x86_64