You are not logged in.

#1 2019-10-03 22:41:19

ebopalisesy
Member
Registered: 2019-10-01
Posts: 4

Intel GPU stuck at 100 MHz after resume from sleep

Recently, I've started having a weird issue with my laptop's Intel graphics.  When the laptop first boots, everything works fine and the GPU frequency is set correctly.  However, after putting the system to sleep with systemctl suspend, the GPU frequency is locked at 100 MHz.  I can verify this with intel_gpu_top:

[dylan@elohim ~]$ sudo intel_gpu_top -J
{
	"period": {
		"duration": 1000.334654,
		"unit": "ms"
	},
	"frequency": {
		"requested": 810.728686,
		"actual": 810.728686,
		"unit": "MHz"
	},
	"interrupts": {
		"count": 37.987287,
		"unit": "irq/s"
	},
	"rc6": {
		"value": 56.273008,
		"unit": "%"
	},
	"power": {
		"value": 0.325636,
		"unit": "W"
	},
	"imc-bandwidth": {
		"reads": 281.433893,
		"writes": 91.779710,
		"unit": "MiB/s"
	},
	"engines": {
		"Render/3D/0": {
			"busy": 0.889700,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	}
}^C[dylan@elohim ~]$ systemctl suspend
[dylan@elohim ~]$ sudo intel_gpu_top -J
{
	"period": {
		"duration": 1000.447890,
		"unit": "ms"
	},
	"frequency": {
		"requested": 299.865693,
		"actual": 99.955231,
		"unit": "MHz"
	},
	"interrupts": {
		"count": 8.995971,
		"unit": "irq/s"
	},
	"rc6": {
		"value": 54.995016,
		"unit": "%"
	},
	"power": {
		"value": 0.125493,
		"unit": "W"
	},
	"imc-bandwidth": {
		"reads": 694.165348,
		"writes": 250.103069,
		"unit": "MiB/s"
	},
	"engines": {
		"Render/3D/0": {
			"busy": 3.764892,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Blitter/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"Video/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		},
		"VideoEnhance/0": {
			"busy": 0.000000,
			"sema": 0.000000,
			"wait": 0.000000,
			"unit": "%"
		}
	}
}^C[dylan@elohim ~]$ 

Any ideas what would be causing this, or how to fix it? I've tried manually setting the frequency with intel_gpu_frequency, but it doesn't do anything.

Offline

#2 2019-10-03 23:09:10

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: Intel GPU stuck at 100 MHz after resume from sleep

Welcome to the archlinux forums ebopalisesy.  What was changed recently on the system?
Have you tried reversing those changes?

Offline

#3 2019-10-04 18:10:29

ebopalisesy
Member
Registered: 2019-10-01
Posts: 4

Re: Intel GPU stuck at 100 MHz after resume from sleep

After many downgrades and upgrades, I have isolated the problem to the linux-5.3 upgrade.  linux-5.2.14-arch2-1 doesn't have the problem, but anything after that breaks.  I can keep the kernel at an old version but that isn't really a long term solution.  The processor is a 7th gen Intel i7-7500U with no external graphics.

Last edited by ebopalisesy (2019-10-04 18:45:03)

Offline

#4 2019-10-04 21:00:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: Intel GPU stuck at 100 MHz after resume from sleep

Does it happen w/ "i915.enable_dc=0"? (Even less a solution, but might narrow the cause)

Online

#5 2019-10-05 07:08:10

ebopalisesy
Member
Registered: 2019-10-01
Posts: 4

Re: Intel GPU stuck at 100 MHz after resume from sleep

Yup, upgrading back to 5.3.1-arch1-1-ARCH and adding the command line parameter still causes it to get stuck.

Offline

#6 2019-10-05 07:18:57

ebopalisesy
Member
Registered: 2019-10-01
Posts: 4

Re: Intel GPU stuck at 100 MHz after resume from sleep

Just figured it out - apparently GVT-g is broken with the new kernel.  Removing i915.enable_gvt=1 from my command line fixed it.

Offline

Board footer

Powered by FluxBB