r0l1 / razer_blade_14_2016_acpi_fix

ACPI firmware fix for the Razer Blade 14 2016
36 stars 7 forks source link

Doesn't work after BIOS update #6

Open spacepluk opened 7 years ago

spacepluk commented 7 years ago

Razer released a new BIOS version that is supposed to reduce fan noise but I think it broke your workaround.

r0l1 commented 7 years ago

Will check that...

r0l1 commented 7 years ago

I own a Razer Blade 14” (early 2016) - GTX970M and this ACPI fix was made for this kind of model. There is no BIOS update for the early 2016 model. Did this fix work for your Razer before the update? Can you confirm, that you have the late 2016 model?

Please extract the ACPI tables with the following script and upload them here. You might want to strip your serial number...

kachunkachunk commented 7 years ago

I have a late-2016 Blade with the GTX 1060. I'm not sure if it's working for me either, but at least one other person on Reddit reports it works for them despite the BIOS update. FWIW I'm attaching my ACPI dump. I can't see where my system serial is being dumped either, so I can't scrub that. Not sure if it matters to me anyway.

acpi_tables.tar.gz

For additional background, I'm just trying to get Manjaro Live CD to boot. The system hangs, and I think this override might fix that.

r0l1 commented 7 years ago

Will have a look at your ACPI tables tomorrow. Ah the good old Manjaro ^^ Was a joy founding it...

r0l1 commented 7 years ago

@kachunkachunk your SSDT file seams fine. But it's still the original. Didn't you apply the patch?

kachunkachunk commented 7 years ago

Oh, no - that was indeed just stock Kubuntu on the same laptop. I didn't pursue installing the patch on it, as I just wanted to incorporate it into the Manjaro installer by rebuilding its ISO and install that instead. Sorry, I figured the ACPI tables were more to help you see if there was anything crucial to know about from the newer GTX 1060 blades.

r0l1 commented 7 years ago

@kachunkachunk Oh ok. Thanks for sharing it. The patch should also work fine for the newer GTX 1060 blades.

@spacepluk Could you share your ACPI tables please? Otherwise I can't figure out your problem.

spacepluk commented 7 years ago

@m4ng0squ4sh your patch worked like a charm on my late 2016 blade with the stock BIOS. But after upgrading to the new one the problem came back.

I'm trying to extract the acpi tables using the script but iasl is segfaulting for some reason :(

https://gist.github.com/spacepluk/52dd167aa9d435c83aca20d8bf87b7e8

r0l1 commented 7 years ago

Hmm, might be the new iasl compiler? Suddenly it also crashes on my system. Can you edit line 25 of the script and change it to:

iasl -e "$TMPDIR"/*.dat -d "$TMPDIR"/SSDT5.dat

I only need to have a look at the SSDT5 file. Decompilation should work with this temporary fix.

Edit: Can you check if the SSDT was overwritten as described in the README? I think I might now what causes the problem.

spacepluk commented 7 years ago

Excellent! that fixed it :) There you go.

acpi_tables.tar.gz

r0l1 commented 7 years ago

I checked your SSDT5 file and applied the patch. Seams to be fine. Can you build your custom razer_acpi_fix.img, install it, reboot and post the output of:

dmesg | grep ACPI | grep override
spacepluk commented 7 years ago

Sorry it took me so long. There you go

[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
edlee123 commented 7 years ago

Did we figure this in the end? I also have a late-2016 Blade with the GTX 1060.. get the same as above for dmesg | grep ACPI | grep override.

I'm running on linuxmint 18 (Ubuntu xenial), anyone have tips for this? I tried putting the initrd /razer_acpi_fix.img in my grub before the ramdisk

kachunkachunk commented 7 years ago

It's all working fine for me at this point. Is it locking up in late-boot for you?

$ dmesg | egrep 'ACPI.*override'
[    0.000000] ACPI: Table Upgrade: override [SSDT-SaSsdt- SaSsdt ]
[    0.000000] ACPI: SSDT 0x000000003A8DE9E0 Physical table override, new table: 0x000000003A176000
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
edlee123 commented 7 years ago

Ya still have it lock up when I boot with Intel mode. then have to log in safe mode to switch it back.

So far I get [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ9 used by override.

Any differences I should heed to do this in Ubuntu vs Arch? Would appreciate any ubuntu instructions if anyone here has been successful with it

kachunkachunk commented 7 years ago

Hmm, not to my knowledge, to be quite honest! I had Kubuntu 16.10 going for a short while, but it would largely just involve running m4ng0squ4sh's fix, and chaining it somewhere in the initrd string for grub2. Nothing special about it, really.

Maybe check this to see if you can get it working by incorporating it into /etc/grub/10_linux? There are general Linux instructions there (also Manjaro/Ubuntu examples via pastebin submissions).

You can also try sharing any applicable configs on pastebin. But whatever you do for grub2's config, run update-grub when you're done and see if the system boots fine.

But yeah, it's possible the fix just doesn't load/work for you and all this is moot. Very curious why that is, though.

edlee123 commented 7 years ago

Ah thank you for the link, i'll have a go over the weekend.

spacepluk commented 7 years ago

This is working again for me.