* Fighting tearing
@ 2012-09-09 15:48 Roberth Sjonøy
2012-09-09 16:42 ` Paul Menzel
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-09 15:48 UTC (permalink / raw)
To: intel-gfx
Hello
I run Arch Linux, with it's latest x.org and kernel, and I have
compiled libdrm and the intel driver from git, and I update it today.
Buit this is issue exists even with the releases.
WIth UXA, rendering of the windows in my XFCE4-desktop goes just
fines, good performance, windows (exspecially GTK+) doesn't hang after
if I drag them over the screen, but there is lot of small tearing.
And I want this to go away, I do not use any kind of composition, and
I am using XFCEs window manager.
Here is my xorg.conf
Section "ServerFlags"
Option "AutoAddDevices" "Off"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "no"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "UXA"
Option "TearFree" "true"
Option "MigrationHeuristic" "greedy"
Option "TripleBuffer" "true"
EndSection
With SNA, the performance of the applications is muc much worse. If I
just replace UXA with SNA.
Thanks in advance for any help.
Regards,
Roberth Sjonøy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 15:48 Fighting tearing Roberth Sjonøy
@ 2012-09-09 16:42 ` Paul Menzel
[not found] ` <CAFLBWR1jOM=87-GYWZVwdk70GBGGMrhWrvqkSU_7sQA2BrTB+g@mail.gmail.com>
2012-09-09 17:55 ` Ben Widawsky
2012-09-10 16:17 ` Adam Jackson
2 siblings, 1 reply; 12+ messages in thread
From: Paul Menzel @ 2012-09-09 16:42 UTC (permalink / raw)
To: intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 2053 bytes --]
Dear Roberth,
Am Sonntag, den 09.09.2012, 17:48 +0200 schrieb Roberth Sjonøy:
> I run Arch Linux, with it's latest x.org and kernel,
that is xorg-server 1.12.4-1 [1] and linux 3.5.3-1 [2].
> and I have compiled libdrm and the intel driver from git, and I update
> it today.
Please provide the Git commit hashes with the commit summaries to make
life for readers of your message easier.
> But this is issue exists even with the releases.
Since when do you experience these issues?
> With UXA, rendering of the windows in my XFCE4-desktop goes just
> fines, good performance, windows (exspecially GTK+) doesn't hang after
> if I drag them over the screen, but there is lot of small tearing.
> And I want this to go away, I do not use any kind of composition, and
> I am using XFCEs window manager.
Maybe your monitor causes the tearing?
> Here is my xorg.conf
>
>
> Section "ServerFlags"
> Option "AutoAddDevices" "Off"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "keyboard"
> Option "XkbLayout" "no"
> EndSection
>
> Section "Device"
> Identifier "Card0"
> Driver "intel"
> Option "AccelMethod" "UXA"
> Option "TearFree" "true"
> Option "MigrationHeuristic" "greedy"
> Option "TripleBuffer" "true"
> EndSection
>
> With SNA, the performance of the applications is muc much worse. If I
> just replace UXA with SNA.
Is the tearing fixed though?
What happens when you test different Window managers or some live
distribution with other versions? You can even test those by saving the
ISO file on your drive and directly boot those using GRUB 2 [3].
> Thanks in advance for any help.
I am sorry for not being more helpful. Maybe the developers have more
ideas.
Thanks,
Paul
[1] http://www.archlinux.org/packages/extra/i686/xorg-server/
[2] http://www.archlinux.org/packages/core/i686/linux/
[3] https://bugs.freedesktop.org/show_bug.cgi?id=26294#c13
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fwd: Fighting tearing
[not found] ` <CAFLBWR1jOM=87-GYWZVwdk70GBGGMrhWrvqkSU_7sQA2BrTB+g@mail.gmail.com>
@ 2012-09-09 17:16 ` Roberth Sjonøy
[not found] ` <CAFLBWR0S8D-Y1O9gWXhySg-0VkVyxeXSi-nw7Ai8ZNoHEMpKmQ@mail.gmail.com>
1 sibling, 0 replies; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-09 17:16 UTC (permalink / raw)
To: Intel-gfx
---------- Forwarded message ----------
From: Roberth Sjonøy <roberth.sjonoy@gmail.com>
Date: Sun, Sep 9, 2012 at 6:48 PM
Subject: Re: [Intel-gfx] Fighting tearing
To: Paul Menzel <paulepanter@users.sourceforge.net>
On Sun, Sep 9, 2012 at 6:42 PM, Paul Menzel
<paulepanter@users.sourceforge.net> wrote:
> Dear Roberth,
>
>
> Am Sonntag, den 09.09.2012, 17:48 +0200 schrieb Roberth Sjonøy:
>
>> I run Arch Linux, with it's latest x.org and kernel,
>
> that is xorg-server 1.12.4-1 [1] and linux 3.5.3-1 [2].
Yes.
>
>> and I have compiled libdrm and the intel driver from git, and I update
>> it today.
>
> Please provide the Git commit hashes with the commit summaries to make
> life for readers of your message easier.
Ehm, how I do that?
What I simply did was a PKGBUILD and built the packages from git with
archs packagemanagementsystem.
>
>> But this is issue exists even with the releases.
>
> Since when do you experience these issues?
>
>> With UXA, rendering of the windows in my XFCE4-desktop goes just
>> fines, good performance, windows (exspecially GTK+) doesn't hang after
>> if I drag them over the screen, but there is lot of small tearing.
>> And I want this to go away, I do not use any kind of composition, and
>> I am using XFCEs window manager.
>
> Maybe your monitor causes the tearing?
Thats what I am trying to figure out.
>
>> Here is my xorg.conf
>>
>>
>> Section "ServerFlags"
>> Option "AutoAddDevices" "Off"
>> EndSection
>>
>> Section "InputDevice"
>> Identifier "Keyboard0"
>> Driver "keyboard"
>> Option "XkbLayout" "no"
>> EndSection
>>
>> Section "Device"
>> Identifier "Card0"
>> Driver "intel"
>> Option "AccelMethod" "UXA"
>> Option "TearFree" "true"
>> Option "MigrationHeuristic" "greedy"
>> Option "TripleBuffer" "true"
>> EndSection
>>
>> With SNA, the performance of the applications is muc much worse. If I
>> just replace UXA with SNA.
>
> Is the tearing fixed though?
I will have to come back on that later need to test, to be sure.
>
> What happens when you test different Window managers or some live
> distribution with other versions? You can even test those by saving the
> ISO file on your drive and directly boot those using GRUB 2 [3].
Tried different WMs but I wanna stick with XFCE.
>
>> Thanks in advance for any help.
>
> I am sorry for not being more helpful. Maybe the developers have more
> ideas.
No problem.
>
>
> Thanks,
>
> Paul
>
>
> [1] http://www.archlinux.org/packages/extra/i686/xorg-server/
> [2] http://www.archlinux.org/packages/core/i686/linux/
> [3] https://bugs.freedesktop.org/show_bug.cgi?id=26294#c13
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fwd: Fighting tearing
[not found] ` <CAFLBWR0S8D-Y1O9gWXhySg-0VkVyxeXSi-nw7Ai8ZNoHEMpKmQ@mail.gmail.com>
@ 2012-09-09 17:17 ` Roberth Sjonøy
0 siblings, 0 replies; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-09 17:17 UTC (permalink / raw)
To: Intel-gfx
---------- Forwarded message ----------
From: Roberth Sjonøy <roberth.sjonoy@gmail.com>
Date: Sun, Sep 9, 2012 at 6:52 PM
Subject: Re: [Intel-gfx] Fighting tearing
To: Paul Menzel <paulepanter@users.sourceforge.net>
Tested with SNA. tearing is gone, but the performance of rendering
windows in totally unacceptable.
Regards,
Roberth Sjonøy
On Sun, Sep 9, 2012 at 6:48 PM, Roberth Sjonøy <roberth.sjonoy@gmail.com> wrote:
> On Sun, Sep 9, 2012 at 6:42 PM, Paul Menzel
> <paulepanter@users.sourceforge.net> wrote:
>> Dear Roberth,
>>
>>
>> Am Sonntag, den 09.09.2012, 17:48 +0200 schrieb Roberth Sjonøy:
>>
>>> I run Arch Linux, with it's latest x.org and kernel,
>>
>> that is xorg-server 1.12.4-1 [1] and linux 3.5.3-1 [2].
>
> Yes.
>
>
>>
>>> and I have compiled libdrm and the intel driver from git, and I update
>>> it today.
>>
>> Please provide the Git commit hashes with the commit summaries to make
>> life for readers of your message easier.
>
> Ehm, how I do that?
>
> What I simply did was a PKGBUILD and built the packages from git with
> archs packagemanagementsystem.
>
>>
>>> But this is issue exists even with the releases.
>>
>> Since when do you experience these issues?
>>
>>> With UXA, rendering of the windows in my XFCE4-desktop goes just
>>> fines, good performance, windows (exspecially GTK+) doesn't hang after
>>> if I drag them over the screen, but there is lot of small tearing.
>>> And I want this to go away, I do not use any kind of composition, and
>>> I am using XFCEs window manager.
>>
>> Maybe your monitor causes the tearing?
>
> Thats what I am trying to figure out.
>
>>
>>> Here is my xorg.conf
>>>
>>>
>>> Section "ServerFlags"
>>> Option "AutoAddDevices" "Off"
>>> EndSection
>>>
>>> Section "InputDevice"
>>> Identifier "Keyboard0"
>>> Driver "keyboard"
>>> Option "XkbLayout" "no"
>>> EndSection
>>>
>>> Section "Device"
>>> Identifier "Card0"
>>> Driver "intel"
>>> Option "AccelMethod" "UXA"
>>> Option "TearFree" "true"
>>> Option "MigrationHeuristic" "greedy"
>>> Option "TripleBuffer" "true"
>>> EndSection
>>>
>>> With SNA, the performance of the applications is muc much worse. If I
>>> just replace UXA with SNA.
>>
>> Is the tearing fixed though?
>
> I will have to come back on that later need to test, to be sure.
>
>>
>> What happens when you test different Window managers or some live
>> distribution with other versions? You can even test those by saving the
>> ISO file on your drive and directly boot those using GRUB 2 [3].
>
> Tried different WMs but I wanna stick with XFCE.
>
>>
>>> Thanks in advance for any help.
>>
>> I am sorry for not being more helpful. Maybe the developers have more
>> ideas.
>
> No problem.
>
>>
>>
>> Thanks,
>>
>> Paul
>>
>>
>> [1] http://www.archlinux.org/packages/extra/i686/xorg-server/
>> [2] http://www.archlinux.org/packages/core/i686/linux/
>> [3] https://bugs.freedesktop.org/show_bug.cgi?id=26294#c13
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 15:48 Fighting tearing Roberth Sjonøy
2012-09-09 16:42 ` Paul Menzel
@ 2012-09-09 17:55 ` Ben Widawsky
2012-09-09 18:00 ` Chris Wilson
2012-09-10 16:17 ` Adam Jackson
2 siblings, 1 reply; 12+ messages in thread
From: Ben Widawsky @ 2012-09-09 17:55 UTC (permalink / raw)
To: Roberth Sjonøy; +Cc: intel-gfx
On 2012-09-09 08:48, Roberth Sjonøy wrote:
> Hello
>
> I run Arch Linux, with it's latest x.org and kernel, and I have
> compiled libdrm and the intel driver from git, and I update it today.
>
> Buit this is issue exists even with the releases.
>
> WIth UXA, rendering of the windows in my XFCE4-desktop goes just
> fines, good performance, windows (exspecially GTK+) doesn't hang
> after
> if I drag them over the screen, but there is lot of small tearing.
> And I want this to go away, I do not use any kind of composition, and
> I am using XFCEs window manager.
>
> Here is my xorg.conf
>
>
> Section "ServerFlags"
> Option "AutoAddDevices" "Off"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "keyboard"
> Option "XkbLayout" "no"
> EndSection
>
> Section "Device"
> Identifier "Card0"
> Driver "intel"
> Option "AccelMethod" "UXA"
> Option "TearFree" "true"
> Option "MigrationHeuristic" "greedy"
> Option "TripleBuffer" "true"
> EndSection
>
> With SNA, the performance of the applications is muc much worse. If I
> just replace UXA with SNA.
>
> Thanks in advance for any help.
>
> Regards,
>
> Roberth Sjonøy0
Unfortunately it's often the case that tearing is pretty much
unavoidable without a compositor. AFAIK you'd just be getting lucky with
SNA, as opposed to UXA.
However, for the SNA slowness, you should file a bug and include the
following information:
lspci -n -s 2.0
/var/log/Xorg.0.log
dmesg with drm.debug=0xe sometime after experiencing the slowness
<feel free to mention UXA is much faster>
--
Ben Widawsky, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 17:55 ` Ben Widawsky
@ 2012-09-09 18:00 ` Chris Wilson
2012-09-09 20:02 ` Roberth Sjonøy
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Chris Wilson @ 2012-09-09 18:00 UTC (permalink / raw)
To: Ben Widawsky; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
On Sun, 09 Sep 2012 10:55:46 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> On 2012-09-09 08:48, Roberth Sjonøy wrote:
> > Hello
> >
> > I run Arch Linux, with it's latest x.org and kernel, and I have
> > compiled libdrm and the intel driver from git, and I update it today.
> >
> > Buit this is issue exists even with the releases.
> >
> > WIth UXA, rendering of the windows in my XFCE4-desktop goes just
> > fines, good performance, windows (exspecially GTK+) doesn't hang
> > after
> > if I drag them over the screen, but there is lot of small tearing.
> > And I want this to go away, I do not use any kind of composition, and
> > I am using XFCEs window manager.
> >
> > Here is my xorg.conf
> >
> >
> > Section "ServerFlags"
> > Option "AutoAddDevices" "Off"
> > EndSection
> >
> > Section "InputDevice"
> > Identifier "Keyboard0"
> > Driver "keyboard"
> > Option "XkbLayout" "no"
> > EndSection
> >
> > Section "Device"
> > Identifier "Card0"
> > Driver "intel"
> > Option "AccelMethod" "UXA"
> > Option "TearFree" "true"
> > Option "MigrationHeuristic" "greedy"
> > Option "TripleBuffer" "true"
> > EndSection
> >
> > With SNA, the performance of the applications is muc much worse. If I
> > just replace UXA with SNA.
> >
> > Thanks in advance for any help.
> >
> > Regards,
> >
> > Roberth Sjonøy0
>
> Unfortunately it's often the case that tearing is pretty much
> unavoidable without a compositor. AFAIK you'd just be getting lucky with
> SNA, as opposed to UXA.
Not so. He is explicitly asking for slow tear-free rendering with
Option "TearFree" "true". On my machines that takes about a 50%
performance hit which suggests pebkac which is reinforced by the lack
of information.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 18:00 ` Chris Wilson
@ 2012-09-09 20:02 ` Roberth Sjonøy
2012-09-10 0:07 ` Roberth Sjonøy
2012-09-10 14:09 ` Roberth Sjonøy
2 siblings, 0 replies; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-09 20:02 UTC (permalink / raw)
To: Chris Wilson; +Cc: Ben Widawsky, intel-gfx
Hello
What can I do then?
Wait for SNA to mature more?
Other settings with UXA or SNA?
Regards
Roberth Sjonøy
On Sun, Sep 9, 2012 at 8:00 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Sun, 09 Sep 2012 10:55:46 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
>> On 2012-09-09 08:48, Roberth Sjonøy wrote:
>> > Hello
>> >
>> > I run Arch Linux, with it's latest x.org and kernel, and I have
>> > compiled libdrm and the intel driver from git, and I update it today.
>> >
>> > Buit this is issue exists even with the releases.
>> >
>> > WIth UXA, rendering of the windows in my XFCE4-desktop goes just
>> > fines, good performance, windows (exspecially GTK+) doesn't hang
>> > after
>> > if I drag them over the screen, but there is lot of small tearing.
>> > And I want this to go away, I do not use any kind of composition, and
>> > I am using XFCEs window manager.
>> >
>> > Here is my xorg.conf
>> >
>> >
>> > Section "ServerFlags"
>> > Option "AutoAddDevices" "Off"
>> > EndSection
>> >
>> > Section "InputDevice"
>> > Identifier "Keyboard0"
>> > Driver "keyboard"
>> > Option "XkbLayout" "no"
>> > EndSection
>> >
>> > Section "Device"
>> > Identifier "Card0"
>> > Driver "intel"
>> > Option "AccelMethod" "UXA"
>> > Option "TearFree" "true"
>> > Option "MigrationHeuristic" "greedy"
>> > Option "TripleBuffer" "true"
>> > EndSection
>> >
>> > With SNA, the performance of the applications is muc much worse. If I
>> > just replace UXA with SNA.
>> >
>> > Thanks in advance for any help.
>> >
>> > Regards,
>> >
>> > Roberth Sjonøy0
>>
>> Unfortunately it's often the case that tearing is pretty much
>> unavoidable without a compositor. AFAIK you'd just be getting lucky with
>> SNA, as opposed to UXA.
>
> Not so. He is explicitly asking for slow tear-free rendering with
> Option "TearFree" "true". On my machines that takes about a 50%
> performance hit which suggests pebkac which is reinforced by the lack
> of information.
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 18:00 ` Chris Wilson
2012-09-09 20:02 ` Roberth Sjonøy
@ 2012-09-10 0:07 ` Roberth Sjonøy
2012-09-10 14:09 ` Roberth Sjonøy
2 siblings, 0 replies; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-10 0:07 UTC (permalink / raw)
To: Chris Wilson; +Cc: Ben Widawsky, intel-gfx
I also experience tearing when viewing web sites with chromium and
scrolling downwards webnewspapers etc.
Hope this adds more relevant info.
On Sun, Sep 9, 2012 at 8:00 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Sun, 09 Sep 2012 10:55:46 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
>> On 2012-09-09 08:48, Roberth Sjonøy wrote:
>> > Hello
>> >
>> > I run Arch Linux, with it's latest x.org and kernel, and I have
>> > compiled libdrm and the intel driver from git, and I update it today.
>> >
>> > Buit this is issue exists even with the releases.
>> >
>> > WIth UXA, rendering of the windows in my XFCE4-desktop goes just
>> > fines, good performance, windows (exspecially GTK+) doesn't hang
>> > after
>> > if I drag them over the screen, but there is lot of small tearing.
>> > And I want this to go away, I do not use any kind of composition, and
>> > I am using XFCEs window manager.
>> >
>> > Here is my xorg.conf
>> >
>> >
>> > Section "ServerFlags"
>> > Option "AutoAddDevices" "Off"
>> > EndSection
>> >
>> > Section "InputDevice"
>> > Identifier "Keyboard0"
>> > Driver "keyboard"
>> > Option "XkbLayout" "no"
>> > EndSection
>> >
>> > Section "Device"
>> > Identifier "Card0"
>> > Driver "intel"
>> > Option "AccelMethod" "UXA"
>> > Option "TearFree" "true"
>> > Option "MigrationHeuristic" "greedy"
>> > Option "TripleBuffer" "true"
>> > EndSection
>> >
>> > With SNA, the performance of the applications is muc much worse. If I
>> > just replace UXA with SNA.
>> >
>> > Thanks in advance for any help.
>> >
>> > Regards,
>> >
>> > Roberth Sjonøy0
>>
>> Unfortunately it's often the case that tearing is pretty much
>> unavoidable without a compositor. AFAIK you'd just be getting lucky with
>> SNA, as opposed to UXA.
>
> Not so. He is explicitly asking for slow tear-free rendering with
> Option "TearFree" "true". On my machines that takes about a 50%
> performance hit which suggests pebkac which is reinforced by the lack
> of information.
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 18:00 ` Chris Wilson
2012-09-09 20:02 ` Roberth Sjonøy
2012-09-10 0:07 ` Roberth Sjonøy
@ 2012-09-10 14:09 ` Roberth Sjonøy
2012-09-11 21:21 ` Ben Widawsky
2 siblings, 1 reply; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-10 14:09 UTC (permalink / raw)
To: intel-gfx; +Cc: Ben Widawsky
With the WM I use (xfce WM 4.10.0) with it's compositor, the tearing
is much less, but the little tearing who exist is very noticable.
On Sun, Sep 9, 2012 at 8:00 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Sun, 09 Sep 2012 10:55:46 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
>> On 2012-09-09 08:48, Roberth Sjonøy wrote:
>> > Hello
>> >
>> > I run Arch Linux, with it's latest x.org and kernel, and I have
>> > compiled libdrm and the intel driver from git, and I update it today.
>> >
>> > Buit this is issue exists even with the releases.
>> >
>> > WIth UXA, rendering of the windows in my XFCE4-desktop goes just
>> > fines, good performance, windows (exspecially GTK+) doesn't hang
>> > after
>> > if I drag them over the screen, but there is lot of small tearing.
>> > And I want this to go away, I do not use any kind of composition, and
>> > I am using XFCEs window manager.
>> >
>> > Here is my xorg.conf
>> >
>> >
>> > Section "ServerFlags"
>> > Option "AutoAddDevices" "Off"
>> > EndSection
>> >
>> > Section "InputDevice"
>> > Identifier "Keyboard0"
>> > Driver "keyboard"
>> > Option "XkbLayout" "no"
>> > EndSection
>> >
>> > Section "Device"
>> > Identifier "Card0"
>> > Driver "intel"
>> > Option "AccelMethod" "UXA"
>> > Option "TearFree" "true"
>> > Option "MigrationHeuristic" "greedy"
>> > Option "TripleBuffer" "true"
>> > EndSection
>> >
>> > With SNA, the performance of the applications is muc much worse. If I
>> > just replace UXA with SNA.
>> >
>> > Thanks in advance for any help.
>> >
>> > Regards,
>> >
>> > Roberth Sjonøy0
>>
>> Unfortunately it's often the case that tearing is pretty much
>> unavoidable without a compositor. AFAIK you'd just be getting lucky with
>> SNA, as opposed to UXA.
>
> Not so. He is explicitly asking for slow tear-free rendering with
> Option "TearFree" "true". On my machines that takes about a 50%
> performance hit which suggests pebkac which is reinforced by the lack
> of information.
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-09 15:48 Fighting tearing Roberth Sjonøy
2012-09-09 16:42 ` Paul Menzel
2012-09-09 17:55 ` Ben Widawsky
@ 2012-09-10 16:17 ` Adam Jackson
2012-09-10 16:38 ` Roberth Sjonøy
2 siblings, 1 reply; 12+ messages in thread
From: Adam Jackson @ 2012-09-10 16:17 UTC (permalink / raw)
To: Roberth Sjonøy; +Cc: intel-gfx
On 9/9/12 11:48 AM, Roberth Sjonøy wrote:
> WIth UXA, rendering of the windows in my XFCE4-desktop goes just
> fines, good performance, windows (exspecially GTK+) doesn't hang after
> if I drag them over the screen, but there is lot of small tearing.
> And I want this to go away, I do not use any kind of composition, and
> I am using XFCEs window manager.
So use a compositor. X's rendering model, in the absence of a
compositor, has no concept of vsync. It's simply not possible to not tear.
- ajax
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-10 16:17 ` Adam Jackson
@ 2012-09-10 16:38 ` Roberth Sjonøy
0 siblings, 0 replies; 12+ messages in thread
From: Roberth Sjonøy @ 2012-09-10 16:38 UTC (permalink / raw)
To: Adam Jackson; +Cc: intel-gfx
Well The tearing is so noticable that even my friends notice it,
without compositor, only I notice it, but it's very annoying and
distracting to my workflow when moving windows quickly.
On Mon, Sep 10, 2012 at 6:17 PM, Adam Jackson <ajax@redhat.com> wrote:
> On 9/9/12 11:48 AM, Roberth Sjonøy wrote:
>
>> WIth UXA, rendering of the windows in my XFCE4-desktop goes just
>> fines, good performance, windows (exspecially GTK+) doesn't hang after
>> if I drag them over the screen, but there is lot of small tearing.
>> And I want this to go away, I do not use any kind of composition, and
>> I am using XFCEs window manager.
>
>
> So use a compositor. X's rendering model, in the absence of a compositor,
> has no concept of vsync. It's simply not possible to not tear.
>
> - ajax
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Fighting tearing
2012-09-10 14:09 ` Roberth Sjonøy
@ 2012-09-11 21:21 ` Ben Widawsky
0 siblings, 0 replies; 12+ messages in thread
From: Ben Widawsky @ 2012-09-11 21:21 UTC (permalink / raw)
To: Roberth Sjonøy; +Cc: intel-gfx
On Mon, 10 Sep 2012 16:09:18 +0200
Roberth Sjonøy <roberth.sjonoy@gmail.com> wrote:
> With the WM I use (xfce WM 4.10.0) with it's compositor, the tearing
> is much less, but the little tearing who exist is very noticable.
Your option is SNA + TearFree, or use a real composited desktop. I know
it sucks. Or maybe complain to the XFCE guys to use real pageflips in their
compositor?
>
> On Sun, Sep 9, 2012 at 8:00 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > On Sun, 09 Sep 2012 10:55:46 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:
> >> On 2012-09-09 08:48, Roberth Sjonøy wrote:
> >> > Hello
> >> >
> >> > I run Arch Linux, with it's latest x.org and kernel, and I have
> >> > compiled libdrm and the intel driver from git, and I update it today.
> >> >
> >> > Buit this is issue exists even with the releases.
> >> >
> >> > WIth UXA, rendering of the windows in my XFCE4-desktop goes just
> >> > fines, good performance, windows (exspecially GTK+) doesn't hang
> >> > after
> >> > if I drag them over the screen, but there is lot of small tearing.
> >> > And I want this to go away, I do not use any kind of composition, and
> >> > I am using XFCEs window manager.
> >> >
> >> > Here is my xorg.conf
> >> >
> >> >
> >> > Section "ServerFlags"
> >> > Option "AutoAddDevices" "Off"
> >> > EndSection
> >> >
> >> > Section "InputDevice"
> >> > Identifier "Keyboard0"
> >> > Driver "keyboard"
> >> > Option "XkbLayout" "no"
> >> > EndSection
> >> >
> >> > Section "Device"
> >> > Identifier "Card0"
> >> > Driver "intel"
> >> > Option "AccelMethod" "UXA"
> >> > Option "TearFree" "true"
> >> > Option "MigrationHeuristic" "greedy"
> >> > Option "TripleBuffer" "true"
> >> > EndSection
> >> >
> >> > With SNA, the performance of the applications is muc much worse. If I
> >> > just replace UXA with SNA.
> >> >
> >> > Thanks in advance for any help.
> >> >
> >> > Regards,
> >> >
> >> > Roberth Sjonøy0
> >>
> >> Unfortunately it's often the case that tearing is pretty much
> >> unavoidable without a compositor. AFAIK you'd just be getting lucky with
> >> SNA, as opposed to UXA.
> >
> > Not so. He is explicitly asking for slow tear-free rendering with
> > Option "TearFree" "true". On my machines that takes about a 50%
> > performance hit which suggests pebkac which is reinforced by the lack
> > of information.
> > -Chris
> >
> > --
> > Chris Wilson, Intel Open Source Technology Centre
--
Ben Widawsky, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-09-11 21:21 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-09 15:48 Fighting tearing Roberth Sjonøy
2012-09-09 16:42 ` Paul Menzel
[not found] ` <CAFLBWR1jOM=87-GYWZVwdk70GBGGMrhWrvqkSU_7sQA2BrTB+g@mail.gmail.com>
2012-09-09 17:16 ` Fwd: " Roberth Sjonøy
[not found] ` <CAFLBWR0S8D-Y1O9gWXhySg-0VkVyxeXSi-nw7Ai8ZNoHEMpKmQ@mail.gmail.com>
2012-09-09 17:17 ` Roberth Sjonøy
2012-09-09 17:55 ` Ben Widawsky
2012-09-09 18:00 ` Chris Wilson
2012-09-09 20:02 ` Roberth Sjonøy
2012-09-10 0:07 ` Roberth Sjonøy
2012-09-10 14:09 ` Roberth Sjonøy
2012-09-11 21:21 ` Ben Widawsky
2012-09-10 16:17 ` Adam Jackson
2012-09-10 16:38 ` Roberth Sjonøy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.