Trying to port an app on Plasma Mobile and Mobian: black screen
#1
Hello,

I'm not sure if I'm at the right place to ask for help, please let me know if an other location is better suited.

I'm trying to port my XMPP client to FOSS mobiles on the Pinephone (currently Plasma Mobile and Mobian). It uses Kivy framework which supports Wayland and uses a SDL2 backend.

I can build and launch it, but I have only a black screen. I have the same result with official example, here is some logs I have with an example application:

Code:
$ python carousel_buttons.py
[INFO   ] [Logger      ] Record log in /home/mobian/.kivy/logs/kivy_21-02-05_15.txt
[INFO   ] [Kivy        ] v2.1.0.dev0
[INFO   ] [Kivy        ] Installed at "/home/mobian/venv/sat/lib/python3.9/site-packages/Kivy-2.1.0.dev0-py3.9-linux-aarch64.egg/kivy/__init__.py"
[INFO   ] [Python      ] v3.9.1+ (default, Jan 20 2021, 14:49:22)
[GCC 10.2.1 20210110]
[INFO   ] [Python      ] Interpreter at "/home/mobian/venv/sat/bin/python"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 187 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: sdl2
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mobian/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mobian/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mobian/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mobian/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mobian/.drirc: No such file or directory.
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'2.1 Mesa 20.3.3'>
[INFO   ] [GL          ] OpenGL vendor <b'lima'>
[INFO   ] [GL          ] OpenGL renderer <b'Mali400'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [GL          ] Shading version <b'1.20'>
[INFO   ] [GL          ] Texture max size <4096>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event2
[INFO   ] [MTD         ] Read event from </dev/input/event2>
[INFO   ] [Base        ] Start application main loop
[INFO   ] [MTD         ] </dev/input/event2> range position X is 0 - 719
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [MTD         ] </dev/input/event2> range position Y is 0 - 1439
[INFO   ] [MTD         ] </dev/input/event2> range touch major is 0 - 255
[INFO   ] [MTD         ] </dev/input/event2> range touch minor is 0 - 0
[INFO   ] [MTD         ] </dev/input/event2> range pressure is 0 - 255
[INFO   ] [MTD         ] </dev/input/event2> axes invertion: X is 0, Y is 0
[INFO   ] [MTD         ] </dev/input/event2> rotation set to 0

I've tried to ask on Kivy mailing list without success. Can anybody help here?

Thanks!
  Reply


Messages In This Thread
Trying to port an app on Plasma Mobile and Mobian: black screen - by Goffi - 02-05-2021, 10:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 2,416 10-24-2023, 08:57 AM
Last Post: Peter Gamma
Photo Mobian with X11 without Wayland and Phosh. Manieck71 0 1,003 09-09-2023, 07:35 AM
Last Post: Manieck71
  Proximity lock on Plasma Mobile alpineduck 0 1,042 08-14-2023, 05:51 PM
Last Post: alpineduck
Information Quick&dirty VPN quick setting button for Plasma Mobile Kevin Kofler 0 1,057 04-06-2023, 02:40 PM
Last Post: Kevin Kofler
  How to disable lock screen in Phosh? lat 14 14,360 03-31-2023, 04:17 AM
Last Post: Eugo
  Mepo - Minimalist and hackable OSM map viewer for mobile linux mil 22 14,858 10-31-2022, 07:29 AM
Last Post: mil
  Enable 'upcoming-events' on Mobian/Phosh Korac 3 2,271 09-14-2022, 01:19 AM
Last Post: dukla2000
  Change tow-boot boot order or otherwise make Mobian on uSD the default? allworlds 3 2,495 05-04-2022, 06:27 PM
Last Post: allworlds
  What is the best firmware to use an external screen with? Scary Guy 4 3,246 02-16-2022, 01:36 PM
Last Post: Avisando
  HowTo: Get a passcode from DUO Mobile working on the Pinephone kop316 2 3,787 01-16-2022, 03:46 PM
Last Post: michel_luc

Forum Jump:


Users browsing this thread: 1 Guest(s)