Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Miark
Wooky,

MDK 9.0 turns DMA -off- for CD and DVDs by default. Go to the command
line as root, and type hdparm -d1 /dev/hdx where x represents your DVD
drive. (Use the hdx notation, even if you use scsi emulation). Your 
DVDs will now play as they did in 8.2.

To make the change permanent, add it to /etc/rc.d/rc.local and you'll be 
good to go. I learned this on the expert list last night.

Miark



On Sun, 27 Oct 2002 20:34:01 -0200
Jeferson Lopes Zacco [EMAIL PROTECTED] wrote:

 I have the same problem (MX200). Luckily I installed MDK 9 in a separate 
 partition for testing.
 
 Most probably, the problem is with codecs installed by Mandrake 9.
 
 Wooky
 
 Miark wrote:
 
  Last week, while I was still running 8.2, DVD playback
  via Ogle was flawless. I installed 9.0 yesterday, and 
  with it, Ogle. Now I get really poor playback picture
  quality. I tried mplayer and xine, and they're doing
  the same thing.
  
  I have a 1GHz machine with 1GB RAM, and a GeForce 4 MX 460.
  
  Anybody else experience this? Any suggestions on how
  to restore performance under 9.0?
  
  Miark
  
  
  
  
  
  Want to buy your Pack or Services from MandrakeSoft? 
  Go to http://www.mandrakestore.com
  
 
 
 -- 
 Discussing this document with a US citizen may be an offence.
 
  From the disclaimer of Security Holes Fixed in Linux 2.4.19, by RH
 
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Ronald J. Hall
On Monday 04 November 2002 12:08 pm, you wrote:
 Wooky,

 MDK 9.0 turns DMA -off- for CD and DVDs by default. Go to the command
 line as root, and type hdparm -d1 /dev/hdx where x represents your DVD
 drive. (Use the hdx notation, even if you use scsi emulation). Your
 DVDs will now play as they did in 8.2.

 To make the change permanent, add it to /etc/rc.d/rc.local and you'll be
 good to go. I learned this on the expert list last night.

 Miark

HI Miark. My question is: Why? Everyone one knows that you really need DMA 
turned on for these devices, so why does Dolphin turn it off?

and...what about -true- SCSI devices, not emulated. Thats what I've got. (I'm 
still running 8.2 - 9.0 hopefully is on its way).

Thanks.

-- 
  /\
  Dark Lord
  \/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Tom Brinkman
On Monday November 4 2002 11:08 am, Miark wrote:
 Wooky,

 MDK 9.0 turns DMA -off- for CD and DVDs by default. Go to the command
 line as root, and type hdparm -d1 /dev/hdx where x represents your
 DVD drive. (Use the hdx notation, even if you use scsi emulation).
 Your DVDs will now play as they did in 8.2.

 To make the change permanent, add it to /etc/rc.d/rc.local and you'll
 be good to go. I learned this on the expert list last night.

 Miark
   
