I want to switch from Windows to Zorin on my Surface Book 2. I installed Zorin 16 core and am booting from the Linux for surface kernel (https://github.com/linux-surface/linux-surface ). Everything works just fine as long as the laptop is connected to power, but when it runs on battery the performance drops dramatically to a point where it is unusable. I cannot even move the mouse properly. I tried to remove any power-saving tool on ubuntu that I could find but was not successful.
If anyone knows what else I could try it would be greatly appreciated.
I would recommend installing the Surface Kernel and testing it on performance:
20.04, battery, surface
1 Like
As mentioned in the question, I already did that. And I can see both batteries and their status.
Can you review this:
https://trabulsy4872.medium.com/tech-revival-creating-a-surface-pro-2-ubuntu-edition-d45d7567831e
I understand you can see your battery. That links title relates to that particular users problem - My interest was in the guide that was the reply... Since tracing your steps and ensuring everything was done correctly often works wonders.
However, the guide linked above in this post may have some more pointers. It is a little old...
It may also be that the Surface Kernel is not the way to go and should be replaced with the 5.8 kernel.
sudo apt install linux-headers-5.8.0-63-generic linux-modules-5.8.0-63-generic linux-modules-extra-5.8.0-63-generic linux-image-5.8.0-63-generic
1 Like
Thanks for the answer. The answer in the first post references the github page of linux-surface
, which I used. I checked the steps again and it appears to be exactly what I did.
I booted the system with the 5.13.0-28-generic
kernel and the problems persist. Is there something special about the 5.8.0-63-generic
Kernel?
There seem to be a lot of regressions in these later kernels. The 5.8 is the last most stable kernel I have found.
2 Likes
This solved the problem, thanks!
Although not being able to use the touchscreen and pen is kind of a deal-breaker for me
Looking round... Some say that the 5.15.13 kernel works and the touchscreen and pen work on it. But not on the 5.16 kernel...
From this source, it states that this is due to an Ubuntu introduce APT bug, not due to the Mainline Kernel or to Debian. Way to go Ubuntu.
The workaround to install the 5.16 kernel is to install the individual packages by downloading them, then running the sudo dpkg -i ...
command, instead of installing through APT.
Source:
opened 04:54PM - 29 Nov 21 UTC
closed 08:47AM - 16 Dec 21 UTC
Hi,
I have followed the Github installation notes by Maximilian Luz and have su… ccessfully dual booted Ubuntu 20.04lts onto my Surface Laptop 3. However using Ubuntu the keyboard, trackpad and touchscreen do not work so I have to plug in a separate keyboard and mouse. I attach the output that lists various errors. I am limited in my knowledge of computer technology and this is my first time on the website so apologies in advance. Help would be appreciated.
Evironment:
Device Microsoft Surface Laptop3 Desktop-U75GPAR
Memory 7.4 GiB
Processor Intel® Core™ i5-1035G7 CPU @ 1.20GHz × 8
Graphics Mesa Intel® Iris(R) Plus Graphics (ICL GT2)
Disk Capacity 128. GiB
OS Name Ubuntu 20.04.3 LTS
OS Type 64 bit
GNOME Version 3.36.8
Windowing System X11
Linux mikeandrosanna-Surface-Laptop-3 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Hi,
I have followed the Github installation notes by Maximilian Luz and have successfully dual booted Ubuntu 20.04lts onto my Surface Laptop 3. However using Ubuntu the keyboard, trackpad and touchscreen do not work so I have to plug in a separate keyboard and mouse. I attach the output that lists various errors. I am limited in my knowledge of computer technology and this is my first time on the website so apologies in advance. Help would be appreciated.
Evironment:
Device Microsoft Surface Laptop3 Desktop-U75GPAR
Memory 7.4 GiB
Processor Intel® Core™ i5-1035G7 CPU @ 1.20GHz × 8
Graphics Mesa Intel® Iris(R) Plus Graphics (ICL GT2)
Disk Capacity 128. GiB
OS Name Ubuntu 20.04.3 LTS
OS Type 64 bit
GNOME Version 3.36.8
Windowing System X11
Linux mikeandrosanna-Surface-Laptop-3 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ wget -qO - https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \
> | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/linux-surface.gpg
[sudo] password for mikeandrosanna:
4+1 records in
4+1 records out
2233 bytes (2.2 kB, 2.2 KiB) copied, 0.000108649 s, 20.6 MB/s
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ echo "deb [arch=amd64] https://pkg.surfacelinux.com/debian release main" \
> | sudo tee /etc/apt/sources.list.d/linux-surface.list
deb [arch=amd64] https://pkg.surfacelinux.com/debian release main
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Ign:3 http://ppa.launchpad.net/iaz/battery-status/ubuntu focal InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Err:6 http://ppa.launchpad.net/iaz/battery-status/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Hit:7 https://pkg.surfacelinux.com/debian release InRelease
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [8,964 B]
Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [12.9 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/iaz/battery-status/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ sudo apt install linux-image-surface linux-headers-surface iptsd libwacom-surface
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfprint-2-tod1 libllvm10
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libinih1 linux-headers-5.15.3-surface linux-image-5.15.3-surface
The following packages will be REMOVED
libwacom-bin libwacom-common libwacom2
The following NEW packages will be installed
iptsd libinih1 libwacom-surface linux-headers-5.15.3-surface
linux-headers-surface linux-image-5.15.3-surface linux-image-surface
0 to upgrade, 7 to newly install, 3 to remove and 54 not to upgrade.
Need to get 76.9 MB/76.9 MB of archives.
After this operation, 376 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 https://pkg.surfacelinux.com/debian release/main amd64 libwacom-surface amd64 1.12-2
401 Unauthorized [IP: 185.199.108.133 443]
Err:2 https://pkg.surfacelinux.com/debian release/main amd64 iptsd amd64 0.5-1
401 Unauthorized [IP: 185.199.108.133 443]
Err:3 https://pkg.surfacelinux.com/debian release/main amd64 linux-headers-5.15.3-surface amd64 5.15.3-surface-1
401 Unauthorized [IP: 185.199.108.133 443]
Err:4 https://pkg.surfacelinux.com/debian release/main amd64 linux-image-5.15.3-surface amd64 5.15.3-surface-1
401 Unauthorized [IP: 185.199.108.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/139604852/86019e52-7bfa-4bc6-8cc1-52147027aee6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20211122/us-east-1/s3/aws4_request&X-Amz-Date=20211122T160513Z&X-Amz-Expires=300&X-Amz-Signature=f578f0985bae672e1a8294241a13313b973b3004ff4b5cf1891b43a50d375128&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=139604852&response-content-disposition=attachment; filename=libwacom-surface_1.12-2_amd64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.108.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/261858706/88ea66fa-8b1d-45dd-96a0-004ddaaa2281?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20211122/us-east-1/s3/aws4_request&X-Amz-Date=20211122T160514Z&X-Amz-Expires=300&X-Amz-Signature=0a91b35430bdb98076b0f789e1cd5f172f9257ab919fe28c6e87a47cebb3d714&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=261858706&response-content-disposition=attachment; filename=iptsd_0.5-1_amd64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.108.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/155009767/7994b886-9a80-465e-96f9-075a209514c9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20211122/us-east-1/s3/aws4_request&X-Amz-Date=20211122T160514Z&X-Amz-Expires=300&X-Amz-Signature=62515304aa3587a67bc078d60603377b05d61df9ab4330d4e221abec8758fca7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=155009767&response-content-disposition=attachment; filename=linux-headers-5.15.3-surface_5.15.3-surface-1_amd64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.108.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/155009767/45b364f0-80bc-48d9-b255-fd84d518a73f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20211122/us-east-1/s3/aws4_request&X-Amz-Date=20211122T160514Z&X-Amz-Expires=300&X-Amz-Signature=4961f639ac6ec59a8adb27c4c31584576ccb6d0a65db693b2f107558f7097ad9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=155009767&response-content-disposition=attachment; filename=linux-image-5.15.3-surface_5.15.3-surface-1_amd64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.108.133 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ sudo systemctl enable iptsd
Failed to enable unit: Unit file iptsd.service does not exist.
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ sudo apt install linux-surface-secureboot-mok
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfprint-2-tod1 libllvm10
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
linux-surface-secureboot-mok
0 to upgrade, 1 to newly install, 0 to remove and 54 not to upgrade.
Need to get 5,008 B of archives.
After this operation, 15.4 kB of additional disk space will be used.
Err:1 https://pkg.surfacelinux.com/debian release/main amd64 linux-surface-secureboot-mok amd64 20211103-1
401 Unauthorized [IP: 185.199.111.133 443]
E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/211351605/1d335c4a-7dab-43d5-b588-fcaeeeddf6d9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20211122/us-east-1/s3/aws4_request&X-Amz-Date=20211122T160622Z&X-Amz-Expires=300&X-Amz-Signature=eb4e8521f4ac7df963158af74f883257858d78913d0e5d52c8b9fc14b99d525c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=211351605&response-content-disposition=attachment; filename=linux-surface-secureboot-mok_20211103-1_amd64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.111.133 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ sudo apt-get update
Ign:1 http://ppa.launchpad.net/iaz/battery-status/ubuntu focal InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Err:3 http://ppa.launchpad.net/iaz/battery-status/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Hit:4 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease
Get:5 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:7 https://pkg.surfacelinux.com/debian release InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/iaz/battery-status/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$ sudo --fix-missing
sudo: unrecognised option '--fix-missing'
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
[command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
prompt] [-T timeout] [-u user] file ...
mikeandrosanna@mikeandrosanna-Surface-Laptop-3:~$
/home/mikeandrosanna/Documents/Terminal Script 2.odt
/home/androstanediol/Documents/Terminal Script 2.odt
Your issue may already be reported!
Please search on the issue tracker before creating one. -->
<!-- Also, please fill out some basic environment details as follows.
Issues may be closed if the required information is not present. -->
[Description of the bug or feature]
### Environment
- Hardware model:
- Kernel version:
- Distribution:
<details><summary>`dmesg` output</summary>
```
please provide a copy of `dmesg` here if possible
```
</details>
system
Closed
9 May 2022 16:17
9
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.