This tutorial shows you 'How to power off dedicated graphics card in Fedora' on new laptops and PCs having dual graphics.
Many a time Fedora uses only the Integrated graphics housed inside intel chipset.
But both dedicated ( ATI Radeon or Nvidia ) and integrated (intel's) are always ON thus draining the power and overheating the machine all the time.
Steps :
- Open Terminal and type
sudo -i
"sudo -i" is used to grand root permission
Enter password when prompted
Enter password when prompted
- now run
cat /sys/kernel/debug/vgaswitcheroo/switch
- you will get output as
- 0:IGD:+:Pwr:0000:00:02.0
- 1:DIS: :Pwr:0000:01:00.0
IGD = intel graphics card , internal
DIS = discrete gd , like ati radeon or nvidia
+ sign shows that only intel is using
Pwr shows both Graphics devices are powered on
- now run
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
echo writes OFF to switch script which then offs gd which is not in use
now again run
cat /sys/kernel/debug/vgaswitcheroo/switch
- you will get output as
- 0: IGD: + :Pwr:0000:00:02.0
- 1: DIS: :Off:0000:01:00.0
================================================================================
To make this permanent
run in terminal
gedit /etc/rc.d/rc.local
and add this to the file
#! /bin/bash
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
save file
and run in terminal
chmod +x /etc/rc.d/rc.local
No comments:
Post a Comment