You are not logged in.
To get the improved tearing behaviour, we need the patch for cliutter, the patches for mesa and the intel-dri3 stuff.
Your last post indicates there's some kind of problem between clutter-git and official gnome atm, fortunately we don't need clutter-git anymore.
I checked arch official clutter package, and the 'stage-cogl: Fix buffer_age code path' was added in clutter 1.16.4-3 .
Try again with stock clutter, intel-dri (& dependencies) from mesa-git and the xf86-video-intel-dri package .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Just to confirm, stock clutter, "git" everything else?
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
Just to confirm, stock clutter, "git" everything else?
correct.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Here's the record of my recent trial
# pacman -Q mesa-git
mesa-git 61987.e5f6b6d-1
]# pacman -U '/home/hg1/aurbuild/xf86-video-intel-dri3-git/xf86-video-intel-dri3-git-7820.6caf295-1-x86_64.pkg.tar.xz'
loading packages...
resolving dependencies...
warning: cannot resolve "clutter-git", a dependency of "xf86-video-intel-dri3-git"
:: The following package cannot be upgraded due to unresolvable dependencies:
xf86-video-intel-dri3-git
:: Do you want to skip the above package for this upgrade? [y/N] y
# pacman -Qs xf86-video-intel-dri3-git
<nothing>
# pacman -Q xf86-video-intel-dri3-git
error: package 'xf86-video-intel-dri3-git' was not found
Looks like clutter-git (replaced previously by me with stock clutter) is a dependency for xf86-video-intel-dri3-git.
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
Opps, forgot to change that dependency. new version of xf86-video-intel-dri3-git uploaded.
Last edited by Lone_Wolf (2014-03-25 20:33:13)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Well, i installed mesa-git and the xf86-video-intel-dri3-git wasn't even necessary. Tearing is gone despite official extra/xf86-video-intel installed.
Maybe the last update from 2014-03-24 included the needed patches?
Offline
So, just to clear up any confusion, what did you do bendev?
Use the Source, Luke!
Offline
Installed mesa-git from aur. This is my setup now:
$ pacman -Q | egrep '^mesa|intel|clutter '
clutter 1.16.4-3
intel-dri-git 10.2.0_devel.62071-1
intel-tbb 4.2_20131118-1
lib32-intel-dri 10.1.0-4
libva-intel-driver 1.3.0-1
mesa-git 10.2.0_devel.62071-1
mesa-libgl-git 10.2.0_devel.62071-1
xf86-video-intel 2.99.911-1
$ cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
Option "TripleBuffer" "true"
Option "AccelMethod" "sna"
EndSection
$ cat /etc/environment
CLUTTER_PAINT=disable-clipped-redraws:disable-culling
System is a sandy bridge i7-2670qm notebook with gnome3. I recently noticed some heavy tearing in videos and desktop-effects. First i tried to downgrade various packages without success. Installation of mesa-git finally did it for me.
Offline
$ cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
Option "TripleBuffer" "true"
Option "AccelMethod" "sna"
EndSection
$ cat /etc/environment
CLUTTER_PAINT=disable-clipped-redraws:disable-culling
So your test results are invalid. Not only you use the culling workaround, you also use another workaround on top. The tearing should be gone without any workarounds with the git packages.
@Lone_Wolf
I've installed as we agreed, stock clutter, git intel dri and git mesa. It did not have any effect on my system.
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline
bbarcher, then i suggest you post in the bugreport where you found those 3 requirements .
The developer was kind enough to list prerequisites to get rid of the tearing. Which are the following
https://bugzilla.gnome.org/show_bug.cgi?id=711028#c9
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
For me, on HD3000 (Sandy Bridge) with mesa-git, mesa-libgl-git, intel-dri-git tearing is gone (without any workarounds), except for full screen mplayer/flash video (I have not yet tried any other full screen apps - I'm a Openbox user, just playing with GNOME 3.12).
Offline
So your test results are invalid. Not only you use the culling workaround, you also use another workaround on top. The tearing should be gone without any workarounds with the git packages.
You are right, sorry. But these workarounds had not had any effect on my system before i installed mesa-git.
I just removed /etc/X11/xorg.conf.d/20-intel.conf and the culling-line from /etc/environment. Still no noticeable tearing. I'm not 100% shure if it's completly gone in full screen video playback. But even if it's not, the situation is far from unacceptable for me now.
Last edited by bendev (2014-04-01 23:37:02)
Offline
Just to clear up any confusion : gnome-shell needs the GLX_EXT_buffer_age extension to handle screen updates (lower consumption and better performance) with vsync enabled. Otherwise, the /etc/environment workaround is required, bringing vsync with fullscreen redraws.
I talked with drago01 some days ago. So we need mesa-git for GLX_EXT_buffer_age support and out of tree xf86-video-intel with DRI3 support. Clutter is already patched. Due to a mistake, mesa was exposing the extension even under DRI2. It was always returning 0, silently forcing fullscreen redraws, so xf86-video-intel wasn't required but it was not solving anything in reality. It was a bug, I reported it, and drago01 submitted a patch to correct it. It should be merged now.
So, if you install mesa-git and xf86-video-intel-dri3-git, it should be good. Think about removing the /etc/environment workaround, too!
EDIT: also, it's good to note that the out of tree xf86-video-intel is fairly ancient (3 months), and gdm wouldn't even launch with UXA or glamor activated. Better wait, I think...
Last edited by geecko (2014-04-10 00:08:25)
Offline
I think actually only xf86-video-intel from testing repo is needed all other packages are in the stable repo now
Offline
drakkan,
afaict you are correct about that.
I've asked for removal of the dri3-git pacakge last week,
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I think actually only xf86-video-intel from testing repo is needed all other packages are in the stable repo now
Since the version of xf86-video-intel that was in testing on June 10 is now in stable, should the tearing be gone? It definitely isn't for me. Maybe it has to do with this:
$ journalctl -b | grep dri3
Jun 16 10:34:28 mymachine gdm-Xorg-:0[572]: (II) Loading sub module "dri3"
Jun 16 10:34:28 mymachine gdm-Xorg-:0[572]: (II) LoadModule: "dri3"
Jun 16 10:34:28 mymachine gdm-Xorg-:0[572]: (WW) Warning, couldn't open module dri3
Jun 16 10:34:28 mymachine gdm-Xorg-:0[572]: (II) UnloadModule: "dri3"
Jun 16 10:34:28 mymachine gdm-Xorg-:0[572]: (II) Unloading dri3
Jun 16 10:34:28 mymachine gdm-Xorg-:0[572]: (EE) intel: Failed to load module "dri3" (module does not exist, 0)
Offline