Re: x1250 horizontal tearing problems

2008-04-30 Thread Michel Dänzer
On Tue, 2008-04-29 at 16:52 -0400, Alex Deucher wrote:
 On Tue, Apr 29, 2008 at 4:34 PM, Alex Rades [EMAIL PROTECTED] wrote:
  Hi,
  when playing videos (either in xv or plain x11) on my x1250, I always see
  horizontal (not diagonal, which are now fixed) tearing problems. They seem
  related to vertical sync problems. Do you have suggestions?
 
 We need sync to vblank support for textured video to properly deal
 with that.  this untested hack may help, but it's not optimal:
 http://www.botchco.com/alex/xorg/texvid_wait_vsync.diff

Good to see this getting tackled. Here's what I think is missing:

  * Set up the CRTC*_GUI_TRIG_VLINE register such that it waits for
scanout to be outside of the destination vertical range.
  * Only wait if the window isn't redirected (backing pixmap is the
screen pixmap)
  * Select the CRTC to to synchronize to according to visibility of
the window, or if it's the same on both CRTCs, according to user
preference (maybe reuse the XV_CRTC attribute for this?)


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 15764] Junk at right edge of screen when pointer gets updated

2008-04-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15764





--- Comment #1 from Stefan Becker [EMAIL PROTECTED]  2008-04-30 00:21:08 PST 
---
Could be the same problem as the x1250 horizontal tearing problem discussed
on the mailing list. But I see this without a running video, just normal
desktop usage.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: x1250 horizontal tearing problems

2008-04-30 Thread Michel Dänzer
On Wed, 2008-04-30 at 09:06 +0200, Michel Dänzer wrote:
 
   * Only wait if the window isn't redirected (backing pixmap is the
 screen pixmap)

Then again, this probably is about a redirected window... so really it
isn't the textured video rendering that needs to be synchronized to the
refresh, but the compositing manager's rendering to the screen. A
hackish solution could be to use the WAIT_UNTIL trick for all rendering
targeted to the screen pixmap; a possibly cleaner solution could be to
create SYNC extension counters for vertical blank and make the
compositing manager use those.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: x1250 horizontal tearing problems

2008-04-30 Thread Alex Rades
Just FYI,
I've tried the patch. It solves the problem when running in fullscreen. If
the window i'm playing the video in is smaller, sometimes the horizontal
tearing appears again. Moreover, if i run a big enough window with  ARGB
visual above the movie window, the tearing appears as well. (this problem
does not occur with smaller ARGB windows)

On Tue, Apr 29, 2008 at 10:52 PM, Alex Deucher [EMAIL PROTECTED]
wrote:

 On Tue, Apr 29, 2008 at 4:34 PM, Alex Rades [EMAIL PROTECTED] wrote:
  Hi,
  when playing videos (either in xv or plain x11) on my x1250, I always see
  horizontal (not diagonal, which are now fixed) tearing problems. They
 seem
  related to vertical sync problems. Do you have suggestions?

 We need sync to vblank support for textured video to properly deal
 with that.  this untested hack may help, but it's not optimal:
 http://www.botchco.com/alex/xorg/texvid_wait_vsync.diff

 Alex

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 15764] Junk at right edge of screen when pointer gets updated

2008-04-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15764





--- Comment #2 from Alex Deucher [EMAIL PROTECTED]  2008-04-30 06:09:50 PST 
---
Does turning off tiling help?

Option Colortiling false


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: x1250 horizontal tearing problems

2008-04-30 Thread Alex Rades
I've also just noticed that the above behaviour only applies when running
xcompmgr. When there is no composite manager, The horizontal tearing is
always present.

On Wed, Apr 30, 2008 at 3:06 PM, Alex Rades [EMAIL PROTECTED] wrote:

 Just FYI,
 I've tried the patch. It solves the problem when running in fullscreen. If
 the window i'm playing the video in is smaller, sometimes the horizontal
 tearing appears again. Moreover, if i run a big enough window with  ARGB
 visual above the movie window, the tearing appears as well. (this problem
 does not occur with smaller ARGB windows)


 On Tue, Apr 29, 2008 at 10:52 PM, Alex Deucher [EMAIL PROTECTED]
 wrote:

 On Tue, Apr 29, 2008 at 4:34 PM, Alex Rades [EMAIL PROTECTED] wrote:
  Hi,
  when playing videos (either in xv or plain x11) on my x1250, I always
 see
  horizontal (not diagonal, which are now fixed) tearing problems. They
 seem
  related to vertical sync problems. Do you have suggestions?

 We need sync to vblank support for textured video to properly deal
 with that.  this untested hack may help, but it's not optimal:
 http://www.botchco.com/alex/xorg/texvid_wait_vsync.diff

 Alex



___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: x1250 horizontal tearing problems

2008-04-30 Thread Roland Scheidegger
Don't the the WAIT_UNTIL_CRTC_VLINE, WAIT_UNTIL_FE_CRTC_VLINE,
WAIT_UNTIL_RE_CRTC_VLINE conditions only work correctly when the
CRTC_GUI_TRIG_VLINE register is configured appropriately?

Roland


Alex Rades wrote:
 I've also just noticed that the above behaviour only applies when
 running xcompmgr. When there is no composite manager, The horizontal
 tearing is always present.
 
 On Wed, Apr 30, 2008 at 3:06 PM, Alex Rades [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Just FYI,
 I've tried the patch. It solves the problem when running in
 fullscreen. If the window i'm playing the video in is smaller,
 sometimes the horizontal tearing appears again. Moreover, if i run a
 big enough window with  ARGB visual above the movie window, the
 tearing appears as well. (this problem does not occur with smaller
 ARGB windows)
 
 
 On Tue, Apr 29, 2008 at 10:52 PM, Alex Deucher
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 On Tue, Apr 29, 2008 at 4:34 PM, Alex Rades [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  Hi,
  when playing videos (either in xv or plain x11) on my x1250, I
 always see
  horizontal (not diagonal, which are now fixed) tearing
 problems. They seem
  related to vertical sync problems. Do you have suggestions?
 
 We need sync to vblank support for textured video to properly deal
 with that.  this untested hack may help, but it's not optimal:
 http://www.botchco.com/alex/xorg/texvid_wait_vsync.diff
 
 Alex
 
 
 
 
 
 
 ___
 xorg-driver-ati mailing list
 xorg-driver-ati@lists.x.org
 http://lists.x.org/mailman/listinfo/xorg-driver-ati

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: x1250 horizontal tearing problems

2008-04-30 Thread Alex Deucher
On Wed, Apr 30, 2008 at 10:32 AM, Roland Scheidegger
[EMAIL PROTECTED] wrote:
 Don't the the WAIT_UNTIL_CRTC_VLINE, WAIT_UNTIL_FE_CRTC_VLINE,
  WAIT_UNTIL_RE_CRTC_VLINE conditions only work correctly when the
  CRTC_GUI_TRIG_VLINE register is configured appropriately?


Probably, it was just a quick and dirty patch as an example of what
could be done.

Alex

  Roland



  Alex Rades wrote:
   I've also just noticed that the above behaviour only applies when
   running xcompmgr. When there is no composite manager, The horizontal
   tearing is always present.
  
   On Wed, Apr 30, 2008 at 3:06 PM, Alex Rades [EMAIL PROTECTED]

  mailto:[EMAIL PROTECTED] wrote:
  
   Just FYI,
   I've tried the patch. It solves the problem when running in
   fullscreen. If the window i'm playing the video in is smaller,
   sometimes the horizontal tearing appears again. Moreover, if i run a
   big enough window with  ARGB visual above the movie window, the
   tearing appears as well. (this problem does not occur with smaller
   ARGB windows)
  
  
   On Tue, Apr 29, 2008 at 10:52 PM, Alex Deucher

  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
  
   On Tue, Apr 29, 2008 at 4:34 PM, Alex Rades [EMAIL PROTECTED]

  mailto:[EMAIL PROTECTED] wrote:
Hi,
when playing videos (either in xv or plain x11) on my x1250, I
   always see
horizontal (not diagonal, which are now fixed) tearing
   problems. They seem
related to vertical sync problems. Do you have suggestions?
  
   We need sync to vblank support for textured video to properly deal
   with that.  this untested hack may help, but it's not optimal:
   http://www.botchco.com/alex/xorg/texvid_wait_vsync.diff
  
   Alex
  
  
  
  
   
  
   ___
   xorg-driver-ati mailing list
   xorg-driver-ati@lists.x.org
   http://lists.x.org/mailman/listinfo/xorg-driver-ati


___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 15764] Junk at right edge of screen when pointer gets updated

2008-04-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15764





--- Comment #3 from Stefan Becker [EMAIL PROTECTED]  2008-04-30 15:22:44 PST 
---
Tried that:

$ fgrep Tiling /var/log/Xorg.0.log
(**) RADEON(0): Option ColorTiling false

Problem is still there.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 15764] Junk at right edge of screen when pointer gets updated

2008-04-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15764





--- Comment #4 from Alex Deucher [EMAIL PROTECTED]  2008-04-30 15:48:47 PST 
---
does my latest commit to ati git help?
3d469cbc3225d890a895dac7cbc1ab7e08054b48


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 15764] Junk at right edge of screen when pointer gets updated

2008-04-30 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=15764





--- Comment #5 from Stefan Becker [EMAIL PROTECTED]  2008-04-30 15:58:37 PST 
---
Unfortunately no...


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati