LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mplayer Dvd Crash (https://www.linuxquestions.org/questions/linux-software-2/mplayer-dvd-crash-51063/)

JWatkins 03-21-2003 04:43 PM

Mplayer Dvd Crash
 
I have enabled dma by adding the option "options ide-cd dma=1" to "/etc/modules.conf" then I run "hdparm -d 1 /dev/dvd" and that fixes the choppy playback.

When playing dvds, it will play for about 30-45 minutes and then mplayer will just stop. After that "crash" I have to close it using xkill. I have tried to wait to see if it comes out of it, but it is unresponsive no matter how long I wait. I have tried pausing it every 10 minutes and it will still do it about 30-45 minutes into the movie. I have also tried skipping to the end of the movie and it works fine no matter where in the movie it is playing until that 30-45 minutes. After the crash it will freeze my dvd drive. I can not open it or mount it or unmount it unless I reboot Linux. After I kill mplayer I can restart it and play files, but it will crash again if I try to access the dvd drive. I have even tried mounting the dvd before playback. It would not be so bad if there was a way to reset my dvd drive like it does during a reboot without restarting, but I would not have the first clue as to where to find the commands to do so. I hate to bring Windows into this, but it is worth noting that the dvds play fine all the way through in it.

When mplayer crashes I get these three errors, pretty much in this order but jumbled and repetitively until I xkill. I do not get these errors in the Kde Konsole, but a virtual console:
hdd: cdrom_decode_status: 0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_error: 0x30
hdd: ATAPI reset complete

Here is some info on my motherboard:
[JWatkins@localhost /]$ cat /proc/ide/via
----------VIA BusMastering IDE Configuration----------------
Driver Version: 3.35
South Bridge: VIA vt8235
Revision: ISA 0x0 IDE 0x6
Highest DMA rate: UDMA133
BM-DMA base: 0xe400
PCI clock: 33.3MHz
Master Read Cycle IRDY: 0ws
Master Write Cycle IRDY: 0ws
BM IDE Status Register Read Retry: yes
Max DRDY Pulse Width: No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush: yes yes
End Sector FIFO flush: no no
Prefetch Buffer: yes yes
Post Write Buffer: yes yes
Enabled: yes yes
Simplex only: no no
Cable Type: 80w 80w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode: UDMA UDMA UDMA DMA
Address Setup: 30ns 30ns 30ns 30ns
Cmd Active: 90ns 90ns 90ns 90ns
Cmd Recovery: 30ns 30ns 30ns 30ns
Data Active: 90ns 90ns 90ns 90ns
Data Recovery: 30ns 30ns 30ns 30ns
Cycle Time: 30ns 22ns 60ns 120ns
Transfer Rate: 66.6MB/s 88.8MB/s 33.3MB/s 16.6MB/s

The dvds that crash (every single dvd I have tried has crashed):
The Mummy Returns, Fight Club, Matrix, Austin Powers: The Spy who Shagged Me

RedHat Linux 8.0 psyche, Kde 3.0
MPlayer-0.90rc4.tar.bz2
Gainward Geforce4 ti4200 64MB ddr
Abit Kd7 motherboard, Via Kt400 & Vt8235, Ide Ultra Dma 33, 66, 100, 133
Amd Athlon Xp 1700+
256mb ddr memory
Ide Artec 16x Dvd-Rom, Linux Compat, 512KB buffer, Ultra Dma 0-2
Ide Yamaha LightSpeed3 24x10x40x Cdrw, 8MB buffer, Ultra Dma 2


All times are GMT -5. The time now is 05:37 PM.