r/SurfaceLinux • • Dec 10 '15

Out-of-the-box support for Linux Mint 17.3 Cinnamon on Surface devices - with improved touch support

This is a follow-up to my original LiveCD, but as I've done lots of updates since the last edit (and can't change the title to reflect that it's no longer the Beta/RC1 of Mint 17.3), it's high time for a new post.

The latest LiveCD now contains the following startup applications (as well as blueman for Bluetooth management, as before):

  • onboard for on-screen keyboard; docked to the bottom of screen by default

  • touchegg for gestures; compiled from git so that it works smoothly with Mint, unlike the standard Ubuntu version

  • autorotate with palm detection for automatic rotation; modified to work with SP1-3, regardless of model

  • autobacklight for auto backlight; slightly modified so it's disabled by default

  • redshiftgui for adjustment of light at night-time; disabled by default, and set to the longitude/latitude of Greenwich, UK when enabled

Also, I've included a GUI for Touchegg - again, I had to slightly modify the code for this as the original did not automatically restart touchegg after saving a new configuration, even though it tried to. Unfortunately, due to the /home folder being empty by default on the LiveCD, you need to press the "Defaults" button and then "Save" to be able to change the gestures.

As for firmware, I've included the latest Skylake and Broxton graphics drivers from Intel, along with the latest Marvell Wifi/Bluetooth.

Finally, I've included the latest kernel-surface package from my kernel PPA, which has all of the patches for the Surface line of devices known of thusfar, along with backported drm-intel graphics (including FBC and PSR power-saving for SP3 and Surface 3), plus the updated GCC-5 and initramfs-tools. There's also an updated graphics stack from my xorg-update PPA, which bumps X.org up to 1.18.2 along with all the drivers. Oibaf's PPA is also included as a PPA, so that LibDRM and Mesa are updated regularly once installed.

EDIT 1: There was slight mishap with the original LiveCD. The default configuration for touchegg doesn't contain a mapping for single-tap to "left mouse click", and without this, options in any menu accessed from the taskbar (including the Main Menu and Profile) don't work. I've fixed the issue by adding this both to touchegg and Touchegg-gce, but unfortunately this required a new ISO. The link to this ISO is now above.

EDIT 2: From the questions so far, it looks like I need to clarify the support on various Surfaces.

  • Surface Pro, 2 and 3: everything should work.

  • Surface Pro 4 and Book: with these having cutting-edge technology, the support in the Linux kernel isn't fully there yet. Due to this, the touchscreen won't work, nor will backlight control, physical buttons and cameras I believe.

  • Surface 3 (non Pro): although I have included kernel patches for the S3 (mostly the drm-intel changes, as these are required to actually boot), again support is limited. It's usable at least, though.

  • Surface RT range: these definitely won't work with this LiveCD. As 32-bit ARM devices, they'd need a different one, even if the bootloader could be bypassed somehow.

I would really like the SP4, SB and S3 experience with this CD to be better, and keep trying bleeding-edge patches in the hope these will fix at least the touchscreen, but I only have an SP3 so I can't easily test any changes (other than to check they don't break anything on that at least). It will get there eventually though; Linux always has to play catch-up with new technology, unfortunately.

EDIT 3: With the fix in Edit 1, onboard didn't function properly (keys were clicked twice - not very useful). I added a workaround for this by adding Onboard to its own group within the Touchegg GUI, and making single-tap do nothing for that group. Also, on the SP2 the touchscreen and pen weren't being reorientated properly when the screen was rotated. So, I made a number of changes to the autorotate script, and it works as intended now; there's even "palm detection" for when you're using the pen. Thanks to AykoPoel for the inspiration behind that. Finally, I got rid of the "remove media and press ENTER" prompt on powering off from the LiveCD, and set a timeout of 1 second on the grub menu (for when there's no keyboard/type cover). These are all fairly minor amends, but I've uploaded the new LiveCD with them now, please see above as usual for the updated link.

EDIT 4: I've now shared a folder on Google Drive and placed the ISO image into it, so the link will remain static. There's also a "Beta" sub folder, which is the latest, untested image - the current is identical in terms of scripts and applications, but with a patched Xenial kernel. Testers, especially with Surface Pro 4 and Surface Book, are most welcome! On previous models, this kernel appears to be more stable, quicker to boot, slightly better in terms of battery consumption, and because it's based on the latest "stable" Linux kernel, it's possible to integrate patches such as this one. The "Alpha" and "Beta" sub folders are now obsolete, I have kept the old ISOs within OLD sub-folders for anyone who still wants them, but as the latest Alpha is more stable, up-to-date and runs on more devices than the old "stable", with better display and HiDPI, it seemed insane to still keep that as an "Alpha". However, because many people have become accustomed to downloading the latest from the "Alpha" folder, for now I've made a copy of the "stable" into there.

EDIT 5: I've integrated some more ACPI patches into the latest beta version, mostly from patchwork, so the kernel more closely resembles the latest Linux tree. All of the patches (except BFQ, because that one's easy to find) now have a "From: (url)" at the top, in case anyone is curious where they come from. A few are amalgamated, and there may be slight amends, which were necessary to prevent problems with fuzzes (or worse, rejections) during the patching process. The beta LiveCD and compiled debs are now up to reflect the changes. No longer relevant, as these are all in the 4.4 kernel.

EDIT 6: The beta ISO has been updated with HiDPI enabled, text scaling set to 0.7, cursor size set to 18 (from 24) and icon size to "small", rather than standard. This further improves the touch experience, as UI elements and text are much easier to click (and read!); dconf-editor is included too, in case you want to change any settings. I've also upgraded the kernel to the latest Xenial version, based on 4.3.3. The debs are in the usual place for anyone who wants them, with patches to follow on GitHub later today (they're exactly the same, although I've modified the build script very slightly to do away with the "-oldmodule" and "version" patches). Also no longer relevant, but the stable ISO has all of the updates mentioned. The kernel, of course, is more up-to-date than that now. I have also removed the debs from Google Drive because they can be downloaded directly from the PPA instead.

EDIT 7: Last edit before the New Year - promise! I've added the UVC video patch and the "official" touchscreen patches one two from Daniel Martin (replacing my version) - thanks go to shvr for sourcing those. There's also a minor pinctrl patch which was pushed to 4.4-rc6, so that's included too. Merry Christmas ;) The pinctrl patch is integrated into the 4.4 kernel, so this is no longer required either. Err.. Happy Easter, I guess? ;)

121 Upvotes

398 comments sorted by

5

u/widby Dec 10 '15

Please describe the update approach.

Scenario: I installed an earlier version of your tweaked Mint. You released a new one. How do I switch to it, without reinstalling from scratch?

2

u/tigerite Dec 10 '15

Hi, that's a good question. For the kernel it's pretty straightforward; just download the debs from my Gdrive and install those from terminal as root. The apps are a bit more fiddly but I'll be adding instructions for those to GitHub in the next day or two. Mostly though, it's just a case of apt-get install touchegg (for example) and then just copy the one from the utils folder in GitHub to /usr/bin or, in the case of the scripts, copy them to /usr/local/bin/autorotate with the resources (png files) to /usr/local/share/autorotate (and the same for autobacklight). For the latter you need xbacklight and for both, python3-pyudev.

3

u/kingkoopa Dec 25 '15 edited Dec 25 '15

Thanks, this is awesome stuff! I'll continue to use it and play around with it on my i7 SP4. I have installed the beta version on the ssd and I'm using grub to boot up. Here's my current feedback:

Most stuff works but I have to choose "advanced options" in grub, and then choose the recovery option on the next grub menu. Then I get a screen with a few options, the first one is resume boot option, which then boots me into software rendering mode. Youtube works real slow in this mode. I tried adding the grub boot option you listed in another post, adding i915.preliminary_hw_support=1, but I still can't get it to boot normally.

I have at times gotten it to work by choosing the first option in the first grub menu (this was even before I added the i915 prelimary support boot option, it hasn't booted normally since I added the option), and not ending up in software rendering mode. It's pretty random though if it boots up or just shows a black screen and the keyboard stays illuminated. When it has worked though, Youtube seemed to run much better, however I was getting screen flicker. Screen flicker doesn't happen in software render mode. Also there was an option to adjust screen brightness when clicking on the battery icon in the tray, which I don't see in software render mode.

I'll continue to play around with it and give more feedback as I find other things out. I actually think it is very usable and super excited to continue using it. Let me know if I can test/help with anything else.

Thanks again for the awesome work!

1

u/tigerite Dec 25 '15

Thank you for the really valuable feedback! It seems that the preliminary support is still causing issues? That's odd because in the Ubuntu kernel, they've already patched the i915 driver so Skylake aren't considered 'preliminary' any more (only Broxton still is). So that option shouldn't really do anything? I wonder, what happens when you append nomodeset to the kernel - that should prevent black screen problems?

Software rendering has always been slow, mind, so I'm not too surprised by the results you've had with that..

In the New Year, I'll apply the new Surface button patch, so at least the hardware buttons will work :)

1

u/kingkoopa Dec 26 '15

Cool, thanks for the advice. The nomodeset seemed to do the trick. I can now get in from the first grub screen every time, but it will be in software render mode. I took nomodeset out though and have been rolling the dice to try and boot into normal mode so I can play around some. One thing I noticed, in normal mode, though Youtube plays better initially, after about 60 secs to 90 secs it usually gets unplayable and I have to close the Youtube tab. Same happens on other sites playing video. I'll let you know if I see other things as well. Thanks again for your work on this!

1

u/tigerite Dec 26 '15

I wish I knew what they'd done to the i915 driver since 4.2-rc3 (the backport module version that 3.19 uses), as that one seemed to work fine on the SP4, no flickering, no black screen and no software rendering. I'd attempt some patches to bring it up to the latest 4.4 RC but there are literally hundreds.. it's probably the most active section on Patchwork.

→ More replies (4)

2

u/RumbleApe Dec 11 '15

Does it work on Surface 3 (not pro) ? Surface 3 is at an amazing price point now.

3

u/tigerite Dec 11 '15

Although there have been quite a few patches for the S3 of late, which are included in the kernel, they are mostly touchscreen related; I believe the problem with the S3 is the graphics controller not starting up properly. There is work ongoing out there by kernel developers for the S3 though so it is only a matter of time.

→ More replies (1)

2

u/puda22 Feb 15 '16

Hi! I'm running SP4 as you know. I noticed the palm rejection isn't working at all and it's kind of hard to type as it clicks around while I'm typing. Would you know anything about this?

2

u/tigerite Feb 15 '16

Hmm, the palm rejection script is only for the touchscreen although I think I've seen some Xorg conf file for the touchpad. I'll see if I can dig it out, mine does that too although not to that extent. It's almost a bit too sensitive, the merest brush seems to cause it to click, usually opening another terminal as that's where I seem to spend most of my time, lol.

20

u/NECooley Dec 10 '15

Shutup and take my upvote, you beautiful creature.

1

u/hibbidyhoogoy Dec 10 '15

Hey, thanks for the release! Having one problem though. On my original surface pro when trying to install it's crashing when installing the grub2 bootloader at the end.

Know of a way to fix this?

2

u/tigerite Dec 10 '15

Hmm, I came across a similar problem the very first time I installed Mint (vanilla 17.2 without any kernel updates or patches, so hardly anything worked, barely the type cover from what I recall). I had chosen to encrypt the hard drive, did you also choose that option? As when I ran it again a second time, without encryption, everything went through smoothly..

As I posted above though, I would hold fire for a little bit, as I'm uploading a new ISO where Touchegg works properly with the menus in the taskbar. (The default configuration on the old LiveCD doesn't, unfortunately).

3

u/tigerite Dec 10 '15

The new ISO is now finally up and ready for download. Really sorry for the delay.

2

u/hibbidyhoogoy Dec 11 '15

No need to apologize man. Not sure why but it finally worked. It had that crash 3-4 times in a row and a took an angry nap, but when I woke up I tried again and everything is working perfectly. Installed and all. And yeah I am using an encrypted install.

All the SP features and keyboard are working fine. Thanks again for this!

→ More replies (1)

1

u/[deleted] Dec 10 '15

Oh wow, ok this looks pretty damn nice. I have a feeling this is going on my SP3. Magnificent work!

1

u/tigerite Dec 10 '15

I would suggest holding fire, as the default configuration for touchegg (which autostarts from the CD) is incorrect - it's missing the single-finger tap mapping to "click". Without that, the menu options don't work. Thankfully it's a simple fix which I've already made, but now have to wait an hour for the new ISO to upload. Fun.. ;)

1

u/[deleted] Dec 10 '15

lol, and it just finished downloading. Ah well, I don't have a bandwidth cap :)

1

u/tigerite Dec 10 '15

Yep really sorry about that. In my testing I always launched the touchegg GUI first, and saved the default, which does contain the single-click configurations. So I didn't spot this problem at first (that's still a workaround for the original LiveCD, but very un-user-friendly).

2

u/[deleted] Dec 10 '15

No worries, it'll just be great to have a nice setup! Thanks for the hard work!

→ More replies (3)

1

u/wedividebyzero Dec 11 '15

Thanks for this! I've been struggling to get a linux distro installed on a USB stick and booting with my Surface 3 Pro (it's a work computer and I dont want to touch the hard drive). Hopefully this will help :)

1

u/tigerite Dec 11 '15

taken installed this onto the MicroSD on his SP3 and it works pretty well there - better than any other Linux distro he's tried, so fingers crossed it will be a similar experience for you on the USB stick. The BFQ scheduler should help with that.

1

u/wedividebyzero Dec 11 '15

Well, I have good news and bad news. The good news is that it works! I'm able to boot off the USB and update, install stuff, etc. :)

The bad news is that I accidentally installed grub 2 onto the hard drive (it's a Win8.1 system). To make matters worse, its has Bitlocker and now it won't boot without the USB. Do you know if this is fixable? Or am I screwed?

1

u/tigerite Dec 11 '15

I'm afraid I don't know much about Bitlocker, can you still boot to Windows via the grub menu (should be able to)? If so, then you should be able to disable Bitlocker in Windows, then re-enable it by running manage-bde .. or so Google tells me. I have never tried, to be completely honest!

1

u/SirKrieger Dec 11 '15

Sorry if this is a silly question. Does the SP3 have support for multitouch? As far as I understand the gestures are enabled by touchegg. I'm currently using Ubuntu Gnome 15.10 and would consider using Mint if it has better touch support.

1

u/tigerite Dec 11 '15

Not a silly question at all, I believe the SP3 does have multitouch; the driver for the touchscreen in the kernel is actually hid-multitouch. I've installed touchegg to the LiveCD and set it to run at startup, it's not perfect, but I couldn't find any better gesture manager. As for Gnome 15.10, it's also a nice distro. I ran it for a while before switching to Mint, mostly because I couldn't get cinnamon to work smoothly on it?

1

u/SirKrieger Dec 11 '15

Would it be possible to run install the kernel you've patched? I'm currently running the 4.3 reeps kernel posted earlier by u/neoreeps

1

u/tigerite Dec 11 '15

Of course, it's 4.2.6 (or in Ubuntu terms, 4.2.0-17.21). Here you go: https://drive.google.com/open?id=0B0E-zt0RT0Y_TElxbHN6R1d2V3M

It has all the patches of neoreeps and a fair few more. ;)

1

u/SirKrieger Dec 11 '15

Awesome! Do you know if they'll automatically be used once installed? I recall hearing that it chooses the newest kernel.

→ More replies (15)
→ More replies (1)

1

u/stayGOLDNpwnyboy Dec 11 '15

sorry if this is obvious but - is this option a boot-from-media only approach?

1

u/tigerite Dec 11 '15

It depends how you want to use it, really. You can write it to USB or the SD card with some space for permanence for settings, which would then persist across boots. Or, you can install Mint from the image (from the Mint desktop) to a partition on your SSD, a USB drive or the SD to have a fully-fledged version that you can then customise to your heart's content.

1

u/stayGOLDNpwnyboy Dec 11 '15

thanks, this is looking really good. picking up my sp4 today so I'll let you know how it goes for me. very appreciative for the work youve put into this

1

u/tigerite Dec 11 '15

No problem, I would really appreciate feedback from SP4 and SB users, even though I know for sure a lot of things won't work yet..

1

u/stayGOLDNpwnyboy Dec 12 '15 edited Dec 12 '15

I have to say thanks again, it's so great to have mint on my SP4 only a short bit after picking it up with all the key drivers in place. the info below is not meant to complain just report my experience. I did this for the unix console so this is going to be just fine for my purposes.

install went off without a hitch, im dual booting with windows 10 (i7, 16gb). typepad and wifi worked immediately, onboard loads on screen (but see below). would be happy to try stuff out if you need a SP4 testing environment.

stuff that seems to not be working (my quick take):

resolution is super wonky (very small text) with no option to change, autorotation, pen, multitouch (trackpad or screen), screen touch, hardware buttons, running in software rendering mode

1

u/tigerite Dec 12 '15

Thanks for trying it out, I'm afraid I expected all of those issues though (apart from maybe multitouch not working on the trackpad, it should do - maybe try unattach and reattach, I have heard that works for some?) the touchscreen isn't recognised by the kernel, so the pen and rotation script won't work either. I imagine the text is related to the rendering mode; that may be something you can get out of by appending "i915.preliminary_hw_support=1" to the grub kernel line. Could you please try that and see if anything improves?

1

u/stayGOLDNpwnyboy Dec 14 '15

this works to get it out of software rendering mode (and my second monitor came to life!), but one downside is that the screen is flickering on/off a bit. thanks for the advice

1

u/tigerite Dec 14 '15

That's good to hear it worked, pity about the flickering though. With the latest beta ISO (with kernel 4.3.2), as long as it boots on your SP4, the preliminary support option won't be necessary as the Skylake graphics cards are no longer marked preliminary, and hopefully the drivers will have been improved over 4.2.6 which might help with the flickering too..

1

u/tigerite Dec 13 '15

Would you mind trying out my latest patched Ubuntu kernel? It's from the Xenial repository and 4.3 tree, with rebased patches from my GitHub. Be warned though - it may not boot on the SP4 so please don't remove/purge the current 4.2.0-19-generic just yet! https://drive.google.com/open?id=0B0E-zt0RT0Y_b3M3YkxBSnBpblk

→ More replies (1)

1

u/Corm Dec 14 '15

I already have ubuntu and grub installed, to install this do I just boot it and install from the USB? Is it as simple as it was to install ubuntu?

Also, thanks for this!

2

u/tigerite Dec 14 '15

That's right, or if you want to stay with Ubuntu you could simply install the kernel only and then onboard/touchegg/autorotate yourself. I will be putting up instructions for how to do that on GitHub this week, in the context of the LiveCD, but the steps will be identical on a full install.

1

u/Corm Dec 14 '15

Cool, thanks, I'm downloading now. I think the biggest feature is that you fixed the touchscreen randomly dying. That kept me on windows because rebooting every 20 mins was awful.

2

u/tigerite Dec 14 '15

Daniel Martin should take most of the credit for the fix, to be honest. I'm not 100% sure why he was so against the quirk, I haven't noticed anything going awry with it enabled.

But yes, before I found that patch and integrated it, I'd have to map xinput disable/enable to the Windows key, or rotate the screen with the autorotate script, to get it working again. That was almost acceptable given it would stop working only sporadically, but then when I integrated gestures with touchegg, that became after trying a two-finger tap (for right-click) less than half a dozen times.

1

u/widby Dec 14 '15

Have you got a twitter feed or some permanent link that will always point to the latest-greatest, freshly minted ISO?

2

u/tigerite Dec 14 '15

