Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:rbs [2018/10/09 00:14] – created mh | linux:rbs [2022/01/07 09:37] (current) – [Razer Core X eGPU] mh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Razer Blade Stealth Compatibility ===== | + | ====== Razer Blade Stealth Compatibility |
As a Razer Blade Stealth owner, since Stealths have a few known issues with their Linux compatibility here is a good place to start for work-arounds and temporary fixes : | As a Razer Blade Stealth owner, since Stealths have a few known issues with their Linux compatibility here is a good place to start for work-arounds and temporary fixes : | ||
Line 5: | Line 5: | ||
[[https:// | [[https:// | ||
- | ==== First Installation ==== | + | In this page I listed all the fixes and workarounds I had to implement to get a working version of Linux Mint 19.1 on my RBS. It was not very difficult and not a frustrating experience at all. |
+ | |||
+ | I have not encountered all the bugs listed in Roland Guelle' | ||
+ | |||
+ | My Stealth Model is a '' | ||
+ | |||
+ | ===== First Installation | ||
Following Roland Guelle' | Following Roland Guelle' | ||
Line 18: | Line 24: | ||
*The dual boot did not break Windows boot and Grub was installed correctly. | *The dual boot did not break Windows boot and Grub was installed correctly. | ||
- | ==== First run ==== | + | ===== First run ===== |
*Setup timeshift to make system snapshots daily, weekly, monthly and at boot | *Setup timeshift to make system snapshots daily, weekly, monthly and at boot | ||
Line 24: | Line 30: | ||
*Update the system | *Update the system | ||
- | **Key rule in systems : if it works, don' | + | **Key rule in systems : if it works, don' |
- | *I have not encountered all the bugs listed in Roland Guelle' | ||
- | *My Stealth Model is a RZ09-0239 | ||
- | ==== Bug Fixes ==== | + | ===== Bug Fixes ===== |
- | === Closing lid doesn' | + | ==== Closing lid doesn' |
Apparently this issue was encountered on some laptops running different versions of Ubuntu from 16.04 upwards. | Apparently this issue was encountered on some laptops running different versions of Ubuntu from 16.04 upwards. | ||
Line 61: | Line 66: | ||
[[https:// | [[https:// | ||
- | === Screen Flickering === | + | ==== Screen Flickering |
The screen flickering issue causes the screen to flicker to black for an instant. You can check this by running : | The screen flickering issue causes the screen to flicker to black for an instant. You can check this by running : | ||
Line 101: | Line 106: | ||
</ | </ | ||
+ | ==== Screen Flickering on external monitor ==== | ||
- | ==== Tweaks ==== | + | Screen seems to randomly go black on external monitor. |
- | === Multitouch gestures === | + | [[https:// |
+ | |||
+ | Setting the sound output to "HDMI / DisplayPort - Built in Audio" seems to fix the issue. | ||
+ | |||
+ | Another workaround if the previous option is not available could be to plug an audio output to the 3.5 jack -> This needs to be validated by experience (23/ | ||
+ | |||
+ | === RBS set up for smooth mplayer experience === | ||
+ | |||
+ | *Remove media OSD in Cinammon > System Settings > Notifications | ||
+ | *Switch Background to full black | ||
+ | *//Careful, switching workspaces causes little stutters on the external monitor// | ||
+ | *Some unidentified manipulations can cause the terminal running mplayer to have a CTRL-lock even with the CTRL unpressed. This locks you out of mplayer -> Investigate | ||
+ | |||
+ | |||
+ | ===== Tweaks ===== | ||
+ | |||
+ | ==== Multitouch gestures | ||
This requires to be using libinput instead of synaptics. You can check this by running these commands using the proper device ID. | This requires to be using libinput instead of synaptics. You can check this by running these commands using the proper device ID. | ||
Line 137: | Line 159: | ||
More ressources on [[https:// | More ressources on [[https:// | ||
- | === OpenRazer Daemon & Polychromatic Controller === | + | ==== OpenRazer Daemon & Polychromatic Controller |
Install the OpenRazer Daemon : | Install the OpenRazer Daemon : | ||
Line 163: | Line 185: | ||
[[https:// | [[https:// | ||
- | === Horizontal Scrolling === | + | ==== Horizontal Scrolling |
Horizontal scrolling is deactivated on the touchpad by default. You can check this by running | Horizontal scrolling is deactivated on the touchpad by default. You can check this by running | ||
Line 220: | Line 242: | ||
There might be a way to edit the config file located at / | There might be a way to edit the config file located at / | ||
+ | |||
+ | ===== Razer Core X eGPU ===== | ||
+ | |||
+ | === Introduction === | ||
+ | |||
+ | When it came to selecting an eGPU to use under Linux the Razer Core X seemed to be a great value for the money in fall 2021. | ||
+ | |||
+ | I chose the Core X over the Core X Chroma because the price difference was huge (220€ vs 365€) with the only benefit of an added 4 USB 3.0 ports, a 1Gbps Ethernet port and of course some LED lighting. Although having those ports directly on the thunderbolt bus would be great and works well in Windows and MacOS, people have reported issues in Linux (as of 2020) due to a few bugs in the integration of the USB controller used in the Core X Chroma. | ||
+ | |||
+ | Although the Thunderbolt implementation reserves a 10Gb/s bandwith specifically for other devices than PCIe (i.e. network, USB, etc.) and the problem above might one day be solved by new patches in the Linux Kernel, there are plenty of USB 3.0 adapters/ | ||
+ | |||
+ | === Installing and Initializing === | ||
+ | |||
+ | <code bash> | ||
+ | $sudo apt install bolt thunderbolt-tools | ||
+ | </ | ||
+ | <code bash> | ||
+ | $boltctl | ||
+ | </ | ||
+ | //This is the same as ' | ||
+ | <code bash> | ||
+ | $boltctl authorize xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx | ||
+ | </ | ||
+ | //Replace the last argument by the UUID of your device. Do this step only if the status is ' | ||
+ | <code bash> | ||
+ | $lspci | ||
+ | </ | ||
+ | //The eGPU should appear in a line starting with 'VGA compatible controller [...]// | ||
+ | |||
+ | Install appropriate drivers for the eGPU you are tunneling through Thunderbolt. | ||
+ | |||
+ | === Configuring X11 === | ||
+ | |||
+ | You need to write an '' | ||
+ | |||
+ | <code bash> | ||
+ | Section " | ||
+ | Load " | ||
+ | EndSection | ||
+ | |||
+ | Section " | ||
+ | Identifier " | ||
+ | Driver | ||
+ | BusID " | ||
+ | Option | ||
+ | Option | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | One of the drawbacks of eGPU usage in Linux is the lack of hotplug functionnality. The above '' | ||
+ | |||
+ | === GSwitch Project === | ||
+ | |||
+ | Which brings us to this simple tool developped to simplify the loading/ | ||
+ | |||
+ | Simply follow the instructions to install and setup (very easy and straightforward) and it will swap from external to internal gpu using the following commands : | ||
+ | |||
+ | <code bash> | ||
+ | $sudo gswitch egpu | ||
+ | $sudo gswitch internal | ||
+ | </ | ||
+ | |||
+ | Note that the thunderbolt device has to be in '' | ||
+ | |||
+ | |||
+ | === Useful Ressources === | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[http:// |