Author |
Message |
pearlous
|
Posted: Sat Dec 30, 2006 2:53 pm |
|
Joined: Thu Mar 30, 2006 5:33 pm
Posts: 11
|
nitrouk wrote: pearlous wrote: I'm having the same "jerky" DVD playback issue as well. I'm on R5E50 on an AMD Geode processor running @ 1.4GHz w/ 768MB of memory. My graphics card is an nvidia TNT2. I had the same problem with R5E50, I found that DMA was not on by default. Code: hdparm -d1 /dev/dvd
I also had to install pineapple, if you haven't done so.
Great! Thanks, turning on DMA did the trick for my dvd playback. Did you use /etc/hdparm.conf to add that to system startup?
So what is pineapple? (other than a tasty fruit!)
|
|
Top |
|
 |
nitrouk
|
Posted: Sat Dec 30, 2006 4:41 pm |
|
Joined: Fri Feb 17, 2006 4:09 pm
Posts: 7
Location:
Manchester, UK
|
pearlous wrote: Did you use /etc/hdparm.conf to add that to system startup?
No I didn't I'm only a Noob! I tried looking in fstab, I knew their was some where else.  Slowly Learning and loving every minute of it. pearlous wrote: So what is pineapple? (other than a tasty fruit!)
Sorry the word got filtered! libcss'badword' I hope you get what I mean!
|
|
Top |
|
 |
errolksiegel
|
Posted: Sat Dec 30, 2006 11:14 pm |
|
Joined: Wed Dec 13, 2006 11:09 pm
Posts: 6
|
ryanpatterson:
I still have not had a chance to try mplayer instead of xine yet. Do you know what program MythTV uses to play back ISOs? See below for the reason I am asking this question...
nitrouk:
hdparm returns the following for the DVD drive:
/dev/dvd:
HDIO_GET_MULTCOUNT failed: Function not implemented
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device
If I understand correctly, this means DMA is enabled.
mad_paddler:
I did as you suggested. I ripped the DVD to an ISO file on a WinXP machine and scp'ed it over to my MythTV machine. The ISO played back, but showed the same problem: no dropped frames, but weird little trails when there is fast movement. This seems to suggest that the problem is not with the DVD drive, but with the video stream itself.
Here is something else I just noticed:
This problem does not seem to happen with all DVDs. I just rented a movie and it played just fine. Is it possible that some DVDs are encoded differently (higher frame rate or something)?
|
|
Top |
|
 |
winkie44
|
Posted: Sun Dec 31, 2006 5:49 pm |
|
Joined: Sun Oct 01, 2006 9:47 pm
Posts: 1
|
I was curious how you all have made the DMA on by default? xine-check tells me DMA is not enabled. Not sure about the hard drive, but the following commands fix the problem, but I have to re-run after a reboot.
hdparm -qd1 /dev/hdc
hdparm -qd1 /dev/had
Added the following lines to /etc/hdparm.conf, but there is no change
/dev/hda {
dma = on
}
/dev/hdc {
dma = on
}
Thoughts
|
|
Top |
|
 |
tjc
|
Posted: Sun Dec 31, 2006 8:57 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
You can always add those commands to /etc/init.d/bootmisc.sh if nothing else works.
|
|
Top |
|
 |
pearlous
|
Posted: Mon Jan 01, 2007 9:44 pm |
|
Joined: Thu Mar 30, 2006 5:33 pm
Posts: 11
|
nitrouk wrote: pearlous wrote: Did you use /etc/hdparm.conf to add that to system startup?
No I didn't I'm only a Noob! I tried looking in fstab, I knew their was some where else.  Slowly Learning and loving every minute of it. pearlous wrote: So what is pineapple? (other than a tasty fruit!)
Sorry the word got filtered! libcss'badword' I hope you get what I mean!
Gotcha pineapple was installed
See the bootmisc.sh note above for a quick and easy way to have hparm run at boot. I was wondering if you'd figured out how to use the new hdparm.conf. We'll both have to tinker with, and I'm going to try adding entries to /etc/hdparm.conf and then adding the hpdarm init scripts with "update-rc.d hdparm defaults"
I don't have time to play with it right now, so let us know if that works for you.
|
|
Top |
|
 |
dwaine
|
Posted: Tue Jan 02, 2007 1:32 pm |
|
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
|
My DVD drive also did not have DMA active. Thanks for pointing this out.
Dwaine
|
|
Top |
|
 |