A permanent link is probably a good idea, I'll make a shared folder within Google Drive for it and then have sub-folders of "stable" and "beta". I'm just waiting for the latest to upload there now, with kernel based on 4.3, then I'll do that. No twitter feed, only my GitHub page..

1

u/[deleted] Dec 15 '15

Quick question: Actually installing this on a partition on the SSD, grub doesn't actually function. I recalling messing around with Linux on this thing a while ago and had issues getting grub to show up. It seems MS hard codes its own boot loader into the BIOS. Before I kinda worked around that by setting up an EFI boot on an sdcard and using that. A bit hacky but it worked. Stuff like that still necessary? Can I get away with disabling tpm / secure boot maybe?

1

u/tigerite Dec 15 '15

Is this on a SP3? I can only speak for my experience on that and it worked fine with a partition on the SSD. Have you tried rEFInd? That definitely works, I use it instead of grub (which I'm not a huge fan of).

1

u/[deleted] Dec 15 '15 edited Dec 15 '15

Yeah, SP3. I just installed it normally via the installer. Grub was setup on /dev/sda (the internal ssd), but it doesn't show up after installation. Curious, if others aren't getting the same problems.

EDIT: I've tried a few times now, I cannot get grub to work. I read Installing grub to /dev/sda2 (the EFI partition..) may work, but it fails with "grub-efi-amd64-signed packaged failed to install into /target/" then the installer crashes, secure boot on or off makes no difference.

I can only assume that this doesn't actually install normally at all, and you need to manually install something else like refind.

1

u/tigerite Dec 15 '15

I had that the first time I tried to install Mint 17.2 (pre patched kernel, when I was starting out) and I had that error about /target/ too, with "encrypted filesystem" on. I turned that option off the second time and it worked then, albeit really slowly because the wifi wasn't patched. I've also heard of other people having this issue randomly, but then had it work the next time they tried, so it seems a bit sporadic. Unfortunately I don't know why that is, as it's something within Mint itself, and isn't related to my changes.. I will see if I can dig anything out as to what it's doing. rEFInd is certainly another option though, it even has an icon for Mint these days..

→ More replies (5)

1

u/superficies Dec 17 '15

Thanks! I'm having some newbie trouble on both my SB with dGPU and my SP4 with integrated graphics. I'm trying to both adjust brightness and set scaling. I can do neither. I've downloaded the brightness applet and have run some gnome commands to set scaling. All this to not avail.

Any ideas?

1

u/tigerite Dec 17 '15

Unfortunately I think this, again, is something that's not supported in the kernel for SP4/SB yet; /sys/class/backlight is empty, from what I understand. I'm surprised that scaling doesn't work though. Have you tried the latest beta (I updated it last night), it probably won't make any difference, but it has a more up-to-date kernel than the stable?

If you do try the beta, please let me know how it goes, because 4.3 kernels (and above) were causing issues with the SB due to NVMe - I'm hoping that might have been fixed..

1

u/zetsurin Dec 17 '15

Something odd seems to be happening with this build now on my SP2. It seems to be fading my screen into a shade of yellow-ish colour. Wasn't happening to the build you had in the old thread. I'll try re-downloading the current version just to be sure I have the latest.

2

u/tigerite Dec 17 '15

That's probably redshift, you can disable that by clicking its icon on the taskbar.

1

u/zetsurin Dec 17 '15

Aha! That's exactly what it is. Thanks for pointing that out.

1

u/tigerite Dec 17 '15

No worries - I should probably disable it by default, will do that for the next beta..

1

u/CptPotato98 Dec 18 '15

Anyone try this on a first-gen Surface Pro?

I should be picking one up within the next couple of days, so I'm curious as to how it works with this.

1

u/tigerite Dec 18 '15

Yep, someone did try this on an original Surface Pro and it works really well. Certainly the autorotate and autobacklight will work on that, the scripts were based on FreundTech's which were written for the SP1, and a few patches - such as the lid suspending properly and wifi fix - target the (very few) remaining kernel issues with the SP1 and 2.

1

u/CptPotato98 Dec 18 '15

That's great. Guess there's still some benefit to going with older hardware instead of chasing after the latest and greatest.

Thank you very much for replying. Keep up the good work!

2

u/tigerite Dec 18 '15

Definitely - especially where Linux is concerned, as it takes time for new firmware and drivers to be supported. I do try to support all Surface models with the patches and scripts I modify the LiveCD with, but it's out of my control where new hardware is concerned - especially as I have no way of testing, only owning an SP3 and having access to my wife's SP2 ;)

1

u/CptPotato98 Dec 18 '15

Understandable. I managed to find this Pro 1 for quite a reasonable price, thinking I would only use Windows on it, but this seems too tempting not to try, if anything, just for the cool factor alone. Knowing it actually works well is a bonus. lol

2

u/tigerite Dec 18 '15

I've figured out this evening how to set the default DPI to double, text scaling to 0.7 and reduce the cursor plus icon size to match. This makes it more touch friendly, and very akin to Windows in terms of sizing and ease on the eye. I'll be uploading the new beta ISO with these settings (and patched kernel, as Xenial's got based to 4.3.3, plus the patches ran in fine with no amends, so why not..)

→ More replies (4)

1

u/Corm Dec 20 '15

Hey that patch that you did that keeps the touch screen from turning off is AWESOME, I'm using your beta version right now to type this.

Did you push that fix upstream? Will it be in future kernels?

2

u/tigerite Dec 20 '15

That's great you're seeing the same results as I am with the patch! I'd love to push it upstream, but because Daniel in his original was so against using MT_QUIRK_NOT_SEEN_MEANS_UP, they may not accept it. I did try all sorts to get it to work without the quirk, but to no avail.

1

u/Corm Dec 21 '15

I don't really understand that conversation in the email thread since it's over my head, but the gist at the end seems to be that they found an alternative solution.

Would you guess that the touchscreen problem will be fixed in a future kernel, or is it a lost cause? I'd really love to be able to have a native kernel that works with the SP someday, especially with convergence on the horizon.

2

u/tigerite Dec 21 '15

Daniel actually made another version of the patch and sent it to shvr (maintainer of the Fedora kernel for the SP3), that was at the start of October, but hasn't attempted to push it upstream. I agree that it would be ideal to have it in the native kernel, as it makes a huge difference to the touchscreen functionality. I'll send him another email and ask what his intention is regarding the patch; maybe he's still working on an improvement?

→ More replies (1)

1

u/zetsurin Dec 22 '15

Latest beta running perfectly on my SP2, including suspend. Battery doesn't seem to drain at all during suspend either, from what I can tell. HiDPI makes things much easier on the eyes. Great work again.

Just one silly question: is there a way to enable single tap + drag (eg. tap, drag to highlight text range / tab + drag window via title bar) via the touchpad?

1

u/tigerite Dec 22 '15

Yep, I much prefer the HiDPI with font 0.7 now I'm used to it, along with the smaller icons and cursor. That's great about suspend, maybe the later kernel has improved matters? Really glad to hear it works so well!

Good question about the touchpad, I guess it depends on the multitouch support. I honestly haven't dug that deep into it all to be able to say, maybe touchegg could help or something inbuilt in Mint?

1

u/zetsurin Dec 22 '15

I see Touchegg has a TAP_AND_DRAG gesture, but I can't work out what underlying operation it should emit.

1

u/tigerite Dec 22 '15

I've never been able to get that to work (at least for the touchscreen). It's meant to enable things like long press to right-click, I think.

1

u/nikodll Dec 22 '15

I couldn't even boot with the latest beta CD on SP4-Pro i7. I used "Universal USB Installer" to create bootable flash drive, could you tell which one did you use?

→ More replies (2)

1

u/CrossRelations Dec 23 '15

Thanks so much for your work here! I have this running on my Surface Pro 1. Everything is nearly flawless. The only issue I'm noticing is that the wifi is unstable. I saw that you integrated a patch for it, so I'm not sure why I'm experiencing issues. Basically, it will work fine for maybe five minutes, and then I'll lose connectivity entirely, though it claims I'm still connected to the network. If I switch wifi on and off that will restore connectivity, but again, just for five or so minutes. Any ideas why this might be happening?

1

u/tigerite Dec 24 '15

Hmm, that is odd, is that with the stable or beta? The beta has a more up-to-date kernel; only one patch was needed for that, as opposed to two in the stable, so you could give that a try..

→ More replies (2)

1

u/cass00 Dec 24 '15

Out of curiosity: Is double clicking with the touchscreen working with this? Can be tested under system settings > Mouse and Touchpad > Double click test. Does not work for me under Fedora.

1

u/tigerite Dec 24 '15

Unfortunately I don't have my SP3 with me, I suspect the culprit may be touchegg as it is overriding single click. Can you try killall touchegg and see if it works again? You'll lose the two-finger-tap for right-click gesture, though.

Oh wait, you're probably not running touchegg on Fedora anyway..

1

u/cass00 Dec 24 '15

No it's not touchegg, tested that already.

1

u/tigerite Dec 24 '15

Does it work with the 'official' touchscreen patch from Daniel? Or was it working previously (with my version) and isn't now? Or just doesn't work full stop?

→ More replies (2)

1

u/[deleted] Dec 25 '15

This is probably extacy what I need, I really want to get rid of Windows but it seems that my SP1 doesn't really like linux. If I could just make a permanent switch so I could do everything for school... I wouldn't even care about games as long as it just works properly and doesn't drain the battery.

1

u/tigerite Dec 25 '15

From other's reports and experience, this works really well on the SP1,2 and 3;especially the beta version, which has a more stable wifi. And you can try basically everything out from the LiveCD experience as all of the patches and touchscreen utilities are included by default.

1

u/[deleted] Dec 26 '15

Yes I understood that this mint was better suited for the surfaces. Unfortunately I keep going back to windows; I hate it but it just works better. Yesterday I installed mint and came to the conclusion that it still needed a lot of tweaking to be usable. Because I keep going back to windows I keep forgetting everything about linux:

  • Interface is very small

  • On screen keyboard doesn't pop up (Not sure if this is supposed to be)

  • Put the device to sleep/off and it didn't wake up without a hard reset.

  • Two finger scrolling felt annoying after using W10

  • 50% battery drain when turned off.

  • Afraid to update.

  • Afraid to use.

Those are some bullshit reasons why I don't like this particular install. The last two reasons are more Linux general. However, I would be an asshole if I didn't admit that some things worked out of the box:

  • WiFi worked out of the box, didn't expect that

  • Bluetooth worked out of the box

  • No graphical glitches or artefacts

  • Battery seems to hold up quite well when on.

I know that the ony way to learn linux is to use it, but can't help but feel some sadness that it's always so much work to keep it running which is a surprise to me since servers tend to run extremely well on linux.

2

u/tigerite Dec 26 '15

Those are all completely fair points, though I'm surprised by the interface comment, as I enabled HiDPI so it is closer to Windows - did you try the stable or beta version? There is a way to make the on-screen keyboard appear when the type cover isn't detected, but I haven't really played with that yet. Another project for the New Year. As for the sleep/off, that should definitely not happen when you use the type cover to 'sleep' (by closing the 'lid'); I can't get sleep to work any other way, as power options don't include it, at least on my SP3.

→ More replies (5)
→ More replies (1)

1

u/kxra Dec 26 '15

how are the webcams and mic supported on the surface book?

1

u/tigerite Dec 26 '15

The webcams aren't as of yet (not even in the Linux kernel code), as for the mic I haven't had any reports either way, but on the SP4 and Book take anything working as a bonus, basically;)

