Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dvd skipping
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Thu Jul 25, 2002 2:01 am    Post subject: Reply with quote

I use the Xv driver
i have an ATi Radeon, Duron 800, and 384MB PC133
running fluxbox on xfree 4.2.0 at 16bpp if any of that matters
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu Jul 25, 2002 2:24 am    Post subject: Reply with quote

I had a variation on these problems for a long time.
I had my dvd-rom attached to an add-on ata controller card, and (dma or not) it did this. So I attached it to the motherboard's integrated controller, and that solved it.

~Mac~
Back to top
View user's profile Send private message
cf25
Apprentice
Apprentice


Joined: 20 Jun 2002
Posts: 158

PostPosted: Thu Jul 25, 2002 2:50 am    Post subject: Reply with quote

i did an emerge ati-gatos and it all went fine. how do i get xine (or anything else) to use Xv now? it still tries to use XShm.
Back to top
View user's profile Send private message
smtanner
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 106
Location: Colorado

PostPosted: Thu Jul 25, 2002 5:43 am    Post subject: Reply with quote

Do a search in this forum for "ati-gatos" and you can find some examples of what your etc/XF86Config should look like. If yours is correct, the you should be able to start xine with Xv support by typing:

xine -V Xv


I believe if you do it once, xine will remember and the next time and you just need to type "xine".
Back to top
View user's profile Send private message
smtanner
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 106
Location: Colorado

PostPosted: Thu Jul 25, 2002 5:46 am    Post subject: Reply with quote

I just did some searching in the forum for ati-gatos and quite a bit of stuff came up. I had no idea that ATI cards were so problematic. Glad I have an nvidia card. Too bad you can't swap yours out for nvidia.
Back to top
View user's profile Send private message
jonner
n00b
n00b


Joined: 25 Jul 2002
Posts: 42

PostPosted: Thu Jul 25, 2002 6:05 am    Post subject: ATA (IDE) DMA mode Reply with quote

There is an option in the kernel config to specify the default DMA mode for PCI ATA host adapters (on or off). It is called CONFIG_IDEDMA_PCI_AUTO and can be found in the menu (make menuconfig) in an option called "Use PCI DMA by default when available." When I turn that on, I don't have to use hdparm to turn on DMA mode.

Looking at the .config file in the root of the linux tree (/usr/src/linux), I also found these options turned on, though I don't know what they do or which menu options they correspond to: CONFIG_BLK_DEV_IDEDMA_PCI,
CONFIG_BLK_DEV_ADMA, CONFIG_IDEDMA_AUTO.
Back to top
View user's profile Send private message
eric.cheminot
n00b
n00b


Joined: 03 Jul 2002
Posts: 47

PostPosted: Thu Jul 25, 2002 6:55 am    Post subject: Reply with quote

Quote:
Ok, what about ide-scsi?

I have my CDRW and DVD in /dev/hda /dev/hdb but those devices dissapear when using ide-scsi making hdparm useless.


I have the same problem. I may have a solution but I will try only this evening (GMT+1). The idea is to have also ide-cd as a module and load the module before settings hdparm params and release the module after (ide-scsi can only claim for ide devices not already managed). The sequence in local.start will be somthing like

Code:
modprobe ide-cd
hdparm <blabla>
rmmod ide-cd


-ec
Back to top
View user's profile Send private message
eric.cheminot
n00b
n00b


Joined: 03 Jul 2002
Posts: 47

PostPosted: Thu Jul 25, 2002 8:15 pm    Post subject: Reply with quote

If interested, it works (at least for me). The "recipe" is
1) suppress any "hdx=ide-scsi" from boot params,
2) compile both regular ide cdrom support ans scsi emulation as modules
3) add in your /etc/conf.d/local.start hdparm stuff
4) remove ide module
5) insert scsi emulation.

Here is my local.start file:

Code:

# This is a good place to load any misc.
# programs on startup ( 1>&2 )
hdparm -qc 1 -qd 1 -qm 16 -qX udma2 /dev/hda
hdparm -qc 1 -qd 1 -qm 16 -qX udma5 /dev/hde
hdparm -qc 1 -qd 1 -qX udma2 /dev/hdb
hdparm -qc 1 -qd 1 -qX mdma2 /dev/hdc
rmmod ide-cd
insmod ide-scsi


