Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What works?
#11
(02-19-2018, 08:28 PM)TheKit Wrote: I volunteered to help with Linux support, so please don't take  this as official reply. What definitely works is display, sound, Wi-Fi, keyboard, touch. SailfishOS also has calls, SMS messages, 3G/4G data and camera.
Well, thanks for the reply and info, it's good to hear from someone with first hand experience.

(02-19-2018, 08:28 PM)TheKit Wrote: The good thing about SailfishOS middleware is that it's open source and can be packaged for Debian/Ubuntu. Yet currently there is no UI in desktop DEs to hook it to.

The good examples how to do it would be UBPorts (community continuation of Ubuntu Touch) and Plasma Mobile. We have Halium LXC container with minimal Android base running for using libhybris and interacting with modem. Adam Boardman has been porting messaging and dialer apps (see https://github.com/gemian). I didn't get to it yet personally, but those can be used in perspective.

As for GPU, yes and no. There are no Mali provided blobs for MediaTek SoCs running Linux userspace, unfortunately (those drivers come in binary form even for hardware vendors, so it's only MediaTek who can do something about it). As workaround, there is a way to use Android drivers with libhybris. This works best with Wayland or Mir (like Sailfish/UBPorts/KDE Plasma), but I've have been doing a driver to let Xorg server use it as well (https://github.com/NotKit/xf86-video-hwcomposer). It needs more work for performance/compatibility, but can run apps like glmark2-es2 or even GNOME Shell, as demonstrated on Ubuntu 17.04 photo.

Wi-Fi works, BT - there is a way, but not done yet. Ethernet adapter on USB hub should work, but wasn't tested by me Smile .

This sounds worse than I had feared to be honest, but at least there is a path to getting most of the hardware functional. What kind of API do you get for e.g. diallers/sms applications? Would it make more sense to just use something like anbox and run native android apps for those?

For your xorg hwcomposer driver, what's the advantage over xwayland, improved application compatibility?

I suppose that it isn't possible to use binary mali drivers provided for other SoCs with the same GPU?

I've read about around the postmarketos github issue tracker a bit. I guess that https://github.com/NotKit is you? Very impressive work getting this all going!
Reply
#12
I'm a BSD user, and while I expect things to be trickier than for linux, I'm optimistic in the long term to get this working. Looking forwards to my order 1516 arriving in the post!
Reply
#13
(02-19-2018, 11:37 PM)munchausen Wrote: This sounds worse than I had feared to be honest, but at least there is a path to getting most of the hardware functional. What kind of API do you get for e.g. diallers/sms applications? Would it make more sense to just use something like anbox and run native android apps for those?

For your xorg hwcomposer driver, what's the advantage over xwayland, improved application compatibility?

I suppose that it isn't possible to use binary mali drivers provided for other SoCs with the same GPU?

I've read about around the postmarketos github issue tracker a bit. I guess that https://github.com/NotKit is you? Very impressive work getting this all going!

ofono + telepathy-ring (Sailfish) or telepathy-ofono (Ubuntu Touch) connection manager, then Telepathy provides D-Bus interface (there is some info at https://sailfishos.org/wiki/Telephony and https://wiki.ubuntu.com/Touch/Telephony).

Compared to vanilla XWayland, it can utilize Glamor and has basic glue for OpenGL ES acceleration via EGL. This can be implemented in XWayland too though, should we have good Wayland compositor support.

It has been possible for Mali-400, but generally not with newer series. I don't see userspace drivers for any device with Mali-T880 at Mali website though: https://developer.arm.com/products/softw...user-space.

Yes. postmarketOS isn't end user ready by any means, but has a nice pmboostrap tool for development/testing, so it was done more as experiment. Same stack used for other distros should apply though.

(02-19-2018, 11:06 PM)Michael Wrote: Sorry to bombard you with questions but what kernel versions have you seen running?
3.18.41
Reply
#14
(02-20-2018, 10:51 AM)TheKit Wrote:
(02-19-2018, 11:06 PM)Michael Wrote: Sorry to bombard you with questions but what kernel versions have you seen running?
3.18.41

That is a shame. I understand that it is really down to mediatek, and I'm sure thats the latest kernel they provided, but that's OLD. Really old. 3.18 was a long term support release. But it reached End Of Life in January 2017. It's a shame a brand new device is running an obsolete kernel. That means that the burden of maintaining it for security falls with planet computers, as no one else is going to be doing it! I understand that smartphones generally have old kernels, but nowadays smartphones are expected to be obsolete  in 1-2 years and then support is dropped. I had higher hopes for the Gemini
Reply
#15
Would usb-c ethernet adapter work?
Reply
#16
(02-20-2018, 09:49 PM)sypram Wrote: Would usb-c ethernet adapter work?

According to TheKit: "Ethernet adapter on USB hub should work, but wasn't tested by me"
Reply
#17
(02-19-2018, 08:28 PM)TheKit Wrote: As for GPU, yes and no. There are no Mali provided blobs for MediaTek SoCs running Linux userspace, unfortunately (those drivers come in binary form even for hardware vendors, so it's only MediaTek who can do something about it). As workaround, there is a way to use Android drivers with libhybris. This works best with Wayland or Mir (like Sailfish/UBPorts/KDE Plasma), but I've have been doing a driver to let Xorg server use it as well (https://github.com/NotKit/xf86-video-hwcomposer). It needs more work for performance/compatibility, but can run apps like glmark2-es2 or even GNOME Shell, as demonstrated on Ubuntu 17.04 photo.
That's good news for me - I'm thinking of trying to get Fedora running on this once my unit arrives, and since it is the first mainstream distro to default to Wayland this should work.

Are there documentation to help people doing ports? e.g. documenting how the Debian and Sailfish images are built so we can reuse the code / borrow driver blobs as appropriate.
Reply
#18
(02-27-2018, 09:33 PM)michel-slm Wrote: Are there documentation to help people doing ports? e.g. documenting how the Debian and Sailfish images are built so we can reuse the code / borrow driver blobs as appropriate.

Not for the moment. For Sailfish there is a complete porting guide (https://sailfishos.org/wp-content/upload...-2.0.1.pdf). Debian packages are kept at https://github.com/gemian:

For Halium:
https://github.com/gemian/android-headers - needed to compile libhybris and other software utilizing Android drivers
https://github.com/gemian/libhybris - allows to load libraries compiled for bionic with glibc
https://github.com/gemian/lxc-android - Android LXC container configs
https://github.com/gemian/hybris-usb - brings USB networking to help debug things (see https://docs.halium.org/en/latest/portin...sbnet.html)

For OpenGL ES under X server (very hacky and can be improved, or Xorg replaced altogether with Wayland compositor):
https://github.com/gemian/drihybris - DRI3-like extension for sharing buffers via gralloc
https://github.com/gemian/glamor-hybris - patched glamor
https://github.com/gemian/xf86-video-hwcomposer - Xorg DDX to render through HWComposer API

For sound:
PulseAudio patched to add https://github.com/mer-hybris/pulseaudio-modules-droid at compilation time: https://github.com/gemian/pulseaudio
Reply
#19
(02-20-2018, 09:49 PM)sypram Wrote: Would usb-c ethernet adapter work?

I have tried to get it working, but I can't seem to get the Debian image to recognize either the USB-C Ethernet adapter, nor the wifi. I haven't actually verified that the Android side can see the Ethernet, either, but it did work when tested on a Samsung phone, so it's not broken at least.
Reply
#20
I got Planet Computers' Linux running on the Gemini. Unfortunately, when it boots up, it presents a user named Gemini and asks for a password. I don't see a way to add a different user so I am wondering if anyone knows the password or a way to get around it. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)