Vsync not working on PM 28.x

The place to report Pale Moon specific bugs on the Windows operating system.

Moderator: satrow

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

Vsync not working on PM 28.x

Unread postby SGvagon » Sun, 02 Sep 2018, 14:01

Hello,

I have problem with vsync after update on Palemoon 28. I have turn on HW acceleration, but when I scroll in pages, screen it totally messing.
I have this problem on my older laptop Lenovo G580 with Intel i5 3210M and Nvidia GT635M 2GB (on Lenovo Y50-70 with i5 4210H and GTX960M 4GB I don't have this problem)

Thank you in advance.

Btw. this problem I see much more on instagram with lots photos.
Last edited by SGvagon on Sun, 02 Sep 2018, 14:17, edited 2 times in total.

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

Re: Vsync not working on PM 28.x

Unread postby SGvagon » Sun, 02 Sep 2018, 14:14

And yes,I tried clean Palemoon portable too, same problem here.

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

Re: Vsync not working on PM 28.x

Unread postby SGvagon » Sun, 02 Sep 2018, 14:27

OK, I maybe solved it, but I don't know is it a right and safe solution.
In about:config a found layers.acceleration.force-enabled and I set it to TRUE . Then vsync works perfectly. Is it a bug? Because this string is set on FALSE by default.
Last edited by SGvagon on Sun, 02 Sep 2018, 14:28, edited 2 times in total.

User avatar
therube
Astronaut
Astronaut
Posts: 683
Joined: Fri, 08 Jun 2018, 17:02

Re: Vsync not working on PM 28.x

Unread postby therube » Sun, 02 Sep 2018, 14:30

Off-topic:
An interesting read, VSYNC in Firefox 50.0.2 under Windows is broken.
Quite damning on Mozilla.
But then that's part of what makes it interesting ;-).

Any number of related bugs on bugzilla.
Some fixed (in 52), others against current FF & in limbo, possibly forever.
Last edited by therube on Sun, 02 Sep 2018, 14:40, edited 2 times in total.

yami_
Fanatic
Fanatic
Posts: 233
Joined: Thu, 26 Apr 2018, 11:05

Re: Vsync not working on PM 28.x

Unread postby yami_ » Sun, 02 Sep 2018, 14:57

SGvagon wrote:Because this string is set on FALSE by default.
It is set to false, because normally the browser will decide itself if it want to use hardware acceleration. Note that UXP based applications require DWM to be enabled for the vertical synchronization to work.
Off-topic:
therube wrote:An interesting read, VSYNC in Firefox 50.0.2 under Windows is broken.
I actually wanted to post this link here and ask if this can be fixed in UXP.
cat came back from Berkeley waving flags
- rob pike

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22424
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Vsync not working on PM 28.x

Unread postby Moonchild » Sun, 02 Sep 2018, 16:12

Forcing layers acceleration when the detection routine finds that there is a problem doing so may cause unpredictable results.

SGvagon wrote:screen it totally messing.

In what way?

yami_ wrote:I actually wanted to post this link here and ask if this can be fixed in UXP.

That depends on if someone wants to tackle this. The vsynctester website seems to do just fine on my system ("VSYNC" is grey, and the tearing bar when enabled does not show any tearing.)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

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

Re: Vsync not working on PM 28.x

Unread postby SGvagon » Sun, 02 Sep 2018, 17:03

Moonchild: Messing by typically vsync problems (splitting screen in half) . If there more content (for ex.images) it is worse, but Force layers fix this problem.

Btw. but Vsync tester graph is OK when force layers is on False (but this tester is horizontal, not vertical? ) .
Last edited by SGvagon on Sun, 02 Sep 2018, 17:08, edited 3 times in total.

yami_
Fanatic
Fanatic
Posts: 233
Joined: Thu, 26 Apr 2018, 11:05

Re: Vsync not working on PM 28.x

Unread postby yami_ » Sun, 02 Sep 2018, 19:51

Moonchild wrote:That depends on if someone wants to tackle this.
Well, I looked at the code but since I have never done any graphics-related programing I am most likely to break something...
Moonchild wrote:The vsynctester website seems to do just fine on my system ("VSYNC" is grey, and the tearing bar when enabled does not show any tearing.)
It looks like this on my end:
canvas.png
fig. 1

canvas2.png
fig. 2 - note the arrow

vs.png
fig. 3 - note that Chromium is running with "D3D v-sync" enabled
cat came back from Berkeley waving flags
- rob pike

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

Re: Vsync not working on PM 28.x

Unread postby SGvagon » Wed, 05 Sep 2018, 17:41

So, any progress with this problem? Or is it safe to set layers.acceleration.force-enabled on TRUE now?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22424
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Vsync not working on PM 28.x

Unread postby Moonchild » Thu, 06 Sep 2018, 05:51

SGvagon wrote:So, any progress with this problem? Or is it safe to set layers.acceleration.force-enabled on TRUE now?

Only set force-enabled to true if you know for a fact that there are no problems with it on your system. otherwise let the browser detect it.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne


Return to “Bug reports (Windows)”

Who is online

Users browsing this forum: No registered users and 6 guests