LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2003, 12:03 AM   #1
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Mandrake 9.1 DVD choppy&Ogle Alsa error


Trying out Ogle, Xine, and mPlayer all give me choppy playback on DVDs. I enabled dma in my modules.conf. Ogle also gives me this error and I have been able to set the sound driver to anything else. I'm using Mandrake 9.1 on a 1ghz Dell laptop and I would apreciate any help you may have to offer.

ERROR[ogle_audio]: Opening alsa pcm device 'default': No such device
FATAL[ogle_audio]: failed opening the alsa audio driver at default
ctrl: ipc_rmid: Invalid argument
 
Old 08-18-2003, 07:56 AM   #2
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Forgot to mention that I do have libdvdcss and libdvdread installed. Any ideas?
 
Old 08-18-2003, 05:59 PM   #3
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
I've been playing w/ hdparm but no dice.
 
Old 08-18-2003, 06:44 PM   #4
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Hope this is some help:

ls -al /dev/dvd
lr-xr-xr-x 1 root root 31 Aug 18 12:30 /dev/dvd -> scsi/host0/b us0/target0/lun0/cd

I'm not quite sure where to start fiddling w/ hdparm on this one....

Last edited by bax; 08-18-2003 at 06:45 PM.
 
Old 08-19-2003, 12:51 AM   #5
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
sounds like a problem I had years ago when I first started with linux, your ide controller may note be supported in your kernel, type dmesg | grep ide and post the output
 
Old 08-19-2003, 02:36 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Try removing the SCSI module. I think the module is ide-scsi so login as su or root type rmmod ide-scsi. Then set up the drive to use DMA. I think your DVD drive is /dev/hdc.You may have to change the link for /dev/dvd.

Use OSS as the sound output instead of ALSA. If your /etc/.asoundrc is not setup properly multmedia players will not work. You can then change the sound output device to ALSA after things are working and you have re-edited your /etc/.asoundrc file.

You may have to download a program to set up your DVD drive to a region before playing any movies.
 
Old 08-19-2003, 01:12 PM   #7
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
scsi emulation has negledgable if any slowdown for ide drives, I use it on mine and have perfect transfers.
 
Old 08-19-2003, 11:44 PM   #8
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Well, after Mandrake CRASHED and wouldn't boot, I reinstalled and now DVDs are smooth as butta in MPlayer. Howver Ogle crashes on the below error. I have tried to select als in Ogle using the gui but it crashes. Where do I change it in the oglerc file?
 
Old 08-19-2003, 11:59 PM   #9
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
probably somewhere in your home directory, do: "ls -a | grep ogl" and see what it gives you
 
Old 08-20-2003, 12:11 AM   #10
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Here's the error:

Debug[ogle_vout]: resize: 720, 540
decode: B-frame before forward ref frame
*vs: offset not valid
*vs: offset not valid
Debug[ogle_vout]: set_sync_point()
No accelerated IMDCT transform found
Debug[ogle_audio]: decode_a52: found sync
Note[ogle_audio]: Using audio driver 'alsa'
[ogle_alsa]: Opening device: default
#![ogle_alsa]: error while opening alsa.
: No such file or directory
FATAL[ogle_audio]: failed opening the alsa audio driver at default
 
Old 08-20-2003, 12:19 AM   #11
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
I had this once, make sure both your ogle version and alsa version are newest. I *think* that is how I fixed it.
 
Old 08-21-2003, 09:35 PM   #12
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Getting rpms from Freshrpms.net did the trick. Now I need to figure out why my 3D performance sucks even though it's setup properly. Thank you all for taking the time to help me w/ my trivial problem. I'll try to pass the favor on
 
Old 08-22-2003, 04:01 AM   #13
fruibat_2000
Member
 
Registered: Aug 2003
Location: scotland
Distribution: Mandrake 9.2
Posts: 78

Rep: Reputation: 15
about 3d performance: just check and see that alsamixer isn't running and if it is kill it and then try 3d.
 
Old 08-29-2003, 10:57 PM   #14
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Turning off KLaptop fixed my 3d acceleration issues. Now I need another laptop battery monitoring daemon. Any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Choppy DVD & movies playback TheShemeta Linux - Software 3 02-17-2004 03:42 PM
Linux vs. Windows DVD predicament (ogle/alsa) Nimoy Linux - Software 8 10-12-2003 08:00 AM
ogle dvd player DAChristen29 Linux - Software 8 03-21-2003 02:25 PM
OGLE DVD player Crashed_Again Linux - Software 4 02-17-2003 05:09 AM
ogle dvd rain_maker Linux - General 0 03-07-2002 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:28 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