A DVD ROM, just like a HDD, is made of moving parts, subject to wear and tear.
Especially now that most “disk readers” of any kinds are produced at lower volumes, if they get produced at all, it is a smart move to prolong the life of yours as much as you can, even if you don’t care about the noise.
So:
Altho this should work for Blu Rays too, I found instructions which talk about CD and DVD ROMs alone.
These instructions should be universal, for Xorg, KDE, and anything else which I ignore the existence of, but is still based on Linux.
The command supreme in this operation is hdparm, and this is what it will make appear in the Konsole:
User:~$ hdparm
hdparm - get/set hard disk parameters - version v9.65, by Mark Lord.
clue=6
Usage: hdparm [options] [device ...]
Options:
-a Get/set fs readahead
-A Get/set the drive look-ahead flag (0/1)
-b Get/set bus state (0 == off, 1 == on, 2 == tristate)
-B Set Advanced Power Management setting (1-255)
-c Get/set IDE 32-bit IO setting
-C Check drive power mode status
-d Get/set using_dma flag
-D Enable/disable drive defect management
-E Set cd/dvd drive speed
-f Flush buffer cache for device on exit
-F Flush drive write cache
-g Display drive geometry
-h Display terse usage information
-H Read temperature from drive (Hitachi only)
-i Display drive identification
-I Detailed/current information directly from drive
-J Get/set Western DIgital "Idle3" timeout for a WDC "Green" drive (DANGEROUS)
-k Get/set keep_settings_over_reset flag (0/1)
-K Set drive keep_features_over_reset flag (0/1)
-L Set drive doorlock (0/1) (removable harddisks only)
-m Get/set multiple sector count
-M Get/set acoustic management (0-254, 128: quiet, 254: fast)
-n Get/set ignore-write-errors flag (0/1)
-N Get/set max visible number of sectors (HPA) (VERY DANGEROUS)
-p Set PIO mode on IDE interface chipset (0,1,2,3,4,...)
-P Set drive prefetch count
-q Change next setting quietly
-Q Get/set DMA queue_depth (if supported)
-r Get/set device readonly flag (DANGEROUS to set)
-R Get/set device write-read-verify flag
-s Set power-up in standby flag (0/1) (DANGEROUS)
-S Set standby (spindown) timeout
-t Perform device read timings
-T Perform cache read timings
-u Get/set unmaskirq flag (0/1)
-U Obsolete
-v Use defaults; same as -acdgkmur for IDE drives
-V Display program version and exit immediately
-w Perform device reset (DANGEROUS)
-W Get/set drive write-caching flag (0/1)
-x Obsolete
-X Set IDE xfer mode (DANGEROUS)
-y Put drive in standby mode
-Y Put drive to sleep
-z Re-read partition table
-Z Disable Seagate auto-powersaving mode
--dco-freeze Freeze/lock current device configuration until next power cycle
--dco-identify Read/dump device configuration identify data
--dco-restore Reset device configuration back to factory defaults
--dco-setmax Use DCO to set maximum addressable sectors
--direct Use O_DIRECT to bypass page cache for timings
--drq-hsm-error Crash system with a "stuck DRQ" error (VERY DANGEROUS)
--fallocate Create a file without writing data to disk
--fibmap Show device extents (and fragmentation) for a file
--fwdownload Download firmware file to drive (EXTREMELY DANGEROUS)
--fwdownload-mode3 Download firmware using min-size segments (EXTREMELY DANGEROUS)
--fwdownload-mode3-max Download firmware using max-size segments (EXTREMELY DANGEROUS)
--fwdownload-mode7 Download firmware using a single segment (EXTREMELY DANGEROUS)
--fwdownload-modee Download firmware using mode E (min-size segments) (EXTREMELY DANGEROUS)
--fwdownload-modee-max Download firmware using mode E (max-size segments) (EXTREMELY DANGEROUS)
--idle-immediate Idle drive immediately
--idle-unload Idle immediately and unload heads
--Iraw filename Write raw binary identify data to the specfied file
--Istdin Read identify data from stdin as ASCII hex
--Istdout Write identify data to stdout as ASCII hex
--make-bad-sector Deliberately corrupt a sector directly on the media (VERY DANGEROUS)
--offset use with -t, to begin timings at given offset (in GiB) from start of drive
--prefer-ata12 Use 12-byte (instead of 16-byte) SAT commands when possible
--read-sector Read and dump (in hex) a sector directly from the media
--repair-sector Alias for the --write-sector option (VERY DANGEROUS)
--sanitize-antifreeze-lock Block sanitize-freeze-lock command until next power cycle
--sanitize-block-erase Start block erase operation
--sanitize-crypto-scramble Change the internal encryption keys that used for used data
--sanitize-freeze-lock Lock drive's sanitize features until next power cycle
--sanitize-overwrite PATTERN Overwrite the internal media with constant PATTERN
--sanitize-overwrite-passes COUNT Number of overwrite passes from 0 to 7, default 0 means 16 passes
--sanitize-status Show sanitize status information
--security-help Display help for ATA security commands
--set-sector-size Change logical sector size of drive
--trim-sector-ranges Tell SSD firmware to discard unneeded data sectors: lba:count ..
--trim-sector-ranges-stdin Same as above, but reads lba:count pairs from stdin
--verbose Display extra diagnostics from some commands
--write-sector Repair/overwrite a (possibly bad) sector directly on the media (VERY DANGEROUS)
The one piece we are interested in is -E, the “Set cd/dvd drive speed” one.
Additional informations about the functions of these commands are here:
As this page [2] showed, the command to use is this one:
hdparm -E 4 /dev/sr0
First of all, the question everyone cares about:
“Do I need to put this in every time the PC boots, or does it need another command to make it a permanent change?”
I have tested it myself, and it seems like the change is permanent.
It seems to be inconsistent tho. I tried to watch a couple different DVDs and (except the fact that some seem to not play correctly, because they may have different or newer CSS DRM…) sometimes the ROM stays at max speed, so I have to eject the DVD and put it back in…
I have personally put the speed at 2 rather than 4 and it seems like everything is working normally. A National Geographic DVD I had managed to play smoothly at 3x speed on VLC with just minor audio bites.
Whatever number you put in, as long as it’s between 1 and 12, will be a safe number which can be changed at any time by just running the command once more in the Konsole.
I could take a whole booklet to explain everything about the story of this command, but I won’t, that’s what sources are for.
The 4 means “4x”, which is the “base data transfer rate multiplier” [3].
Roughly said: the higher it is, the faster the disk will spin, and the faster the data will be read off of it.
This page says that between 4 and 12 the speed of the disk would be low enough to both be able to read fast enough the needed data, and hear little noise from the ROM.
For how much I dislike LLMs, I also couldn't find the
DIRECT source for the data table it gave me, but it
seems correct, based on what THE OTHER PAGES said,
so since it's pretty and easy to read, I am just gonna
paste it here:
CD-ROM Speeds
The original baseline (1x) for audio CDs was set at 150 Kilobytes per second (KB/s). Every multiple after that simply multiplies this base number.
- 1x = 150 KB/s
- 2x = 300 KB/s
- 4x = 600 KB/s
- 8x = 1,200 KB/s (1.2 MB/s)
- 24x = 3,600 KB/s (3.6 MB/s)
- 52x = 7,800 KB/s (7.8 MB/s) (The practical physical limit for CDs)
DVD-ROM Speeds
DVDs hold much more data and spin much faster. The baseline (1x) for a DVD-ROM is 1.32 Megabytes per second (MB/s), which is roughly equivalent to a 9x CD speed.
- 1x = 1.32 MB/s
- 2x = 2.64 MB/s
- 4x = 5.28 MB/s
- 8x = 10.56 MB/s
- 16x = 21.12 MB/s (The practical physical limit for DVDs due to centrifugal force)
Now, what does /dev/sr0 mean?
It is "the default allocation of the first DVD/CD ROM of the computer.
No matter to which Sata Data port it’s connected to the MOBO[4], it will always be called like that.
I have also found this page, with this command hdparm -E8 /dev/hdc, which talks about PCs with IDE drives instead of SATA drives.
As closure, here’s the Arch Wiki’s page avout CD/DVD ROMs.
I also have to add another piece of information:
Altho I’ll probably never use a PC with Linux with a Floppy Reader (Floppy Disk Drive, FDD) I have to say that these commands won’t help with those, because they just won’t.
Instructions here: Tutorial: how to fix the DVD ROM running at max speed all the time (should work on any distro) - #3 by isaac0clarke
I am mentioning this because Ace TheOcarinaMaker has such PC and he got help from Linux Mint people to fix this.
With that being said, I’ll just dump here a random page which says “the issue was solved”:
It has many of the same commands Ace sent me. I haven’t checked it myself.
I am making this tutorial with the little knowledge I managed to gather because it’s extremely difficult to find any of it online.
.
If I will find more I will write it down as the “answer” to the post, and if I find out that something which I said was wrong, I’ll edit this body of text. ↩︎MOther BOard ↩︎