https://wiki.archlinux.org/api.php?action=feedcontributions&user=Niklasolai&feedformat=atomArchWiki - User contributions [en]2024-03-29T10:25:17ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=MSI_GS65&diff=577062MSI GS652019-07-08T09:18:20Z<p>Niklasolai: Added section about fan control, because the tools on the arch wiki were not useful.</p>
<hr />
<div>[[Category:MSI]]<br />
[[ja:MSI GS65]]<br />
{| class="wikitable" style="float: right;"<br />
| '''Device''' || '''Status''' || '''Modules'''<br />
|-<br />
| Intel GPU || {{G|Working}} || modesetting<br />
|-<br />
| Nvidia GPU || {{G|Working}} || nvidia (not nouveau)<br />
|-<br />
| Ethernet || {{G|Working}} || alx<br />
|-<br />
| Wireless || {{G|Working}} || iwlwifi<br />
|-<br />
| Audio || {{G|Working}} || snd_hda_intel<br />
|-<br />
| Webcam || {{G|Working}} || uvcvideo<br />
|-<br />
| Bluetooth || {{G|Working}}||btusb<br />
|-<br />
| USB || {{G|Working}}||<br />
|-<br />
| Thunderbolt || {{G|Working}}|| thunderbolt<br />
|-<br />
| Power management || {{Y|Partially Working}} ||<br />
|-<br />
| Keyboard || {{Y|Partially Working}}||<br />
|-<br />
| Touchpad || {{Y|Partially Working}}|| libinput<br />
|}<br />
<br />
For a general overview of laptop-related articles and recommendations, see [[Laptop]].<br />
<br />
== Configuration ==<br />
<br />
=== BIOS ===<br />
<br />
==== 2.20.1271 ====<br />
<br />
At bootup, the BIOS settings page is entered via the delete key, the quick boot select window can be activated via the F11 key, PXE scanning can be activated via the F12 key<br />
<br />
In the BIOS setings, the model name can be seen in the Main tab, [[Secure Boot]] can be disabled from the Security tab and boot mode can optionally be switched from [[UEFI]] to legacy. Advanced BIOS options can be accessed by going to the 'Advanced' tab and holding down l-alt, then pressing r-ctrl, r-shift, then F2.<br />
<br />
There is no known option to disable the discrete intel GPU, there may be one present after unlocking the advanced options.<br />
<br />
==== E16Q2IMS.110 ====<br />
<br />
This BIOS version introduces many ACPI problems (if BIOS is changed from [[UEFI]] to legacy), including a flood of "No handler or method for GPE [00->6E]" at boot, which can be solved through kernel parameters:<br />
<br />
* {{ic|1=acpi=off}} allows to boot but most things won't work, including the keyboard and touchpad.<br />
* {{ic|1=pci=nomsi}} or {{ic|1=acpi=off acpi=force}} allows to boot and have working keyboard and touchpad, but the NVidia card won't work ; neither will the USB3 ports.<br />
* {{ic|1=pcie_aspm=off}} will allow most things to work: keyboard, touchpad, USB 3 devices, NVidia card.<br />
<br />
=== Video ===<br />
<br />
==== Backlight ====<br />
<br />
[[Backlight]] works out of the box<br />
<br />
{{hc|# ls /sys/class/backlight/|<br />
intel_backlight<br />
}}<br />
<br />
==== Drivers ====<br />
[[PRIME]] functionality works by using only {{Pkg|nvidia}} and will work without the intel video driver, instead using modsetting.<br />
<br />
The {{Pkg|xf86-video-nouveau}} driver does not work well in PRIME configuration (see [[#Known Issues]]}).<br />
<br />
==== Multihead ====<br />
[[Multihead]] support works with intel-virtual-output tool, following the 'port wired to Nvidia' instructions at [https://github.com/Bumblebee-Project/Bumblebee/wiki/Multi-monitor-setup Bumblebee] and using this post at [https://superuser.com/questions/1082617/bumblebee-with-hdmi-on-nvidia-make-usable-both-with-without-connected-monitor Stack Exchange].<br />
<br />
Thunderbolt port is wired to Intel GPU thus allowing for external monitor to be used with nvidia gpu off.<br />
<br />
=== Webcam ===<br />
<br />
The webcam is device 003 on bus 001. See [[Webcam setup]] for more details.<br />
<br />
{{hc|# lsusb -vs 001:003|<br />
Bus 001 Device 003: ID 5986:211c Acer, Inc <br />
Device Descriptor:<br />
bLength 18<br />
bDescriptorType 1<br />
bcdUSB 2.01<br />
bDeviceClass 239 Miscellaneous Device<br />
bDeviceSubClass 2 <br />
bDeviceProtocol 1 Interface Association<br />
bMaxPacketSize0 64<br />
idVendor 0x5986 Acer, Inc<br />
idProduct 0x211c <br />
bcdDevice 3.01<br />
iManufacturer 1 SunplusIT Inc<br />
iProduct 2 HD Webcam<br />
iSerial 0 <br />
bNumConfigurations 1<br />
...<br />
}}<br />
<br />
<br />
=== Power Management ===<br />
<br />
Battery indicator works out of the box.<br />
<br />
Sleep and wake also work with the proper configuration (see [[Power management]]).<br />
<br />
An issue when sleeping is that the networking will be disabled when waking and set to airplane mode. This issue does not affect hibernation.<br />
<br />
=== Keyboard ===<br />
<br />
==== Lights ====<br />
<br />
{{hc|# lsusb -vs 001:002|<br />
Bus 001 Device 002: ID 1038:1122 SteelSeries ApS <br />
Device Descriptor:<br />
bLength 18<br />
bDescriptorType 1<br />
bcdUSB 2.00<br />
bDeviceClass 0 <br />
bDeviceSubClass 0 <br />
bDeviceProtocol 0 <br />
bMaxPacketSize0 64<br />
idVendor 0x1038 SteelSeries ApS<br />
idProduct 0x1122 <br />
bcdDevice 2.29<br />
iManufacturer 1 SteelSeries<br />
iProduct 2 SteelSeries KLC<br />
iSerial 0 <br />
bNumConfigurations 1<br />
}}<br />
<br />
The Steel Series lights on the keyboard cannot be configured with {{Aur|msi-keyboard-git}} or {{Aur|msiklm-git}}, because those tools only work with region-based RGB lighting. For this laptop model, the tool {{Aur|msi-perkeyrgb}} provides partial control.<br />
<br />
<br />
{{hc|$ msi-perkeyrgb -m gs65 --list-preset|<br />
Available presets for GS65:<br />
- aqua<br />
- chakra<br />
- default<br />
- disco<br />
- drain<br />
- freeway<br />
- plain<br />
- rainbow-split<br />
- roulette<br />
}}<br />
<br />
{{hc|$ msi-perkeyrgb -m gs65 -p aqua|<br />
}}<br />
<br />
If keyboard lights remain off, be sure you've rebooted after installing msi-perkeyrgb to refresh udev and that the brightness is turned to maximum with Fn+PgUp, then try the command again.<br />
<br />
==== Button Mapping ====<br />
<br />
===== Airplane Mode Key Combination =====<br />
<br />
The airplane mode key combination (FN + F10) is disabled by default. Adding the following kernel parameters activates airplane mode key combination:<br />
<br />
{{ic|1=acpi_osi=! acpi_osi="Windows 2009"}}<br />
<br />
===== Unmapped Buttons =====<br />
<br />
The following buttons don't have any function or keycodes.<br />
<br />
* FN + F7<br />
* FN + Home<br />
<br />
==== Non-US Keyboards' Backslash/Pipe 102nd Key ====<br />
{{Warning|As of Feb 2019, systemd 241.7 reverted this change; this workaround is no longer required.}}<br />
<br />
Systemd v240 addressed an issue for US keyboards which broke the mapping for the 102nd key on non-US keyboards. This is the key on the right of the space bar. For a UK keyboard it is the backslash/pipe key and you can correct the scancode to keycode mapping with<br />
{{ic|# setkeycodes 56 86<br />
}}. To make this permanent, save the command to an executable shell script with a #!/bin/sh shebang, then create and enable the following systemd unit file:<br />
[Unit]<br />
Description=Remap backslash key<br />
[Service]<br />
Type=oneshot<br />
ExecStart=/path/to/shell/script<br />
[Install]<br />
WantedBy=multi-user.target<br />
<br />
=== Touchpad ===<br />
<br />
Single tap and double finger scrolling work. Multi gestures do not work out the box though, they are detected with {{Aur|libinput-gestures}}.<br />
<br />
=== Fan Control ===<br />
<br />
Fan control by "Fancontrol (lm-sensors)" or "NoteBook Fan Control (NBFC)" is not supported, but by the use of the tool {{Aur|isw}} you can control the fans in the same way as Dragon Center on Windows.<br />
<br />
== Troubleshooting ==<br />
<br />
=== Webcam is not detected ===<br />
<br />
If {{ic|/dev/video0}} is unavailable and {{ic|lsusb}} does not list the webcam, make sure that hard webcam switch is activated. The switch is indicated on the F6 key and can be toggled with {{ic|FN + F6}}.<br />
<br />
== Tips and Tricks ==<br />
<br />
=== Microphone noise reduction ===<br />
<br />
GS65 has the twin microphone, which is very cool to have for noise reduction and echo cancellation, as well as background sounds suppression via beamforming technique. To get the best of it add this line to {{ic|/etc/pulse/default.pa}}:<br />
<br />
load-module module-echo-cancel use_master_format=1 aec_method=webrtc aec_args="beamforming=1 mic_geometry=-0.025,0,0,0.025,0,0"<br />
set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo.echo-cancel<br />
<br />
Also, it could be useful to add {{ic|1=analog_gain_control=0}} to {{ic|aec_args}} to disable automatic gain control.<br />
<br />
== Known Issues ==<br />
<br />
=== Lockup Issue (lspci and poweroff hang) ===<br />
<br />
'''Symptoms''':<br />
* lspci hangs<br />
* poweroff hangs<br />
<br />
'''Applies to''': Arch boot ISO and systems with nouveau or without nvidia driver installed. See [[NVIDIA Optimus#Lockup issue (lspci hangs)]].<br />
<br />
'''Solutions''':<br />
* '''Arch ISO:''' Add {{ic|1=modprobe.blacklist=nouveau}} to the kernel parameters (https://superuser.com/a/1301487).<br />
* '''System without nouveau''': Install {{Pkg|nvidia}}.<br />
<br />
=== Cheese Hangs While Opening Camera ===<br />
<br />
The issue can be fixed by installing {{Pkg|vlc}} and running:<br />
<br />
$ vlc v4l:// :v4l-vdev="/dev/video0"<br />
<br />
Following this, cheese should work correctly.<br />
<br />
=== Wifi is hardblocked (airplane mode) after waking up from suspend ===<br />
<br />
Waking from suspend will have wifi in airplane mode. [https://askubuntu.com/questions/1043547/wifi-hard-blocked-after-suspend-in-ubuntu-on-gs65]<br />
<br />
{{hc|# rfkill list|<br />
1: phy0: Wireless LAN<br />
Soft blocked: no<br />
Hard blocked: yes<br />
}}<br />
<br />
Wifi can be reactivated by either using the [[#Airplane_Mode_Key_Combination|airplane mode key combination]] twice or by hibernating and rebooting.<br />
<br />
A way to mitigate this is by setting systemd to hibernate instead of suspending.<br />
<br />
{{hc|/etc/systemd/logind.conf|<br />
HandleSuspendKey&#61;hibernate<br />
HandleLidSwitch&#61;hibernate<br />
}}<br />
<br />
=== System freeze ===<br />
<br />
From time to time the graphical interface will freeze and the keyboard will be unresponsive, though audio keeps running. It tends to happen when CPU temperature is high and CPUs are throttling.<br />
<br />
There is no known solution for this.<br />
<br />
It is not clear what causes this issue:<br />
{{hc|$ journalctl -r --boot -1 |<br />
Jul 22 20:27:40 almsi kernel: nvidia-modeset: ERROR: GPU:0: Failed to allocate memory for the display color lookup table.<br />
}}<br />
<br />
<br />
=== Display outputs don't work after suspend ===<br />
<br />
If the laptop is suspended with another monitor connected, then on wake all display outputs do not recognise when an external display is connected to any port. This persists across reboots. Worryingly it also persists if you reboot into Windows.<br />
<br />
One workaround is to boot into Windows, suspend the laptop, then wake it. Connected displays will then be recognised when rebooting into Windows or Arch.<br />
<br />
<br />
== More Information ==<br />
<br />
=== MS-16Q2 ===<br />
==== Microarchitecture, Processor and Platform ====<br />
{{hc|uname -mpi|<nowiki><br />
x86_64 unknown unknown<br />
</nowiki>}}<br />
<br />
==== PCI Devices ====<br />
{{hc|lspci|<nowiki><br />
00:00.0 Host bridge: Intel Corporation Device 3ec4 (rev 07)<br />
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)<br />
00:02.0 VGA compatible controller: Intel Corporation Device 3e9b<br />
00:12.0 Signal processing controller: Intel Corporation Device a379 (rev 10)<br />
00:14.0 USB controller: Intel Corporation Device a36d (rev 10)<br />
00:14.2 RAM memory: Intel Corporation Device a36f (rev 10)<br />
00:14.3 Network controller: Intel Corporation Device a370 (rev 10)<br />
00:16.0 Communication controller: Intel Corporation Device a360 (rev 10)<br />
00:1b.0 PCI bridge: Intel Corporation Device a340 (rev f0)<br />
00:1d.0 PCI bridge: Intel Corporation Device a330 (rev f0)<br />
00:1d.4 PCI bridge: Intel Corporation Device a334 (rev f0)<br />
00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)<br />
00:1f.3 Audio device: Intel Corporation Device a348 (rev 10)<br />
00:1f.4 SMBus: Intel Corporation Device a323 (rev 10)<br />
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device a324 (rev 10)<br />
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)<br />
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a808<br />
3c:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)<br />
</nowiki>}}<br />
<br />
==== USB Devices ====<br />
{{hc|lsusb|<nowiki><br />
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />
Bus 001 Device 002: ID 1038:1122 SteelSeries ApS <br />
Bus 001 Device 003: ID 8087:0aaa Intel Corp. <br />
Bus 001 Device 005: ID 5986:211c Acer, Inc<br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
</nowiki>}}<br />
<br />
==== Input Devices ====<br />
{{hc|ls -lah /dev/input/by-id|<nowiki><br />
total 0<br />
drwxr-xr-x 2 root root 80 Oct 27 11:24 .<br />
drwxr-xr-x 4 root root 480 Oct 27 11:24 ..<br />
lrwxrwxrwx 1 root root 9 Oct 27 09:14 usb-SteelSeries_SteelSeries_KLC-event-if01 -> ../event5<br />
lrwxrwxrwx 1 root root 10 Oct 27 11:24 usb-SunplusIT_Inc_HD_Webcam-event-if00 -> ../event10<br />
</nowiki>}}</div>Niklasolai