Video "stuttering" on mouse moving in YouTube Topic is solved

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Sun, 07 Jan 2018, 19:57

Happens when I move the mouse over playing video. No problems with Firefox Quantum. Linux Mint 18.3; PM 27.6.2 (64 bit). :problem:

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 3640
Joined: Mon, 03 Oct 2011, 10:19
Location: Texas, USA

Re: Video "stuttering" on mouse moving in YouTube

Unread postby Night Wing » Sun, 07 Jan 2018, 20:07

After reading your post, I opened a tab, went to YouTube and could not duplicate the stuttering mouse cursor you're experiencing when moving my cursor over a video. I used the YouTube video below and I chose to view it in 720p in HD.

https://www.youtube.com/watch?v=dUkgWgGCbtw

I use 64 bit linux Pale Moon 27.6.2 running in 64 bit linux Mint 18.3 (Sylvia) Xfce.
Linux Mint 19 (Tara) Xfce 64 Bit (Default OS) with 64 Bit linux Pale Moon
Windows 7 SP1, 64 Bit (Backup OS) with 32 Bit windows Pale Moon

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Sun, 07 Jan 2018, 20:15

Hm, it happens even with add-ons disabled.

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Sun, 07 Jan 2018, 20:18

Very weird! Stopped Foobnix audio player (was running in the background, but not actually playing) and stuttering disappeared as well! :lol:

Well... not for long. Started again. I don't get it. Just to clarify: It happens ONLY when I move the mouse OVER the video that is playing ATM.
Last edited by just_passing_by on Sun, 07 Jan 2018, 20:30, edited 3 times in total.

calibrations
Moongazer
Moongazer
Posts: 12
Joined: Tue, 26 Dec 2017, 15:35

Re: Video "stuttering" on mouse moving in YouTube

Unread postby calibrations » Sun, 07 Jan 2018, 22:05

This might be a long shot, but do you happen to have a fancy mouse with a high polling rate (like a gaming mouse)? I think I used to have this issue when watching high quality (1080p and up) videos a long while back but it went away, probably with an update but I can't be sure. But one this I *do* remember it that never happened when I used the trackpad or my old mouse but started when I used a newer "gaming" one, it was really weird.

The fact that it went away when you closed your audio player makes me wonder if it's to do with high CPU usage, but then again if it's not playing I'm not sure what else it would be doing :think:

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Mon, 08 Jan 2018, 08:32

Yes, my mouse is a Bloody V7
https://www.bloody.com/en/product.php?pid=10&id=107

About the CPU usage, it just can't be. Not that my CPU is very good, but not that weak either. 4 core AMD A8-3870. Never has such issues in the past. I was using Windows OS until recently. This started happening when I moved to Linux Mint.
Last edited by just_passing_by on Mon, 08 Jan 2018, 08:34, edited 1 time in total.

calibrations
Moongazer
Moongazer
Posts: 12
Joined: Tue, 26 Dec 2017, 15:35

Re: Video "stuttering" on mouse moving in YouTube

Unread postby calibrations » Mon, 08 Jan 2018, 16:33

I can't reproduce this right now but I'm sure I used to have this, so tonight now I've got time I'll start with a fresh profile in case it was some setting I changed that fixed it.

In the meantime, did you change any advanced settings in about:config that might be related? Does *always* happen, no matter what the YouTube video settings are? What about under Preferences > Content > Video, what do you have ticked under that? There's been a lot of ongoing work on Media Source Extensions, I wonder if that could be related.

calibrations
Moongazer
Moongazer
Posts: 12
Joined: Tue, 26 Dec 2017, 15:35

Re: Video "stuttering" on mouse moving in YouTube  Topic is solved

Unread postby calibrations » Mon, 08 Jan 2018, 20:44

I've managed to reproduce this now, it goes away by enabling Off Main Thread Compositing (OMTC). These are advanced (maybe buggy) settings so be warned, but you should be able to undo them (if it puts your mind at rest make a copy of your profile in ~/.moonchild productions). Your options are -

Hardware Accelerated
: If you have a decent graphics card and drivers maybe try this first. Go to about:config (read the warning! then click the promise) and change layers.acceleration.force-enabled to true (right click it > click toggle). To test it, close Pale Moon, open a terminal and do MOZ_USE_OMTC=1 palemoon, then go find a video. If it doesn't work just launch palemoon normally, then reset the setting.

Basic: If you're like me and you get graphical glitches with the above, go back into about:config, make sure layers.acceleration.force-enabled is set to false, set layers.offmainthreadcomposition.enabled to true. Like with the above close the browser and launch it with MOZ_USE_OMTC=1 palemoon in a terminal and try it out.

If either of these work then come back and we'll try and set MOZ_USE_OMTC=1 somewhere more permanent :)

SGvagon
Lunatic
Lunatic
Posts: 488
Joined: Sat, 16 Feb 2013, 13:33
Location: Czech Republic - Slavonice
Contact:

Re: Video "stuttering" on mouse moving in YouTube

Unread postby SGvagon » Mon, 08 Jan 2018, 23:28

viewtopic.php?f=29&t=16370&hilit=A4tech I have similar problem with my A4Tech 710BK, and only in Palemoon too :-/ .

calibrations
Moongazer
Moongazer
Posts: 12
Joined: Tue, 26 Dec 2017, 15:35

Re: Video "stuttering" on mouse moving in YouTube

Unread postby calibrations » Tue, 09 Jan 2018, 16:08

