设备#

PC Master Race

  • 操作系统: Debian 13 KDE
  • CPU: AMD Ryzen 5 3600
  • GPU: AMD Radeon RX 6800 16 GB
  • 内存: 32 GB (4 x Geil Super Luce 8 GB DDR4 3200MHz)
  • NVMe: 1 TB (2 x Adata XPG Spectrix S40G 512 GB)
  • 主板: ASUS TUF Gaming X570-PRO (Wi-Fi)
  • 鼠标: Logitech G305
  • 键盘: HyperX Alloy Origins Core (配Razer Pink PBT键帽)
  • 耳机: Audio-Technica ATH-M50x (配FiiO BTA10) 和 Sony Inzone H9

Raspberry Pi 4 Model B

Apple MacBook Air M1 2020

Samsung Galaxy S22 Ultra

BIOS配置#

  • 恢复默认设置
  • 将内存设置为3200MHz
  • 启用Resizable Bar
  • 启用虚拟化
  • 启用Secure Boot
  • 禁用CSM
  • 调整风扇速度以最大程度降低噪音

Linux相关#

NVMe设备的快速加密#

sudo dmsetup table

sudo cryptsetup --perf-no_read_workqueue --perf-no_write_workqueue --allow-discards --persistent refresh luks-blablabla

GNOME VRR和分数缩放#

gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate','scale-monitor-framebuffer']"

GNOME扩展#

Steam调整#

  • 在Steam设置中启用Steam Play
  • 将启动选项(每个游戏)设置为:
gamemoderun %command%

在CachyOS中:

game-performance %command%

Half-Life/Portal/Counter-Strike#

  • 启动选项:
-vulkan -novid -fullscreen

Sonic Adventure#

https://gamebanana.com/tuts/16934

GTA IV#

https://github.com/ThirteenAG/GTAIV.EFLC.FusionFix

  • 启动选项:
WINEDLLOVERRIDES="dinput8=n,b" %command%

Git#

git config --global color.ui true

git config --global user.name "astrovm"

git config --global user.email "[email protected]"

ssh-keygen -t ed25519 -C "[email protected]"

cat ~/.ssh/id_ed25519.pub

NetworkManager MAC地址随机化#

sudo nvim /etc/NetworkManager/conf.d/99-randomize-mac-address.conf
[device-mac-randomization]
wifi.scan-rand-mac-address=yes

[connection-mac-randomization]
ethernet.cloned-mac-address=random
wifi.cloned-mac-address=random
sudo systemctl restart NetworkManager

蓝牙重启#

sudo rfkill unblock all
sudo rmmod btusb
sudo modprobe btusb

Brave扩展#