Obviously my Steam programs and configuration files are in my
home directory, since the updated system comes up icons and all
without re-installing Steam, and can find everything it needs to
run the games. But perhaps there are a few files somewhere else
(/usr?) containing information critical to audio for Steam.
(Side question: is this an acceptable way to upgrade a hard drive?)
I should probably be posting this to the Steam forums, but
most of the denizens there are Windows people so I might be
better off letting you Debian gurus have a go at it first.
TL;DR: Copying an existing /home into a fresh Debian installation
causes audio in Steam games to glitch - but all other sound is OK.
Full description:
I have a machine in the living room that stores MP3s and videos
and serves them to other machines on our network as well as playing
them locally on our TV's big screen. I also play a few Steam games
(e.g. Portal) on it. It's a 2007-vintage machine, but it has 8GB
of RAM and enough CPU power to do the job, and runs the latest
version of Bookworm.
Recently I decided to upgrade its storage capacity, and replaced
its 500GB hard drive (which was pretty large at the time I bought
it) with a 4TB drive. I did an install from scratch using a
network install CD, then copied my /home partition (using rsync)
from the old drive. Everything works great with one exception:
when I fire up Portal the sound gets glitches about once a second.
This only happens with Steam games; I can play MP3s and videos
with mpv and the sound is perfect, as it is when watching YouTube
videos. If I swap the old drive back in everything is fine.
Obviously my Steam programs and configuration files are in my
home directory, since the updated system comes up icons and all
without re-installing Steam, and can find everything it needs to
run the games. But perhaps there are a few files somewhere else
(/usr?) containing information critical to audio for Steam.
Any ideas?
(Side question: is this an acceptable way to upgrade a hard drive?)
Recently I decided to upgrade its storage capacity, and replaced[...]
its 500GB hard drive (which was pretty large at the time I bought
it) with a 4TB drive. I did an install from scratch using a
network install CD, then copied my /home partition (using rsync)
from the old drive.
(Side question: is this an acceptable way to upgrade a hard drive?)
Everything works great with one exception:
when I fire up Portal the sound gets glitches about once a second.
This only happens with Steam games; I can play MP3s and videos
with mpv and the sound is perfect, as it is when watching YouTube
videos. If I swap the old drive back in everything is fine.
What are the old and new hard drive model numbers and specs?
If the old hard drive was spinning rust, it is acceptable to replace it
with a solid state drive. I did it several times in the past. But
nowadays a new machine usually (always?) comes with a SSD, so you
usually don't need to upgrade for performance reasons.
On 2024-04-22 16:50, Jeffrey Walton wrote:
What are the old and new hard drive model numbers and specs?
The old drive is a Western Digital WD5000YS (500GB SATA).
The new drive is a Western Digital Red, WF40EFPX (4TB SATA).
Charlie Gibbs <cgibbs@surfnaked.ca> wrote:
On 2024-04-22 16:50, Jeffrey Walton wrote:
What are the old and new hard drive model numbers and specs?
The old drive is a Western Digital WD5000YS (500GB SATA).
The new drive is a Western Digital Red, WF40EFPX (4TB SATA).
According to my searches, there's no such disk as a WF40EFPX. Are you
sure that's what it is? If by any chance it is a WD40EFRX then that is certainly slower than your old drive, so may cause some problems as suggested.
On 2024-04-22 16:50, Jeffrey Walton wrote:
What are the old and new hard drive model numbers and specs?
The old drive is a Western Digital WD5000YS (500GB SATA).
The new drive is a Western Digital Red, WF40EFPX (4TB SATA).
Both drives are spinning rust. I'm upgrading for the increased
capacity, i.e. to store more MP3s and videos.
Many thanks to all who have replied. When my schedule permits me to continue experimenting, I'm going to try copying /etc from the old drive
to the new one. I've already learned how _not_ to do this:
Boot from the new drive
$ su root
# cd /
# mv etc etc.ori
# rsync -av /mnt/backup/etc .
The second line makes the system fall over and makes logins impossible.
It took a boot from the rescue CD to undo the damage, which fortunately
was easy since the deadly step at least succeeded in backing up /etc.
Next time I'll do it while booted from the old drive.
I doubt the new drive is slower than the old drive:
TL;DR: Copying an existing /home into a fresh Debian installation
causes audio in Steam games to glitch - but all other sound is OK.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 12:07:35 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,061 |
Messages: | 6,416,714 |