LinuxQuestions.org
Help answer threads with 0 replies.
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-17-2020, 12:33 AM   #1
bakslashr
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
CDDA lag when using more than one CD-ROM


I am attempting to back up my audio cds (time to throw them out) to the cloud. I have a two cd-roms. I am using cdrdao to read the audio from, and vlc to listen to the cd audio on the other drive.

However, I am finding that while cdrdao is reading the one audio cd, that it seems to be affecting the performance of listening to the other cd. (lots of lag with both vlc and mplayer)

Code:
ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 4558 ms)
To take it one step further, even when I use cdemu, to emulate the ripped audio, that it experiences the same audio lag when the hardware cd-rom is being read from. When it is not being read from, then the audio is smooth.

It appears to be a case of buffer exhaustion, however I am confused to how this can be the case since it seems as if they should be separate entities.
 
Old 05-18-2020, 10:00 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
I have two optical drives that I use to rip audio books for my wife and I've noticed the same thing. I use icedax for the ripping and have developed scripts to automate the process with one drive ripping the odd numbered cds and the other the even numbered cds. When inserting or ejecting a cd in one drive while the other is ripping, the one running will grind to almost a halt and doesn't pick up again to the newly inserted cd spins up and starts doing its thing.

We're using different tools, icedax vs cdrdao, and getting similar results with two optical drives running simultaneously so I assume it's something in the way the kernel handles multiple running optical drives. My guess is no one is particularly interested in working on that part of kernel since optical drives are on the way out and most people don't have one optical drive, much less two. Also, things work but just not as optimally as they could. If someone knows a way around this problem, I would welcome a solution as well.
 
Old 05-18-2020, 10:03 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Are your devices connected via SATA? Then you might try an external USB-drive...
 
Old 05-18-2020, 11:59 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Mine are sata connected. I have a powered sata to usb adapter and an old optical drive and will give it a try when I have time.
 
Old 05-18-2020, 12:03 PM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Maybe you can borrow a USB-device from a friend...
 
Old 05-18-2020, 04:58 PM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Using a usb connected drive makes no difference. Ejecting one drive makes the other running drive slow to almost a halt and inserting a new disk slows the other running drive until the new one spins up. Tested by using icedax to rip audio cds, first on one drive then on the second while the first is running.
 
Old 05-19-2020, 05:14 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
That's -- funny. USB and SATA should be from very different kernel modules. Did you try a "ps ax" in a console and look for any suspect processes which might block the devices? Or any job using up a lot of CPU time or abusing the I/O-buffers...
 
  


Reply

Tags
audio



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
using only one /home with more than one Linux root system BW-userx Linux - General 14 04-01-2016 10:07 PM
[SOLVED] How to select more than 1 line,copy those selected more than one line,and paste them. shabariv Linux - Newbie 1 02-02-2015 11:51 AM
fixed ip for more than 1 nic - more than 1 network - multi homed zimbot Ubuntu 1 07-05-2011 05:21 PM
Can I've more than 6 virt consoles (and can I launch more than 2 GUIs simultaneosly)? kornerr Linux - General 6 02-24-2005 02:33 AM
CDDA-->MP3 Software needs... Bogdan Linux - General 4 01-16-2002 03:40 PM

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

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

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