Skip to content

Commit ae787bd

Browse files
committed
add zen kernel for game part
1 parent 008db17 commit ae787bd

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

docs/play&office/play.md

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# 娱乐软件
22

3+
群主的电脑配置如下,供参考,本节中所有主观的体验均以此配置为准。
4+
5+
```bash
6+
CPU: Intel i7-6700K (8) @ 4.200GHz
7+
GPU: NVIDIA GeForce GTX 1070
8+
Memory: 32GB 2666
9+
Disk: PLEXTOR PX-1TM9PeG
10+
```
11+
12+
## 性能提升
13+
314
在游戏之前,如果有强烈的性能需要,可先确保 cpu 处于性能模式。在终端中,输入下列代码:
415

516
```bash
@@ -14,15 +25,6 @@ echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governo
1425
echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
1526
```
1627

17-
群主的电脑配置如下,供参考,本节中所有主观的体验均以此配置为准。
18-
19-
```bash
20-
CPU: Intel i7-6700K (8) @ 4.200GHz
21-
GPU: NVIDIA GeForce GTX 1070
22-
Memory: 32GB 2666
23-
Disk: PLEXTOR PX-1TM9PeG
24-
```
25-
2628
## 网游网络加速
2729

2830
对于在 linux 上玩网游,网络加速一直是一个难题,尤其是在玩一些外服网游的时候。这里提供一些思路来在 linux 下对网游加速。
@@ -149,3 +151,17 @@ sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnu
149151
## 性能监控
150152

151153
和微星的 Afterburner 软件中性能显示的部分类似,linux 上也有一款同类软件可以监控游戏中的电脑性能,名为[MangoHud](https://github.com/flightlessmango/MangoHud)。使用方式可参见此项目的 readme。此外,官方提供图形化的参数设置软件 [GOverlay](https://github.com/benjamimgois/goverlay#arch--manjaro--other-arch-derivatives),可以自行选择安装。
154+
155+
## 可选内核更换
156+
157+
一般来说,采用了 fsync 的 patch 的内核游戏性能会更好。尤其在一些采用.Net 的 wine 游戏中,fsync 会有明显的性能提升[[1]](https://github.com/ValveSoftware/Proton/issues/3706#issuecomment-636632984)。目前 Linux 内核并没有加入 fsync 功能,可以更换 zen 内核。
158+
159+
```bash
160+
sudo pacman -S linux-zen linux-zen-headers
161+
```
162+
163+
安装完毕后重新更新一下 grub 即可。
164+
165+
```bash
166+
sudo grub-mkconfig -o /boot/grub/grub.cfg
167+
```

0 commit comments

Comments
 (0)