Re: [GATOS]Re: [Dri-devel] Bugfix for br0ken DMA on r128 and possibly radeon DMA functions

2002-01-27 Thread Peter Surda

On Sun, Jan 27, 2002 at 08:15:29PM -0300, Davor Buvinic wrote:
 Works for me: ATI Xpert 128, XFree86 4.2.0, your patch against GATOS ATI 
 drivers sources. No more messages in the kernel log like the following:
 
 [drm:r128_cce_indirect] *ERROR* process 1668 using buffer owned by 0
Yes this was exactly what it was intended to fix, and several similar errors
as well.

 But if I play a video and run glxgears X crashes. Option UseCCEFor2D didn't 
 appears to help...
Hmm I just tried aviplay together with glxgears without crashing (though gears
caused aviplay to crawl). What do the logs show?

 - Davor
Mit freundlichen Gren

Peter Surda (Shurdeek) [EMAIL PROTECTED], ICQ 10236103, +436505122023

--
  ...and that is how we know the Earth to be banana-shaped.



msg02557/pgp0.pgp
Description: PGP signature


Re: [GATOS]Re: [Dri-devel] Bugfix for br0ken DMA on r128 and possibly radeon DMA functions

2002-01-27 Thread Davor Buvinic

On Sunday 27 January 2002 20:43, you wrote:
 On Sun, Jan 27, 2002 at 08:15:29PM -0300, Davor Buvinic wrote:
  Works for me: ATI Xpert 128, XFree86 4.2.0, your patch against GATOS ATI
  drivers sources. No more messages in the kernel log like the following:
 
  [drm:r128_cce_indirect] *ERROR* process 1668 using buffer owned by 0

 Yes this was exactly what it was intended to fix, and several similar
 errors as well.

  But if I play a video and run glxgears X crashes. Option UseCCEFor2D
  didn't appears to help...

 Hmm I just tried aviplay together with glxgears without crashing (though
 gears caused aviplay to crawl). What do the logs show?

  - Davor

 Mit freundlichen Gren

 Peter Surda (Shurdeek) [EMAIL PROTECTED], ICQ 10236103,
 +436505122023

Yes, running glxgears cause the movie player to crawl and if I start to move 
or resize their windows X crashes.

The movie player is MPlayer, today cvs.

Here is my log file from X. As you can see, at the end of the file the 
following messages appears:

[...]
(II) R128(0): StopVideo 
(EE) R128(0): Idle timed out, resetting engine...
[...]

I found some documentation at the DRI website for debugging. I'll see if I 
can state more precisely the cause of the problem.

- Davor

---
XFree86 Version 4.2.0 (Unofficial Build: 4.2.0-0.2) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-pre6 i686 [ELF] 
Build Host: eniac
 
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Sun Jan 27 21:34:03 2002
(==) Using config file: /etc/X11/XF86Config-4
(==) ServerLayout Anaconda Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device ATI Rage 128 (generic)
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout la
(**) XKB: layout: la
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to unix/:7100
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 00
(II) PCI: 00:0d:0: chip 1282,9102 card 4554,434e rev 31 class 02,00,00 hdr 00
(II) PCI: 00:0e:0: chip 9004,5078 card 9004,7850 rev 03 class 01,00,00 hdr 00
(II) PCI: 00:10:0: chip 1102,0002 card 1102,0020 rev 05 class 04,01,00 hdr 80
(II) PCI: 00:10:1: chip 1102,7002 card 1102,0020 rev 05 class 09,80,00 hdr 80
(II) PCI: 01:00:0: chip 1002,5246 card 1002,0008 rev 00 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: scanpci
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor=The XFree86 Project
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: scanpci
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0x - 

Re: [Xpert]Re: [GATOS]Re: [Dri-devel] Bugfix for br0ken DMA on r128 and possibly radeon DMA functions

2002-01-27 Thread Davor Buvinic

On Sunday 27 January 2002 21:59, you wrote:
 On Sun, 27 Jan 2002, Davor Buvinic wrote:
[...]
  Works for me: ATI Xpert 128, XFree86 4.2.0, your patch against GATOS ATI
  drivers sources. No more messages in the kernel log like the following:
 
  [drm:r128_cce_indirect] *ERROR* process 1668 using buffer owned by 0
 
  But if I play a video and run glxgears X crashes. Option UseCCEFor2D
  didn't appears to help...

 Please try latest GATOS CVS - main branch - and let me know if it works
 better.

   Vladimir Dergachev

With the latest GATOS CVS - the one with changes from Peter Surda at the 
files radeon_driver.c, radeon_reg.h, fi1236.c, fi1236.h, msp3430.c, 
r128_dri.c, theatre.h and theatre_reg.h - the problem (apparently) is the 
same one that at first: corruption at login screen (xdm, kdm), the messages 
[drm:r128_cce_indirect] in the kernel log, and X crashes.

With only the patch from Peter Surda to the file r128_dri.c no corruption at 
login screen, no messages in the kernel log but X crash with both mplayer and 
glxgears running, or only with mplayer after a while playing a video.

BTW, which is the appropriate mailing list to discuss this stuff? I think 
that we're CC: to too many places... At this step we'll finish CC: to the 
linux kernel mailing list :)

- Davor

___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel