OMTC Linux: Canvas and Video blinks when using OMTC and layers acceleration on Linux

RESOLVED FIXED in mozilla15

Status

()

Core
Graphics: Layers
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: nical, Assigned: nical)

Tracking

Other Branch
mozilla15
All
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

To enable OMTC on Linux: 
 - apply attachment 618255 [details] [diff] [review] from bug 722012 (not landed yet)
 - set the environment variable MOZ_USE_OMTC
 - set the pref layers.acceleration.force-enabled to true

Videos such as http://www.mozilla.org/en-US/firefox/11.0/whatsnew/ blink as well as canvas games like http://canvasrider.com/tracks/random or http://superbitboy.com/ .

The bad behaviour is similar for canvas and video so I opened only one bugzilla entry, maybe they do need separate bugs.

Updated

5 years ago
Version: unspecified → Other Branch
Assignee: nobody → nsilva
Created attachment 621094 [details] [diff] [review]
Fixes blinking of video and canvas elements with OMTC on Linux.

OnExposeEvent was not handled correctly in the case of OMTC. I think this fix is important because other OMTC-related fixes will most likely depend on it.

Needs attachment 618255 [details] [diff] [review].
Attachment #621094 - Flags: review?(jmuizelaar)
Attachment #621094 - Flags: feedback?(konstartyom)

Updated

5 years ago
Summary: OMTC Linux: Canvas and Video Blink when using OMTC and layers acceleration on Linux → OMTC Linux: Canvas and Video blinks when using OMTC and layers acceleration on Linux
Attachment 621094 [details] [diff] seems to also fix bug 751180.
Blocks: 751180

Comment 3

5 years ago
(In reply to Nicolas Silva [:nical] from comment #2)
> Attachment 621094 [details] [diff] seems to also fix bug 751180.
Yes, it fixes WebGL and all blinking for me but only with gfx.xrender.enabled=false. With xrender enabled the patch doesn't fix anything. The problem is probably NVidia-specific.
(In reply to konstartyom from comment #3)
> (In reply to Nicolas Silva [:nical] from comment #2)
> > Attachment 621094 [details] [diff] seems to also fix bug 751180.
> Yes, it fixes WebGL and all blinking for me but only with
> gfx.xrender.enabled=false. With xrender enabled the patch doesn't fix
> anything. The problem is probably NVidia-specific.

It also still blinks if xrender is enabled on my laptop (intel integrated gpu).
It is very likely that we just don't try to support xrender with omtc. Right now the tendency is to get rid of xrender anyway.
Attachment #621094 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/ecd6235510e1
Target Milestone: --- → mozilla15

Comment 7

5 years ago
https://hg.mozilla.org/mozilla-central/rev/ecd6235510e1
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Attachment #621094 - Flags: feedback?(konstartyom)
You need to log in before you can comment on or make changes to this bug.