воскресенье, 17 мая 2015 г.

Utility to change Intel GPU frequency (Linux)



Ben Widawsky from Open-Source Technology Center of Intel company introduced new experimental utility intel_frequency to change graphics procersors units frequency for Linux.

At the moment, we can change frequency of Intel HD Graphics with the help of built-in interface of linux kernel sysfs, but Ben Widawsky started to work for a reason. He made the interface more convinient and clear to understand.

Program intel_frequency supports reading and showing present min. and max. values, setting up diffrent levels of frequency and also mandatory changing min. and max. values. So this utility doesn't give you some extra features for overlocking if to compare with sysfs.

Source code.

Example of using:

$ sudo intel_frequency --get=cur,min,max,eff
cur: 200 MHz
min: 200 MHz
RP1: 200 MHz
max: 1200 MHz

$ sudo intel_frequency --set min=300
$ sudo intel_frequency --get min
cur: 300 MHz
min: 300 MHz
RP1: 200 MHz
max: 1200 MHz

$ sudo intel_frequency --custom max=900
$ sudo intel_frequency --get max
cur: 300 MHz
min: 300 MHz
RP1: 200 MHz
max: 900 MHz

$ sudo ./tools/intel_frequency --max
$ sudo ./tools/intel_frequency -g
cur: 1200 MHz
min: 1200 MHz
RP1: 200 MHz
max: 1200 MHz