You are not logged in.
I have to rip some audio cds but the read speed is very slow (~10kb/s)
and my cd drive is making faint clacking noises.
I have tried various programs (dolphin, brasero, vlc, …) but they all show the same behaviour.
This problem only seems to occur with audio cds,
regular cds e.g. for installing (old) programs seem to work fine.
Any ideas?
Last edited by schmidl (2021-10-20 14:25:44)
Offline
10kb/s is only ~½ speed, ie. not even fast enough to play the disc.
Are there IO errors in dmesg? Have you tried to clean the CDs?
(Smooth microfiber cloth, the things that are used to clean glasses. Inside => Outside. NOT in cirlces)
Do you use cdparanoia (and enforce a speed)?
Offline
It is indeed to slow to play. VLC for example has to buffer a long time before it can play anything.
The disk is new and as clean as it gets. Also I've tried it in a cd-player and it plays fine.
There is nothing about the drive in dmesg.
I have tried to pass the drive to a windows vm to check if it is a hardware problem but could not get it to work.
With "cdparanoia -B --force-read-speed 16" its not clacking anymore and the read speed has increased to a blazing ~600kb/s.
But normally I would hear the disk spin up which it still does not do (maybe this has to do with the fact, that the cd contains many short tracks?).
Thanks for the advice so far.
Offline
maybe this has to do with the fact, that the cd contains many short tracks?
How many and how short?
You can use "-Z" to skip all integrity tests (though not advisable for practical purposes) and "-A" to analyze the drive. And ramp up the reading speed parameter.
Offline
The drive errors out (<1x Speed 150kB/s). The disc might be copy-protected (dirty tricks, bad sectors, etc) or the drive itself could be defect or weak. There are also some CD dyes (if CD-Rs) that don't run well on all lasers.
Regarding the first case there are better and worse drives to rip such discs. Look up your drive online about ripping capabilities (Accurate Stream, C2 Error, Non-Caching, Offset, etc). You can try EAC (on Wine) that should be still king-of-the-hill for DAE. It has a large drive and track database.
Last edited by Maniaxx (2021-10-20 11:18:19)
sys2064
Offline
It seems to be a problem with dolphin. If I have all dolphin windows closed and play the cd with vlc directly, it plays fine.
Also I can create an image of it at ~700kb/s. But as soon as dolphin tries to read the cds contents the drive starts clacking and the speed plummits.
The output of dolphin:
…
libWorkMan: ERROR: CDROM_SEND_PACKET Eingabe-/Ausgabefehler
no or invalid CDTEXT
change volume: 50
Cache files found: 0
Should lookup "0WCpU_ZeTzwZen4u2EnO4GoTVJ4-"
ResourceNotFound Exception: ' Resource not found error: 404 Not Found '
LastResult: 6
LastHTTPCode: 404
LastErrorMessage: "404 Not Found"
libWorkMan: ERROR: CDROM_SEND_PACKET Eingabe-/Ausgabefehler
New disc with 98 tracks
cd.playlist: Playlist has 98 entries
…And cdparanoia -A:
cdparanoia III release 10.2 (September 11, 2008)
Using cdda library version: 10.2
Using paranoia library version: 10.2
Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for SCSI/MMC interface
SG_IO device: /dev/sr0
CDROM model sensed sensed: TSSTcorp CDDVDW SH-222BB SB00
Checking for SCSI emulation...
Drive is ATAPI (using SG_IO host adaptor emulation)
Checking for MMC style command set...
Drive is MMC style
DMA scatter/gather table entries: 1
table entry size: 131072 bytes
maximum theoretical transfer: 55 sectors
Setting default read size to 27 sectors (63504 bytes).
Verifying CDDA command set...
Expected command set reads OK.
Attempting to set cdrom to full speed...
drive returned OK.
=================== Checking drive cache/timing behavior ===================
Seek/read timing:
[53:26.51]: 39ms seek, 0.63ms/sec read [21.2x]
[50:00.00]: 35ms seek, 0.67ms/sec read [20.0x]
[40:00.00]: 54ms seek, 1.07ms/sec read [12.4x]
[30:00.00]: 46ms seek, 1.20ms/sec read [11.1x]
[20:00.00]: 43ms seek, 1.37ms/sec read [9.7x]
[10:00.00]: 54ms seek, 1.63ms/sec read [8.2x]
[00:00.00]: 76ms seek, 2.15ms/sec read [6.2x]
Analyzing cache behavior...
Drive does not cache nonlinear access
Drive tests OK with Paranoia.The cd contains audio for a language course with track lenghts from 6s to 30s.
Offline
It looks like dolphin (the cdda kioslave) tries to identfy the disc for a CDDB lookup, causing concurrent (?) reads next to your ripping efforts (the klicking is likely the disc constantly jumping between the positions that dolphin and cdparanoia want to read)
No idea how to make it stop doing that, though - you might want to edit the subject of the thread (edit your initial post) to reflect the dolphin relevance and attract relevant attention.
Offline
You should be able to disable said lookup in
kcmshell5 libkcddbOffline
After disabling the lookup the output of dolphin reduces to:
…
libWorkMan: ERROR: CDROM_SEND_PACKET Eingabe-/Ausgabefehler
no or invalid CDTEXT
change volume: 50
Cache files found: 0
…But the problem including clacking persists.
Also dolphin is not only blocking other programs from reading but also itself, so if I try to copy from the cd within dolphin it is also extremely slow.
Offline
Maybe the error correction mode you could check in the audiocd kcm has an effect here, though I'd find it strange if that has an effect before actively reading the full tracks.
FWIW if you want to completely kick the audiocd support in dolphin you could also just uninstall kio-audiocd
Offline
The error correction mode had no affect. I've tried completely removing and reinstalling audiocd-kio but with no luck.
Offline
I think the idea was to remove it terminally to prevent it from intervention.
Optical drives have become uncommon and while being the focus of eg. cdparanoia, it would't surprise me if no kio developer has really tested this in years…
Offline
I have kde-multimedia-meta depending on it, so I'm not sure forcefully removing it will not break other things.
But as I now know it's a dolphin problem I will just use something like thunar, which seems to work fine.
Offline
kde-multimedia-meta is a … well, meta package that just pulls a bunch of other packages. If that's your only dependency, you can remove it.
Offline