Code Monkey home page Code Monkey logo

razer_blade_14_2016_acpi_fix's Introduction

Razer Blade 14 2016 ACPI Firmware Fix

This repository contains an ACPI fix for the Razer Blade 14 2016. If the discrete Nvidia GPU is switched off before starting Xorg or Wayland, then the system freezes. The only possible solution is to manually disable/enable the discrete card after starting the graphical session. With this SSDT fix the system works as expected and system lockups due to power settings of the discrete GPU are not more present.

Installation

The build process requires iasl and cpio. Root privileges are required for the build process, because the ACPI tables of the local machine are extracted on the fly.

sudo make all
sudo make install

This will compile and install the SSDT fix to the file /boot/razer_acpi_fix.img.

Final Configuration

Lastly, configure the bootloader to load your CPIO archive. For example, using Systemd-boot, /boot/loader/entries/arch.conf might look like this:

title	 Arch Linux
linux	 /vmlinuz-linux
initrd   /razer_acpi_fix.img
initrd	 /initramfs-linux.img
options  root=PARTUUID=ec9d5998-a9db-4bd8-8ea0-35a45df04701 resume=PARTUUID=58d0aa86-d39b-4fe1-81cf-45e7add275a0 ...

Reboot and verify if the SSDT was overwritten:

$ dmesg | grep ACPI | grep override
[    0.000000] ACPI: Table Upgrade: override [SSDT-SaSsdt- SaSsdt ]
[    0.000000] ACPI: SSDT 0x000000003A882990 Physical table override, new table: 0x000000003A125000

Hints

Always disassemble with externs included:

iasl -e *.dat -d SSDT5.dat

Links

razer_blade_14_2016_acpi_fix's People

Contributors

r0l1 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.