[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


[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 #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


Re: x1250 horizontal tearing problems

2008-04-30 Thread Alex Deucher
On Wed, Apr 30, 2008 at 3:06 AM, Michel Dänzer
<[EMAIL PROTECTED]> wrote:
> 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.

yeah, makes sense.

>   * Only wait if the window isn't redirected (backing pixmap is the
> screen pixmap)

yeah, as you said, any rendering to the front buffer should wait for
vblank.  I may play around with it a bit if I have time, but
unfortunately, I seem to be unable to notice tearing generally.  Do
you have any good tips or content that would make it easier to notice?

The other issue is that the current IB scheme doesn't really lend
itself to this.  Ideally we'd queue up everything and then pre-pend a
wait_until vblank when we submit the IB.  Additionally, we have the
issue of multiple crtcs for regular rendering as well.  In that case,
we really need shatter.

>   * 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?)
>

yeah, the only problem would be when the video straddles multiple
crtcs.  As you said in this case, we just use similar logic to the
overlay sourcing logic.

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 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]
>
> > > 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
>
>
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: AMD 780G, anyone?

2008-04-30 Thread Alex Deucher
On Wed, Apr 30, 2008 at 12:58 PM, Magnus Hörlin <[EMAIL PROTECTED]> wrote:
>
> Alex Deucher wrote:
>
> > On Wed, Mar 26, 2008 at 9:09 AM, Magnus Hörlin <[EMAIL PROTECTED]> wrote:
> >
> >
> > > michael lang wrote:
> > >  >
> > >  > export ACLOCAL="aclocal -I/usr/X11R6/share/aclocal"
> > >  >
> > >  >
> > >
> > >  I reinstalled from scratch and managed to compile and get radeon
> running
> > >  but only on VGA. HDMI was black but everything looked normal in the log
> > >  file (even though it's 240kB) and it could read edid on hdmi. When I
> > >  connected VGA, there was my desktop. Is there any way to force HDMI in
> > >  xorg.xonf or is there something wrong here? And I couldn't get XVideo
> to
> > >  work so I guess that's not implemented yet, or is it?
> > >  Anyway, thanks for all the work you guys put into this. Now I guess
> I'll
> > >  just have to wait a bit longer until radeon or radeonhd supports xv on
> > >  HDMI on this board.
> > >
> > >
> >
> > Well, I wrote the code without an RS780, so the only confirmation I
> > have is from people testing it.  If you can send me your log, I'll
> > take a look and see if I can see anything wrong and maybe provide you
> > with some patches for testing.
> >
> > Alex
> >
> >
> >
>  Thanks Alex. I've been too busy to work on this but finally I found time to
> give it another try. With this two-day old driver HDMI output works just
> fine on my 780G board. The only problem is that I need XVideo and I don't
> get it with this driver yet. I guess this line in the log says it all:
>  (WW) RADEON(0): Option "TexturedVideo" is not used
>  Keep up the good work.

yeah, no textured video until we get acceleration up and running on
r6xx.  Should be soon though.  I'm finishing up the r6xx documentation
now.

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


[Bug 14869] Screen goes black every few seconds with ati 6.8.0

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





--- Comment #9 from Bryan Christ <[EMAIL PROTECTED]>  2008-04-30 08:22:46 PST 
---
Darren, Alex,

Thanks for working together on this.  I think this is the quickest turn-around
I've experience on an Xorg bugzilla.

Bryan


-- 
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 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]
> > 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

___
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


[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
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 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


[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


[Bug 15764] New: 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

   Summary: Junk at right edge of screen when pointer gets updated
   Product: xorg
   Version: git
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Driver/Radeon
AssignedTo: xorg-driver-ati@lists.x.org
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]


Created an attachment (id=16253)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=16253)
X server logfile

I've noticed some temporary visual junk at the right edge of the screen when
the pointer gets updated. The best way a can describe it is that when the
pointer changes you see a random "sprite" for one frame on the right edge of
the screen. The random contents seem to stem from the framebuffer itself.

I see this most often in the following situations:

  - moving the pointer over a link list in firefox: the pointer changes
constantly between "pointer" and "hand" symbol

  - moveing the pointer over the middle scrollbar in gtik: the pointer changes
between "text", "pointer" and "left-right resize/move" symbol


I'm currently using commit

  445b71021843665ba32f37b2ce5c9d2857c07cc7

on a Lenovo T60 running Fedora 9 preview.


-- 
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 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