Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-12-10 Thread Alan Cox
On Tue, 2002-12-10 at 12:45, Dieter Nützel wrote:
> No disk stuttering but some latency here and there and some Mesa demos aren't 
> running smooth anymore.

The new DRI modules appear to be really bad from the bug reports I've
received so far. Thats a bit worrying since XFree 4.3 seems to need
them. Hopefully its just a small bug somewhere but the code is so foul
and obfuscated I'm just going to revert the DRM code in -ac


Alan



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-12-10 Thread Dieter Nützel
Am Samstag, 7. Dezember 2002 12:27 schrieb [EMAIL PROTECTED]:
> Just to say that I still have significant disk access latency and (>10
> seconds) lock ups on X using DRM 1.7.0 from
>
> Linux version 2.4.20-ac1 (root@trinity) (gcc version 2.95.4 20011002
> (Debian prerelease)) #1 SMP Sun Dec 1 10:56:18 GMT 2002
>
> Its making the computer virtually unusable. I'll try to see if I can
> get it to load DRM 1.1.1 from an earlier kernelor perhaps just
> revert to an earlier kernel

Kernel 2.4.20-aa1

I can only second that, even with the lasted DRI DRM module taken from 
yesterdays DRI CVS.

No disk stuttering but some latency here and there and some Mesa demos aren't 
running smooth anymore.

Mesa/demos> ./gears
466 frames in  5.001 seconds = 93.181 FPS
5106 frames in  5.000 seconds = 1021.200 FPS
4181 frames in  5.004 seconds = 835.532 FPS
4358 frames in  5.002 seconds = 871.252 FPS
4926 frames in  5.000 seconds = 985.200 FPS

Was at ~2395 FPS before.

Mesa/demos> ./gloss
354 frames in 5.306 seconds = 66.7169 FPS
1956 frames in 5.731 seconds = 341.302 FPS
1709 frames in 5.009 seconds = 341.186 FPS
2631 frames in 5 seconds = 526.2 FPS
857 frames in 5.168 seconds = 165.828 FPS
1815 frames in 5.259 seconds = 345.123 FPS
1899 frames in 5.54 seconds = 342.78 FPS
2014 frames in 5.88 seconds = 342.517 FPS

Was at ~410 FPS before.

Mesa/demos> ./clearspd
For options:  ./clearspd -help
Mode:  RGB
SwapBuffers: no
Size: 400 x 400
Buffers: color
Rate: 400 clears in 2.046s = 195.503 clears/s   3.12805e+07 pixels/s
Rate: 1600 clears in 3.546s = 451.213 clears/s   7.2194e+07 pixels/s
Rate: 1600 clears in 3.54s = 451.977 clears/s   7.23164e+07 pixels/s
Rate: 1600 clears in 3.58s = 446.927 clears/s   7.15084e+07 pixels/s
Rate: 1600 clears in 3.569s = 448.305 clears/s   7.17288e+07 pixels/s
Rate: 1600 clears in 3.405s = 469.897 clears/s   7.51836e+07 pixels/s

Now a tenth of the former.

-Dieter


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-12-07 Thread matt . nottingham

Just to say that I still have significant disk access latency and (>10
seconds) lock ups on X using DRM 1.7.0 from 

Linux version 2.4.20-ac1 (root@trinity) (gcc version 2.95.4 20011002 (Debian 
prerelease)) #1 SMP Sun Dec 1 10:56:18 GMT 2002

Its making the computer virtually unusable. I'll try to see if I can
get it to load DRM 1.1.1 from an earlier kernelor perhaps just
revert to an earlier kernel

Thanks,

