PRIME dynamic GPU switching does not turn off the dedicated GPU until after a suspend-resume cycle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have a HP Envy 14 laptop with a Intel Ironlake / AMD 5650m switchable graphics.
It is correctly detected and configured as such using PRIME/runpm/
The thing that is not working properly is that the discrete GPU is not automatically switched off when not in use. If I cat /sys/kernel/
0:DIS: :DynPwr:
1:IGD:+
2:DIS-Audio: :Pwr:0000:01:00.1
Meaning that the dGPU is on, but should be turned off when not in use, but it never happens despite the fact that the dGPU is not in use. As a result, battery life decreases and temperature and power consumption increases notably.
What is weird, is that if the notebook goes through a suspend - resume cycle, PRIME starts to work as expected. After resuming, cat /sys/kernel/
0:DIS: :DynOff:
1:IGD:+
2:DIS-Audio: :Off:0000:01:00.1
and only goes to DynPwr when I use the dGPU through DRI_PRIME=1. It goes back to DynOff after some seconds without dGPU usage. This "solution" only last until next reboot.
Is there anything I can do in order to make PRIME switch off my dGPU automatically without going through a suspend-resume cycle?
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-20-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/pcmC0D0p: nicolas 2405 F...m pulseaudio
CurrentDesktop: Unity
Date: Sat Mar 29 14:23:38 2014
HibernationDevice: RESUME=
InstallationDate: Installed on 2013-09-23 (186 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20130923.1)
MachineType: Hewlett-Packard HP ENVY 14 Notebook PC
ProcFB:
0 inteldrmfb
1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.126
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2014-03-28 (0 days ago)
dmi.bios.date: 12/01/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.26
dmi.board.
dmi.board.name: 1436
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 59.24
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP ENVY 14 Notebook PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
This change was made by a bot.