View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 41 posts ] 
Go to page Previous  1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Re: oops
PostPosted: Sat Dec 30, 2006 2:53 pm 
Offline
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
 Profile  
 
 Post subject: Re: oops
PostPosted: Sat Dec 30, 2006 4:41 pm 
Offline
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. :P 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!

_________________
Thanks
Sam Taylor
Radio Rocks with LWRadio - No False Crap


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 30, 2006 11:14 pm 
Offline
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
 Profile  
 
 Post subject: same thing
PostPosted: Sun Dec 31, 2006 5:49 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Dec 31, 2006 8:57 pm 
Offline
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
 Profile  
 
 Post subject: Re: oops
PostPosted: Mon Jan 01, 2007 9:44 pm 
Offline
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. :P 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
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 1:32 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Tue Jan 02, 2007 3:15 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Wed Jan 03, 2007 8:00 am 
Offline
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? ... 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.

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
 Profile  
 
 Post subject: Re: oops
PostPosted: Fri Jan 05, 2007 3:03 pm 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 6:54 pm 
Offline
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
 Profile  
 
 Post subject: Re: same thing
PostPosted: Sat Jan 27, 2007 11:22 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Feb 18, 2007 3:56 am 
Offline
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
 Profile  
 
 Post subject:
PostPosted: Sun Feb 18, 2007 10:34 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
There is no additional setup.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 15, 2007 3:02 pm 
Offline
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
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ] 
Go to page Previous  1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu