You are not logged in.

#26 2014-03-24 11:21:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: 2014 update on GNOME tearing?

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

#27 2014-03-24 13:36:12

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: 2014 update on GNOME tearing?

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

#28 2014-03-24 14:01:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: 2014 update on GNOME tearing?

bbarcher wrote:

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

#29 2014-03-25 19:37:25

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: 2014 update on GNOME tearing?

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

#30 2014-03-25 20:32:48

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: 2014 update on GNOME tearing?

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

#31 2014-03-26 17:43:27

bendev
Member
Registered: 2014-03-26
Posts: 3

Re: 2014 update on GNOME tearing?

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

#32 2014-03-28 20:10:00

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: 2014 update on GNOME tearing?

So, just to clear up any confusion, what did you do bendev?


Use the Source, Luke!

Offline

#33 2014-03-31 17:26:01

bendev
Member
Registered: 2014-03-26
Posts: 3

Re: 2014 update on GNOME tearing?

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

#34 2014-03-31 18:02:57

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: 2014 update on GNOME tearing?

bendev wrote:

$ 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

#35 2014-04-01 10:18:49

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: 2014 update on GNOME tearing?

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

#36 2014-04-01 16:01:27

gedgon
Member
From: Poland
Registered: 2011-01-27
Posts: 95

Re: 2014 update on GNOME tearing?

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

#37 2014-04-01 23:34:08

bendev
Member
Registered: 2014-03-26
Posts: 3

Re: 2014 update on GNOME tearing?

bbarcher wrote:

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

#38 2014-04-09 23:50:57

geecko
Member
Registered: 2013-10-18
Posts: 5

Re: 2014 update on GNOME tearing?

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

#39 2014-06-10 10:36:32

drakkan
Member
Registered: 2007-02-24
Posts: 27

Re: 2014 update on GNOME tearing?

I think actually only xf86-video-intel from testing repo is needed all other packages are in the stable repo now

Offline

#40 2014-06-10 13:29:06

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: 2014 update on GNOME tearing?

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

#41 2014-06-16 11:54:17

ulke
Member
Registered: 2011-04-29
Posts: 50

Re: 2014 update on GNOME tearing?

drakkan wrote:

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

Board footer

Powered by FluxBB