rolandguelle / razer-blade-stealth-linux Goto Github PK
View Code? Open in Web Editor NEWInstall and run Linux on a Razer Blade Stealth (late 2016) and Razer Core.
Home Page: https://www.milecrew.com
Install and run Linux on a Razer Blade Stealth (late 2016) and Razer Core.
Home Page: https://www.milecrew.com
Hi, I just bought an RBS and installed Ubuntu 19.04. I have been having all sorts of wifi issues, mostly inconsistent interruptions between access points. I was looking in dmesg and got lucky seeing an xhci handoff controller issue. Turning off Legacy USB support and XHCI handoff to Enable ( from auto ) in BIOS with the latest 4.4.1c3 firmware from the atk10k GitHub repo solved my issues.
First off I want to share how I installed Ubuntu in my laptop
It is a Razer blade stealth (late 2016) with 2k display an 128 gb ssd.
Processor: Intel® Core™ i7-7500U CPU @ 2.70GHz × 4
Graphics: Mesa Intel® HD Graphics 620 (KBL GT2)
sudo apt update
sudo apt upgrade
xinput list
you'll see a list of devices.AT Raw Set 2 keyboard
is the device that causes the computer to freeze. So to disable you can runxinput set-prop "AT Raw Set 2 keyboard" "Device Enabled" 0
cd /etc/X11/
sudo mkdir xorg.conf.d
cd xorg.conf.d/
sudo touch 20-razer.conf
sudo nano 20-razer.conf
Add this to the file:
Section "InputClass"
Identifier "Disable built-in keyboard"
MatchIsKeyboard "on"
MatchProduct "AT Raw Set 2 keyboard"
Option "Ignore" "true"
EndSection
Save it and close the file.
sudo nano /etc/default/grub
and add this parameter in GRUB_CMDLINE_LINUX_DEFAULT, it should look like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash button.lid_init_state=open"
Save, close and then run
sudo update-grub
sudo nano /etc/environment
and I added this in a new line at the end of the file:
MOZ_USE_XINPUT2=1
This makes Firefox work with touch.
Probably you have to reboot at this point to some changes to take effect..
OK, Now to explain the problem I have. I prefer not to have caps lock set as another ctrl key. i prefer the regular caps lock. I can do this as long as ubuntu uses Xorg, but in Wayland i was not able to make this change. Specifically the one explained in step 8. Maybe someone knows how can we achieve this in wayland. I'm no expert on anything so if you have suggestions or you have something I can test I am open for it.
I see Ubuntu testing to change to Wayland and I'll like to be ready for it in case it is used in the next LTS version.
Best regards
David Navas
I found them when looking for an alternative to disabling my caps lock key in order to fix the bug with it.
They offer drivers for various razer peripherals
I have RBS and Caps Lock crash is not resolving.
Full disclosure: I am newbie in Linux.
Running UBuntu 18.04.1
when I type
xinput list | grep "Set 2 keyboard"
it shows nothing as output.
even when I type
xinput list
this is my output
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Blade Stealth id=12 [slave pointer (2)]
⎜ ↳ Razer Razer Blade Stealth id=13 [slave pointer (2)]
⎜ ↳ ELAN Touchscreen id=14 [slave pointer (2)]
⎜ ↳ Synaptics TM2438-005 id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB Camera: USB Camera id=10 [slave keyboard (3)]
↳ Razer Razer Blade Stealth id=11 [slave keyboard (3)]
↳ Razer Razer Blade Stealth id=16 [slave keyboard (3)]
PLease help.
Thanks in advance.
Razer Blade Stealth Late 2019 GTX 1650 model
Out of the box - managed to boot Mint 19.1 (Xenial) from USB.
Did not install.
After some windows use, Windows & Nvidia updates -
Will not boot from USB.
Tried Ubuntu 19.10/19.4, Mint 18.4/19.1/19.2.
Tried nomodeset, nouveau.modeset=0 (or 1),
Fast Boot on and off
Secure Boot on and off - This actually changes consule resolution, with Mint showing blank screen without it.
Errors presented:
sda access beyond end of device
and
unknown input
(this one is non-halting though)
Edit: Also seeing -
thermal thermal_zone1: critical temprature reached (198 C), shutting down
I get that on ubuntu, always 198c.
Tried boot parameters like thermal.act=-1
, thermal.off=1
, thermal.noact=1
- no effect.
Can someone confirm?
As opposed to Antergos.
Super awesome repo! Thanks.
But I did a bunch of these and then did a reboot and lost my external monitor (black screen). It wouldn't even show up in Display. I tried all day to update drivers and chased several versions of nvidia, no version (purge nvidia), and lots of others. Eventually I used Timeshift to push back to a state before I did anything from this repo and chased the issue down to bumblebee. This command is what kills the external monitor (hdmi):
$ sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
after a reboot. Probably an issue with bumblebee, but thought I would post here for others. I will update if I ever find the time to chase this.
Linux Mint 19
Razer Blade late 2016
GTX 1060
1080p
In the guide, there is an "X11" synaptic configuration for the touchpad, but apparently, 17.10 is using "libinput" (synclient wasn't even available).
That makes the step useless unless there are additional instructions on how to replace libinput with synaptic.
For some reason I wasn't able to identify, almost everytime ubuntu goes to lock screen, the touchscreen starts to randomly click everywhere. It eventually brings the on-screen keyboard and start typing whatever thing and keeps trying to log in.
At first, I got really scared because it really looks like a macro trying to authenticate and trying random passwords. But eventually, I realized it clicks in places that don't make sense and closes and open the keyboard several times.
I also thought it was just my screen being dirty, but I've been keeping it very clean and it happens multiple times immediately after cleaning and letting it idle. The issue was also being solved by cleaning but I think its just because in the process of cleaning I provide actual input, so it made me realize I can make it stop even without cleaning the screen by just touching somewhere.
I'm on Ubuntu 18.04. I usually run on Wayland because of the partial scaling and wasn't able to identify if it happens also on Xorg. Anyway, it usually happens on the lock screen, so I'm not sure whatever user initiated can influence that.
Hello there, thanks for all the good work and detailed guide !
I have a RBS 2017 and everything is working but the webcam, all we all know.
But i noticed it works almost perfectly (at least it's not all green or black and have decent fps) using Slack or Hangout !
it's the only two website i figured it is working (even betetr than using a software).
I know nothing about codecs and webcam in general, but why is this so ?
Would it be possible to use the same stream as they use on slack/hangout and create a "virtual webcam" from this good stream, to be able to use it on any other software / websites?
Sorry about this issue, it's not really an issue about the repo but more a question and some "ask for help" arround webcam workarround
Hello, I've been having problems with a Razer Blade Stealth 2017 (I7-8550U) immediately waking up from suspend: led indicator goes white for half a second, then turns green and the laptop immediately wakes up again.
I'm running Manjaro with gnome, but the issue is also reproducible on an archlinux iso and an ubuntu live.
I tried the following:
button.lid_init_state=open
to kernel cmdline optionsecho XHC | sudo tee /proc/acpi/wakeup
IgnoreLid=true
in /etc/UPower/UPower.conf
HandleLidSwitch=ignore
in /etc/systemd/logind.conf
(and other lid-related options)in
gnome-tweaks`I noticed that the acpi lid state is stuck on "closed" (it's set on "open" on boot, but gets stuck on closed after the first suspend)
$ cat /proc/acpi/button/lid/LID0/state
state: closed
What I see by monitoring acpi events with acpid
and acpi_listen
, is that after each suspend event I get the following entries in the logs (even if I don't open/close the lid):
button/lid LID close
button/lid LID open
I'm not sure this is helpful and/or wrong behaviour
The issue is particularly weird because the issue disappears when connected to a USB-C hub (power passthrough/hdmi/USB) connected to an external monitor and keyboard/mouse, the laptop suspends and does not wake up, not even when unplugged.
Hi,
I was wondering if you by any chance have found a way to hide the cursor when interacting with the touch screen? I find it annoying that the mouse follows my fingers...
Not sure if this is the appropriate place to post this, but I followed the instructions and razercore status confirms that it is connected, however the monitor connected to my gtx1060 in the core shows that it has a signal since the display stays on except that it is black. I am unsure if I missed a step to enable the display or if it may just be a bug, any help would be greatly appreciated!
Not sure if it helps but I am running a Intel 6500u (Skylake) Razer Blade stealth with a V1 Razer Core and an EVGA GTX1060 6GB on Ubuntu 17.10
I know this isn't read by the actual Razer team, but it does seem like the best place to collect Linux annoyances with these laptops. (And thanks for all the effort, after reinstalling and running through the config here for the first time ever my laptop mostly works properly!)
I'm getting the same behaviour when unplugging a keyboard as I see when toggling caps lock, namely static on the audio output and display, and a hard crash. I assume this is something to do with the system caps lock state attempt to resolve itself to the currently connected input devices, but I have no idea if its possible to disable that behaviour.
Hi,
First of all thanks for everything, your instructions were really helpful in setting up my RBS!
It's been months since I've been using Ubuntu on my RBS (i7 8550U) and everything works fine except for one thing: Bluetooth. Actually it works fine but I noticed that bluetooth is disappearing randomly when I'm watching videos in full screen (weird, right?). And it only comes back when turning the computer off and on again (not restart).
I've tried messing with bios settings, tlp settings, I've tried removing my script disabling bluetooth when it goes into suspend mode, but no luck. Almost every time I watch episodes on VLC or Netflix or YouTube bluetooth goes away after a while.
I am currently on Ubuntu 18.10, kernel 4.18.12 but it's been the same with Ubuntu 17.10 and 18.04, and other kernel versions.
I am out of ideas, has anyone experienced the same issue?
Thanks a lot!
(not sure if this is a good place to post this, but assuming this repo gets high visibility from fellow blade owners)
I've recently noticed screen flickering after upgrading switching to 17.10 (fresh install, vanilla, wayland) anybody else experiencing this?
Installed it days ago and didn't have the problem at all, and didn't apply any of the fixes here. Maybe worth putting this information on the Caps Lock issue
Hey, I agree about your support on Razer Blade Stealth Linux & Ubuntu 19.04 at part 1.2 that is Caps-Lock Crash. But, I still need my Caps-Lock working again, because I have push this button when type uppercase, yeah, you know, it's habbit.
Please give me a solution to make it working again without crash. How I do this? I've tired searching on Google, Ubuntu Forums and Stack Overflow, and I still not find the solution. I need the Caps-Lock for uppercase. So, please help me. Thanks for the support before.
First of all: Awesome repo!
Second: Have you been able to run a 4k screen over the HDMI port?
Hey Roland,
Thanks for your great page here:
https://github.com/rolandguelle/razer-blade-stealth-linux
It has helped me quite a lot.
I was wondering if your touch screen is working for your Razer Blade Stealth?
I have installed Ubuntu 17.04 Gnome, and it's not working for me....
Thanks
James
While, in general, using libinput-gestures does seem to address the touchpad being non-functional on resume, it doesn't functional at all if you hibernate rather than just suspend the system.
I experimented quite a bit with this and found this solution (for Arch) worked GREAT for me:
https://github.com/parkouss/systemd-suspend-modules
All you have to do is copy the bash script in the referenced repo to /usr/lib/systemd/system-sleep and create an /etc/suspend-modules.conf file with "i2c_hid" in it and you're good to go.
Hope this helps anyone else who's trying to hibernate (not just suspend) this laptop!
Hi,
I tried to use your config for libinput gestures in both the local config ~/.config/libinput-gestures.conf and /etc/libinput-gestures.conf. Every time I change swipe up and down and execute libinput-gestures-setup restart, I still get natural scrolling. I've logged out and back in and it still doesn't change. I've also restarted and that didn't help. I'm unsure what I should do or if I should ask you or report this issue with libinput-gestures. Hope you can help, thanks.
I've had corruption problems and downraded to ubuntu 16.04 which worked well until I applied some updates. It looks like there's a bug in samsung SSDs that starts with ubuntu 17.04 tat might be the cause of this, as I figured out and posted here:
(probable fix also linked in my post)
Probably a good thing to list in this repository.
20.4 is LTS. Which guide should I use and would Canonical backport some of these issues?
I did a bunch of research on installing Ubuntu on the RBS 2019 model before I purchased one and reading all the hacks required I was pretty worried.
The good news is for anyone wondering (like I was) - Ubuntu 18.04 LTS installed just fine without any additional work (resizing windows happily from within the installer).
So far I haven't needed any tweaks or patches for hardware from the guides in this repo.
The RGB lighting is supported out of the box by openrazer/polychromatic
Suspend and waking from is working perfectly
Wifi, bluetooth, audio, webcam, touchpad, multimedia keys etc all working perfectly
nvidia-prime switches between the intel and nvidia gpu's perfectly
Just thought I should report this, as there isn't much about the 2019 model available online yet.
Hello, i installed Ubuntu 18.04 on RBS 2016 7500U with UHD-Display.
Most time i started the device, it boots up to the Signup. But most times after the Signups, the System crashs with grizzling sounds and weird artifacts on the screen. Then i can only shut down the device with the power button. Only a few times, the system works. But then it works fine. Help me please.
In the past week my 2016 RBS running Ubuntu 18.04 has started having issues with resuming from suspend, it seems like it will resume once after i shut the lid, but if i shut the lid a second time the system seems to freeze, either with a black screen or a frozen unlock screen.
All the links in the preparation section are broken except one: Fix for INTEL-SA-00086 Intel Management Engine Critical Firmware Update
It seems the Razer software tool Razer Synapse is able to extract additional performance when using "Game Mode".
I recently re-installed Windows 10 alongside Linux on my late-2019 Stealth (GTX1650).
While experimenting with ThrottleStop, using its internal benchmarking/burn tool,
I noticed that CPU Thermal Protection (TP) kicks in rather quickly at 60 degrees, and frequency is reduced to 1.5Ghz.
However, after installing Synapse and setting it to Game Mode, CPU TP kickes in later, and frequency is higher at 1.65-1.7GHz.
This performance control seems to be effective, and I'm wondering if we're missing out in Linux (assuming it's custom firmware instructions like fan control, which Synapse is able to adjust manually as well).
Thanks for the hints on archlinux installation. I proceeded with the installation but the sound/brightness keys do not work (on tty, I do not have a WM/DE). Did you have the same issue ?
After the the laptop is suspended and then the pressed the caps button, crashes the system. Currently running Ubuntu 18.04.1 LTS
I'm seeing problems with the trackpad and keyboard after resume on occasion, i'll open the lid and the password field on the lock screen immediately fills up, if i hit a key the phantom key presses stop and i can log in. After this happens mouse/trackpad doesnt work, the cursor doesnt show up, swiping on the trackpad doesnt seem to move the cursor, however clicking still works and the cursor can be moved with the touchscreen.
Has anyone else run into this?
Hi,
I'm experiencing some issues with the external monitor that I have hooked up to the HDMI port of my Razer Blade Stealth late '17 (CPU i7-8550 / Graphics Intel® UHD Graphics 620) with Ubuntu 18.04. Basically every once in a while the external screen goes blank for a few seconds. It looks pretty random in terms of frequency and delay, but another hypothesis that I have is that is connected with some particular draw commands that are being issued by the graphics card (because the problem normally always happen after an action on my side).
I already set the kernel parameter i915.edp_vswing=2
but that didn't fix the problem.
If you have any ideas, please help.
Cheers
Just updated my blade stealth (2017) to 18.04 and have been only been getting 3 hours of battery. I think it might have something to do with the fans as they seem to be louder than before. I'm not sure if this is actually what's causing the battery issues though.
I've been monitoring cpu and ram usage which seems to be averaging around 28% CPU and 4.5GB/16GB ram. Seems pretty normal to me.
Is anyone else running into this issue?
Ubuntu 18.04 (4.18.0-3-generic)
In latest kernel (4.18 rc3) the touchpad fix isn't required. Works without issue now out of box.
When I wake my system from the suspend state, it will occasionally flicker the screen and then either go black or display the lock screen. It won't let me move my mouse or anything so I just need to restart by holding the power button for a few seconds. I would guess that it's something related to the graphics driver. Has anyone run into a similar issue?
KDE Neon 5.12 (Ubuntu 16.04) installed on my 2017 Blade Stealth (7500U)
Haven't been able to resolve this issue on my 1st Gen Stealth. Happens in every Distro, never used to happen in 16.04 when I ran it but now it happens in every version and distro above it.
This repo came many times in results for issues about our dear Razer stealth with linux, thank you for your documented and updated repo!
The touchpad deadzones issues for late 2017 RBS have been addressed in: https://bugs.freedesktop.org/attachment.cgi?id=138113 , which has been merged into the current 4.17 RC. So when 4.17 hits stable, we should see a fully functional touchpad for the RBS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.