You are not logged in.

#1 2019-11-20 14:22:07

machinedgod
Member
Registered: 2016-03-07
Posts: 24

[SOLVED] ACPI errors (?) cause huge slowdowns on Lenovo Legion Y740

Hi all,
running any game with `primusrun` works very well for about 4-5 minutes, then this output hits the log (dmesg -w) and the super-smooth framerate dips into 0.5FPS area.

[41725.824040] mce: CPU7: Package temperature/speed normal
[41725.824042] mce: CPU6: Package temperature/speed normal
[41725.824043] mce: CPU1: Package temperature/speed normal
[41725.824043] mce: CPU0: Package temperature/speed normal
[41725.824045] mce: CPU9: Package temperature/speed normal
[41725.824046] mce: CPU3: Package temperature/speed normal
[41725.824048] mce: CPU5: Package temperature/speed normal
[41725.824053] mce: CPU10: Package temperature/speed normal
[41725.824056] mce: CPU11: Package temperature/speed normal
[41725.824061] mce: CPU4: Package temperature/speed normal
[41725.824063] mce: CPU2: Package temperature/speed normal
[41725.824065] mce: CPU8: Package temperature/speed normal
[41729.479019] mce: CPU3: Core temperature above threshold, cpu clock throttled (total events = 489)
[41729.479020] mce: CPU9: Core temperature above threshold, cpu clock throttled (total events = 489)
[41729.480016] mce: CPU3: Core temperature/speed normal
[41729.480017] mce: CPU9: Core temperature/speed normal
[41742.184036] mce: CPU6: Core temperature above threshold, cpu clock throttled (total events = 6156)
[41742.184036] mce: CPU0: Core temperature above threshold, cpu clock throttled (total events = 6156)
[41742.190030] mce: CPU6: Core temperature/speed normal
[41742.190031] mce: CPU0: Core temperature/speed normal
[42001.493872] ACPI Error: Needed [Integer/String/Buffer], found [Reference] 000000005cfb35d7 (20190703/exresop-388)
[42001.493875] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [And] (20190703/dswexec-424)
[42001.493878] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._Q20 due to previous error (AE_AML_OPERAND_TYPE) (20190703/psparse-529)
[42007.947439] ACPI Error: Needed [Integer/String/Buffer], found [Reference] 0000000020ea3c16 (20190703/exresop-388)
[42007.947443] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [And] (20190703/dswexec-424)
[42007.947446] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._Q20 due to previous error (AE_AML_OPERAND_TYPE) (20190703/psparse-529)
[42028.686585] ACPI Error: Needed [Integer/String/Buffer], found [Reference] 000000005cfb35d7 (20190703/exresop-388)
[42028.686588] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [And] (20190703/dswexec-424)
[42028.686591] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._Q20 due to previous error (AE_AML_OPERAND_TYPE) (20190703/psparse-529)
[42082.596362] ACPI Error: Needed [Integer/String/Buffer], found [Reference] 0000000020ea3c16 (20190703/exresop-388)
[42082.596366] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [And] (20190703/dswexec-424)
[42082.596369] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._Q20 due to previous error (AE_AML_OPERAND_TYPE) (20190703/psparse-529)

I'm not entirely sure what is going on, but so far i tested with two games (FortressCraft and Satellite Reign) which are both, I believe, Unity Engine games.

I didn't search much before posting here because I'm hoping for someone to point me in the right direction; I don't have even slightest idea where to look, and the other "ACPI error" topics have led me to believe this is a BIOS bug that I can't do anything about. I have ran into this:
https://forums.lenovo.com/t5/ThinkPad-T … -p/4237795
but I don't know if it applies.

I tried to keep this tl:dr; as much as I could. Thanks for your time.


Update:
I have found this repository: https://github.com/erpalma/throttled
If I'm to believe it, its an Intel bug that needs to be fixed, and it showed me that there's a community package for fixing this issue on other Lenovo laptops in Arch. I've tested the situation using suggested `s-tui` software before and after running the service.
Before, it would get my CPU temperature up to 80C and above.
After, temperature isn't increasing over 70C and fans are silent (previously, they sounded like jet engines).

I am not entirely sure whether this actually fixes the problem or not, and if its even something I should be doing, but I am assuming that lower temperature is good. It might be that this has nothing to do with ACPI errors at all.

Update 2:
Tested `Satellite Reign` again after reboot and throttling service running. No change :-( 5 minutes in, slideshow again.


Solution/Workaround:
I've managed to get it done, but not with Bumblebee.
Basically, go to BIOS and turn the setting to "Discrete graphics" rather than "Switchable", then follow "Nvidia" tutorial on Arch Wiki. Don't forget the kernel modesetting parameter. Afterwards, either run `nvidia-xconfig` to generate xorg.conf, or follow https://wiki.archlinux.org/index.php/NV … tiple_GPUs
I've tried few games for a while, and while temperature seems to average around 85-90C, there's no slowdowns.

Addendum: this solution originally made Steam not run (failure to initialize rendering), but Steam/Troubleshooting has a quick working solution - install lib32-nvidia-utils and voila.

Last edited by machinedgod (2019-11-21 02:09:29)

Offline

Board footer

Powered by FluxBB