Mepo - Minimalist and hackable OSM map viewer for mobile linux
#17
(04-15-2022, 06:42 PM)mi Wrote: In regards to the issue with `echo -e` not working under dash shell; thanks for flagging this. I've updated scripts to use printf which is more portable. Also I'm now shellchecking all bundled scripts which should help with cross-platform issues for the next release and releases going forward. (Indeed using bash instead of sh would be a workaround in the meantime)

About the wayland SDL video driver not working under mobian, that's not good to hear. I've largely tested under Alpine/pmOS and have also had reports in NixOS and Arch of wayland video driver in mepo working a-ok there. So I'd be curious if you could provide any more detailed information about wayland driver not working. If you could post a log of running `mepo -e` that would be useful for debugging.

I think I know what the issue is anyway - main.zig line 46 was changed from `mepo.sdl_event_loop()` to ` mepo.event_loop_and_read_stdin()`. Changing just that line back shows the window again.

Speculation:
The change moves a bunch of SDL code into a thread. In particular SDL_PumpEvents can only be called in the thread that initialized the video system (https://wiki.libsdl.org/SDL_PumpEvents). HTH and is somewhere near correct!
  Reply


Messages In This Thread
RE: Mepo - Minimalist and hackable OSM map viewer for mobile linux - by scott_VYuCAbn3k1NFK - 04-15-2022, 07:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 998 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 2,319 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  Proximity lock on Plasma Mobile alpineduck 0 1,014 08-14-2023, 05:51 PM
Last Post: alpineduck
Information Quick&dirty VPN quick setting button for Plasma Mobile Kevin Kofler 0 1,049 04-06-2023, 02:40 PM
Last Post: Kevin Kofler
  Arch Linux on PinePhone Rocky-IV 4 9,803 12-21-2022, 04:35 AM
Last Post: gregb49
  Control HBIAS through a linux OS twiclo 0 1,028 10-04-2022, 03:20 PM
Last Post: twiclo
  difference between android and linux? vanja 3 2,133 09-16-2022, 07:43 PM
Last Post: TRS-80
  meet franz! (whatsapp,telegram,etc linux client) vanja 0 1,117 09-15-2022, 01:23 AM
Last Post: vanja
  HowTo: Get a passcode from DUO Mobile working on the Pinephone kop316 2 3,766 01-16-2022, 03:46 PM
Last Post: michel_luc
Bug My experience running desktop Linux on PinePhone Subsentient 5 4,867 12-31-2021, 05:41 PM
Last Post: Subsentient

Forum Jump:


Users browsing this thread: 2 Guest(s)