ceenvee703
|
Posted: Tue Jan 02, 2007 3:15 pm |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
The KnoppMythWiki page on xine discusses hdparm settings (which could possibly be the problem) as well as various xine deinterlacing settings (which sounds much more likely to be the problem, since it's mainly seen during horizontal motion). Some of the initial discussion on installing xine is out of date since KnoppMyth now comes with it, but the rest of the info should still be valid:
http://www.knoppmythwiki.org/index.php? ... neDVDHowTo
EDIT: I only now noticed that the original poster was using a 350's video out. That's a whole other kettle of fish, and the problem then becomes making sure that xine is (a) NOT deinterlacing the DVD video, and (b) xine is passing through the interlaced video untouched to the 350's MPEG2 decoder.
I believe that MythTV knows how to send MPEG2 files to the 350 untouched, so playback is smooth. I am not sure that other parts of MythTV (mplayer, etc.) can do that, or how they can be made to do so.
|
|
Top |
|
 |
ryanpatterson
|
Posted: Wed Jan 03, 2007 8:00 am |
|
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
|
ceenvee703 wrote: The KnoppMythWiki page on xine discusses hdparm settings (which could possibly be the problem) as well as various xine deinterlacing settings (which sounds much more likely to be the problem, since it's mainly seen during horizontal motion). Some of the initial discussion on installing xine is out of date since KnoppMyth now comes with it, but the rest of the info should still be valid: http://www.knoppmythwiki.org/index.php? ... neDVDHowToEDIT: I only now noticed that the original poster was using a 350's video out. That's a whole other kettle of fish, and the problem then becomes making sure that xine is (a) NOT deinterlacing the DVD video, and (b) xine is passing through the interlaced video untouched to the 350's MPEG2 decoder. I believe that MythTV knows how to send MPEG2 files to the 350 untouched, so playback is smooth. I am not sure that other parts of MythTV (mplayer, etc.) can do that, or how they can be made to do so.
There was a trunk of mplayer that could use the decoding hardware of the prv-350 but it wasn't 100% functional. I have used my pvr-350 to play .avi's, .mpg's, dvd's, etc no problem. It does overscan the video a lot though. So many subtitles are lost.
|
|
Top |
|
 |
jgm
|
Posted: Fri Jan 05, 2007 3:03 pm |
|
Joined: Tue Dec 06, 2005 2:54 pm
Posts: 5
|
pearlous wrote: See the bootmisc.sh note above for a quick and easy way to have hparm run at boot. I was wondering if you'd figured out how to use the new hdparm.conf. We'll both have to tinker with, and I'm going to try adding entries to /etc/hdparm.conf and then adding the hpdarm init scripts with "update-rc.d hdparm defaults"
Try
Code: update-rc.d hdparm defaults
And it should read and use /etc/hdparm.conf on each boot.
Cheers,
Jim.
|
|
Top |
|
 |
jigawho
|
Posted: Fri Jan 05, 2007 6:54 pm |
|
Joined: Thu Feb 09, 2006 7:18 pm
Posts: 112
|
For the record I had the same problem with dvds skipping very slightly a few times a second, and enabling dma on the dvd drive fixed it. I tried jgm's command and it didn't work for me, but my hdparm.conf might have been setup incorrectly. Adding the hdparm command to the end of bootmisc.sh worked though. Is this considered a bug with R5E50 or is there a reason it was off (on some people's computers at least) by default?
|
|
Top |
|
 |
neutron68
|
Posted: Sat Jan 27, 2007 11:22 am |
|
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location:
Minneapolis, MN
|
winkie44 wrote: I was curious how you all have made the DMA on by default? xine-check tells me DMA is not enabled. Not sure about the hard drive, but the following commands fix the problem, but I have to re-run after a reboot.
hdparm -qd1 /dev/hdc hdparm -qd1 /dev/had
Added the following lines to /etc/hdparm.conf, but there is no change
/dev/hda { dma = on }
/dev/hdc { dma = on }
Thoughts
As I understand it, you must restart hdparm from a command line before your edits of the hdparm.conf file will take effect:
Code: # etc/init.d/hdparm restart You should then see a response back showing that the commands were sent to your target drive. If you'd like to have these settings applied every time the computer boots, type the following Code: # update-rc.d hdparm defaults 80
These bits came from this wiki article:
http://knoppmythwiki.org/index.php?page ... Management
_________________ KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner
|
|
Top |
|
 |
segamifo
|
Posted: Sun Feb 18, 2007 3:56 am |
|
Joined: Wed Jan 10, 2007 10:59 am
Posts: 25
|
Does installing pineapple mean that you've done a apt-get for it and the apt install thing, and then it should just work, or is there some configuration that must be done for xine to see the pineapples?
(sorry, but big linux noob here)
|
|
Top |
|
 |
tjc
|
Posted: Sun Feb 18, 2007 10:34 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
There is no additional setup.
|
|
Top |
|
 |
i_c_bradley
|
Posted: Sun Apr 15, 2007 3:02 pm |
|
Joined: Mon Oct 31, 2005 11:42 am
Posts: 3
Location:
UK
|
Quote: etc/init.d/hdparm restart
this is missing a '/'
Code: # /etc/init.d/hdparm restart
_________________ Asus P4P800-SE, nvidia 5200, 300Gb SATA
|
|
Top |
|
 |