Here is a comprehensive guide to overclocking the RAM on a Steam Deck, tailored to both Micron MT62F1G32D4DR-031 WT and Samsung K3KL3L30CM-MGCT RAM modules. This guide will provide you with detailed information on adjusting timings, increasing memory frequency, and ensuring system stability.
Important Disclaimer
Overclocking your Steam Deck's RAM can lead to system instability, crashes, or potential damage to your device. Proceed with caution and at your own risk. This guide is for advanced users who understand the risks involved.
Prerequisites
- A Steam Deck with either Micron MT62F1G32D4DR-031 WT or Samsung K3KL3L30CM-MGCT RAM modules.
- Updated SteamOS.
- Decky Loader installed.
- PowerTools plugin for Decky Loader.
- Konsole (terminal) accessible in Desktop Mode.
- An external keyboard and mouse (recommended for easier navigation).
Step-by-Step Guide
1. Preparation
- Backup Data: Ensure all important data is backed up.
- Update SteamOS: Make sure your Steam Deck is running the latest version of SteamOS.
- Install Decky Loader: If not already installed, follow the instructions on the official GitHub page.
- Install PowerTools Plugin:
- Switch to Desktop Mode.
- Open Decky Loader.
- Go to the "Plugins" tab and search for "PowerTools". Install it.
2. Understanding RAM Timings
Before proceeding, it's crucial to understand the following RAM timings:
- tCL (CAS Latency): The delay in clock cycles between a read command and the moment when the data is available on the data output pins.
- tRCD (RAS to CAS Delay): The delay between activating a row and accessing a column within that row.
- tRP (Row Precharge Time): The time it takes to close one row and open another.
- tRAS (Row Active Time): The minimum time a row must be open before it can be closed.
- tRFC (Refresh Cycle Time): The time required to refresh a memory module.
- tWR (Write Recovery Time): The time required for a write operation to complete before a row can be precharged.
- tRRD (Row to Row Delay): The minimum delay between successive activate commands to different rows within the same bank group.
- tWTR (Write to Read Delay): The delay between the last write operation and the next read operation to the same internal bank.
- tRTP (Read to Precharge Time): The minimum time required for a read command to complete before a precharge command can be issued.
- tFAW (Four Activate Window): The time required to activate four rows within a specific time window.
- tCWL (CAS Write Latency): Similar to tCL, but for write operations.
3. Overclocking the RAM
For Micron MT62F1G32D4DR-031 WT (BIOS F7A0120)
- Switch to Desktop Mode.
- Open Konsole (Terminal).
- Disable Read-Only Filesystem:
sudo steamos-readonly disable
- Backup Current Settings:
sudo ryzenadj --save-current-settings /home/deck/micron_original_settings.txt
- Create a Settings File:
- Apply Timings and Frequency:
sudo ryzenadj --set-settings /home/deck/micron_oc_timings.txt
sudo ryzenadj --mem-frequency=6800
For Samsung K3KL3L30CM-MGCT (BIOS F7A0114)
- Switch to Desktop Mode.
- Open Konsole (Terminal).
- Disable Read-Only Filesystem:
sudo steamos-readonly disable
- Backup Current Settings:
sudo ryzenadj --save-current-settings /home/deck/samsung_original_settings.txt
- Create a Settings File:
- Apply Timings and Frequency:
sudo ryzenadj --set-settings /home/deck/samsung_oc_timings.txt
sudo ryzenadj --mem-frequency=6700
4. Testing for Stability
- Reboot into Gaming Mode.
- Run Stress Tests:
- Use demanding games or applications to test stability.
- Monitor for crashes, graphical glitches, or freezes.
- Use Memtest:
- Install and run the Memtest plugin from Decky Loader for extended memory testing.
5. Making Changes Persistent
- Create a Systemd Service:
- For Micron:
sudo nano /etc/systemd/system/ryzenadj-ram-oc.service
Insert the following content:
[Unit]
Description=Apply Ryzenadj RAM Overclock Settings
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/bin/sudo /usr/bin/ryzenadj --set-settings /home/deck/micron_oc_timings.txt --mem-frequency=6800
[Install]
WantedBy=multi-user.target
- For Samsung:
sudo nano /etc/systemd/system/ryzenadj-ram-oc.service
Insert the following content:
[Unit]
Description=Apply Ryzenadj RAM Overclock Settings
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/bin/sudo /usr/bin/ryzenadj --set-settings /home/deck/samsung_oc_timings.txt --mem-frequency=6700
[Install]
WantedBy=multi-user.target
- Reload Systemd Daemon:
sudo systemctl daemon-reload
- Enable the Service:
sudo systemctl enable ryzenadj-ram-oc.service
- Start the Service:
sudo systemctl start ryzenadj-ram-oc.service
- Re-enable Read-Only Filesystem:
sudo steamos-readonly enable
6. Reverting Changes
If you encounter issues, you can revert to the original settings:
- Disable Read-Only Filesystem:
sudo steamos-readonly disable
- Apply Original Settings:
- For Micron:
sudo ryzenadj --set-settings /home/deck/micron_original_settings.txt
sudo ryzenadj --mem-frequency=6400
- For Samsung:
sudo ryzenadj --set-settings /home/deck/samsung_original_settings.txt
sudo ryzenadj --mem-frequency=6400
- Re-enable Read-Only Filesystem:
sudo steamos-readonly enable
Conclusion
This guide provides a detailed walkthrough for overclocking the RAM on your Steam Deck, tailored to both Micron and Samsung RAM modules. Remember to proceed with caution, test thoroughly, and revert changes if