User Tools

Site Tools


howto:surface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:surface [2023/03/27 18:36] Wulf Rajekhowto:surface [2024/10/21 17:50] (current) Wulf Rajek
Line 16: Line 16:
  
 https://amp.reddit.com/r/SurfaceLinux/comments/59lcio/arch_linux_lid_close_on_surface_book/ https://amp.reddit.com/r/SurfaceLinux/comments/59lcio/arch_linux_lid_close_on_surface_book/
 +
 +===== How to get into BIOS =====
 +
 +Power off, press and hold the volume up key, press power button, release volume key when surface logo appears.
  
 ===== Kernel less 4.16 ===== ===== Kernel less 4.16 =====
Line 294: Line 298:
 https://github.com/linux-surface/surface-firmware-old https://github.com/linux-surface/surface-firmware-old
  
-===== FN Keys =====+===== FN Function Keys =====
  
 By default the F1-F12 keys on the Surface Pro 3 need to be accessed using the FN key and the media keys are the default state. By default the F1-F12 keys on the Surface Pro 3 need to be accessed using the FN key and the media keys are the default state.
Line 319: Line 323:
  
 $ sudo apt install linux-image-surface linux-headers-surface iptsd libwacom-surface $ sudo apt install linux-image-surface linux-headers-surface iptsd libwacom-surface
-$ sudo systemctl enable iptsd 
-After that you can install our secureboot key. This will import the key that the linux-surface kernel is signed with into your bootloader, so that the kernel is bootable without disabling secureboot. This package will print instructions to the terminal, so please install it on its own, not as part of a bigger batch of packages. 
  
 +After that you can install the secureboot key. This will import the key that the linux-surface kernel is signed with into your bootloader, so that the kernel is bootable without disabling secureboot. This package will print instructions to the terminal, so please install it on its own, not as part of a bigger batch of packages.
 +
 +If your Debian derivate does not support secure boot, please skip this step.
 $ sudo apt install linux-surface-secureboot-mok $ sudo apt install linux-surface-secureboot-mok
-If your Debian derivate does not support secure boot, please skip the last step. 
  
 The linux-surface kernel will be installed alongside the default kernel provided by the distribution. This way you have a backup kernel you can use if something goes wrong. The bootloader will pick up the kernel by default, but you should update its configuration to make sure it was recognized. The linux-surface kernel will be installed alongside the default kernel provided by the distribution. This way you have a backup kernel you can use if something goes wrong. The bootloader will pick up the kernel by default, but you should update its configuration to make sure it was recognized.
  
 $ sudo update-grub $ sudo update-grub
-Finally, reboot your system and you should boot into the linux-surface kernel. Please make sure you are actually using the right kernel by checking if the output of uname -a contains the string surface. If it doesn't contain that string, you are still using the default kernel and need to configure your bootloader.+Finally, reboot your system and you should boot into the linux-surface kernel.  
 + 
 +This should ask for the secureboot key password for the key to be installed. The password is "surface" 
 + 
 +Please make sure you are actually using the right kernel by checking if the output of uname -a contains the string surface. If it doesn't contain that string, you are still using the default kernel and need to configure your bootloader.
 </code> </code>
  
Line 349: Line 357:
 </code> </code>
  
 +Also this without the background: https://github.com/jsayol/dark-mint-plymouth-theme/
 ===== Missing i915 firmware ===== ===== Missing i915 firmware =====
  
Line 432: Line 441:
 [SeatDefaults] [SeatDefaults]
 user-session=cinnamon user-session=cinnamon
-display-setup-script=xrandr --newmode "1920x1280_60.00"  206.25  1920 2056 2256 2592  1280 1283 1293 1327 -hsync +vsync ;\ +display-setup-script=/usr/local/bin/screenfix.sh 
-                     xrandr --addmode eDP-1 "1920x1280_60.00" ;\ +</code> 
-                     xrandr --output eDP-1 --primary --mode 1920x1280_60.00 --rotate normal+ 
 +<code bash /usr/local/bin/screenfix.sh> 
 +#!/bin/sh 
 +/usr/bin/xrandr --newmode "1920x1280_60.00"  206.25  1920 2056 2256 2592  1280 1283 1293 1327 -hsync +vsync 
 +/usr/bin/xrandr --addmode eDP-1 "1920x1280_60.00" ;\ 
 +/usr/bin/xrandr --output eDP-1 --primary --mode 1920x1280_60.00 --rotate normal 
 +exit 0 
 +</code> 
 +<code> 
 +chmod 755 /usr/local/bin/screenfix.sh 
 +</code> 
 + 
 +Surface 6 has a native resolution of 2736x1824 in 3:2 aspect ratio. Scaling by 200% is applied by default in mint. 100% scaling with 2/3rds the resolution works better: 
 +<code> 
 +xrandr --newmode "1824x1216_59.96" 186.01 1824 1944 2144 2464 1216 1217 1220 1259 -hsync +vsync 
 +xrandr --addmode eDP-1 "1824x1216_59.96"
 </code> </code>
howto/surface.1679938574.txt.gz · Last modified: 2023/05/29 11:53 (external edit)