SGvagon, looking at your video that certainly looks like a related or identical problem, though I notice you're on Windows :think: I wonder, if you go to about:support in your address bar, what does it say next to GPU Accelerated Windows (under graphics)? If it just says "0/X Basic" (where X is just any number) and specifically doesn't mention OMTC, maybe try the steps I posted above while we wait to see if it worked for OP?

My theory is that most users with gaming type mice are (A) on Windows and (B) have good graphics setups where OMTC seems much more likely to be enabled by default and therefore they rarely see these problems, but who knows :eh:

EDIT: Just noticed you're in the Czech Republic :wave: I don't know what the exact wording will be if about:support is localised, hopefully you'll be able to work it out :D
Last edited by calibrations on Tue, 09 Jan 2018, 16:12, edited 1 time in total.

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Wed, 10 Jan 2018, 05:51

calibrations wrote:I've managed to reproduce this now, it goes away by enabling Off Main Thread Compositing (OMTC). These are advanced (maybe buggy) settings so be warned, but you should be able to undo them (if it puts your mind at rest make a copy of your profile in ~/.moonchild productions). Your options are -

Hardware Accelerated
: If you have a decent graphics card and drivers maybe try this first. Go to about:config (read the warning! then click the promise) and change layers.acceleration.force-enabled to true (right click it > click toggle). To test it, close Pale Moon, open a terminal and do MOZ_USE_OMTC=1 palemoon, then go find a video. If it doesn't work just launch palemoon normally, then reset the setting.

Basic: If you're like me and you get graphical glitches with the above, go back into about:config, make sure layers.acceleration.force-enabled is set to false, set layers.offmainthreadcomposition.enabled to true. Like with the above close the browser and launch it with MOZ_USE_OMTC=1 palemoon in a terminal and try it out.

If either of these work then come back and we'll try and set MOZ_USE_OMTC=1 somewhere more permanent :)


I think first option worked. :clap:

Yeah, it definitely works! At least for now :D

Now what? Should I launch it every time with that command?

Edit: That's what I get in terminal: "ATTENTION: default value of option force_s3tc_enable overridden by environment.
Can't find symbol 'glXCreateContextAttribsARB'."

Is this ok? And how to save the above setting for permanent use?
Last edited by just_passing_by on Wed, 10 Jan 2018, 05:56, edited 3 times in total.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 4771
Joined: Tue, 09 Oct 2012, 19:37

Re: Video "stuttering" on mouse moving in YouTube

Unread postby New Tobin Paradigm » Wed, 10 Jan 2018, 08:12

If it otherwise works and resolves then you should be fairly ok.
Image

== We got to install microwave ovens / Custom kitchen deliveries / We got to move these refrigerators / We got to move these color TVs ==
http://binaryoutcast.com/ | http://thereisonlyxul.org/

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Wed, 10 Jan 2018, 09:27

New Tobin Paradigm wrote:If it otherwise works and resolves then you should be fairly ok.


Yeah, but if I don't start PM with the above command, it doesn't work. So I have to somehow make it permanent. And I'm new to Linux.
Last edited by just_passing_by on Wed, 10 Jan 2018, 09:27, edited 1 time in total.

calibrations
Moongazer
Moongazer
Posts: 12
Joined: Tue, 26 Dec 2017, 15:35

Re: Video "stuttering" on mouse moving in YouTube

Unread postby calibrations » Wed, 10 Jan 2018, 12:48

Glad to hear that worked! To set it somewhere more permanent, you should have a file in your home directory called .profile (note the ., the file may be hidden in your file manager, there should be a setting somewhere to "Show Hidden Files". If you're using Nemo in Cinnamon I think it's under View, or maybe try Ctrl-H as a shortcut). If you're sure it's not there you can just create it. Add a new line at the bottom that says export MOZ_USE_OMTC=1 and save it, then log out and back in again and it should be set so you can launch Pale Moon like you normally would with an icon or in your menu or whatever.

Sorry for not posting that earlier but I wanted to avoid dumping too much info at once (that and I wasn't 100% on which file it should be added to on Mint).
Off-topic:
If you're wondering why that works, before you log in the commands in .profile are automatically executed, and export just means that MOZ_USE_OMTC=1 will be set for all the commands that come after (in the same "scope", kindof like without opening a new terminal) and as your desktop is launched after it'll stay set in your graphical applications.
Last edited by calibrations on Wed, 10 Jan 2018, 12:49, edited 2 times in total.

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Wed, 10 Jan 2018, 13:11

Do you mean inside .moonchild productions folder or in directory "Home"? I don't have such file. Oops! Appeared after refresh!

Just tested it. Works like a charm! Thank you very much!
Last edited by just_passing_by on Wed, 10 Jan 2018, 13:16, edited 2 times in total.

calibrations
Moongazer
Moongazer
Posts: 12
Joined: Tue, 26 Dec 2017, 15:35

Re: Video "stuttering" on mouse moving in YouTube

Unread postby calibrations » Wed, 10 Jan 2018, 15:08

You're very welcome :D If after a bit more use you do notice any graphical problems don't forget you can try the Basic OMTC settings I outlined

just_passing_by
Apollo supporter
Apollo supporter
Posts: 39
Joined: Sat, 15 Oct 2016, 19:27

Re: Video "stuttering" on mouse moving in YouTube

Unread postby just_passing_by » Wed, 10 Jan 2018, 16:18

Sure I will! :thumbup:


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 7 guests