Closed Bug 751176 Opened 12 years ago Closed 12 years ago

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

Categories

(Core :: Graphics: Layers, defect)

Other Branch
All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: nical, Assigned: nical)

References

Details

Attachments

(1 file)

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.
Version: unspecified → Other Branch
Assignee: nobody → nsilva
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)
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
(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/mozilla-central/rev/ecd6235510e1
Status: NEW → RESOLVED
Closed: 12 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.

Attachment

General

Created:
Updated:
Size: