Skip to content

Commit d41acc1

Browse files
committed
Update README.md
1 parent 4022848 commit d41acc1

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You might want to google `How to make custom kernel in <distro>` to get the pack
6464
3. Edit `Makefile` and change `EXTRAVERSION` to add something. For example, "EXTRAVERSION = \<yourname>".
6565

6666
4. (You might want to see the next subtopic before doing this) Now run `make xconfig`. Now a lot of optimizations are
67-
possible
67+
possible.
6868
Here, many dead codes and modules can be removed and enabled. Let's go the safe road for now.
6969
- Now, one of the best things you can do is no longer build for a generic kernel. Select
7070
```markdown
@@ -180,9 +180,9 @@ non-bootable.
180180
corruption as the pending blocks are supposed to make it to the permanent
181181
storage._ [man 5 btrfs](https://btrfs.readthedocs.io/en/latest/btrfs-man5.html).
182182

183-
2. `sudo systemctl daemon-reload`
183+
2. `sudo systemctl daemon-reload`.
184184

185-
3. `sudo systemctl enable fstrim.timer`
185+
3. `sudo systemctl enable fstrim.timer`.
186186

187187
## Changing boot parameters
188188

@@ -204,9 +204,9 @@ OR
204204
GRUB_CMDLINE_LINUX="... rhgb quiet mitigations=off nowatchdog processor.ignore_ppc=1 split_lock_detect=off"
205205
```
206206
207-
3. Also, edit `GRUB_TIMEOUT=5` to `GRUB_TIMEOUT=1.`
207+
3. Also, edit `GRUB_TIMEOUT=5` to `GRUB_TIMEOUT=1`.
208208
209-
4. `sudo grub2-mkconfig -o /etc/grub2-efi.cfg`
209+
4. `sudo grub2-mkconfig -o /etc/grub2-efi.cfg`.
210210
211211
OR
212212
@@ -252,7 +252,7 @@ If you have 8GB or more ram, you might benefit from it; otherwise, leave it as i
252252
253253
1. To see current swappiness, enter `cat /proc/sys/vm/swappiness`; it should print `60`; we want to make it 10.
254254
255-
2. `sudo gedit /etc/sysctl.conf`
255+
2. `sudo gedit /etc/sysctl.conf`.
256256
257257
3. Enter `vm.swappiness=10` and reboot; now step 1 should print 10.
258258
@@ -266,7 +266,7 @@ gets [fixed](https://www.phoronix.com/scan.php?page=article&item=linux511-amd-pa
266266
267267
1. Run `cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor` to see your current governor.
268268
269-
2. `echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor`
269+
2. `echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor`.
270270
271271
This setting most likely will not persist during the next boot; I like to change it manually rather than making a
272272
systemd service (I am a laptop, and it gets hot). You might want to google how to make it persistent for your distro
@@ -310,7 +310,7 @@ the OS (especially AMD):
310310
sudo cat /sys/kernel/debug/dri/1/amdgpu_pm_info
311311
```
312312
313-
3. Now set everything to high:
313+
3. Now set everything to `high`:
314314
315315
```shell
316316
sudo su
@@ -327,7 +327,7 @@ distro-specific settings or blogs or writeup that other people have done that de
327327
328328
What has worked for me:
329329
330-
**1.** Open `NVIDIA X Settings` → `PRIME profiles` → set to `Performance Mode`
330+
**1.** Open `NVIDIA X Settings` → `PRIME profiles` → set to `Performance Mode`.
331331
332332
**2.** On laptops, NVIDIA seems to limit the wattage available by more than half; you can check it by running:
333333
`nvidia-smi -q | grep -i "Power Limit" -A4`:
@@ -382,7 +382,7 @@ $ nvidia-smi -q | grep -i "Power Limit" -A4
382382
## Some other tweaks
383383
384384
- [ArchWiki/Improving performance](https://wiki.archlinux.org/index.php/Improving_performance)
385-
OR [ArchWiki/Gaming/Improving performance](https://wiki.archlinux.org/title/Gaming#Improving_performance)
385+
OR [ArchWiki/Gaming/Improving performance](https://wiki.archlinux.org/title/Gaming#Improving_performance).
386386
387387
- Disabling `Cool'n'Quiet` or `speedstep` or `PowerNow!` from bios (will cause heat up on laptops, only enable it during
388388
gaming). I have had games that boost high for the initial few minutes, then the system heats up followed by
@@ -391,18 +391,17 @@ $ nvidia-smi -q | grep -i "Power Limit" -A4
391391
- Check other BIOS features; they vary from system to system but should give a boost in performance.
392392
Eg- RAM XMP, Resizable Bar, etc. I also have seen fan options like - silent, balanced, performance, turbo, etc.
393393
394-
- Using `X` instead of `Wayland` (may vary game to game)
394+
- Using `X` instead of `Wayland` (may vary game to game).
395395
396396
- Using `Opengl` backend in games instead of `Vulkun` (may vary game to game). With Proton (aka steam) you might want to
397-
try
398-
[GloriousEggroll](https://github.com/GloriousEggroll/proton-ge-custom)
397+
try [GloriousEggroll](https://github.com/GloriousEggroll/proton-ge-custom).
399398
400399
## Tools
401400
402401
For this section I am only considering GUI like tools for now,
403402
CLIs are plenty (including the ones I made [for dell](https://github.com/sn99/DellG5SE-Linux)).
404403
405-
- [volt-gui](https://github.com/pythonlover02/volt-gui) - AMD Adrenaline / NVIDIA Settings Linux Alternative
404+
- [volt-gui](https://github.com/pythonlover02/volt-gui) - AMD Adrenaline / NVIDIA Settings Linux Alternative.
406405
407406
## Hardware
408407

0 commit comments

Comments
 (0)