That'll work, but a better way is to (as root):
'cd /etc/sysconfig'
  (edit 'harddisks', and remove the # in front of 'USE_DMA=1')
'cp harddisks harddiskhd?'

   where ? is the drive letter for CDrom and/or CD-RW drives, EG
'cp harddisks harddiskhdc'
'cp harddisks harddiskhdd'
-- 
Tom Brinkman  Corpus Christi, Texas


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Miark
On Tue, 5 Nov 2002 00:33:31 -0500
Ronald J. Hall [EMAIL PROTECTED] wrote:

 HI Miark. My question is: Why? Everyone one knows that you really need DMA 
 turned on for these devices, so why does Dolphin turn it off?

I didn't ask. I speculate it was to improve compatibility, even at the 
expense of performance. Or it may have been an oversight. I dunno. It
doesn't make much sense either way.
 
 and...what about -true- SCSI devices, not emulated. Thats what I've got. 
 (I'm still running 8.2 - 9.0 hopefully is on its way).

I don't know, but if SCSI drives do have DMA disabled, it doesn't take
but a minute to fix with hdparm.

Miark


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread H.J.Bathoorn
On Monday 04 November 2002 18:53, Tom Brinkman wrote:
 On Monday November 4 2002 11:08 am, Miark wrote:
  Wooky,
 
  MDK 9.0 turns DMA -off- for CD and DVDs by default. Go to the command
  line as root, and type hdparm -d1 /dev/hdx where x represents your
  DVD drive. (Use the hdx notation, even if you use scsi emulation).
  Your DVDs will now play as they did in 8.2.
 
  To make the change permanent, add it to /etc/rc.d/rc.local and you'll
  be good to go. I learned this on the expert list last night.
 
  Miark

 That'll work, but a better way is to (as root):
 'cd /etc/sysconfig'
   (edit 'harddisks', and remove the # in front of 'USE_DMA=1')
 'cp harddisks harddiskhd?'

where ? is the drive letter for CDrom and/or CD-RW drives, EG
 'cp harddisks harddiskhdc'
 'cp harddisks harddiskhdd'

strange.my Mandrake9.0 has DMA turned on all over, at least that's what 
gpowertweak tells me.

Beside that /etc/sysconfig/harddisks doesn't exist on my box here.
Could it be 'cause I upgraded from my 8.2 or do we have different 9.0's??

Good luck,
Harm



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Technoslick
You found the same thing that I did! Neither of us had 'hdparm' installed.
Once I installed 'hdparm', I had the 'harddisks' file in my /etc/sysconfig
directory. I followed Tom Brinkman's instructions and it worked! :-)

T

- Original Message -
From: H.J.Bathoorn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 04, 2002 2:50 PM
Subject: Re: [newbie] DVD playback performance (9.0)


On Monday 04 November 2002 18:53, Tom Brinkman wrote:
 On Monday November 4 2002 11:08 am, Miark wrote:
  Wooky,
 
  MDK 9.0 turns DMA -off- for CD and DVDs by default. Go to the command
  line as root, and type hdparm -d1 /dev/hdx where x represents your
  DVD drive. (Use the hdx notation, even if you use scsi emulation).
  Your DVDs will now play as they did in 8.2.
 
  To make the change permanent, add it to /etc/rc.d/rc.local and you'll
  be good to go. I learned this on the expert list last night.
 
  Miark

 That'll work, but a better way is to (as root):
 'cd /etc/sysconfig'
   (edit 'harddisks', and remove the # in front of 'USE_DMA=1')
 'cp harddisks harddiskhd?'

where ? is the drive letter for CDrom and/or CD-RW drives, EG
 'cp harddisks harddiskhdc'
 'cp harddisks harddiskhdd'

strange.my Mandrake9.0 has DMA turned on all over, at least that's what
gpowertweak tells me.

Beside that /etc/sysconfig/harddisks doesn't exist on my box here.
Could it be 'cause I upgraded from my 8.2 or do we have different 9.0's??

Good luck,
Harm









Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Technoslick
Dark Lord and Harm,

I know that I have had this discussion here with others before, but...if you
check in  /etc/sysconfig/rc.sysinit, scroll down until you find the section
that deals with turning DMA on for drives... (as quoted)

# Turn off DMA on CD-ROMs. It more often than not causes problems.
if [ -x /sbin/hdparm -a -e /proc/ide ]; then
  for N in `grep -v ide-disk /proc/ide/*/*/driver 2/dev/null | awk -F /
'{ print $5 }'`; do
   hdparm -q -d0 /dev/$N /dev/null 21
  done
fi

There are other cautions about applying DMA to your hard drives in the
'harddrives' file. My guess is that if you are running an older hard drive
(please help me define 'older' since there doesn't seem to be an exact
cut-off date for this inability in some drives), you could end up screwing
the pooch with your data. The worst that seems to happen with incompatible
CD-ROMs is that they just don't work right. I have no idea what would happen
to a CD-RW in a burning operation if it shouldn't have DMA applied. Since I
set mine to use it, I will find out soon enough. :-) Since Harm's has DMA
turned on, I can only guess Mandrake sensed that his drives could handle it
on installation or when harddrake kicks in during boot up?

My days with computers goes back some and I think that I just have a
tendency to side towards caution because of old memories with old problems.
If someone is using older drives, I guess I wouldn't advice activating DMA
unless the consequences weren't a big deal. It seems that with ROM drives,
you experiment and see if you like the results.

Anyway, that's the reason Mandrake chooses not to automatically turn DMA
always on...

T :-)



- Original Message -
From: Ronald J. Hall [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 12:33 AM
Subject: Re: [newbie] DVD playback performance (9.0)


On Monday 04 November 2002 12:08 pm, you wrote:
 Wooky,

 MDK 9.0 turns DMA -off- for CD and DVDs by default. Go to the command
 line as root, and type hdparm -d1 /dev/hdx where x represents your DVD
 drive. (Use the hdx notation, even if you use scsi emulation). Your
 DVDs will now play as they did in 8.2.

 To make the change permanent, add it to /etc/rc.d/rc.local and you'll be
 good to go. I learned this on the expert list last night.

 Miark

HI Miark. My question is: Why? Everyone one knows that you really need DMA
turned on for these devices, so why does Dolphin turn it off?

and...what about -true- SCSI devices, not emulated. Thats what I've got.
(I'm
still running 8.2 - 9.0 hopefully is on its way).

Thanks.

--
  /\
  Dark
Lord
  \/








Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] DVD playback performance (9.0)

2002-11-04 Thread Miark
Why is that better, Tom?

Miark



On Mon, 4 Nov 2002 11:53:02 -0600
Tom Brinkman [EMAIL PROTECTED] wrote:

 That'll work, but a better way is to (as root):
 'cd /etc/sysconfig'
   (edit 'harddisks', and remove the # in front of 'USE_DMA=1')
 'cp harddisks harddiskhd?'
 
where ? is the drive letter for CDrom and/or CD-RW drives, EG
 'cp harddisks harddiskhdc'
 'cp harddisks harddiskhdd'


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com