-
DVD stutters...
after just 'happening' on a fix for my DVD player to run in xine (apt-get install libdvdcss2) on the Mepis Linux site, I tried it in Knoppix (another Debian...) and sho' nuff, it works! but the image stutters, hitches, hiccups a bit (can you tell I really don't know how to describe this?) It's like really bad streaming video from the 'net...
Any ideas on how to even this out; make it smoother?
-
Senior Member
registered user
You need to enable DMA on your dvd drive. For example, if your dvd drive is hdc:
hdparm -v /dev/hdc
will tell you if DMA is on.
hdparm -d 1 /dev/hdc
will turn on DMA.
To enable DMA at boot time:
apt-get install hwtools
kwrite /etc/init.d/hwtools
Add this line just above "true" under "hdparm optimization":
hdparm -d 1 /dev/hdc
The above command will then be run to turn on DMA during boot up. There is probably a better way to turn on at boot time, but the above works.
-
That has done the trick!
Thanks so much for that INCREDIBLY speedy reply!
Mick
-
I spoke too soon...
That works great to get DMA enabled while Knoppix is running, but the enabling at boot time didn't seem to 'take' (even after rebooting)
Did I miss something that I could have done during install?
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
mick
I spoke too soon...
That works great to get DMA enabled while Knoppix is running, but the enabling at boot time didn't seem to 'take' (even after rebooting)
Did I miss something that I could have done during install?
If you edited the file suggested above then it was not used when you rebooted. You need to edit either the file /etc/default/hdparm (if still using the older version) or /etc/hdparm.conf and put something like this at the bottom of the file:
Code:
/dev/hdc {
dma = on
}
I'm not sure if the syntax is correct for the older version it's been a while since the change was made and it seems to have deleted the old one from my install you may want to upgrade the package to the newer version to prevent editing again when the upgrade happens to you eventually anyways.
-
Senior Member
registered user
It is great to know how to turn on DMA using hdparm.conf.
It is strange that hwtools method doesn't work though. It works for me. I use the standard Knoppix initscripts and the DMA command is run during boot up after installing the hwtools package and editing the hwtools file as described above.
-
Back again -
Well, after much experimentation, I have to admit (sheepishly) that the mistake was not Knoppix - it was me.
When I typed in the changes as per your instructions, I forgot that my DVD is hdd - not hdc (as is yours). When I discovered the problem, retyped and rebooted, Xine played LOTR without a hitch.
Thanks for all of your help
-
Senior Member
registered user
I am having the same problem with a "stuttering DVD". My dvd is /dev/scd0, but when I run this command I get the following error...
root@wally:/debs# hdparm -v /dev/scd0
/dev/scd0 not supported by hdparm
The drive is a compaq IDE dvd drive. Anyone else run into this?
Regards,
~paul
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
pau1knopp
I am having the same problem with a "stuttering DVD". My dvd is /dev/scd0, but when I run this command I get the following error...
root@wally:/debs# hdparm -v /dev/scd0
/dev/scd0 not supported by hdparm
The drive is a compaq IDE dvd drive. Anyone else run into this?
Regards,
~paul
You do not do it on the scsi emulated device but the /dev/hd? that the device is before the emulation happens then it turns on the dma for you on the drive and it is then continued to be used when the emulation takes place.
-
Senior Member
registered user
Good information...
How do I tell which /dev/hd? I should be using?
tia,
paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![NEW SonicWALL TZ350 02-SSC-0942 1.0 Gbps 5x 1GB RJ-45 Firewall picture](/store/img/KuQAAOSwkSNmYMwN/s-l225//NEW-SonicWALL-TZ350-02-SSC-0942-1-0-Gbps-5x-1GB-RJ.jpg)
NEW SonicWALL TZ350 02-SSC-0942 1.0 Gbps 5x 1GB RJ-45 Firewall
$199.99
![SONICWALL TZ270 Network Firewall With Power Cable *READY TO REGISTER* picture](/store/img/Tj4AAOSwzCFmPrMQ/s-l225//SONICWALL-TZ270-Network-Firewall-With-Power-Cable-.jpg)
SONICWALL TZ270 Network Firewall With Power Cable *READY TO REGISTER*
$150.00
![Palo Alto Networks PA-820 Enterprise Network Firewall Used picture](/store/img/9dYAAOSw3v1mO5Fc/s-l225//Palo-Alto-Networks-PA-820-Enterprise-Network-Firew.jpg)
Palo Alto Networks PA-820 Enterprise Network Firewall Used
$110.00
![Fortinet Fortigate-60E Network Security Firewall FG-60E Power Cord Locked / Used picture](/store/img/zxQAAOSwXJlmYo0W/s-l225//Fortinet-Fortigate-60E-Network-Security-Firewall-F.jpg)
Fortinet Fortigate-60E Network Security Firewall FG-60E Power Cord Locked / Used
$58.90
![Lanner NCA-1010B 3 Port Fanless Mini OPNsense Firewall E3825 4GB RAM 32GB SSD picture](/store/img/pK8AAOSwRQxj4nuu/s-l225//Lanner-NCA-1010B-3-Port-Fanless-Mini-OPNsense-Fire.jpg)
Lanner NCA-1010B 3 Port Fanless Mini OPNsense Firewall E3825 4GB RAM 32GB SSD
$99.95
![Sophos SG 230 Firewall Security Appliance Ubuntu Server 22.04 LTS 🧡 picture](/store/img/IpEAAOSw83FmkHht/s-l225//Sophos-SG-230-Firewall-Security-Appliance-Ubuntu-S.jpg)
Sophos SG 230 Firewall Security Appliance Ubuntu Server 22.04 LTS 🧡
$175.00
![pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC picture](/store/img/ObkAAOSwQuhi9bAX/s-l225//pfSense-Firewall-VPN-AES-NI-Celeron-N3350-1-10GHz-.jpg)
pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC
$91.00
![Fortinet FortiGate 100D FG-100D 16-Port Ethernet Security Firewall Appliance picture](/store/img/jl8AAOSwPtlmkS-7/s-l225//Fortinet-FortiGate-100D-FG-100D-16-Port-Ethernet-S.jpg)
Fortinet FortiGate 100D FG-100D 16-Port Ethernet Security Firewall Appliance
$49.99
![FORTINET FORTIGATE 40F Next GEN Firewall Security Unregistered (FG-40F)-Open Box picture](/store/img/ckQAAOSw5Jxkny6~/s-l225//FORTINET-FORTIGATE-40F-Next-GEN-Firewall-Security-.jpg)
FORTINET FORTIGATE 40F Next GEN Firewall Security Unregistered (FG-40F)-Open Box
$224.99
![CISCO ASA5506-SEC-BUN-K9 SECURITY Firewall w/ FirePOWER ASA5506-X NO CLOCK ISSUE picture](/store/img/r5gAAOSwq99mbJpJ/s-l225//CISCO-ASA5506-SEC-BUN-K9-SECURITY-Firewall-w-FireP.jpg)
CISCO ASA5506-SEC-BUN-K9 SECURITY Firewall w/ FirePOWER ASA5506-X NO CLOCK ISSUE
$164.00