This is a thread where I will attempt to list out all the problems I had with setting Linux Mint on this laptop. Some of which were solved and some of which I still am looking to fix. I will continue to update this post with new information as I figure them out. Also keep note that I currently run Linux Mint Cinnamon 21.3 and unless otherwise specified, I run X11 display server, not Wayland.
There is a very good chance these may have already been fixed. Do not fix what is not broken. If the problems listed here do not apply in your case, ignore them
Another pro tip, apply these fixes one at a time, that way you will know if some fixes introduced some other problems and revert if necessary. I encountered and fixed these issues I am writing and I have not faced any such weird side effects. But again, things may change in the future.
Installation
There is a very good chance these may have already been fixed. Do not fix what is not broken. If the problems listed here do not apply in your case, ignore them
Another pro tip, apply these fixes one at a time, that way you will know if some fixes introduced some other problems and revert if necessary. I encountered and fixed these issues I am writing and I have not faced any such weird side effects. But again, things may change in the future.
Nothing special to add here, its the usual way of installing
Everything is too small
This is because you need to enable HiDPI Scaling. I have only done this in Linux Mint Cinnamon edition and unsure how it can be done in their other editions (if it can even be done) On Cinnamon try the following;
[*] Go to Display from the Main Menu
[*] Select Settings Tab and enable "Enable Fractional Scaling Controls"
[*] Go to the Layout Tab and you can set the Monitor Scale to 125%
Touchpad is too sensitive/insensitive (libinput)
[*] Go to Display from the Main Menu
[*] Select Settings Tab and enable "Enable Fractional Scaling Controls"
[*] Go to the Layout Tab and you can set the Monitor Scale to 125%
For Touchpad mouse speed, You can go to System Settings > Mouse and Touchpad > Touchpad(tab) and adjust speed
For Touchpad scroll speed, you can check out my other post here: viewtopic.php?t=412052
[TLDR: You need to add Option "ScrollPixelDistance" "40" to /usr/share/X11/xorg.conf.d/40-libinput.conf under where it says Identifier "libinput touchpad catchall"]
Example(Notice the third section):
Suspend will actually shut down the computer
For Touchpad scroll speed, you can check out my other post here: viewtopic.php?t=412052
[TLDR: You need to add Option "ScrollPixelDistance" "40" to /usr/share/X11/xorg.conf.d/40-libinput.conf under where it says Identifier "libinput touchpad catchall"]
Example(Notice the third section):
Code: Select all
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "ScrollPixelDistance" "40"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
This part may void your warranty
Tested in Linux kernel version 5.19 and 6.5.0, it is still the same. This is because the laptop uses "Modern Standby" sleep method which seems to not be supported natively in Linux(upto this point) The best solution is to switch to "S3 Sleep" mode. Unfortunately, this is not available from the default set of options provided by Acer UEFI setup. Luckily, you can use this github project https://github.com/lbschenkel/acer-sf314_43-acpi-fix to boot from a flash drive and fix it. The instructions are available in the project readme which is pretty simple. You can use the included "Disks" application to format a USB drive as FAT and proceed.
There is a very good reason why these settings were "hidden" from you, you will definately brick your computer if you are not careful. So only change what you know you should change and leave. There is no place for "What happens if I change it" curiosity
Cannot access the UEFI setup screen after the previous sleep mode fix
Tested in Linux kernel version 5.19 and 6.5.0, it is still the same. This is because the laptop uses "Modern Standby" sleep method which seems to not be supported natively in Linux(upto this point) The best solution is to switch to "S3 Sleep" mode. Unfortunately, this is not available from the default set of options provided by Acer UEFI setup. Luckily, you can use this github project https://github.com/lbschenkel/acer-sf314_43-acpi-fix to boot from a flash drive and fix it. The instructions are available in the project readme which is pretty simple. You can use the included "Disks" application to format a USB drive as FAT and proceed.
There is a very good reason why these settings were "hidden" from you, you will definately brick your computer if you are not careful. So only change what you know you should change and leave. There is no place for "What happens if I change it" curiosity
There is a bug in that tool where it will add whole bunch of "UEFI-Misc-*" enteries into your one time boot menu (F12 boot menu). You can boot using the tool, go to BootManager section and delete all those "UEFI-Misc-*" enteries, save the changes and now you should be able to go to UEFI settings. Again, it is very important that you do not touch what you do not understand.
[*] Open /usr/share/X11/xorg.conf.d/10-radeon.conf
Add in Option "TearFree" "true" and Option "DRI" "3"
Example:
Enabling Hibernation
Add in Option "TearFree" "true" and Option "DRI" "3"
Example:
Code: Select all
Section "OutputClass"
Identifier "Radeon"
MatchDriver "radeon"
Driver "radeon"
Option "TearFree" "true"
Option "DRI" "3"
EndSection
This is quiet simple, you just need to add the resume= in the list of kernel parameters. If you are using Grub(which is default in Linux Mint), you can add resume=/dev/sda5 [where sda5 is your swap partition] in your GRUB_CMDLINE_LINUX_DEFAULT. This will work even if your swap partition is in LVM or you are using a swap file. In case of LVM it becomes /dev/mapper/... and in case of swap file you are supposed to use the absolute path to the swap file from /. Dont forget to sudo update-grub
Using an alias Mac address
Ref: https://wiki.archlinux.org/title/MAC_address_spoofing The advantage/main reason for using an alias Mac address is that it can be used as your "nickname" of sort in that you can give that to your network provider who can assume it to be your Mac address that does not change even though it is actually not yours. It however does not prevent you being tracked because your fake mac address will still be unique to you. I have found the best option to use systemd.link method to change my Mac address.
Assume that the actual mac address is a1:b1:c1:d1:e1:f1 and you need to switch to a2:b2:c2:d2:e2:f2,
Then you would change /etc/systemd/network/01-mac.link as follows,
You can set MACAddressPolicy=random instead to randomize it
"Skipping" Grub
Assume that the actual mac address is a1:b1:c1:d1:e1:f1 and you need to switch to a2:b2:c2:d2:e2:f2,
Then you would change /etc/systemd/network/01-mac.link as follows,
Code: Select all
[Match]
PermanentMACAddress=a1:b1:c1:d1:e1:f1
[Link]
MACAddress=a2:b2:c2:d2:e2:f2
You do not actually skip grub. Grub is your bootloader. Here by skip, I mean to just skip showing boot menu. Unlike in other distributions, to "skip" grub, you need to set grub timeout to 0.5. You can set
[*]GRUB_DEFAULT=0.5
[*]GRUB_TIMEOUT=0.5
In this case, you want to use the F12 boot menu to boot into other operating system rather than selecting that in GRUB.
Audio stutters/skips randomly in VLC
[*]GRUB_DEFAULT=0.5
[*]GRUB_TIMEOUT=0.5
In this case, you want to use the F12 boot menu to boot into other operating system rather than selecting that in GRUB.
In VLC Media player, change Output Module to ALSA as,
[*] Tools -> Preferences
[*] Audio Tab
[*] Output Module: ALSA Output Module
Recommended to do but I dont truly understand the effects
[*] Tools -> Preferences
[*] Audio Tab
[*] Output Module: ALSA Output Module
I see these being recommended all the time, I dont really understand these fully but have no problem with these. These may help with some issues I have not experienced or something. But again, unlike previous enteries I do not fully understand what these do
Setting swappiness value to 10
In my understanding, it will set it such that swapping occures only after 90% RAM usage but its debated.
As per this article: https://wiki.archlinux.org/title/Acer_S ... parameters
(And in case you are asking, the link from Acer swift 3 links to this Acer swift 5 page suggesting they should be pretty similar laptops where Swift 5 has a touchscreen at most)
Setting swappiness value to 10
In my understanding, it will set it such that swapping occures only after 90% RAM usage but its debated.
sudo nano /etc/sysctl.conf
Add
Using Sound with Sound Open Firmware(Again, I have no idea about this) Add
Code: Select all
vm.swappiness=10
As per this article: https://wiki.archlinux.org/title/Acer_S ... parameters
(And in case you are asking, the link from Acer swift 3 links to this Acer swift 5 page suggesting they should be pretty similar laptops where Swift 5 has a touchscreen at most)
Edit /etc/modprobe.d/swift5.conf and add the following
Code: Select all
options snd_sof_intel_hda_common hda_model=alc255-acer