[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Daniel van Vugt
*** This bug is a duplicate of bug 1698270 *** https://bugs.launchpad.net/bugs/1698270 Charlie, yes I would recommend using mpv instead of totem. mpv will perform better and is the only other video player that will take advantage of Intel hardware acceleration properly [2]. I do _not_

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Tracy
BTW, the following shows up in the terminal output for mpv under Wayland (I don't recall seeing this under Xorg) [vo/opengl] retrieving framebuffer depth: OpenGL error INVALID_OPERATION. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Charlie Bravo
In response to my previous comment, switching to SMPlayer improves the symptom, but does not seem to resolve it. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1774915 Title: Video freezes and

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Tracy
Sorry for the long delay in responding - had to wait for some other things to finish so I could switch from Xorg to Wayland. The same types of pauses/lags/freezes happen to me under Wayland using mpv as were happening under Xorg. They may be slightly less frequent (subjective judgment, no actual

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Charlie Bravo
If I am reading this commentary, and that in https://bugs.launchpad.net/ubuntu/+source/clutter-1.0/+bug/1698270 it's looking like uninstalling totem and changing to another player might be the best answer, am I correct? Thanks! -- You received this bug notification because you are a member of

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Daniel van Vugt
Before we merge this bug into bug 1698270 I would like to hear Tracy's response to comment #25. Then I expect we will need/want to get more of the above lists of gnome- shell performance issues fixed before we can confidently say this issue exists purely within video playback. P.S. If the

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Daniel van Vugt
Sergei, "performance" is a general category of problems that includes dropped frames. For example, in gnome-shell I have separated those issues: https://trello.com/c/Q6JYXPPs from the ones that incur measurably high hardware usage: https://trello.com/c/pe5mRmx7 A low frame rate is still a

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Sergei
Also when I was on 17.10 beta, there was an update that broke totem (black screen instead of video). Problem appeared after the issue was fixed. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu.

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Sergei
I've checked iowait using iotop during lags and revealed no spikes or something like that. So it's not a performance problem at all. I believe gstreamer is just dropping frames due to some bugs. I had 17.10 installed and had no issue that time. -- You received this bug notification because

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-06 Thread Daniel van Vugt
One more thing: Wayland sessions might perform better, so please try mpv in a Wayland session. Unfortunately Totem probably won't work there (bug 1770725). -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu.

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
The pauses are very brief using mpv - using totem I still get pauses in excess of 5 seconds at random points during playback. However I am willing to accept that this would constitute a duplicate of 1698270, and will wait for any updates there. -- You received this bug notification because you

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Daniel van Vugt
Thanks. If the pauses are now very brief with your BIOS in "fixed" mode, and if mpv is performing slightly better than totem, then I suggest this is now a duplicate of bug 1698270. Bug 1698270 is not fully resolved and requires more investigation. -- You received this bug notification because

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
Totem and gnome-shell both are running between 10% and 30% each (they bounce back and forth during playback). The next highest usage (according to top) is 8% and under. Is there a way to capture CPU usage during playback that will be representative of actual usage? My video resolution is 1920 x

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
Most of that info doesn't mean much to me, but hopefully it will help narrow things down and at least let you point me in the right direction -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu.

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Daniel van Vugt
Thanks, but there's no need to benchmark the CPU itself. We already know the CPU model. What does concern me about CPU usage is whether gnome- shell or some other process is using considerable CPU during playback. Do you find that? Also, please run 'xrandr' and send us the output. Gnome Shell is

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
tracy@tracy-hp:~$ glmark2 === glmark2 2014.03+git20150611.fa71af2d === OpenGL Information GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R)

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
CPU benchmarking tracy@tracy-hp:~$ sysbench --test=cpu run WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options. sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 1

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
I reinstalled the i965-va-driver. Here is the output of the hdparm command for the drive that currently houses the video file: tracy@tracy-hp:~$ sudo hdparm -t /dev/sdb [sudo] password for tracy: /dev/sdb: Timing buffered disk reads: 352 MB in 3.01 seconds = 117.06 MB/sec I moved the video

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Daniel van Vugt
Yes, please do reinstall: sudo apt install i965-va-driver That will restore hardware-accelerated video decoding, and keep the system cooler :) It now sounds like you have a general graphics/CPU/disk performance problem and this bug is not really specific to video playback. I assume this is a

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
OK, so I tested the removal of the items requested (still with BIOS set to fixed). After > sudo apt remove mesa-va-drivers I tried running the video in totem. Same problem as before - random lags/stutters/freezes, usually < 1 second, but a few that were longer (longest was about 2.5 seconds this

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Tracy
I don't see any changes in vainfo from before the change to the BIOS to after. I have posted both versions here, in case I missed something. I haven't yet tried removing the mesa drivers or the i965 driver - I will try that later today, as time permits. vainfo from before any changes (as posted

[Ubuntu-x-swat] [Bug 1774915] Re: Video freezes and stutters when using totem (audio continues fine)

2018-06-05 Thread Daniel van Vugt
** Also affects: mesa (Ubuntu) Importance: Undecided Status: New ** Changed in: mesa (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1774915