https://wiki.archlinux.org/api.php?action=feedcontributions&user=Codabrink&feedformat=atomArchWiki - User contributions [en]2024-03-29T11:28:03ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Razer_Blade&diff=538247Razer Blade2018-08-28T15:10:47Z<p>Codabrink: RB15 Bios 1.05 reinstated</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad works with the vanilla kernel with [https://dl.razer.com/drivers/BladeC1/Razer%20Blade%2015%20%282018%29%20BIOS%20update%20v1.05.pdf BIOS version 1.05].<br />
<br />
If you are for some reason unable to boot into windows to perform the update, there is still a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch 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.<br />
<br />
== Suspending ==<br />
<br />
Some users are reporting the laptop immediately waking up after suspending. It appears to be XHC (USB 3.0 chip) that's causing the wakeups.<br />
<br />
You can fix this by running<br />
<br />
echo XHC | sudo tee /proc/acpi/wakeup<br />
<br />
This will not persist on a restart though. To run this command on every startup, see [[Systemd#Writing_unit_files]].<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=536444Razer Blade2018-08-20T17:29:15Z<p>Codabrink: 2018 Support was merged into Openrazer</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad works with the vanilla kernel with [https://insider.razer.com/index.php?threads/razer-blade-15-bios-update-v1-05.39978/ BIOS version 1.05].<br />
<br />
'''Update:''' Apparently as of August 18, 2018, the official forum post and file have been taken down. Not sure why.<br />
<br />
<br />
If you are for some reason unable to boot into windows to perform the update, there is still a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch 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.<br />
<br />
== Suspending ==<br />
<br />
Some users are reporting the laptop immediately waking up after suspending. It appears to be XHC (USB 3.0 chip) that's causing the wakeups.<br />
<br />
You can fix this by running<br />
<br />
echo XHC | sudo tee /proc/acpi/wakeup<br />
<br />
This will not persist on a restart though. To run this command on every startup, see [[Systemd#Writing_unit_files]].<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=536443Razer Blade2018-08-20T17:24:13Z<p>Codabrink: Fix 2018 wakeups</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad works with the vanilla kernel with [https://insider.razer.com/index.php?threads/razer-blade-15-bios-update-v1-05.39978/ BIOS version 1.05].<br />
<br />
'''Update:''' Apparently as of August 18, 2018, the official forum post and file have been taken down. Not sure why.<br />
<br />
<br />
If you are for some reason unable to boot into windows to perform the update, there is still a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch 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.<br />
<br />
== Openrazer ==<br />
<br />
Openrazer doesn't currently support the 2018 model's peripherals. There is however a fork with added support, and can be installed via {{AUR|openrazer-daemon-2018}}.<br />
<br />
== Suspending ==<br />
<br />
Some users are reporting the laptop immediately waking up after suspending. It appears to be XHC (USB 3.0 chip) that's causing the wakeups.<br />
<br />
You can fix this by running<br />
<br />
echo XHC | sudo tee /proc/acpi/wakeup<br />
<br />
This will not persist on a restart though. To run this command on every startup, see [[Systemd#Writing_unit_files]].<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=536056Razer Blade2018-08-18T22:38:28Z<p>Codabrink: BIOS update 1.05 has been taken down</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad works with the vanilla kernel with [https://insider.razer.com/index.php?threads/razer-blade-15-bios-update-v1-05.39978/ BIOS version 1.05].<br />
<br />
'''Update:''' Apparently as of August 18, 2018, the official forum post and file have been taken down. Not sure why.<br />
<br />
<br />
If you are for some reason unable to boot into windows to perform the update, there is still a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch 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.<br />
<br />
== Openrazer ==<br />
<br />
Openrazer doesn't currently support the 2018 model's peripherals. There is however a fork with added support, and can be installed via {{AUR|openrazer-daemon-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=534565Razer Blade2018-08-13T13:20:36Z<p>Codabrink: Fix links</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad works with the vanilla kernel with [https://insider.razer.com/index.php?threads/razer-blade-15-bios-update-v1-05.39978/ BIOS version 1.05].<br />
<br />
If you are for some reason unable to boot into windows to perform the update, there is still a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch 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.<br />
<br />
== Openrazer ==<br />
<br />
Openrazer doesn't currently support the 2018 model's peripherals. There is however a fork with added support, and can be installed via {{AUR|openrazer-daemon-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=534563Razer Blade2018-08-13T13:18:14Z<p>Codabrink: BIOS version 1.05 supports vanilla touhpad drivers</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad works with the vanilla kernel with [BIOS version 1.05](https://insider.razer.com/index.php?threads/razer-blade-15-bios-update-v1-05.39978/).<br />
<br />
If you are for some reason unable to boot into windows to perform the update, there is still a [patch](https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.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.<br />
<br />
== Openrazer ==<br />
<br />
Openrazer doesn't currently support the 2018 model's peripherals. There is however a fork with added support, and can be installed via {{AUR|openrazer-daemon-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=532482Razer Blade2018-08-04T15:23:17Z<p>Codabrink: openrazer-daemon-2018</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad doesn't work with the vanilla kernel as of version 4.17.11, however there has been a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch patch] made by Github user '''jbdrthapa''' that fixes this issue.<br />
<br />
You can patch it into your kernel manually, or install the patched kernel automatically via {{AUR|linux-razerblade-2018}}.<br />
<br />
== Openrazer ==<br />
<br />
Openrazer doesn't currently support the 2018 model's peripherals. There is however a fork with added support, and can be installed via {{AUR|openrazer-daemon-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=532366Razer Blade2018-08-03T15:33:04Z<p>Codabrink: wording</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad doesn't work with the vanilla kernel as of version 4.17.11, however there has been a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch patch] made by Github user '''jbdrthapa''' that fixes this issue.<br />
<br />
You can patch it into your kernel manually, or install the patched kernel automatically via {{AUR|linux-razerblade-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=532365Razer Blade2018-08-03T15:32:43Z<p>Codabrink: Wording</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad doesn't work with the vanilla kernel as of version 4.17.11, however there has been a [https://github.com/jbdrthapa/razerblade15/blob/master/razerfiles/touchpad/translation_fix/pinctrl-intel-translation-fix.patch patch] made by Github user '''jbdrthapa''' that fix this issue.<br />
<br />
You can patch it into your kernel manually, or install the patched kernel automatically via {{AUR|linux-razerblade-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=Razer_Blade&diff=532277Razer Blade2018-08-03T01:56:53Z<p>Codabrink: Add 2018 model, document how to fix touchpad issues.</p>
<hr />
<div>[[Category:Laptops]]<br />
[[ja:Razer Blade]]<br />
{{Style|Various style issues, structure lacking}}<br />
<br />
Razer Blade is Razer's line of gaming laptops. There is currently a 12" model (Razer Blade Stealth), 14" 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.<br />
<br />
= 2018 version =<br />
<br />
== Touchpad ==<br />
<br />
The touchpad doesn't work with the vanilla kernel as of version 4.17.11, however there have been [https://github.com/jbdrthapa/razerblade15/tree/master/razerfiles/touchpad patches] made by Github user '''jbdrthapa''' that fix this issue.<br />
<br />
You can patch them into your kernel manually, or install them automatically via {{AUR|linux-razerblade-2018}}.<br />
<br />
= Late-2017 version Razer Blade Stealth =<br />
<br />
== Infinite suspend loop ==<br />
<br />
Add the following kernel param:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
to fix the suspend-resume-loop after closing the lid the first time after boot.<br />
<br />
== Screen flickering / distorted / noise ==<br />
<br />
=== Option 1: Change edp_vswing=2 ===<br />
<br />
Add kernel param:<br />
<br />
{{bc|<nowiki><br />
i915.edp_vswing=2<br />
</nowiki>}}<br />
<br />
Other fixes (changing xf86-video-intel settings like DRI and AccelMode don't seem to help)<br />
<br />
=== Option 2: Use LTS Kernel With enable_rc6=0 ===<br />
<br />
If the above does not work try adding the following kernel param instead:<br />
{{bc|<nowiki><br />
i915.enable_rc6=0<br />
</nowiki>}}<br />
<br />
The parameter is not available in the latest kernels (e.g. "4.17.5-1") but the linux-lts kernel 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.<br />
<br />
=== Option 3: Use intel_idle.max_cstate=1 ===<br />
<br />
Instead of reverting to the LTS release, I was able to add the following kernel parameter:<br />
{{bc|<nowiki><br />
intel_idle.max_cstate=1<br />
</nowiki>}}<br />
<br />
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"<br />
<br />
== pcieport PCIe Bus Error ==<br />
<br />
You may see the following errors in dmesg:<br />
<br />
{{bc|<nowiki><br />
kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID)<br />
kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000<br />
kernel: pcieport 0000:00:1c.0: [12] Replay Timer Timeout<br />
</nowiki>}}<br />
<br />
To fix this, add kernel param:<br />
<br />
{{bc|<nowiki><br />
pci=nomsi<br />
</nowiki>}}<br />
<br />
= 2016 version (Razer Blade & Razer Blade Stealth) =<br />
<br />
The normal installation process works in general with the exceptions enumerated below.<br />
<br />
== Touchpad ==<br />
<br />
[[Install]] the {{Pkg|xf86-input-libinput}} package: this is also the only one that will enable natural scrolling. See [[Libinput]] for more information on this driver. <br />
<br />
Alternatively, if you prefer using the [[Touchpad Synaptics]] driver, [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
If you have issues with the touchpad not working after resuming from sleep, restarting the module i2c_hid seems to work.<br />
<br />
== Touchscreen ==<br />
<br />
While the touchscreen will provide basic functionality out of the box, it is best to use {{AUR|touchegg}} to configure multitouch gestures. These include two-finger scrolling, right-click, etc.<br />
<br />
== Graphics Drivers ==<br />
<br />
The graphics card works OK with the standard intel drivers which you can [[install]] with the {{Pkg|xf86-video-intel}} package. See [[Intel graphics]] for more information on installation and configuration. <br />
<br />
Issues with screen flickering seem to be resolved by changing ''AccelMethod'' to ''uxa'' as described in the [[Intel_graphics#SNA_issues|SNA issues]] section.<br />
<br />
{{bc|<nowiki><br />
# cat >/etc/X11/xorg.conf.d/20-intel.conf <br />
Section "Device"<br />
Identifier "Intel Graphics"<br />
Driver "intel"<br />
Option "AccelMethod" "uxa"<br />
#Option "AccelMethod" "sna"<br />
EndSection<br />
</nowiki>}}<br />
<br />
If you experience screen tearing while scrolling add the following line to the conf above:<br />
{{ic| Option "TearFree" "true"}} and set the "AccelMethod" to "sna" and comment out "uxa"<br />
<br />
If you have an Intel Kaby Lake chip [[wikipedia:Kaby_Lake]], and the issue is not fixed with the conf above, add to {{ic|1=i915.enable_rc6=0}} to the [[kernel parameters]].<br />
<br />
== Hybrid graphics ==<br />
<br />
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.<br />
However there is a ACPI DSDT fix available which fixes this problem. Check the [https://github.com/m4ng0squ4sh/razer_blade_14_2016_acpi_dsdt repository] for more information.<br />
<br />
== Suspend Loop ==<br />
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.<br />
<br />
A [https://bugzilla.kernel.org/show_bug.cgi?id=187271 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.<br />
<br />
To work around the issue, add the following to your [[kernel parameters]]:<br />
<br />
{{bc|<nowiki><br />
button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
This will instruct the acpi driver to generate an extra open event when waking from suspend which will keep the system up.<br />
<br />
You can check that the setting was acknowledged:<br />
{{bc|<nowiki><br />
# cat /sys/module/button/parameters/lid_init_state<br />
open<br />
</nowiki>}}<br />
<br />
And also view all boot parameters:<br />
{{bc|<nowiki><br />
$ cat /proc/cmdline <br />
initrd=\initramfs-linux.img ... button.lid_init_state=open<br />
</nowiki>}}<br />
<br />
=== GRUB ===<br />
For example, to make changes permanent on [[GRUB]] systems, edit {{ic|# /etc/default/grub}} and append {{ic|1=button.lid_init_state=open}} to the {{ic|GRUB_CMDLINE_LINUX_DEFAULT}} line. After the change, the line might look like this (mileage may vary depending on the kernel params already set):<br />
<br />
{{bc|<nowiki><br />
GRUB_CMDLINE_LINUX_DEFAULT="quiet button.lid_init_state=open"<br />
</nowiki>}}<br />
<br />
Then automatically re-generate the grub.cfg file with:<br />
{{bc|<nowiki><br />
# grub-mkconfig -o /boot/grub/grub.cfg<br />
</nowiki>}}<br />
<br />
== Tweaking ==<br />
<br />
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.<br />
<br />
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 [[HiDPI#Multiple_displays|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.<br />
<br />
== Audio ==<br />
<br />
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 -.<br />
No official solution has been posted yet, but a quick hack is to completely shut down the computer (so power off, not restart).<br />
<br />
== Webcam ==<br />
<br />
Setting the uvcvideo option "quirks=128" appears to let the webcam work at 720p30, thus enabling [https://hangouts.google.com Google Hangouts] support. {{Pkg|cheese}} 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.<br />
<br />
{{hc|1=/etc/modprobe.d/uvcvideo.conf|2=<br />
## fix issue with built-in webcam<br />
options uvcvideo quirks=512<br />
}}<br />
<br />
== Keyboard ==<br />
<br />
The {{AUR|openrazer-meta}} package enables backlight control capabilities (including effects) and macro controls. You may use {{AUR|polychromatic}} or {{AUR|razercommander-git}} for a GUI to set the keyboard options.<br />
<br />
For more information on OpenRazer, see the [[Razer peripherals#OpenRazer]]<br />
<br />
= 2014 version =<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/751074-2014-razer-blade-14-linux.html Source]<br />
* touchpad (multitouch, although this may be a kernel bug that has since been fixed)<br />
* keys to increase/decrease screen illumination not working<br />
* keys to increase/decrease keyboard illumination not working<br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} package.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button.<br />
<br />
= 2013 version =<br />
<br />
== What works ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356 Source]<br />
<br />
* Wireless<br />
* Switchable graphics<br />
* Bluetooth<br />
* Keyboard light (HW controlled)<br />
* UEFI boot<br />
* Trackpad (only on Linux 4.0+ '''without''' libinput-based X.Org input driver (xf86-input-libinput) thanks to [http://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/log/drivers/hid/hid-rmi.c?h=for-3.20/rmi Andrew Duggan's work]).<br />
<br />
== Problems ==<br />
<br />
[http://forum.notebookreview.com/razer/729380-razer-blade-pro-under-linux.html Source]<br />
<br />
* SwitchBlade UI does not work due to lack of drivers.<br />
* <strike>Trackpad scrolling does not work.</strike><br />
<br />
== Possible trackpad solution ==<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?id=173356&p=2 Source]<br />
<br />
{{bc|<nowiki><br />
git clone https://github.com/aduggan/hid-rmi.git -b rb14 # and then install it<br />
depmod -a<br />
</nowiki>}}<br />
<br />
Then [[install]] the {{Pkg|xf86-input-synaptics}} packages.<br />
<br />
Feature still not working: pinch to zoom, 3rd mouse button<br />
<br />
{{Expansion|The SBUI works as a trackpad, but no linux drivers currently exist. Does it even work for basic trackpad functionality?}}</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=IpVanish&diff=287747IpVanish2013-12-12T20:53:57Z<p>Codabrink: Clarify...</p>
<hr />
<div>[[Category:Virtual Private Network]]<br />
<br />
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] with the openvpn package.<br />
<br />
== Install OpenVPN ==<br />
<br />
[[pacman|Install]] {{Pkg|openvpn}} from the [[official repositories]].<br />
<br />
== Get IpVanish's Certificate ==<br />
<br />
You'll need IpVanish's certificate in your config directory to be able to connect to their network.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt<br />
<br />
== Download Server Configuration ==<br />
<br />
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll use NYC.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf<br />
<br />
== Automate Username and Password Credentials ==<br />
<br />
If you want openvpn to remember your password. Create a file in the config directory with your ipvanish username on the first line, and your ipvanish password on the second.<br />
<br />
# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/auth<br />
<br />
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.<br />
<br />
# ...<br />
# ...<br />
# auth-user-pass auth<br />
# ...<br />
# ...<br />
<br />
== Start OpenVpn ==<br />
<br />
Now that openvpn is configured to use ipvanish, you can start and enable the service.<br />
<br />
# systemctl start openvpn@client.service<br />
# systemctl enable openvpn@client.service</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=IpVanish&diff=287745IpVanish2013-12-12T20:16:59Z<p>Codabrink: Wrong file</p>
<hr />
<div>[[Category:Virtual Private Network]]<br />
<br />
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] with the openvpn package.<br />
<br />
== Install OpenVPN ==<br />
<br />
[[pacman|Install]] {{Pkg|openvpn}} from the [[official repositories]].<br />
<br />
== Get IpVanish's Certificate ==<br />
<br />
You'll need IpVanish's certificate in your config directory to be able to connect to their network.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt<br />
<br />
== Download Server Configuration ==<br />
<br />
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll use NYC.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf<br />
<br />
== Automate Username and Password Credentials ==<br />
<br />
If you want openvpn to remember your password. Create a file in the config directory with your username on the first line, and your password on the second.<br />
<br />
# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/auth<br />
<br />
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.<br />
<br />
# ...<br />
# ...<br />
# auth-user-pass auth<br />
# ...<br />
# ...<br />
<br />
== Start OpenVpn ==<br />
<br />
Now that openvpn is configured to use ipvanish, you can start and enable the service.<br />
<br />
# systemctl start openvpn@client.service<br />
# systemctl enable openvpn@client.service</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=IpVanish&diff=287744IpVanish2013-12-12T20:07:21Z<p>Codabrink: /* Download Server Configuration */</p>
<hr />
<div>[[Category:Virtual Private Network]]<br />
<br />
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] with the openvpn package.<br />
<br />
== Install OpenVPN ==<br />
<br />
[[pacman|Install]] {{Pkg|openvpn}} from the [[official repositories]].<br />
<br />
== Get IpVanish's Certificate ==<br />
<br />
You'll need IpVanish's certificate in your config directory to be able to connect to their network.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt<br />
<br />
== Download Server Configuration ==<br />
<br />
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll use NYC.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf<br />
<br />
== Automate Username and Password Credentials ==<br />
<br />
If you want openvpn to remember your password. Create a file in the config directory with your username on the first line, and your password on the second.<br />
<br />
# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/client.conf<br />
<br />
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.<br />
<br />
# ...<br />
# ...<br />
# auth-user-pass auth<br />
# ...<br />
# ...<br />
<br />
== Start OpenVpn ==<br />
<br />
Now that openvpn is configured to use ipvanish, you can start and enable the service.<br />
<br />
# systemctl start openvpn@client.service<br />
# systemctl enable openvpn@client.service</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=IpVanish&diff=287743IpVanish2013-12-12T20:06:46Z<p>Codabrink: Woops, too many lines.</p>
<hr />
<div>[[Category:Virtual Private Network]]<br />
<br />
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] with the openvpn package.<br />
<br />
== Install OpenVPN ==<br />
<br />
[[pacman|Install]] {{Pkg|openvpn}} from the [[official repositories]].<br />
<br />
== Get IpVanish's Certificate ==<br />
<br />
You'll need IpVanish's certificate in your config directory to be able to connect to their network.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt<br />
<br />
== Download Server Configuration ==<br />
<br />
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll do NYC.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf<br />
<br />
== Automate Username and Password Credentials ==<br />
<br />
If you want openvpn to remember your password. Create a file in the config directory with your username on the first line, and your password on the second.<br />
<br />
# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/client.conf<br />
<br />
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.<br />
<br />
# ...<br />
# ...<br />
# auth-user-pass auth<br />
# ...<br />
# ...<br />
<br />
== Start OpenVpn ==<br />
<br />
Now that openvpn is configured to use ipvanish, you can start and enable the service.<br />
<br />
# systemctl start openvpn@client.service<br />
# systemctl enable openvpn@client.service</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=IpVanish&diff=287742IpVanish2013-12-12T20:06:33Z<p>Codabrink: Changed header wording.</p>
<hr />
<div>[[Category:Virtual Private Network]]<br />
<br />
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] with the openvpn package.<br />
<br />
<br />
== Install OpenVPN ==<br />
<br />
[[pacman|Install]] {{Pkg|openvpn}} from the [[official repositories]].<br />
<br />
== Get IpVanish's Certificate ==<br />
<br />
You'll need IpVanish's certificate in your config directory to be able to connect to their network.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt<br />
<br />
== Download Server Configuration ==<br />
<br />
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll do NYC.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf<br />
<br />
== Automate Username and Password Credentials ==<br />
<br />
If you want openvpn to remember your password. Create a file in the config directory with your username on the first line, and your password on the second.<br />
<br />
# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/client.conf<br />
<br />
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.<br />
<br />
# ...<br />
# ...<br />
# auth-user-pass auth<br />
# ...<br />
# ...<br />
<br />
== Start OpenVpn ==<br />
<br />
Now that openvpn is configured to use ipvanish, you can start and enable the service.<br />
<br />
# systemctl start openvpn@client.service<br />
# systemctl enable openvpn@client.service</div>Codabrinkhttps://wiki.archlinux.org/index.php?title=IpVanish&diff=287741IpVanish2013-12-12T20:06:00Z<p>Codabrink: Initial creation.</p>
<hr />
<div>[[Category:Virtual Private Network]]<br />
<br />
This article describes a basic installation and configuration of [http://ipvanish.com IpVanish] and their openvpn service.<br />
<br />
== Install OpenVPN ==<br />
<br />
[[pacman|Install]] {{Pkg|openvpn}} from the [[official repositories]].<br />
<br />
== Get IpVanish's Certificate ==<br />
<br />
You'll need IpVanish's certificate in your config directory to be able to connect to their network.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ca.ipvanish.com.crt > /etc/openvpn/ca.ipvanish.com.crt<br />
<br />
== Download Server Configuration ==<br />
<br />
Choose your favorite server from IpVanish's [http://www.ipvanish.com/software/configs/ config index] and place the url into the following code. In this example, we'll do NYC.<br />
<br />
# curl http://www.ipvanish.com/software/configs/ipvanish-US-New-York-nyc-a01.ovpn > /etc/openvpn/client.conf<br />
<br />
== Automate Username and Password Credentials ==<br />
<br />
If you want openvpn to remember your password. Create a file in the config directory with your username on the first line, and your password on the second.<br />
<br />
# printf "USERNAME\nPASSWORD\n" > /etc/openvpn/client.conf<br />
<br />
Now once that is done, edit your /etc/openvpn/client.conf file so that the auth-user-pass line recognizes your new auth file.<br />
<br />
# ...<br />
# ...<br />
# auth-user-pass auth<br />
# ...<br />
# ...<br />
<br />
== Start OpenVpn ==<br />
<br />
Now that openvpn is configured to use ipvanish, you can start and enable the service.<br />
<br />
# systemctl start openvpn@client.service<br />
# systemctl enable openvpn@client.service</div>Codabrink