Matt


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-25 Thread Dieter Nützel
Am Montag, 25. November 2002 00:09 schrieb Felix Kühling:
> On Sun, 24 Nov 2002 22:20:26 +
>
> [EMAIL PROTECTED] wrote:
> > In the past few months I've been noticing 2 problems with my A7M266-D
> > (dual athlon) computer (2 processors installed) with its ATI Radeon
> > 7500 gfx card:
> >
> > 1) Whenever I try to burn CD's at x20 it falls over very quickly
> > (about 12MBytes).  Burning them at x8 at least gives me a chance of
> > backing things up but it wasn't perfect.
> >
> > 2) Whenever heavy disk IO (for example when Debian reads its package
> > database) is performed the whole of X hangs for tens of seconds, but
> > things like alsaplayer keep playing (and don't skip a beat).
> >
> > Anyway, I finally got fed up of this as I was sure it didn't use
> > to be this bad - so I decided to investigate.
> >
> > I was currently using 2.4.20-rc2-ac3 + ALSA + CVS DRI. I went back to
> > the old installation of 2.4.19-pre5-ac3 and everything works fine (this
> > also had ALSA and CVS DRI from about May). I then updated ALSA & DRI
> > to current, and it was back to its old bad behaviour. So I tried
> > 2.4.20-rc3 with the radeon.o DRM module it comes with (+ the ALSA
> > drivers) and everything works fine (well, apart from DRI!). Stopping
> > X, unloading the DRM module, insert the latest CVS version and start up X
> > again and we are back to not being able to write CD's again.
> >
> > Any comments/ideas?
>
> I'm having problems burning CDs at speeds higher than 16x too. But
> disabling DRI (no radeon.o module loaded) didn't change that.

I'm never had any such problems on my MSI K7D Master-L, aka MS-6501, AMD 768 
MPX dual Athlon MP 1900+, 1 GB DDR-SDRAM 266 CL2, Radeon 8500 QL system.
PS/2 mouse is plugged in but maybe it is due that I have all SCSI?
Kernel 2.4.xx (2.4.19-ck, -AA VM, preemption etc) and 2.5.xx (2.5.47-mm1 
latest) running fine apart from latest mesa-4-1 branch.

Search DRI-devel for ealier post about my system.

-Dieter


---
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-25 Thread matt . nottingham

Alan Cox writes:
 > On Mon, 2002-11-25 at 18:27, [EMAIL PROTECTED] wrote:
 > > 4) Not sure about IRQ's - it boots too fast for me to read it! Doing a
 > > more /proc/interupts show the hda (the only disk) on IRQ 14, the CDROM
 > > on 15. Looking at the output of lspci -vv shows that the video card is
 > > on 16 but doesn't state what the IRQ is for the IDE controller (as a
 > > cross check).
 > 
 > Out of curiosity try "noapic" too

Nope - I get lots of warnings about "IRQ routing conflicts" but
trying to write a CD still fails. 

 > 
 > > 7) I have a PS/2 mouse plugged in - I'd seen that mentioned on the
 > > linux kern mail list. (I'd love to know how someone found that cure!)
 > 
 > >From AMD's errata info 8)

That must have been a fun job for someone!!

I also tried with hdparm -d0 /dev/hdc to turn off DMA to the CDROM but
that did not make a difference either.

Thanks,

Matt



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-25 Thread matt . nottingham

To reply to the questions from various people:

1) DMA on hda is on
hdparm -Tt /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.48 seconds =266.67 MB/sec
 Timing buffered disk reads:  64 MB in  2.12 seconds = 30.19 MB/sec

2) I see no error messages in any of the logs (so no reports of
timeout, w.h.y.)

3) I've 512MB RAM - no swapping.

4) Not sure about IRQ's - it boots too fast for me to read it! Doing a
more /proc/interupts show the hda (the only disk) on IRQ 14, the CDROM
on 15. Looking at the output of lspci -vv shows that the video card is
on 16 but doesn't state what the IRQ is for the IDE controller (as a
cross check).

5) Options - none. In the BIOS (flashed to the most recent version -
1009 but had identical problems with 1004) its set to MP1.4

6) I'll try disabling DMA for the CDROM 

