But it's a relatively special environment, so is it worth leaving on the net? I thought it was an article.
CPU: Ryzen5 2600 GPU0: RX570 8GB GPU1: GT645 1GB RAM: DDR4-2400 8GBx2 SSD: 240GB HDD: 1TB+320GB M.B.: Asrock B450 Pro4 PCI-E expansion card: 1000Mbit Ethernet card included with Win10 DSP version Display0: FHD(1920x1080) 21inch Display1: FHC (1920x1080) 11inch (liquid tab) Display2: WQXGA(2560x1600) 10inch Display3: SXGA(1280x1024) 17inch Display4: SXGA(1280x1024) 17inch Display5: 1024x600 7inch (multi-touch compatible)
OS0: Win10Home latest version OS1: Arch Linux latest version
――I wanted to use btrfs. --Because the driver area became messy in the process of increasing GPU1. --Because I couldn't stand the slowness of Win10 installed on the HDD (once booted, it works reasonably well with the power of ReadyBoost, but the slow booting is fatal for a dual boot machine)
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 512M 0 part /boot
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 128G 0 part
├─sda4 8:4 0 32G 0 part
│ └─bcache0 254:0 0 900G 0 disk
│ └─bcache0p1 254:1 0 900G 0 part /
├─sda5 8:5 0 32G 0 part [SWAP]
└─sda6 8:6 0 31.1G 0 part
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 900G 0 part
│ └─bcache0 254:0 0 900G 0 disk
│ └─bcache0p1 254:1 0 900G 0 part /
└─sdb2 8:18 0 31.5G 0 part
sdc 8:32 0 298.1G 0 disk
├─sdc1 8:33 0 256G 0 part
└─sdc2 8:34 0 42.1G 0 part
/ dev / sdb2
(don't forget to install nano
, change password, and install systemd-boot
.)/ dev / sdb2
. Install bcache
or btrfs
.--amdvpu and nvidia are not compatible (for example, nvidia screen cannot be displayed ...), so use amdgpu + nouveau when using them together. When using nvidia, pass either one to qemu. (This setting is TODO)
--Added the following script to / etc / systemd / system /
/etc/systemd/system/vm-network-tap.service
[Unit]
Description=Virtual Machine Network boot script
After=systemd-networkd.service
[Service]
ExecStart=vde_switch -t tap0 -m 666
[Install]
WantedBy=multi-user.target
/etc/systemd/system/start-ksm.service
[Unit]
Description=Start KSM
After=systemd-modules-load.service
[Service]
ExecStart=bash -c 'echo 1 > /sys/kernel/mm/ksm/run'
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
/etc/systemd/system/rx570-ecomode.service
[Unit]
Description=Set TDP 75W for RX570
After=systemd-modules-load.service
[Service]
ExecStart=bash -c 'echo 75000000 > /sys/devices/pci0000\:00/0000\:00\:03.1/0000\:26\:00.0/hwmon/hwmon1/power1_cap'
Type=oneshot
RemainAfterExit=yes
Restart=onfailure
[Install]
WantedBy=multi-user.target
/etc/systemd/system/display-setup.service
[Unit]
Description=Display Replacing Script
After=lightdm.service
[Service]
ExecStart=sudo -u lightdm bash -c 'DISPLAY=:0 xrandr --output DisplayPort-0 --off --output DisplayPort-1 --mode 1920x1080 --pos 1024x0 --rotate normal --output DisplayPort-2 --mode 1280x1024 --pos 4864x1656 --rotate normal --output HDMI-A-0 --mode 2560x1600 --pos 1024x1080 --rotate normal --output DVI-D-0 --mode 1280x1024 --pos 3584x1656 --rotate normal --output DVI-I-1-1 --off --output HDMI-1-2 --mode 1024x600 --pos 0x3160 --rotate normal --output DP-1-4 --mode 1920x1080 --pos 1024x2680 --rotate normal'
Restart=onfailure
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=graphical.target
--Enable these four, restart and check if you are throwing an error.
mdkir /srv/vm-imgs
--chattr + C / srv / vm-imgs
(.img, .cow dedicated storage)
--kvm's nested virtualization doesn't seem to work with ryzen at the moment.Coming soon... What to do after this
--qemu GPU pass-through settings (for using CUDA) --Settings around the pen tab (Multi-display takes time and effort to set coordinates) --Settings around the touch screen (same as above, but the coordinates are on the screen instead of the pen, so setting is easy) --awesomewm settings