Tearing in Chrome/Chromium fullscreen video playback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Confirmed
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Example video: https:/
lspci -vvv|grep -A 12 "VGA compatible"
00:02.0 VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Device 01da
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 43
Region 0: Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at ecb8 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
After I added this in
/etc/X11/
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: chromium-browser 45.0.2454.
ProcVersionSign
Uname: Linux 3.13.0-
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Oct 22 21:23:32 2015
Desktop-Session:
'xfce'
'/etc/
'/usr/
DetectedPlugins:
EcryptfsInUse: Yes
Env:
'None'
'None'
InstallationDate: Installed on 2014-09-21 (396 days ago)
InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
Load-Avg-1min: 1.55
Load-Processes-
MachineType: Dell Inc. OptiPlex 745
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/26/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.6.6
dmi.board.name: 0RF703
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 745
dmi.sys.vendor: Dell Inc.
gconf-keys: /desktop/
modified.
mtime.conffile.
Changed in compiz: | |
status: | New → Confirmed |
Two issues here:
1. The intel kernel driver does/did on rare occasions lose vsync. That's a kernel issue which will go away on reboot. But also probably not the main problem.
2. Fullscreen windows in Unity7/Compiz get "unredirected" for performance so they are not composited by Compiz any more. This means they will tear unless "unredirection" is explicitly disabled for them:
$ sudo apt-get install compizconfig- settings- manager
$ ccsm
General > Composite > General >
Now either add a match for Chromium into "Unredirect Match" (if you can figure out how), or to simply disable the feature for all apps untick "Unredirect Fullscreen Windows". Tearing eliminated.
Also check the default settings for avoiding tearing are in place in CCSM:
General > OpenGL > General > Always use buffer swapping = ON (means it won't tear)