近日瞅到老外给出了GNU/Linux 4.15对Intel Processor启用睿频的方法。

试了一下,发现居然能顺手治好Debian Kernel下无法开启Mesa OpenGL的问题。

仅此记录。


1
2
#!/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable"

1
2
3
watch "cat /proc/cpuinfo | grep MHz"
for i in `seq 1 $(cat /proc/cpuinfo | grep "physical id" |wc -l)`;
do dd if=/dev/zero of=/dev/null & done

Screenfetch Output:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sophie@ThinkPad-Yang:~$ neofetch
OS: Deepin 15.6 Beta x86_64
Model: 32493HC ThinkPad X201
Kernel: 4.15.0-21deepin-generic
Uptime: 5 mins
Packages: 2404
Shell: bash 4.4.12
Resolution: 1280x800
DE: Deepin
WM: Mutter(DeepinGala)
Theme: VimixLight-Doder [GTK2/3]
Icons: Paper [GTK2/3]
Terminal: deepin-terminal
Terminal Font: Droid Sans Mono 11
CPU: Intel i3 M 350 (4) @ 2.266GHz
GPU: Mesa Intel Ironlake Mobile
Memory: 1535MiB / 3743MiB