Bug 30493

Summary: Slow rendering when playing a clip with Totem/Videos, but playing the same clip with VLC the rendering is normal
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, lewyssmith, lovaren
Version: 8   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: totem-3.38.0-1.mga8.src.rpm, libhandy-1.0.3-1.mga8.src.rpm CVE:
Status comment:
Attachments: GDB output playing the file with Totem
GDB output playing the file with VLC
Build output for Totem that needs a newer version of libhandy-1

Description Kristoffer Grundström 2022-05-30 04:10:07 CEST
Description of problem: I noticed that my laptop (ASUS N550JK) in MATE with a fresh installation of Mageia 8 using the DVD iso plays a clip with slow rendering when using Totem while the same clip plays more normally in VLC.

Version-Release number of selected component (if applicable): 3.38.0

How reproducible: Everytime.

Steps to Reproduce:
1. Install Mageia 8 with the MATE desktop using the DVD iso.
2. Update Mageia using only the Core and Update medias (Tainted medias excluded).
3. Download a .mp4 file with a longer duration.
4. Open the file in Totem, the clip plays, but it's slower.
Comment 1 Kristoffer Grundström 2022-05-30 04:13:34 CEST
I'm using the vaapi driver from intel in case that's relevant.
Comment 2 Kristoffer Grundström 2022-05-30 04:18:23 CEST
Created attachment 13284 [details]
GDB output playing the file with Totem
Comment 3 Kristoffer Grundström 2022-05-30 04:27:59 CEST
Created attachment 13285 [details]
GDB output playing the file with VLC
Comment 4 sturmvogel 2022-05-30 08:01:01 CEST
Is your problem the same with totem-42.0-1.mga9 in cauldron?

What happens when you use tainted codecs?

Did you follow the procedure to get usefull totem debugging output: https://wiki.gnome.org/Apps/Videos/Contribute
Comment 5 sturmvogel 2022-05-30 19:51:26 CEST
Not reproducible without more informations.

Tested this on an old laptop with intel graphics.

I did a clean minimal x86_64 Mate installation.
Only Core/Nonfree repos activated.
Fully up to date. 
Installed Video (formerly known as totem) and VLC. 
Downloaded a H264-MPEG-4 AVC (avc1) / MPEG AAC (mp4a) via Clipgrab.

Played the HD video with Video and VLC: no difference.

$ inxi -GA
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           Device-2: Chicony FJ Camera type: USB driver: uvcvideo 
           Display: x11 server: Mageia X.org 1.20.14 driver: intel,v4l resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 21.3.8 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.15.43-desktop-1.mga8

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 6 Kristoffer Grundström 2022-05-30 20:03:25 CEST
(In reply to sturmvogel from comment #5)
> Not reproducible without more informations.
> 
> Tested this on an old laptop with intel graphics.
> 
> I did a clean minimal x86_64 Mate installation.
> Only Core/Nonfree repos activated.
> Fully up to date. 
> Installed Video (formerly known as totem) and VLC. 
> Downloaded a H264-MPEG-4 AVC (avc1) / MPEG AAC (mp4a) via Clipgrab.
> 
> Played the HD video with Video and VLC: no difference.
> 
> $ inxi -GA
> Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v:
> kernel 
>            Device-2: Chicony FJ Camera type: USB driver: uvcvideo 
>            Display: x11 server: Mageia X.org 1.20.14 driver: intel,v4l
> resolution: 1600x900~60Hz 
>            OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v:
> 4.2 Mesa 21.3.8 
> Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio
> driver: snd_hda_intel 
>            Sound Server: ALSA v: k5.15.43-desktop-1.mga8

$ inxi -GA
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915 v: kernel 
           Device-2: NVIDIA GM107M [GeForce GTX 850M] driver: nouveau v: kernel 
           Device-3: Chicony HD WebCam (Asus N-series) type: USB driver: uvcvideo 
           Display: server: Mageia X.org 1.20.14 driver: intel,v4l resolution: 1360x768~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 21.3.8 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel 
           Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.15.43-desktop-1.mga8
Comment 7 Kristoffer Grundström 2022-05-30 20:31:36 CEST
(In reply to sturmvogel from comment #4)
> Is your problem the same with totem-42.0-1.mga9 in cauldron?

To use totem-42.0-1.mga9 from Cauldron you need to have libhandy-1 version 1.5.0.

Can you push libhandy-1 version 1.5.0 to Mageia 8, please?
Comment 8 sturmvogel 2022-05-30 20:38:45 CEST
It would make more sense to test in cauldron first before we push something to MGA8 without knowing if it works...
Comment 9 Dave Hodgins 2022-05-30 20:50:30 CEST
# urpmq -i libhandy1_0
Name        : libhandy1_0
Version     : 1.0.3
Release     : 1.mga8
Group       : System/Libraries
Size        : 541919                       Architecture: i586
Source RPM  : libhandy-1.0.3-1.mga8.src.rpm
URL         : https://gitlab.gnome.org/GNOME/libhandy/
Summary     : A GTK+ library to develop UI for mobile devices
Description :
This package provides the shared library for libhandy, a library to
help with developing mobile UI using GTK+/GNOME.

Found using "urpmq -y handy".

CC: (none) => davidwhodgins

Comment 10 Kristoffer Grundström 2022-05-30 20:56:08 CEST
(In reply to Dave Hodgins from comment #9)
> # urpmq -i libhandy1_0
> Name        : libhandy1_0
> Version     : 1.0.3
> Release     : 1.mga8
> Group       : System/Libraries
> Size        : 541919                       Architecture: i586
> Source RPM  : libhandy-1.0.3-1.mga8.src.rpm
> URL         : https://gitlab.gnome.org/GNOME/libhandy/
> Summary     : A GTK+ library to develop UI for mobile devices
> Description :
> This package provides the shared library for libhandy, a library to
> help with developing mobile UI using GTK+/GNOME.
> 
> Found using "urpmq -y handy".

Dave, 1.5.0 is the required version of libhandy-1 for totem-42.0-1 to be rebuilt for Mageia 8.
Comment 11 Thomas Backlund 2022-05-30 21:00:51 CEST
we wont push gnome 42 packages to mga8, so no new libhandy is needed either...
Comment 12 Kristoffer Grundström 2022-05-30 21:17:38 CEST
Created attachment 13286 [details]
Build output for Totem that needs a newer version of libhandy-1

CC: (none) => lovaren

Comment 13 sturmvogel 2022-05-30 21:32:31 CEST
Why not simply setup a VB with cauldron for testing?
Comment 14 Lewis Smith 2022-12-13 21:35:45 CET
This problem was not reproduced by others.
Do we know whether Totem/Videos would work better with the newer libhandy1_0 anyway?
In the light of tmb's comment 11, this will go nowhere, so may as well close it.

Source RPM: totem => totem-3.38.0-1.mga8.src.rpm, libhandy-1.0.3-1.mga8.src.rpm
Summary: Slow rendering when playing a clip but playing the same clip with VLC the rendering is normal => Slow rendering when playing a clip xith Totem/Videos, but playing the same clip with VLC the rendering is normal

Comment 15 Lewis Smith 2022-12-13 21:36:11 CET
Closing...

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => WORKSFORME
CC: (none) => lewyssmith

Kristoffer Grundström 2022-12-13 23:07:22 CET

Summary: Slow rendering when playing a clip xith Totem/Videos, but playing the same clip with VLC the rendering is normal => Slow rendering when playing a clip with Totem/Videos, but playing the same clip with VLC the rendering is normal