7) I have a PS/2 mouse plugged in - I'd seen that mentioned on the
linux kern mail list. (I'd love to know how someone found that cure!)

Thanks for the interest,

Matt




---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-24 Thread Alan Cox
On Sun, 2002-11-24 at 22:20, [EMAIL PROTECTED] wrote:
> I was currently using 2.4.20-rc2-ac3 + ALSA + CVS DRI. I went back to
> the old installation of 2.4.19-pre5-ac3 and everything works fine (this
> also had ALSA and CVS DRI from about May). I then updated ALSA & DRI
> to current, and it was back to its old bad behaviour. So I tried
> 2.4.20-rc3 with the radeon.o DRM module it comes with (+ the ALSA
> drivers) and everything works fine (well, apart from DRI!). Stopping
> X, unloading the DRM module, insert the latest CVS version and start up X
> again and we are back to not being able to write CD's again.
> 
> Any comments/ideas?

There are two things to check. Firstly the A7M266-D is a bit quirky
about DMA fairness. It may be that the new DRM module isnt setting
things up for access to the hardware. In paticular if the new DRM module
frobs with the configuration for the AGP bridge stuff there are
interesting dragons lurking.

The second one is utterly insane but could be involved depending how the
DRM module is implemented - if you are not using a PS/2 mouse plug one
into the machine even if you dont use it. That also fixes the IDE hangs
under high load on these boards and is a hardware problem!



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-24 Thread Alan Cox
On Sun, 2002-11-24 at 23:09, Felix Kühling wrote:
> I'm having problems burning CDs at speeds higher than 16x too. But
> disabling DRI (no radeon.o module loaded) didn't change that. I'm using
> a stock 2.4.19 kernel + preemptible patch. On the console I see an IDE

2.4 IDE wont work reliably with the pre-empt patch. Known interaction,
so thats unrelated to the DRM question



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-24 Thread Jacek Popławski
On Mon, Nov 25, 2002 at 12:09:23AM +0100, Felix Kühling wrote:
> I'm having problems burning CDs at speeds higher than 16x too. 

Have you tried to disable DMA for CD-Writer?

-- 
http://decopter.sf.net - free unrealistic helicopter simulator


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-24 Thread Michel Dänzer
On Son, 2002-11-24 at 23:20, [EMAIL PROTECTED] wrote:
> In the past few months I've been noticing 2 problems with my A7M266-D
> (dual athlon) computer (2 processors installed) with its ATI Radeon
> 7500 gfx card:
> 
> 1) Whenever I try to burn CD's at x20 it falls over very quickly
> (about 12MBytes).  Burning them at x8 at least gives me a chance of
> backing things up but it wasn't perfect.
> 
> 2) Whenever heavy disk IO (for example when Debian reads its package
> database) is performed the whole of X hangs for tens of seconds, but
> things like alsaplayer keep playing (and don't skip a beat).

I've only ever seen X fail to update the screen for several seconds when
the system was swapping very badly. You don't mention how much RAM you
have, but I assume that shouldn't be the problem?

(well, I guess the disks not running with DMA might cause this, but then
I'd expect that to be independent of the DRM)

> Anyway, I finally got fed up of this as I was sure it didn't use
> to be this bad - so I decided to investigate. 
> 
> I was currently using 2.4.20-rc2-ac3 + ALSA + CVS DRI. I went back to
> the old installation of 2.4.19-pre5-ac3 and everything works fine (this
> also had ALSA and CVS DRI from about May). I then updated ALSA & DRI
> to current, and it was back to its old bad behaviour. So I tried
> 2.4.20-rc3 with the radeon.o DRM module it comes with (+ the ALSA
> drivers) and everything works fine (well, apart from DRI!). Stopping
> X, unloading the DRM module, insert the latest CVS version and start up X
> again and we are back to not being able to write CD's again.
> 
> Any comments/ideas?

What's your IRQ setup? Do you use any special configuration options?


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-24 Thread Felix Kühling
On Sun, 24 Nov 2002 22:20:26 +
[EMAIL PROTECTED] wrote:

> 
> In the past few months I've been noticing 2 problems with my A7M266-D
> (dual athlon) computer (2 processors installed) with its ATI Radeon
> 7500 gfx card:
> 
> 1) Whenever I try to burn CD's at x20 it falls over very quickly
> (about 12MBytes).  Burning them at x8 at least gives me a chance of
> backing things up but it wasn't perfect.
>
> 2) Whenever heavy disk IO (for example when Debian reads its package
> database) is performed the whole of X hangs for tens of seconds, but
> things like alsaplayer keep playing (and don't skip a beat).
> 
> Anyway, I finally got fed up of this as I was sure it didn't use
> to be this bad - so I decided to investigate. 
> 
> I was currently using 2.4.20-rc2-ac3 + ALSA + CVS DRI. I went back to
> the old installation of 2.4.19-pre5-ac3 and everything works fine (this
> also had ALSA and CVS DRI from about May). I then updated ALSA & DRI
> to current, and it was back to its old bad behaviour. So I tried
> 2.4.20-rc3 with the radeon.o DRM module it comes with (+ the ALSA
> drivers) and everything works fine (well, apart from DRI!). Stopping
> X, unloading the DRM module, insert the latest CVS version and start up X
> again and we are back to not being able to write CD's again.
> 
> Any comments/ideas?

I'm having problems burning CDs at speeds higher than 16x too. But
disabling DRI (no radeon.o module loaded) didn't change that. I'm using
a stock 2.4.19 kernel + preemptible patch. On the console I see an IDE
reset followed by "failure to handle paging request in kernel" and
finally a kernel panic "killing interrupt handler\ninterrupt handler not
syncing". CAPS lock and scroll lock LEDs blink.

> Feel free to ask me for any additional information/testing you need
> (although I'm rapidly running out of blank CD's!).

Try it in dummy mode, if you're just testing ;-)

> 
> Thanks,
> 
> Matt

Felix

   __\|/_____ ___ ___
__Tschüß___\_6 6_/___/__ \___/__ \___/___\___You can do anything,___
_Felix___\Ä/\ \_\ \_\ \__U___just not everything
  [EMAIL PROTECTED]>o<__/   \___/   \___/at the same time!


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



Re: [Dri-devel] radeon.o DRM modules breaks my CD player (!)

2002-11-24 Thread ahaning
Are you sure your HDD is using DMA?

Maybe you could post the result of `hdparm -Tt /dev/hda' (or whatever 
disk is your root harddisk. -Tt is a nondestructive test and should tell 
you how many MB/s you can get to your drive. With DMA off, it will be 
quite low (3MB or so per second), but with DMA on, you should get 
30-40MB/s).

-Andy



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel