GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
The video was not very smooth (minor stop/start every few seconds) using xine or ogle to watch a DVD. Ripping the VOBs to disk and watching that was just fine. Hence the problem was tracked to extracting from the DVD. Tuning seemed to fix it:
$ hdparm /dev/hdc /dev/hdc: HDIO_GET_MULTCOUNT failed: Invalid argument IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Invalid argument |
From http://www.mplayerhq.hu/DOCS/HTML/en/drives.html some tuning was suggested. The suggestion included turning DMA on, but that failed:
$ sudo hdparm -d1 -a8 -u1 /dev/hdc /dev/hdc: setting fs readahead to 8 setting unmaskirq to 1 (on) setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted unmaskirq = 1 (on) using_dma = 0 (off) readahead = 8 (on) |
The resulting DVD watching is smooth. A little experimenting indicates that the -a8 did the trick.