-ec
Back to top
View user's profile Send private message
synic
n00b
n00b


Joined: 11 Jan 2003
Posts: 49
Location: SLC, Utah

PostPosted: Sun Jan 12, 2003 9:31 pm    Post subject: This works Reply with quote

This works for you guys that want to enable DMA for ide-scsi devices.

echo "using_dma:1" > /proc/ide/hdc/settings

of course, change hdc to the device name that the drive would have if it weren't ide-scsi.
Back to top
View user's profile Send private message
LibraMark
n00b
n00b


Joined: 25 Apr 2002
Posts: 27
Location: Pullman, Washington; USA

PostPosted: Tue Jan 14, 2003 4:25 pm    Post subject: No prob's for me.... Reply with quote

Hi,

I've been using an ATI all-in-wonder pro (Mach64) card for dvd playing with zero problems using the gatos drivers. Plus they have a nice tv-tuner program that works nicely too.

Just remember that the drivers are xfree86-version-specific so just choose the correct one and follow their instructions.

If anyone cares, remember that the nvidia drivers are not in compliance with gpl/open-source!

Cheers!

Mark.

Machine: AMD700, ATI All-in-Wonder Pro, Diamond Supra Max ISA modem, Yamaha YMF soundcard, Teac 8x8x32 writer, Samsung 6x DVD, Soyo CF reader.
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Tue Jan 28, 2003 2:08 am    Post subject: /dev/dvd not supported by hdparm Reply with quote

I have trouble with skipping on my dvds, but when I tried hdparm on both my dvd and cdrom (using ide-scsi) I get these messages:
Code:
$ hdparm -d1 /dev/dvd
/dev/dvd not supported by hdparm
$ hdparm -d1 /dev/cdrom
/dev/cdrom not supported by hdparm
I can run hdparm fine on my harddrive
Code:
$ hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 using_dma    =  1 (on)

Anyone know what I need to do? Thanks.
_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
ttye0
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2003
Posts: 109

PostPosted: Sun Feb 16, 2003 5:08 am    Post subject: Reply with quote

After typing: hdparm -d1 /dev/dvd
My DVD played well for the first few minutes and then out of no where it starts skipping again and running that same command seams to do nothing. Does anyone have any ideas at all as to why I can't make the effects of that command persistant?
Back to top
View user's profile Send private message
oiper
Guru
Guru


Joined: 01 May 2003
Posts: 316
Location: Alabama, US

PostPosted: Sat May 03, 2003 8:32 am    Post subject: Re: This works Reply with quote

Synic you're a genius. I just wish I'd found this sooner! 8O :P

synic wrote:
This works for you guys that want to enable DMA for ide-scsi devices.

echo "using_dma:1" > /proc/ide/hdc/settings

of course, change hdc to the device name that the drive would have if it weren't ide-scsi.
Back to top
View user's profile Send private message
patrickc
n00b
n00b


Joined: 17 Apr 2003
Posts: 49
Location: atlanta, ga

PostPosted: Mon May 05, 2003 12:15 pm    Post subject: Reply with quote

one thing you can try is using mplayer, and running it with the command:

Code:

mplayer -vo xv -autosync 30 -dvd 1


the autosync is what helps the choppiness a ton. adjust for your liking, and read the man pages. i've had no choppiness in dvd playback since using mplayer with these options. this is, of course, assuming that you have dma enabled on your dvd drive. :-)

patrickc
Back to top
View user's profile Send private message
talen_mystwing
n00b
n00b


Joined: 26 Jun 2003
Posts: 5
Location: South Florida, USA

PostPosted: Sun Jun 29, 2003 11:52 pm    Post subject: Reply with quote

My drive wasn't accepting "hdparm -d 1" so I did "hdparm -X66" which forces UltraDMA. Now DVDs play just fine. :)
_________________
Kill Elson™!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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 vote in polls in this forum