LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2004, 11:35 AM   #1
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Rep: Reputation: 30
cannot play dvds with neomagic card and xv


I have been trying for several months to play DVDs on my linux box with little success. When I started i was a total newbie so since then i have made a few discoveries and understand much better.

So. I have a Dell Latitude 400Mhz 128Mb with a Neomagic AV256 card. I am trying to play DVD's with mplayer which is installed and configured correctly. i can run x11 with some success but performance is poor

I was trying to play DVDs in xfree 4.3, which has support for XV with neomagic cards but it also says in the mplayer read me that a patch to speed up frame buffer ops would be in the next release. the mplayer manual reccommends you add the option:

Option "OverlayMem" "829440"

to increase the memory available to the video card. but i was still getting a crash and this error when using -vo xv

BadAlloc: insuffcient resources

i recently discovered from a xine FAQ page that this error is due to the video card having little or no memory and adding several things to Xfree-config were reccommended:

Option "XaaNoPixmapCache"

I added this under the screen section but i am not sure that is right

and it also recommended using a lower res or colour depth - i cannot use a lower res on my screen cos it is a TFT and i get black borders with any other res.

so, to the last bit. i have now upgraded to the lastest x.org packages to replace xfree 4.3 which as far as i am aware should contain this new speedy framebuffer patch - i just check the log to see what was what and was surprised to see this:

(II) NEOMAGIC(0): Can not reserve 829440 bytes for overlay. Resize to 261120 bytes.

this might explain where i have been going wrong all along but i dunno what to try now

please help me cos i have no exhausted all my ideas
 
Old 05-09-2004, 11:38 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
so dga and sdl don't work either?

and 400mhz is borderline for playing a dvd.

Last edited by whansard; 05-09-2004 at 11:41 AM.
 
Old 05-09-2004, 12:08 PM   #3
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
they are not even options - works fine in windows most of the time - gets a bit sketchy sometimes

the overlay mem option is specifically suggested by xfree to address this prob - but it doesn't work it seems

i also know that acceleration is enabled on this card for all video res - may i shoudl decrease the depth?
 
Old 05-09-2004, 10:05 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
is your dvd drive is running dma mode?

decreasing the screen res does use less cpu. i have a bunch of low res screens set up for playing movies and stuff on my machine. they use less cpu than -fs -zoom does.
 
Old 05-10-2004, 05:06 AM   #5
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
how can i check if dma is on?
 
Old 05-10-2004, 09:00 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
if the dvd drive is /dev/hdc
hdparm /dev/hdc
 
Old 05-12-2004, 02:52 PM   #7
dibblethewrecke
Member
 
Registered: Nov 2003
Location: UK
Distribution: Arch Linux
Posts: 210

Original Poster
Rep: Reputation: 30
dma on - any other ideas?
 
Old 05-12-2004, 08:01 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
overclock the video card a little. i don't know how dangerous that is, but i would on a desktop.
you can try the hard frame drop option with mplayer, and a lower resolution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I play DVDs? vincebs Linux - Software 6 03-16-2004 04:35 PM
cant play DVDs!!!!! debloxie Mandriva 4 12-13-2003 09:12 AM
ALL THIS TO PLAY DVDs krissly1 Linux - Newbie 9 11-21-2003 11:18 PM
how do i play dvds? h/w Linux - Hardware 7 10-20-2003 10:25 PM
RH 8.0 and NeoMagic Sound card joynkev Linux - Hardware 1 03-27-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration