jakeday / linux-surface

Linux Kernel for Surface Devices
2.6k stars 243 forks source link

Surface Book 2 #595

Open drgonzo1609 opened 4 years ago

drgonzo1609 commented 4 years ago

Hi there,

i just tried Ubuntu 19.10 on my Surface Book 2. After the clean install all i've done was:

sudo apt-get update sudo apt-get upgrade

and then according to the readme:

sudo apt install git curl wget sed git clone --depth 1 https://github.com/jakeday/linux-surface.git ~/linux-surface cd ~/linux-surface sudo sh setup.sh

the setup script ran without any errors. After booting the surface kernel everything seems to work. Except that the cursor is stuttering heavily and that the system freezes after undocking the tablet part. Only a reboot will help.

What did i miss?

Thx for any help!

igugigu commented 4 years ago

I solved these issues by disabling the Nvidia GPU by

drgonzo1609 commented 4 years ago

That is indeed working. But how can i use the dGPU and still be able to detach/attach the device? The readme suggests that this should work out of the box with the custom kernel. Or am I wrong?

pbnelson commented 4 years ago

My SB2 doesn't have the NVidia graphics so I didn't experience that problem. However I did experience a problem with 1 CPU being pegged for "kernel" threads (mostly ACPI stuff) when I upgraded to Ubuntu 19.10 this morning. This resulted in average cpu load of 2.5+ instead of the more typical 0.5 or less. The problem was resolved when I reinstalled surface-linux, but I notice that Ubuntu 19.10 defaults to Kernel 5.3.0-19, whereas surface-linux is still on 5.1.15. To get surface-linux to load I had to go into the advanced section and specifically select it. To save myself that hassle going forward, I changed the grub configuration to always load the last-used kernel instead of defaulting to the newest. Instructions: https://unix.stackexchange.com/a/421650/125387

igugigu commented 4 years ago

This tool https://github.com/qzed/linux-surfacebook2-mshw0153 helps changing the GPU:

surface dgpu set off
surface dgpu set on