Jump to content

LuneOS UI: Difference between revisions

From postmarketOS Wiki
m Add current starting instructions
update to gitlab.postmarketos.org
 
(16 intermediate revisions by 8 users not shown)
Line 3: Line 3:
| graphics = Wayland
| graphics = Wayland
| toolkit = QT5
| toolkit = QT5
| image = File:LuneOS Browser.png|Illustration image of LuneOS UI. Not running on pmOS
| image = File:LuneOS Browser.png|LuneOS UI running on pmOS
| unavailable = yes
}}
}}


User interface from LuneOS, a continuation of webOS (Palm/HP's discontinued and open sourced mobile operating system updated with Wayland and QT5). A UI port is under development.[https://github.com/postmarketOS/pmbootstrap/issues/629]
[[File:luna_qemu_pmos_dec13.png |thumb| LuneOS UI running in QEMU]]


User interface from LuneOS, a continuation of webOS (Palm/HP's discontinued and open sourced mobile operating system updated with Wayland and QT5).


== Current Status ==
== Unmaintained ==


[[File:luna_qemu_pmos_dec13.png |thumb|left| LuneOS UI running in QEMU]]
We were able to present an initial version in [https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/#luneos-ui December of 2017]. But after that, LuneOS was unmaintained and didn't build anymore ({{issue|49|pmaports}}). '''The packages have been removed from postmarketOS.''' If you are interested in making it work again and maintaining the packages, [https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/tree/0.6.0/aports/luna here are the old build recipies] for reference.


The UI currently starts in QEMU, along with most of the core services. With lots of manual post-install tweaking, you can complete first-use, and view the main launcher, as well as start apps, as seen in the screenshot. These tweaks are being packaged so that they don't need to be done manually.
'''All information above is outdated.'''


This does ''not'' mean porting work is done, there's still a ton of work to get something usable. See [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex's trello board] for more up-to-date status.
''It's sad that we can't maintain this right now and had to remove it. But nevertheless, some of the efforts lived on, because ncopa from Alpine Linux could use some of the musl related qt5-qtwebengine patches that magmastonealex created to make LuneOS UI work on postmarketOS. And who knows, we could be able to support this UI again in the future if someone steps up to maintain it.''
 
Current work can be found in [https://github.com/magmastonealex/pmbootstrap/tree/make-luna-start-properly magmastonealex]'s repository, with some work currently in master.
 
== Running ==


== Running (QEMU) ==
{{outdated|You cannot choose luna in UI section anymore.}}
{{note|Choosing luna in the UI selection in <code>pmbootstrap init</code> is not enough to make it start right now!}}
Install:
Install:


Line 28: Line 29:
* mesa-egl
* mesa-egl


Run /usr/bin/start_luna.sh to start everything. The first-use app should open.
Edit /usr/bin/start_luna.sh, to set your desired input devices on the luna-next line. Run /usr/bin/start_luna.sh to start everything. The first-use app should open.
 
See also {{issue|629}} for more instructions and ideas for getting this running on non-accelerated phones.


Complete the steps, when you get to the black screen, click where the "next" button should be. It's not clear what causes that yet.
Complete the steps, when you get to the black screen, click where the "next" button should be. It's not clear what causes that yet.
Line 35: Line 38:


== Major to-dos ==
== Major to-dos ==
 
* Running this on ARM (Everything is packaged. Currently seems to crash on non-hardware accellerated devices in swrast somewhere.)
* Running this on ARM (Blocked on JIT being broken on armhf. I don't have an aarch64 device to test yet.)
* Trying to get this running with software rendering (Appears to work somewhat, no luck on armhf yet.) Zhuowei has a lot of research in {{issue|629}}.
* Trying to get this running with software rendering (Mesa seems to theoretically support this, though I (magmastonealex) never got it working). Zhuowei has a lot of research [https://github.com/postmarketOS/pmbootstrap/issues/629 here].
* Getting the HAL working (nyx-lib). (Probably involved, but can support only a couple things at first)
* Getting the HAL working (nyx-lib). (Probably involved, but can support only a couple things at first)
* Create init service files to get services starting at boot.
* Create init service files to get services starting at boot.
* See [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex's trello board]
* See [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex's trello board]
* Applying the LuneOS patches for <code>qt5-qtwebengine</code> again. magmastonealex [https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/tree/ac17316441ab522b9d7bbfcf53dc6f41d1420754/aports/main/qt5-qtwebengine made a version] that worked with QT 5.9, but these patches are incompatible with later QT versions (details: {{issue|1459}})


[[Category:Interface]]
== See also ==
* [https://postmarketos.org/blog/2017/12/31/219-days-of-postmarketOS/#luneos-ui 219 days of postmarketOS: LuneOS UI]
* {{issue|629}} initial issue about packaging LuneOS UI with lots of information and photos
* {{issue|49|pmaports}} LuneOS is broken (issue migrated from {{issue|1459}})
* [https://trello.com/b/5tzrh9gw/luneos-porting magmastonealex' LuneOS UI trello board]

Latest revision as of 06:40, 3 November 2024

LuneOS UI
Name LuneOS UI
Graphics stack Wayland
Toolkit QT5
In postmarketOS
Package N/A
Status Unavailable
LuneOS UI running in QEMU

User interface from LuneOS, a continuation of webOS (Palm/HP's discontinued and open sourced mobile operating system updated with Wayland and QT5).

Unmaintained

We were able to present an initial version in December of 2017. But after that, LuneOS was unmaintained and didn't build anymore (pmaports#49). The packages have been removed from postmarketOS. If you are interested in making it work again and maintaining the packages, here are the old build recipies for reference.

All information above is outdated.

It's sad that we can't maintain this right now and had to remove it. But nevertheless, some of the efforts lived on, because ncopa from Alpine Linux could use some of the musl related qt5-qtwebengine patches that magmastonealex created to make LuneOS UI work on postmarketOS. And who knows, we could be able to support this UI again in the future if someone steps up to maintain it.

Running (QEMU)

OUTDATED! You cannot choose luna in UI section anymore.
Note Choosing luna in the UI selection in pmbootstrap init is not enough to make it start right now!

Install:

  • postmarketos-ui-luna
  • mesa-dri-virtio (if in QEMU)
  • mesa
  • mesa-egl

Edit /usr/bin/start_luna.sh, to set your desired input devices on the luna-next line. Run /usr/bin/start_luna.sh to start everything. The first-use app should open.

See also #629 for more instructions and ideas for getting this running on non-accelerated phones.

Complete the steps, when you get to the black screen, click where the "next" button should be. It's not clear what causes that yet.

Once the app exits and you're presented with the home screen, run luna-send -n 1 'luna://com.palm.configurator/run' '{"types":["dbkinds","dbpermissions","activities"]}' in another terminal. Stop luna, reboot, and start luna again, and everything should be usable.

Major to-dos

  • Running this on ARM (Everything is packaged. Currently seems to crash on non-hardware accellerated devices in swrast somewhere.)
  • Trying to get this running with software rendering (Appears to work somewhat, no luck on armhf yet.) Zhuowei has a lot of research in #629.
  • Getting the HAL working (nyx-lib). (Probably involved, but can support only a couple things at first)
  • Create init service files to get services starting at boot.
  • See magmastonealex's trello board
  • Applying the LuneOS patches for qt5-qtwebengine again. magmastonealex made a version that worked with QT 5.9, but these patches are incompatible with later QT versions (details: #1459)


See also