1

u/kxra Dec 26 '15

Aha thanks. Are they being worked on and is there a way to track progress?

1

u/tigerite Dec 26 '15

There have been recent posts in bugzilla related to the SP4, so I would say most issues will be fixed in the near future.. hopefully!

→ More replies (1)

1

u/SirKrieger Jan 09 '16

I've encountered a bug with bluetooth. I had initially been able to connect my ps3 controller with bluetooth using sixaxis however, now when I go to my bluetooth settings it says that it's disabled. (Bluetooth is enable in the bios) I've tried to run the bluez daemon (It gives me an error stating bluez daemon isn't running) but even when run with sudo it tells me it doesn't have permission.

rfkill list tells me that there is no soft or hard block on my bluetooth device.

1

u/tigerite Jan 09 '16

Have you installed (downloaded from git and copied into /lib/firmware) the Marvell bin files? It's a shared chip between wifi and Bluetooth; I had this problem myself before copying those. If you're running the ISO, these are already present, but if you've just installed the kernel debs then it's a necessary step.

1

u/SirKrieger Jan 09 '16

I've been running the iso from ~ december 18th and have since updated the debs if that's what you mean.

2

u/tigerite Jan 09 '16

Was that the beta? Not that it should matter really, as the Marvell drivers and firmware are the same I believe.

Just to make sure though, could you try to run:

git clone git://git.marvell.com/mwifiex-firmware.git  
sudo mkdir /lib/firmware/mrvl
sudo cp mwifiex-firmware/mrvl/* /lib/firmware/mrvl/

The mkdir command may fail if it already exists, you can safely ignore that.

1

u/SirKrieger Jan 09 '16

I did what you suggested and rebooted the computer, nothing changed as far as I can tell in regards to functionality.

→ More replies (39)

1

u/puda22 Jan 10 '16

I've installed your Beta BFS image yesterday on my SP4 and it's working so much better than the other Beta and Alpha! It boots without a problem and doesn't go into the software rendering mode, therefore the backlight works now. The hardware buttons work (volume up and down and power). Only things that's not working is the touchscreen, camera and the screen flickers randomly (when watching a video on fullscreen the video and audio both stutter very very bad). Good work man! Thanks!

1

u/tigerite Jan 10 '16

Thanks for trying it out! Truthfully I didn't expect it to make such a difference to the SP4 experience; while I did include the SP4 button patch, nothing else changed from the Beta, other than reintroducing the BFS scheduler and ensuring the kernel config was set to 1000Hz, tickless, fully preemptable. Those settings had the knock-on effect of disabling the i810 (predecessor to i915 I believe?) module from the build process, as it's not compatible with preempt, but I had no idea it would improve the i915 boot issues. Hope it's not just a fluke! If only it were possible to backport the i915 changes from 4.4-rc8, which I have found to be much less stable..

1

u/puda22 Jan 10 '16

I have tried installing your nightly 4.4-rc8 kernel on the working BFS Beta image. Unfortunately it brings back the boot problem. I notice the flickers only happen when I am using the cinnamon's panel (including the start menu).

1

u/tigerite Jan 10 '16

To the best of my knowledge, BFS hasn't been ported to any of the 4.4 RCs yet. I could try to patch in the 4.3 version along with the configs, it might work.. but I had to modify the BFQ 4.3 version quite a bit to get that to patch cleanly, so chances are not, unfortunately.

1

u/acerbix Jan 10 '16 edited Jan 10 '16

Thanks for all the hard work on this - I have a SP4-i5/8G/256GB, and was struggling with stability issues on a lot of 4.3/4.4 kernels but then I used your git repo and now I have a solid basic kernel with full 2d/3d accel and no flicker/tearing on X, working surface buttons and fast youtube HD playback :)

I saw your post pretty late - I used instructions here for SP4: https://github.com/jimdigriz/debian-mssp4 - but used Ubuntu 15.10 instead of Jessie (personal preference). Got as far as installing the base system and booted into 15.10 on kernel 4.2 - however couldn't compile the kernel due to differences between Debian and Ubuntu. That's when I found this post :)

I cloned the github repo (https://github.com/tiggerite/mint-17.3-for-surface-pro-3) and used the build_kernel 4.4 build script and patches, had to change a couple of functions in one of the kernel driver c files (the build broke otherwise - but the change was simple enough), had to update /etc/initramfs-tools/modules to add nvme and hid_multitouch - that was enough to build/install the 4.4 kernel. Installing teh linux-extra package gave a warning for a missing i915 firmware file - fixed that problem by getting the latest skylake firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares (only the GuC - Ubuntu already had the latest DMC). That made the warning go away.

Once I booted into the 4.4 kernel I had minor issues with some flicker on the displays (I was using a viewsonic monitor on the miniDP port along with the surface screen). Installing the latest intel drivers from https://01.org/linuxgraphics/downloads/intel-graphics-installer-linux-1.2.1, and rebooting took care of that problem.

I havent tested sleep/resume yet, and the touchscreen doesnt work. Still I now have working touchpad/keyboard, stable GUI, 2d/3d acceleration, wifi and bluetooth (it even detects the surface pen on bluetooth - of course, since touchscreen does not work yet, the pen cant actually do anything).

Now I will try your livecd on the SP4 to see if it works better. Will let you know how that goes.

** Update - used the livecd (BFS) - visually very nice. However, the whole display (surface screen) had a beige tinge or hue. Booted back into the Ubuntu partition - no beige tinge there. Is the beige tinge turned on by default in your livecd?

1

u/tigerite Jan 11 '16

I'm really impressed you managed to get the 4.4 RC to build - the instructions on my GitHub are a bit sketchy for that at the moment, as I haven't gotten round to updating the README properly yet, so you did a great job! It's a bit of a surprise you had build errors though; I thought I'd covered everything.. were they from the i915 folder? If so, it must be the git reset not working. Either way, I think you are the first to try compiling the kernel from scratch so I guess a few teething problems aren't unexpected ;)

I also very much appreciate your finding the solution for the NVMe/type cover in Plymouth. The warnings for the firmware I believe can be ignored, but yes, instructions for downloading the bin files needs to go on the GitHub page also. As for flicker, that's surprising, as the drm-intel-nightly branch really should have a more up-to-date version than the installer. Also, I can't run the installer on Mint as it's based on 14.04, which is unsupported. When Mint 18 is released this April, that'll become a thing of the past (as it'll be based on Xenial/16.04), but I'd rather not wait till then to fix the issue.. do you know what files the installer modifies, out of interest?

Finally regarding the LiveCD and its beige tint; that's due to redshift. I really need to figure how to disable that by default on boot, as you're at least the second person to notice it. For now you can click on the taskbar icon and disable manually, then the colours will be back to normal.

Thanks again for all the testing and feedback, especially regarding the kernel - it's invaluable!

1

u/[deleted] Jan 13 '16

I've got the same model as you.

However, I can not boot into tigerite's BFS Live USB. I get to see the grub menu for half a second, and then everything goes black.

Did you have the same experience or what was your approach? I don't really want to dual boot, I just want a portable Linux OS.

1

u/basssilico Jan 14 '16

Hi, i stumbled on this post a couple of days ago, after i installed Ubuntu on my SP1.

I was curious to try your distro, and i quite like it :) Touchegg works great, and the bar autohide works a lot better than Ubuntu.

However, i cannot seem to manage to use autobacklight and autorotate, since i don't have the /sys/bus/iio folder to find the sensor. Any idea on how i can do it?

Thank you

2

u/tigerite Jan 15 '16

Hmm, that is odd about /sys/bus/iio as the code was mostly taken from https://github.com/freundTech/surface-tools/blob/master/autorotate/autorotate - which was built for the SP1?

1

u/basssilico Jan 15 '16

i'm using the system version you suggested here, but if i

cd /sys/bus
ls -a

i get this output

me@SurProL /sys/bus $ ls -a . event_source mei pci serio xen .. hdaudio memory pci_express snd_seq xen-backend acpi hid mipi-dsi platform spi clockevents i2c mmc pnp usb clocksource machinecheck nd rapidio virtio container mdio_bus node scsi vme cpu media parport sdio workqueue

I correct myself, autorotate works (had to remove the keyboard, discovered that yesterday), but autobacklight doesn't. Does your kernel have this folder?

2

u/tigerite Jan 15 '16

Yes it does, at least on my SP3:

peter@peter-Surface-Pro-3 ~ $ cd /sys/bus
peter@peter-Surface-Pro-3 /sys/bus $ ls
ac97          hdaudio       mei       pci          serio      xen
acpi          hid           memory    pci_express  snd_seq    xen-backend
clockevents   i2c           mipi-dsi  platform     spi        xen_cpu
clocksource   iio           mmc       pnp          usb        xen_memory
container     machinecheck  nd        rapidio      virtio
cpu           mdio_bus      node      scsi         vme
event_source  media         parport   sdio         workqueue

autobacklight, again, was modified from freundTech's which was written for the SP1, so it's surprising you're having these problems.. in fact, the only difference is mine doesn't autostart? Otherwise it's virtually identical.

1

u/basssilico Jan 15 '16

i now see the iio folder, but if i go to /sys/bus/iio/devices i only see . and ..

i have downloaded freundtech's files, but the readme.md says i should specify what is the name of the sensor, which should be in the iio/devices folder. Can you please show me how your output is for

ls -a /sys/bus/iio/devices

?

Thank you

→ More replies (14)
→ More replies (1)

1

u/puda22 Jan 15 '16

I really like what you're doing. Is there any sign of improvement for SP4? I can almost use it for everyday purposes, but the video playback stutter is killing me.

1

u/tigerite Jan 15 '16

Have you tried the latest ISO in the Beta/BFS folder? I updated that just yesterday to have the newest linux-firmware package, it may help matters (no promises though).. sadly I don't have an SP4 to test it on..

1

u/puda22 Jan 15 '16

I have tried it yesterday as I was checking if there was any update. the beta BFS works on SP4 with no difference from the last BFS, boots fine, backlight works, no rendering, no touchscreen, hard buttons work and the dreaded hd video stutter. I am trying to fix it myself, but no such luck. Thanks anyway :)

1

u/tigerite Jan 15 '16 edited Jan 15 '16

I'm just uploading a new "Alpha" with a kernel based on the stable 4.4 from the drm-intel tree, the official BFQ files from https://groups.google.com/forum/#!forum/bfq-iosched patched-in, preemption enabled and CONFIG_HZ=1000; unfortunately I've not been able to get BFS to work yet, though. (I could get the kernel to compile with some patching, but it would never boot) I've updated to linux-firmware-1.155 as with the Beta too, and included nvme plus hid_multitouch in /etc/initramfs-tools/modules.

Edit to add, the Alpha ISO is now up and in the same place (Alpha folder). I would appreciate Surface 3 user's feedback too as the final patches were slightly different and I've gone with those, rather than the ones Jani originally posted.

2

u/Adynathos Jan 16 '16

Thank you very much for this important work.

I have tested this alpha version on SP4:

OK: WIFI, bluetooth, volume buttons, power button

Problems:

  • touchscreen or pen have no effect

  • minor and temporary image artifacts when opening the mint start menu

  • screen rotation has no effect

  • fails to restore from hibernate (after hibernation screen becomes black, no response)

If you have anything to test or need help with the development, I would gladly be of service.

By the way, do you know of any way to navigate in the grub menu without a USB keyboard?

→ More replies (7)
→ More replies (32)

1

u/franzaine Jan 24 '16

All in all this runs great on my Surface Pro 3! Not working that well:

  1. Automatic backlight is pitch black, I think. Could also be really, really dark

  2. Palm rejection on the original Surface Pro 3 Type Keyboard

  3. Everything is very, very small. Tried to increase font size but I think that is the wrong approach as that doesn't increase button size. Should be some scaling setting somewhere. Will try to find it later.

Other than that this is really great so far!

2

u/tigerite Jan 24 '16

Are you using the Beta BFS version? I fixed the tiny display issue on that release by enabling HiDPI and changing font scaling, amongst other things. It should also have palm rejection enabled. The backlight thing though, I agree (it's very dark - not pitch black but basically too dark to be of use). Not sure what can be done about that, but this week I'll be releasing a new version based on the 4.4 mainline kernel, maybe that might improve matters..

1

u/born_bad Jan 26 '16

please give a link to just the kernel as well, thx

1

u/tigerite Jan 26 '16

I will, but the kernel will cause choppiness without the necessary X.org drivers, so I'll be uploading those as well, along with full instructions. Finally fixed my graphics stack now, I think, and enabled Glamor and DRI3, not sure I want to do that again in a hurry, lol.

1

u/franzaine Jan 26 '16

No, sorry. Running stable one as I wanted to use it as much as possible (read: I work on it daily). Still great!

There are two Bluetooth thingies in the bottom right corner. Seems they do the same? #ReportAllTheSmallThings

1

u/tigerite Jan 26 '16

Yep, one is blueman which seems to find adapters better than the built-in one. I left both to not modify too much of the original ISO. As for the stable/beta, once I have 4.4 with BFS patched in (that doesn't break suspend/resume) I will be updating the "beta" with that, probably removing the alpha and then maybe pushing beta to stable. 4.4 is a very robust kernel, and a longterm release, so worth the effort I think. (Neither 4.2 nor 4.3 are longterm, in fact 4.2 is already EOL).

1

u/justusiv Jan 29 '16

I'm at a lose on whats going on. I am making your iso into a bootable USB with UUI. I have disabled secure boot and the live boot works fine. When I install however it never boots. Just takes me to the TPM/Secure boot area. Any thoughts? All linux distros are doing this. i have wiped the disk like 10 times even reloading windows a few times and trying to dual boot just to see. If i do that I never see the grub and it just boots right into windows. I had this working this morning :( i am confused. sigh....

2

u/tigerite Jan 30 '16 edited Jan 30 '16

That sounds like a corrupt EFI partition to me. Windows likes to mess that up regularly, especially since 10. There was a post here somewhere of someone having a similar issue, I will see if I can dig it out..

Finally found it: https://www.reddit.com/r/SurfaceLinux/comments/3x2ces/problems_installing_grub_on_surface_book/cy1otc7 this was on the Book, but same should apply to all models.

1

u/justusiv Jan 30 '16

http://paste2.org/xmJbx79N Here is a log from boot-repair. This is a clean install from your alpha image that then boots straight to secure boot toggle screen. I grabbed this from the livecd. I am stumped here :(

2

u/tigerite Jan 31 '16

You could try the newest Alpha ISO that I uploaded today, it's kernel is more bulletproof.. though I doubt that is the cause of the boot issues. Have you looked into rEFInd? I quit using grub a fair while ago, switched to rEFInd only. You need to sign kernel images, but that's a minor inconvenience.

→ More replies (2)
→ More replies (1)

1

u/puda22 Feb 01 '16

I see that you've update your Alpha image today. I have your previous alpha image set up with xorg Intel driver and it's fixed the 1080p stutters and the flickers. Is it worth scratching my current installation and installing your new image? I have my work things set up here and I really don't want to do it all over again if there isn't much of a change.

You're doing good with this, keep it up! :)

1

u/tigerite Feb 01 '16

I actually updated it twice ;-) but I also uploaded the necessary kernel debs, plus a script and all needed debs to upgrade the graphics stack. The kernel is here - be sure to install all files - and the stack files are here.

With the stack, it's very important to download everything in that folder, and keep the structure (the sub "rem" folder and it's files is necessary and must be present). Then run upgrade.sh (you will need to either make it executable or run via sh upgrade.sh).

The only other difference is a new Redshift GUI, you probably don't care too much about that, but if you need it I'll upload it too later.

I tested this thoroughly with the stock alpha image in a chroot and it went without a hitch, eventually, after much fiddling with the scripts and control files in the debs (conflicts are a real pain).

Whether it's worth the risk, I would say definitely to update the kernel, and the stack should only improve matters (as everything is geared around the Skylake Intel cards) but I would recommend trying it as a LiveCD first, just to make sure there's no flicker or artifacts (it's all cutting-edge stuff, the X.org isn't even in Xenial yet, it's tagged "Ubuntu+1" in the debian repository).

Thanks for the kind words and please let me know how you get on :-)

1

u/puda22 Feb 01 '16

I have just tried the new Alpha image and as soon as I boot up the live cd it give an error saying "Cinnamon crashed going into fallback mode" and installing from the fallback mode fails and the grub breaks. I had to reinstall your beta BFS version. I think something's broken with the graphics.

1

u/tigerite Feb 02 '16 edited Feb 02 '16

Sorry you broke your install, I didn't mean for that to happen. When the LiveCD's cinnamon crashed (does it happen every time you boot it?), I would've suggested not going ahead. It's very odd though as it didn't crash for me when I booted the ISO from SD card.. but of course my graphics card is Haswell rather than Skylake.

Anyway all is not lost, I still have the older alpha ISO on my SP3 drive, so will just update the kernel on that (and Redshift) and re-upload later today.

Thanks so much for testing, hope you haven't lost too much time with reinstalling :(

EDIT: Ok, so it seems that it does have the same issue on my SP3. Weird, because it didn't with my original scripts (which were a bit askew). Still, it means I should be able to fix it..

1

u/tigerite Feb 02 '16

Hey, I fixed the issues. It was to do with permissions; I'd run dpkg-buildpackage without fakeroot, so all of the libraries had been created and owned by my user rather than root. Of course, the LiveCD doesn't know about my user, so that was causing all hell to break loose. It's fixed now, but I messed up RedshiftGUI slightly (forgot the libiup libraries and libcurl3), so it doesn't run at the moment. If you're worried about that, you may want to wait until I've uploaded the version I'm compressing right now - otherwise, you can go with the one that's there. It definitely works - no fallback, I've tested this time ;)

1

u/puda22 Feb 02 '16

Yep, the latest image is working fine, thanks :)

→ More replies (8)
→ More replies (1)

1

u/Adynathos Feb 06 '16

I have installed the alpha uploaded on 2016-02-02 and I confirm that it fixes the following problems:

  • "cinnamon crashed"

  • graphical artifacts in the UI

Thank you very much for the update.

1

u/tigerite Feb 07 '16

Thank you for testing, that's great news. Could you please try the updated kernel from my Google Drive as well? It's synced to 4.4.1 but with the drm-intel code for linux-next.

1

u/[deleted] Feb 03 '16

Can I install this on an sp3? I see WiFi works but does it see 5ghz networks?

1

u/tigerite Feb 04 '16

Yes, I use it on my SP3 and I have a 5Ghz network :) I would recommend the current Alpha release though; it has the newest kernel, firmware and graphics stack.

1

u/[deleted] Feb 04 '16

How stable is the alpha build? Do the releases update automatically somehow once its installed or do I have to reinstall with the latest build manually?

1

u/tigerite Feb 04 '16

Very stable, although the kernel is from drm-intel-nightly. I've actually patched the latest Xenial kernel, and will create a new Beta (based on the Alpha) with that one instead, that will be even more stable then. I'm not sure I follow about releases updating automatically though? If you mean the kernel, no, because the standard Ubuntu one isn't patched. Otherwise, apart from any graphics driver updates (which I will create a PPA for one of these days, if it's possible) then everything will update as normal.

→ More replies (2)

1

u/dwheaton Feb 11 '16

First of all, thanks tigerite and to the community at large.

Here is some feedback from my install of your latest BETA .iso on SP4 i5 with Jan 2016 firmware:

  • booting from the live USB doesn't always work. maybe 75% of the time it goes to a black screen.

  • some weird graphical glitches in live USB where screen turns yellow tint and some gfx glitches

  • Install worked fine, created an ext4 root partition, 4GB swap, and installed grub to /dev/nvme0n1

  • Booting normally didn't work so used the advice here to select advanced options, boot into recovery mode, then choose first option to resume normal boot. I also have used nomodeset successfully to boot but with software rendering

  • touch isn't working (I understand this is to be expected on SP4. no biggie for now will be cool one day)

  • type cover is working fine

  • wireless works so far

  • sound seems good

  • bluetooth worked okay with my headset

Main issue for me is being stuck in software rendering but awesome that it is working as well as it is and for now I'm happy to play around with it and be able to dual boot at all.

I'll let you know if anything else comes up. Thanks again.

2

u/tigerite Feb 12 '16

Thank you for testing and feedback :) could you please try the Alpha build, though? It removes the yellow tint (which was from redshift, in the Alpha it's disabled by default) and also has a new graphics stack, which I'm still working on a PPA for. I also have an experimental kernel which is based on liquorix with Ubuntu standard configs and patches, it works well for me so far, without BFS.

1

u/dwheaton Feb 19 '16

Yes will do. Thanks for letting me know I was missing out on the latest and greatest!

Also going to install latest (2/17) firmware.

2

u/tigerite Feb 19 '16

No problem! I will be releasing the details of my PPA very shortly too. There's one for the kernel, and one for the graphics stack. I also ported GCC 5.3.1 from Xenial (the tool chain PPA version is 5.3.0).

2

u/tigerite Feb 19 '16

No problem! I've now created a PPA for the kernel, which has the latest firmware with it, at ppa:tigerite/kernel. That's an even more up-to-date kernel than that on the Alpha ISO.

1

u/dwheaton Feb 24 '16

Woohoo! I will give the PPA a whirl soon.

Alpha from early Feb working great (bye bye software rendering).

TYVM

→ More replies (1)

1

u/siharps Feb 24 '16

Amazing work, thanks so much for this. I'm using this build on a Surface Book, i7 with dedicated nVidia GPU in base. Although what you have done mostly works without a hitch (apart from touch), I am seeing a couple of issues as follows...

  1. I am getting a "Software Rendering" error flagged in the top right corner of the display warning me of extra CPU usage. (More details to follow)

  2. I am unable to add alternative screen resolutions using xrandr. The error i am getting is...xrandr: Failed to get size of gamma for output default. Right now my icons and text make a gnats cock look like Godzilla :(

Other than that, the keyboard and track pad work well with scrolling etc. Many thanks for the work you have put into this - please accept the virtual pint I am virtually buying you as we speak! :)

Please let me know if you require any further testing done on surface book.

2

u/tigerite Feb 24 '16

Hey, which release is this from? Have you tried the latest Alpha (uploaded this morning)? It's using an experimental kernel and a new graphics stack, both of which are plugged-in to the PPA repository on the system (so will get automatic updates if/when you install it).

1

u/siharps Feb 26 '16

Hi, I installed the latest version of Mint onto a Surface Book which is working perfectly apart from the touchpad and keyboard (external works fine). I noticed you managed to get them working. How did you do this?

1

u/tigerite Feb 27 '16

I compiled a patched kernel which is now a PPA, and at version surface11 (mostly due to build errors rather than new patches!). That's a highly customised kernel for speed/responsiveness, with liquorix, BFS, BFQ and so forth but the Surface-specific changes are towards the end of the patch series in the debian tar.

1

u/jakeday42 Feb 28 '16

Everything seems to be working with the latest alpha on my Surface Book except for no touch screen, no camera, and no 5 GHz wireless. Any ideas when those are expected to be working? Otherwise, fantastic job! Thanks!

1

u/tigerite Feb 29 '16

I wish I could tell you, but those are all kernel issues, so out of my control I'm afraid. The touchscreen is going to be some time by all accounts though as it needs to be reverse-engineered (no open-source driver). I'm not sure on the 5 Ghz wireless, as that definitely works on my SP3, and the firmware on the image is up-to-date?

1

u/jakeday42 Mar 12 '16

What do you mean by "the firmware on the image is up-to-date"?

1

u/tigerite Mar 13 '16

Sorry, I mean the linux-firmware package provided by Ubuntu (it holds the .bin files that are necessary for Linux to talk to the hardware). It's version 1.156 which is either the latest or pretty close.

1

u/tyrbo Feb 29 '16

5 GHz works on my SB i7.

→ More replies (1)

1

u/tonyric Feb 29 '16

I installed on Saturday. Had to use the December ISO due to the Grub problem with the latest. Fully patched (including the kernel using your ppa) and manual changes to get text scaling working properly for my taste. It works much better than I had hoped for. My only issue is Chrome (not Chromium) and videos. Major flickering. Chrome is unusable and videos are 50/50 at best. Sound, wireless, autorotate, screen gestures, battery, cameras (both front and back) all work great (gestures are great now after I figured out how to use touchegg LOL). My only problem is the video flickering. If you can tell me what you need from me I'll happily test things out. If you think the new ISO should correct the problems, great.

1

u/tigerite Feb 29 '16 edited Feb 29 '16

Yep I fixed the grub problem with the very latest, but if you also installed the graphics stack from my mint-xorg-update ppa then you basically should have the same image as from the December ISO. I personally use Chromium from http://launchpad.net/~saiarcot895/+archive/ubuntu/chromium-beta as it has hardware acceleration enabled, by the way. I definitely have no flickering from that. It's a bit of a faff to get working with your Google profile, though!

→ More replies (2)

1

u/bearses Mar 04 '16

Any updates on the non-pro surface 3? I realized today that I don't run any software that isn't also on Linux.

1

u/tigerite Mar 04 '16

Ubuntu have helpfully provided a backport module with their latest 4.4.0-9 kernel, which has the MIPI sequence patches from the DRM tree, which are necessary to get the graphics working. Unfortunately though, they've only enabled it for Skylake, Broxton and Kabylake; the Surface 3 uses Cherryview, as you probably know, which was pre-Skylake. So I've made Cherryview use the backport module as well in the latest release from my kernel PPA, with the SP3 and previous models using the stock DRM from 4.4.

That's as much of an update as I have though I'm afraid; still no touchscreen driver that I know of, and no ACPI fix for the battery level indicator (it's probably a buggy BIOS, so may be fixable via IASL - I published a newer version than trusty's standard in the same PPA).

1

u/timbals1 Mar 21 '16

Hi, Installed the alpha on a surface pro 3 but can't get suspend to work at all. I even assigned suspend to my power button but when I press it nothing happens and nothing in dmesg

This appears in syslog and nothing in pm-suspend.log

Mar 21 00:52:13 timothy-sp3 kernel: [ 2468.899292] usb 1-3: USB disconnect, devi ce number 6 Mar 21 00:52:13 timothy-sp3 kernel: [ 2468.901810] *******LID is trying to s end state:1 to input/netlink layer Mar 21 00:52:13 timothy-sp3 acpid: input device has been disconnected, fd 6 Mar 21 00:51:16 timothy-sp3 wpa_supplicant[1383]: message repeated 4 times: [ ml an0: CTRL-EVENT-SCAN-STARTED ] Mar 21 00:52:26 timothy-sp3 wpa_supplicant[1383]: mlan0: WPA: Group rekeying com pleted with 00:8a:ae:8d:08:ec [GTK=CCMP] Mar 21 00:52:40 timothy-sp3 kernel: [ 2495.712458] usb 1-3: new full-speed USB d evice number 7 using xhci_hcd

Any ideas what I'm doing wrong? It's a standard i5 128gb SP3 with a SP4 keyboard.

Thanks

1

u/tigerite Mar 21 '16

You can't do true suspend in Linux on the SP3, the message you've highlighted in the syslog is from the patch for the "lid", which at least uses some kind of suspend when you close the type cover. But I've never been able to make any kind of state work with the power button, certainly not S3 which is what we really need, because the SP3 doesn't have those states; it uses InstantGo which isn't implemented in Linux.

1

u/Evo_Erik Mar 23 '16

Thanks for your work and please keep it up! Quick question regarding your latest "alpha release": on a non-pro Surface 3, there is no sound. Do you have an advice?

1

u/tigerite Mar 23 '16

Hmm, did the sound work on the Surface 3 in previous releases? I don't know unfortunately what sound card the S3 has; I can only say for sure that on my SP3, the sound definitely works, and the only change I've made is to use Ubuntu's "backport module" which slightly modified the equivalent intel sound driver to use that module. But I enabled it for all cards anyway, so..

1

u/[deleted] Mar 25 '16

Sound has never worked on S3 unfortunately. No drivers yet at all. There's nothing to do but wait.

1

u/mRIGHTstuff Mar 25 '16

I thought I'd test your Mint Alpha image on my Surface Pro 4 16GB 256 SSD system. I have to say, my hats off to you sir for creating such a useable and stable kernel. It's far better than the Arch setup I was previously using. I don't have much experience with Mint or Cinnamon but they don't seem so hard to get used to.

A few things:

Redshift doesn't save settings between boots and I'm unable to edit it via terminal as the system seems to believe it is not installed (in terminal). How do you change the settings of it?

Wifi is quite stable but appears weaker than my Arch or Windows setups (just a cursory observation from networks that are too weak to connect on Mint but have no issues on the other setups, haven't tested in-depth)

Hibernate appears to kill Wifi requiring a complete restart of the surface to get it back (it's still "working" but detects no networks).

What are the spinning arrows and the gear with an M in it? I can only seem to disable the spinning arrows and clicking the gear changes it to A and my monitor shuts off shortly afterwards requiring me to do a hard reset (various keystrokes do not return the monitor).

Youtube HD video suffers a lot of lag in fullscreen mode, still a step up though as all videos were unwatchable when I was in arch.

I've added your surface and xorg repositories although have yet to note any change in performance.

All in all very well done! I don't know much about Linux but I am very impressed.

1

u/tigerite Mar 26 '16

Thanks for the feedback, really appreciate it :) the kernel is quite a pain to get to work right, but moving it to the PPA has helped a lot as it frees my Surface from the endless compile times. I've been more focussing on performance and power saving lately, though not so much of the latter with the SP4 and Book as the FBC support is still lacking for Skylake. Anyway onto your questions:

I actually didn't think anyone used Redshift apart from me, but I haven't created a package for it yet. As for settings, I don't know if there's a way of saving them, but you can pass parameters to the application with the latitude and longitude (plus high/low ambience settings). I do so through the desktop file at /etc/xdg/autostart which should be present on the installed LiveCD.

Wifi I don't know if I can do much about, although there was recently an update to the firmware which I haven't yet included. I haven't actually upgraded the one on my running install yet, but that may help, or at least probably not hurt.

The arrows are to switch automatic screen rotation on and off, but that won't work with the SP4/SB yet because it relies on detecting the touchscreen. As for the A that's for the automatic backlight, which relies on the ambient light to calculate the right level. Again it probably doesn't work correctly on the SP4/SB due to missing sensors. It isn't great even on the SP3 frankly, I pressed it accidentally the other day in a low light and the screen went completely black; not very useful ;)

Finally as for YouTube, are you using a browser that can benefit from graphics acceleration? I personally use Chromium from this PPA - the default one has it disabled, for various annoying reasons. The latest build there failed by the looks of it but hopefully you can still download the last successful one.

Finally as for the surface and xorg repositories, the LiveCD has those by default anyway :) and I've not made any major changes recently (will be rebasing the kernel to 4.4.6 shortly and X.org got a minor bump to 1.18.2, plus updated the Intel graphics driver to the very latest).

1

u/mRIGHTstuff Mar 26 '16

I've always used f.lux but since you included redshift I thought I'd give it a go. Thanks for the advice, what parameters do I have to pass to it to have it start by default? I'm a night owl and it really saves my eyes, people don't know what they're missing.

You were right about hw acceleration, I'd forgotten about that little quirk for firefox on linux systems and performance has improved markedly from before. I prefer firefox over chromium as it tends to be less of a resource hog and a little easier on the battery.

Let me know if there's anything you need help testing. I'm not really a linux expert, I just need its environment and tools to get shit done.

1

u/tigerite Mar 26 '16

I did try f.lux at first but it was glitchy on Linux from the beginning, and I couldn't seem to easily get it to autostart reliably. Then I found Redshift, which does the same thing but is better maintained. And finally I found Redshift GUI with its nice interface, but which only used GTK2 (not much use on HiDPI resolution). So I modified it slightly to use GTK3 and fixed some bugs in it. Unfortunately I can't recall the full set of command line options, and I can't check my SP3 until Monday at the earliest, but as far as I remember you just need to take off the -d flag from the command line in the redshiftgui.desktop file. The latitude/longitude is passed via -l LAT:LONG (floating point numbers), the gamma via -g R:G:B, the temperatures via -t DAY:NIGHT and brightness via -b BRIGHTNESS (0.1 - 1).

I also do like Firefox by the way but just became accustomed to Chromium (and at least it's less bloated than Chrome, which doesn't support hardware acceleration on Linux either anyway, at least in Ubuntu).

As for testing, I always appreciate feedback when I publish a new kernel, but until Intel get around to publishing a touchscreen driver for the SP4 and SB, I guess there won't be a huge amount that changes. Maybe some power saving if they fix the FBC issues with Skylake (I've seen some patches for that but they are scheduled for 4.7..). Oh and I should really update this post sometime as quite a lot is now out of date (I deleted the older kernel debs, the older LiveCDs are really obsolete, the Alpha should be the stable.. and so on). But that's for another day ;)

1

u/mRIGHTstuff Mar 27 '16

I assumed that the -d flag was the factor to change, it still seems to start disabled though. Maybe it has to be replaced with a flag to start it?

There's no rush really, it's more of a "nice to have" rather than a necessity.

Thanks for all your efforts! If there's a some way more to contribute please set me know.

→ More replies (9)

1

u/starblu3213 Mar 30 '16 edited Mar 30 '16

Hi, I'm using ubuntu 14.0.4 on my SP4. After, I install the update by using "apt-get install linux-surface" My keyboard and and track-pad are working great, but the pen and touch function aren't working. Am I missing something? Should I use 15.10 instead?

1

u/tigerite Mar 30 '16

Hi, have you followed the instructions for Trusty? (Hopefully you have not upgraded the graphics stack to the -lts-wily versions yet) If so, with this kernel you probably will need to install the new graphics stack from my other PPA at https://launchpad.net/~tigerite/+archive/ubuntu/mint-xorg-update or, if you are running Trusty 14.04 or 14.04.1, or Linux Mint 17.2 or below, you can instead choose to install only the newest Mesa and graphics drivers from https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers (please note, this PPA will not upgrade your X.org unlike mint-xorg-update; it will remain at 1.15.1).

1

u/starblu3213 Mar 31 '16

I'm on 14.04.4 ubuntu. I'm trying to install the ppa by using "apt-get install xorg-update" but I got errors that said "the packages have unmet dependencies: xorg-update Depends: .... (>=11.2~)" What do I do? Do I need to install this ppa?

1

u/tigerite Mar 31 '16

Have you first performed apt-get update and apt-get upgrade after adding the PPA? That is necessary to replace the -lts-vivid packages with ones that don't conflict the standard-named ones (blame Ubuntu for that..)

Ah, if it's 14.04.4 then you probably have -lts-wily packages, currently I haven't "upgraded" those in my PPA. You can check by running dpkg -l 'xserver-xorg-core*' and seeing what's returned.

→ More replies (4)

1

u/puda22 Mar 31 '16

I have an SP4 too. Support for touchscreen and the pen on SP4 is still not there yet. I heard that they're working on it, but for now, you're stuck with the keyboard and the trackpad which is really all you need for a functional laptop.

1

u/puda22 Jan 30 '16

Hi! I had a windows update popping up so I installed it on my SP4 ( I think it was a firmware update ) and after that I'm having a wifi issue on linux where it's unstable (https://bugzilla.kernel.org/show_bug.cgi?id=109681). Would you know anything about this?

1

u/puda22 Jan 30 '16

Scratch that, it's working fine now... weird.

1

u/tigerite Jan 31 '16

Thanks for letting me know :) I was about to reply that I have no idea, as I don't boot to Windows (it got borked during the Mint install and I never put it back) so didn't upgrade my firmware recently..

1

u/[deleted] Feb 26 '16

ok so the whole grub cant install to /target/ error is this:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: grub-efi-amd64-signed : Depends: grub-efi-amd64 (= 2.02~beta2-9ubuntu1.7) E: Unable to correct problems, you have held broken packages.

in the alpha (2-24-2016) this is why grub wont install and it fails at the end, every time, no matter what. ive tried probably 15 times with different options and it fails every time, then i started watching syslog while it was installing and i get unmet dependencies every time, causing the failure.

is this fixable?

im going to mention the main man /u/tigerite and get his input! im super excited to install but its starting to make me want to drink a mug of oven cleaner :)

1

u/[deleted] Feb 26 '16

ok so i found the proper version of grub-efi-amd64, its in the trusty-updates

http://packages.ubuntu.com/trusty-updates/grub-efi-amd64

how can i get the installer to install this first?

1

u/tigerite Feb 26 '16

That's my fault, I'm sorry. I backported a newer grub from Xenial which supports NVMe, for SP4 and SB. However I forgot about the signed package, so I need to backport that too. I'll do so today and then upload another Alpha. Sorry again but thanks for discovering this!

1

u/[deleted] Feb 26 '16

Thank you so much, I really appreciate you fixing this, and all of your hard work in general!

1

u/tigerite Feb 26 '16

I actually should never have updated the grub package in the first place, as the existing one had the NVMe patch backported. Oh well, you live and learn I guess. There is a small update to the official grub that went through today, so I just need to check the efi-signed package that's included with the LiveCD matches. If I can remember where it's stored :)

→ More replies (18)

2

u/_nil_ Dec 10 '15

This is amazing, you are the man.

2

u/[deleted] Dec 25 '15

Any SP4 users here?

It won't work on my device (SP4 Core m3).

I tried turning off BitLocker and TPM, still no result.

It works perfectly on my desktop (which is already running Linux), however.

2

u/wardy22 Dec 26 '15

About to give it a try on my i5 SP4

2

u/[deleted] Dec 26 '15

Any update yet?

Ive got an m3 SP4 and it doesn't seem to work. It loads until the grub loader but then all I get is a black screen (sometimes with backlighting, sometimes completely black)

→ More replies (3)

1

u/TotesMessenger Dec 10 '15

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

1

u/IIGUNSLINGERII Dec 27 '15

I just installed LM17.3 onto my Asus T300 Chi tablet/laptop convertible. Everything on it works like a charm: BT keyboard/mouse, tablet buttons, wifi, etc. The only exception to this is that the screen rotation dsnt work, and this is just a minor loss of function. Especially when you consider that this wasn't ever written for the Asus series transformer books.

I just created a reddit account to say Thank You! This distro rocks!

1

u/[deleted] Dec 28 '15

And here I am having tried out linux on dozens of devices, always getting spit in the face. I don't understand what I'm doing wrong. Even after tweaking everything and solving most of the problems it still feels like a pile of shit, whether on a prebuilt system or on a custom made device. I wish I could get rid of Windiws once and for all, it seems that it will never happen in my lifetime ;(

1

u/Whowhatwhen2 Jan 01 '16 edited Jan 01 '16

I've been running this off of a USB stick for the last couple of days and I'm really impressed. Next step is going to be installing it onto a MicroSD and dual booting Windows 10.

As somebody who hasn't dual booted a linux distro with Windows since like the late 90s, what do I need to know going into this? Will I be able to just install from the USB and grub will automagically know what to do? Is there anything in particular that I need to be aware of? Do I need to repartition a boot partition? Do I need to worry about startup order?

Any tips are appreciated. A guide would be fantastic. I'd like to avoid formatting what I already have.

2

u/[deleted] Jan 02 '16

I just threw away Windows, Dual booting seems to be impossible on this device without years of background knowledge. Be prepared for some bullshit problems using linux on this device. I just lost my cursor a few minutes ago. Yesterday my screen just decided to be up side odwn. and my terminal was invisible. I still can't use suspend or hibernate and clicking on a folder of file seems impossible without select-dragging>enter.

On the other hand, the performance seems to be quite good. The battery sucks, But that's just Surface I guess; the rest seems to be working properly.

I advise:

  • Install newest kernel headers and image*

  • Use Terminator instead of default terminal and install tmux

  • Turn off screenrotate, it's useless

  • Find a way to configure the keyboard; many shortcuts don't work

  • Inrease font size by two, don't use HiDPI. Increase window sizes by one/two

  • Don't get your hopes up, linux sucks


  • Since the linux community can't properly put documentation online here's my advise:

  • Download all new header files and image

  • Create folder (mkdir ~/Downloads/kernelname/)

  • Copy files to folder (cp)

  • Open terminal and change directory (cd ~/Downloads/kernelname/)

  • Start install (sudo -s dpkg -i *.deb)

  • Update GRUB (sudo -s update-grub)

  • Reboot

  • Check kernel version (uname -a)


If you have any other questions I'd be glad to help. I have limited knowledge, but I still haven't forgotten that not everyone is a genius so ask away!

4

u/Whowhatwhen2 Jan 03 '16

Despite your doom and gloom predictions, everything went quite smoothly. Created a boot partition from within Windows, booted off USB, clicked install, specified /boot and / during installation, installed. Everything seems to be working, including dual booting, and just for the record, Linux doesn't suck.

3

u/[deleted] Jan 03 '16

I'm happy to hear everything went well. I hope it will keep working properly as It did not work properly for me. Just for the record, when I say Linux sucks I mean everything around it. Linux itself is very stable and easy to work with. The usual end user desktop product mostly isn't. On servers it's much more streamlined imo. That of course depends on personal preference and should not be mistaken as a grounded notice for claiming the truth. Most "distro's" just suck due to too much forking, bad documentation, and a meriad of other problems including the users and their knowledge.

If you are offended however by my "gloomy" response, I would also like to apologize the tone expressed in my previous comment which was meant to help and sweep away misconceptions before they were made; remember, I don't know how linux-savvy you are. I sure as hell am not.

→ More replies (1)

1

u/qasimchadhar Jan 12 '16

You sir are awesome. I'm running your BFS Beta version on SP4 right now. Didn't need to disable SecureBoot since Ubuntu is supported through secureboot now. There is minor flickering on display but it's not happening often. Wifi and keyboard worked out of box (except for things like brightness and volume keys but that's no bother).

1

u/DocwatZ Mar 21 '16

Interestingly... I have successfully installed this build on a HP x2 612 tablet. Pure Linux. No dual boot with Windows partition. No issues at all. Rotation, touch and pen functions work flawlessly . Thank you tigerite you gorgeous beast you!

1

u/0E800 Mar 31 '16 edited Mar 31 '16

After running apt-get update/upgrade and a reboot, I am no longer able to connect to my hidden-ssid, also bluetooth indicator has been removed. Anyone else confirm?

Update: Thanks to tigerite for his comment: This worked.

git clone git://git.marvell.com/mwifiex-firmware.git  
sudo cp mwifiex-firmware/mrvl/* /lib/firmware/mrvl/

1

u/0E800 Mar 31 '16

Has anyone successfully installed/updated Bluez package to 5.x? I am unable to connect to devices using bluetooth 'smart' connection.

1

u/spunkeemunkee Apr 28 '16

Thank you, sir! You are amazing. This is working great on my Surface Pro 3!

1

u/AnonJustice May 29 '16 edited May 31 '16

Which ISO is the proper one? There are several folders, as well as an ISO in the root folder, so I wasn't sure. Judging by other comments, I went with the ISO in the 'Alpha' folder.

Also, I seem to be having some trouble on my SP3. I disabled secure boot, but when I try to boot from a USB drive, it freezes on the Linux Mint logo. Not sure what's wrong; I used Rufus to create a bootable USB.

I tried with multiple USB drives and multiple Rufus configurations (DD/ISO) to no avail. The SP3 I'm working with has a fresh Windows 10 Pro installation with remaining space pre-allocated for dual boot/swap partitions.

EDIT: I was able to capture these error messages that flash very briefly before being stuck on the logo.

TPM2 ACPI table does not def -- Goes away after turning off the TPM

Can't read CTR while intializing i8042

1

u/[deleted] Nov 21 '23

I have spent considerable time searching for a O.S. to replace Windows in my surface 3. I tried Ubuntu touch and Linux Mint cinnamon and xfce. Neither O.S. functioned as needed. I decided to try Bliss O.S. and hit the jackpot. It's the only O.S. the was fully functional from the get go. This should be everyone's choice.

0

u/[deleted] Dec 11 '15

[deleted]

1

u/tigerite Dec 11 '15

It should work on the SB and SP4, but sadly at the moment, Linux is lacking support for the touchscreen, backlight, physical buttons and potentially cameras? So unfortunately the experience won't be as good on the SP1-3.

0

u/[deleted] Mar 13 '16

[deleted]

1

u/tigerite Mar 13 '16

You need the Alpha release, I really need to sort out the folders as the others are so old now as to be outdated. I've just been busy trying to get the kernel updated with newer features for energy saving (to no avail so far). As for Kali Linux, if it's Ubuntu based then possibly, but I can't offer any support for that..

0

u/[deleted] Mar 13 '16

[deleted]

1

u/tigerite Mar 14 '16

I'm not sure I follow, which apt get command froze? You could download the package files separately and then just install them via dpkg. I don't understand why you lost Internet though?

0

u/[deleted] Mar 29 '16

[deleted]

1

u/tigerite Mar 30 '16

The EFI partition is a real mess, and always seems to go awry. A poster here https://www.reddit.com/r/SurfaceLinux/comments/43c1le/sp1_wont_boot_after_install/ had somewhat similar problems, albeit with the SP1, and another with the SB. I personally use rEFInd as it seems to play much more nicely with EFI, whereas GRUB often has issues.

1

u/[deleted] Jan 25 '16

[removed] — view removed comment

1

u/tigerite Jan 25 '16

Is that with the Beta BFS version? I know the stable, and possibly the normal Beta, doesn't show it - but the BFS one should.

1

u/[deleted] Jan 28 '16

I was using one of your older iso's with updated headers on my SP1, but there were just too many issues, and I'm in way over my head. Which one shoudl I download to reinstall?

1

u/tigerite Jan 28 '16

I would suggest Beta/BFS on the SP1 at the moment. I'm still hoping for 4.4 and a new graphics stack in the very near future, also Daniel Martin (of the touchscreen patch for SP3 fame) is putting together a new patch which he is going to submit upstream, I understand - and one for the type cover touchpad, too. With any luck, all the ducks will line up for beginning of next week :-)

At the moment I'm trying to compile and install X.Org 1.18.0, which [i][b]definitely[/b][/i] makes me feel over my head, especially as it means recompiling a TON of drivers! I've also recently found out that Mint 17.3 vanilla has updated the graphics stack of the various xorg-server packages (plus mesa) to be -lts-vivid. However I am running 17.2 upgraded to 17.3, and don't have those packages - and the PPAs won't work for -lts-vivid. I think I have a workaround, which is to compile and build all of the vivid versions, replacing the -lts-vivid, but then I found mesa has a few i386 versions that need installing.. so I've spent the afternoon putting together a cross-compile chroot. What fun! ;-)

1

u/[deleted] Jan 28 '16

Sounds amazing. I can't help you with these thing but would still like to wish you best of luck. Just a few more questions:

  • Is installing new header the same as updating the kernel?

  • Can I somehow get the new bugfixes without reinstalling completely? (Ricing prevents me from doing everything all over again :( )

  • Everyone tells me to install tlp etc. Etc. But I hate this solution as it cripples my device even further. Is that really the only way to reduce power consumption/heat?

  • Would you be willing to teach me to do your modifications with bunsenlabs? (Fork of #!)

Thanks for everything, your support has largely kept me from going back to Windows :)

→ More replies (6)