Razer Blade is Razer's line of gaming laptops. There is currently a 13" model (Razer Blade Stealth), 15" model (Razer Blade), and a 17" model (Razer Blade Pro).
Due to the proprietary SBUI trackpad on the 17" model, it will be extremely difficult to get it to work without extensive USB protocol reversing.
Before uninstalling windows make sure to update the bios. It is easier to install the Razer drivers with windows. You can find updates on the support page related to your model.
If you are for some reason unable to boot into windows to perform the update, there is still a patch that you an apply to your kernel build to get things working. However, this will unlikely be maintained due to the availability of the BIOS patch.
The normal installation process works in general with the exceptions enumerated below.
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.
In the 2013 version the touchpad works only on Linux 4.0+ without libinput-based X.Org input driver (xf86-input-libinput) thanks to Andrew Duggan's work.
In the 2018 version the touchpad works with the vanilla kernel with BIOS version 1.05.
In the 2019 version the touchpad works with the vanilla kernel and BIOS version 1.02.
While the touchscreen will provide basic functionality out of the box, it is best to useAUR to configure multitouch gestures. These include two-finger scrolling, right-click, etc.
Issues with screen flickering seem to be resolved by changing AccelMethod to uxa as described in the SNA issues section.
# cat >/etc/X11/xorg.conf.d/20-intel.conf Section "Device" Identifier "Intel Graphics" Driver "intel" Option "AccelMethod" "uxa" #Option "AccelMethod" "sna" EndSection
If you experience screen tearing while scrolling add the following line to the configuration above:
Option "TearFree" "true" and set the "AccelMethod" to "sna" and comment out "uxa".
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. However there is a ACPI DSDT fix available which fixes this problem. Check the repository for more information.
On the latest 'KabyLake' Intel CPU, if you also have a dual-boot with Windows, you might experience some audio issues when booting to Windows and restarting on Linux. The problem is no sound from the speakers and some cracking noises on the headphones—especially when using the touchpad. No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).
The bios does not allow changing signing keys. Therefor it is not possible to setup a full secure boot system on most Razer hardware. Tested on 2021 Razer Blade Stealth 13" but based on forum posts and research it appears to apply to many other Razer laptops. We tested appending or changing keys using efitools KeyTool.efi or the efi-updatevars tool, neither work.
- If fan is running when executing ``systemctl suspend`` the fan will stay running constantly. Tested on Razer Blade Stealth 13" 2021
- Touchpad activates when typing. Despite settings in the window manager to ignore touchpad when typing this still happens often. No easy resolution is available and one probalby needs to disable the right half of the touch pad as nearly every Razer laptop positions the touchpad off-center from the space bar causing unwanted touches very often from the right side
- Location of right click is uncomfortable on nearly every razer laptop. There is no known way with libinput or synaptics drivers to change the x,z division of the mousepad so that it better aligns with hand placement. Currently one must take their right hand entirely off the keyboard to get to the right mouse button. A workaround can be to turn on left-handed mode (if you are right handed) so that the secondary click is the far left insteadd of far right.
Webcam power drain
- The webcam is constantly consuming power regardless of if it is in use or not as seen in `powertop`. The recommended methods for disabling the webcam work to disable the webcam but power drain remains constant. Those methods include added `blacklist uvcvideo` to `/etc/modprobe.d/blocklist.conf` and `echo "<usb-id>" > /sys/bus/usb/drivers/unbind`. We observed that the only way to get power drain to reduce is to first fully load uvcvideo module after system has completely started and then after that unload and unbind.
SwitchBlade UI not working (2013)
- SwitchBlade UI, the secondary lcd placed next to keyboard found in some models, does not work due to lack of drivers.
Tips and tricks
If you are using GNOME, the gnome-tweak-tool can be used to adjust the window and font scaling. A font scale of 1.25 puts the font sizes closer to how they are displayed by default in Windows 10.
If you are using an external monitor that is not HiDPI, you can use xrandr to alter the scaling of the external monitor using the instructions for multiple displays. You may have better results though running GNOME on Wayland. When installed, clicking the gear icon in GDM will allow you to select Gnome On Wayland and will default to that in the future.
Power modes and fan control
Razer-Laptop-Control can be used to switch between balanced, gaming and creator power modes, as well as manually adjust fan RPM for much better gaming performance and cooling. You can install it via AUR package for the driver, and use AUR package for the CLI tool.
2016 model issues
There is a known issue using high resolutions (more than 360p) on the webcam video driver used by this models. This is well described in this issue #207045 from the Linux Kernel. You can solve it using Arch Build System to build your custom kernel and applying this small patch.
Here is how to Patch your kernel.
2014 model issues
- touchpad (multitouch, although this may be a kernel bug that has since been fixed)
- keys to increase/decrease screen illumination not working
- keys to increase/decrease keyboard illumination not working
Possible trackpad solution
$ git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it # depmod -a
Then install the package.
Feature still not working: pinch to zoom, 3rd mouse button.
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling Google Hangouts support. works after changing resolution to 720p and relaunching. Multiplying the quirk by a power of 2+ further improves video quality to a point. "quirks=512" seems to work best for one user.
## fix issue with built-in webcam options uvcvideo quirks=512
TheAUR package enables backlight control capabilities (including effects) and macro controls. You may use AUR or AUR for a GUI to set the keyboard options.
For more information on OpenRazer, see Razer peripherals#OpenRazer.
Infinite suspend loop
Add the following kernel parameter:
to fix the suspend-resume-loop after closing the lid the first time after boot.
Suspending (Close laptop lid) does not seem to work with a basic installation. The lid state transitions from "open" to "closed" correctly the first time (and the system suspends), but after resuming from suspend by opening the lid, the lid state does not change back to "open". This results in the laptop entering a suspend loop because systemd monitors the lid state, sees that the lid is closed, and suspends the system.
A bug was filed against the kernel ACPI driver in November 2016. It contains a fair amount of documentation on the issue along with a workaround which seems to solve the problem.
To work around the issue, add the following to your kernel parameters:
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.
You can check that the setting was acknowledged:
# cat /sys/module/button/parameters/lid_init_state
ignore [open] method disabled
And also view all boot parameters:
$ cat /proc/cmdline
initrd=\initramfs-linux.img ... button.lid_init_state=open
Some users are reporting the laptop immediately waking up after suspending. It appears to be XHC (USB 3.0 chip) that is causing the wakeups.
You can fix this by running
# tee /proc/acpi/wakeup <<< XHC
This will not persist on a restart though. To run this command on every startup, see systemd#Writing unit files.
Suspending stall issue
If you have suspending stall issue, try to add a new file in
/etc/modprobe.d/ with the following contents:
Screen flickering / distorted / noise on 2017 stealth
Option 1: Change edp_vswing=2
Add the kernel parameter:
Other fixes (changing xf86-video-intel settings like DRI and AccelMode do not seem to help)
Option 2: Use LTS kernel With enable_rc6=0
If the above does not work try adding the following kernel parameter instead:
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but thekernel does (e.g. "4.14.54-1-lts"). This was the only thing I found that worked on my Razer Blade Stealth 13 with i7-8550U CPU.
Option 3: Use intel_idle.max_cstate=1
Instead of reverting to the LTS release, I was able to add the following kernel parameter:
This changes the power options for the kernel. This will increase power usage, as it keeps the processor on all the time. More information can be found here: https://gist.github.com/wmealing/2dd2b543c4d3cff6cab7 . I did not try any other cstates. It may be worth setting max_cstate as high as possible to reduce power usage. I have tested from 8 downward and the first one to work was "intel_idle.max_cstate=4".
Possible trackpad solution for 2013 version
$ git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it # depmod -a
Then install the packages.
Feature still not working: pinch to zoom, 3rd mouse button
pcieport PCIe bus error
You may see the following errors in dmesg:
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID) kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000 kernel: pcieport 0000:00:1c.0:  Replay Timer Timeout
To fix this, add kernel parameter:
- Switchable graphics
- Keyboard light (HW controlled)
- UEFI boot