x1250 sync to vblank

2008-05-22 Thread Alex Rades
I,
I have these horizontal tearing problems which show as horizontal tearing
problems during video playback.
I'm using latest git versions of the driver and mesa.
Are there plans to support syncing to vblank?

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


Re: x1250 AIGLX

2008-05-07 Thread Alex Rades
Is it possible to use current mesa git with xserver 1.4 (maybe disabling
dri2) or does it requires xserver git?

On Wed, May 7, 2008 at 12:06 AM, Dave Airlie [EMAIL PROTECTED] wrote:

 On Wed, May 7, 2008 at 4:01 AM, Alex Rades [EMAIL PROTECTED] wrote:
  Hi,
  I'm having this error during X startup on my x1250:
 
  (EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting
 to
  software rendering
 
  I'm using:
 
  xserver 1.4
  Mesa 7.0.3
  drm (lib and radeon module) from git master (I've also tried r345-cleanup
  but makes no difference)
 
  do you have ideas?
 

 yes 7.0.3 doesn't support the rs cards.

 Dave.

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


x1250 AIGLX

2008-05-06 Thread Alex Rades
Hi,
I'm having this error during X startup on my x1250:

(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to
software rendering

I'm using:

xserver 1.4
Mesa 7.0.3
drm (lib and radeon module) from git master (I've also tried r345-cleanup
but makes no difference)

do you have ideas?
___
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-05-02 Thread Alex Rades
On Wed, Apr 30, 2008 at 8:39 PM, Alex Deucher [EMAIL PROTECTED] wrote:

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


Yes, I generally use this free calibration DVD:
http://merifon.altervista.org/TestDVD.html (200 Mb, direct link:
http://www.isaneri.it/bg/TestDVD1_08.zip)

If you extract it and play VTS_04_1.VOB, at the end you find a fast
horizontal moving patter, which evidently shows an horizontal tearing.
___
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 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 image corruption

2008-04-29 Thread Alex Rades
On Sun, Apr 27, 2008 at 11:14 PM, Alex Deucher [EMAIL PROTECTED]
wrote:

 On Fri, Apr 25, 2008 at 3:48 PM, Alex Rades [EMAIL PROTECTED] wrote:
  Hi,
  I own a x1250 board, I'm using git version of drm and xf86-video-ati, and
  I've managed to have Xv working. But when i run xcompmgr, images on
 screen
  became corrupted in many ways. Do you have suggestion on how to fix this?
  I'm using Exa acceleration.

 the EXA composite hooks currently have issues on IGP chips.  I planned
 to fix them up this week, but I had some personal stuff come up.  For
 now you can disable the render composite hooks with:
 Option RenderAccel FALSE


Ok, tried latest git and Xv works fine (yeeah!)
Basically now I'm trying to put some graphics over the Xv video, with an SDL
application which uses an argb visual and draws some part of the window as
transparent.  I've tried this application on an Intel and Nvidia boards and
it works ok. Here, the per-pixel alpha isn't honoured. Please also note that
transset works fine.
I'm using AccelMethod EXA and RenderAccel FALSE (all other settings are
defaults).

Thanks!






   Thanks
 
  P.S. do you have plans to implement kernel modesettings like the intel
  driver?

 It's planned.  There is even some initial support in the
 modesetting-101 branch of drm git.  Nothing user ready yet.

 Alex

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


Re: x1250 image corruption

2008-04-29 Thread Alex Rades
On Tue, Apr 29, 2008 at 5:52 PM, Alex Deucher [EMAIL PROTECTED] wrote:

 On Tue, Apr 29, 2008 at 11:42 AM, Alex Rades [EMAIL PROTECTED] wrote:
  On Sun, Apr 27, 2008 at 11:14 PM, Alex Deucher [EMAIL PROTECTED]
  wrote:
 
  
   On Fri, Apr 25, 2008 at 3:48 PM, Alex Rades [EMAIL PROTECTED]
 wrote:
Hi,
I own a x1250 board, I'm using git version of drm and xf86-video-ati,
  and
I've managed to have Xv working. But when i run xcompmgr, images on
  screen
became corrupted in many ways. Do you have suggestion on how to fix
  this?
I'm using Exa acceleration.
  
   the EXA composite hooks currently have issues on IGP chips.  I planned
   to fix them up this week, but I had some personal stuff come up.  For
   now you can disable the render composite hooks with:
   Option RenderAccel FALSE
  
  
 
  Ok, tried latest git and Xv works fine (yeeah!)
  Basically now I'm trying to put some graphics over the Xv video, with an
 SDL
  application which uses an argb visual and draws some part of the window
 as
  transparent.  I've tried this application on an Intel and Nvidia boards
 and
  it works ok. Here, the per-pixel alpha isn't honoured. Please also note
 that
  transset works fine.

 not sure off hand.


Turned out to be a nasty interaction with the window manager. I can confirm
that per pixel alpha works ok.
Thanks!
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


x1250 horizontal tearing problems

2008-04-29 Thread Alex Rades
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?

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


x1250 image corruption

2008-04-25 Thread Alex Rades
Hi,
I own a x1250 board, I'm using git version of drm and xf86-video-ati, and
I've managed to have Xv working. But when i run xcompmgr, images on screen
became corrupted in many ways. Do you have suggestion on how to fix this?
I'm using Exa acceleration.
Thanks

P.S. do you have plans to implement kernel modesettings like the intel
driver?
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati