UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. abmyii
    A
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 3
    • Posts 37
    • Groups 0

    abmyii

    @abmyii

    19
    Reputation
    17
    Profile views
    37
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    abmyii Unfollow Follow

    Best posts made by abmyii

    • RE: Kivy python cross-platform app framework?

      Did some testing today:

      photo5769342123638895589.jpg

      photo5769342123638895585.jpg

      photo5769342123638895588.jpg

      photo5769342123638895590.jpg
      (https://github.com/tito/2048)

      photo5769342123638895597.jpg photo5769342123638895596.jpg photo5769342123638895595.jpg

      (https://github.com/kivy-garden/mapview)

      Porting Kivy exposes some interesting potential, and it works for the most part out of the box - though some glitches will need to be fixed before it's stable.

      posted in App Development
      A
      abmyii
    • [REQUEST] VNC Server testing/assistance

      Hello! I've been working on a VNC server (https://gitlab.com/abmyii/ubports-mir-vnc-server) for a while and have got it to a stage where it's very usable.

      snapshot-godotmp4.jpeg
      (VNC + Godot demo - full video: https://gofile.io/d/e6khOg)

      While it is stable on my device, others have reported crashes when trying to interact (i.e. clicking or typing) over VNC. I haven't been able to isolate the issue due to having very few testers and also not being too familiar with the inner workings of UBPorts. If anyone can help with either of these, I would appreciate it very much!

      armhf click:
      https://gitlab.com/abmyii/ubports-mir-vnc-server/-/jobs/941416993/artifacts/raw/build/arm-linux-gnueabihf/app/mirvncserver.abmyii_1.0.0_armhf.click

      arm64 click:
      https://gitlab.com/abmyii/ubports-mir-vnc-server/-/jobs/941416995/artifacts/raw/build/aarch64-linux-gnu/app/mirvncserver.abmyii_1.0.0_arm64.click

      amd64 click:
      https://gitlab.com/abmyii/ubports-mir-vnc-server/-/jobs/941416997/artifacts/raw/build/x86_64-linux-gnu/app/mirvncserver.abmyii_1.0.0_amd64.click

      posted in App Development testing vnc debugging
      A
      abmyii
    • RE: SuperTuxKart porting

      @AntiDroid You need to package the required libraries in the click. This is how I do it for Neverball: https://gitlab.com/abmyii/neverball-touch/-/blob/master/clickable.json#L43-58

      The method I use to identify them is just trial-and-error. I assume it runs on your device because you have the libraries already installed, whereas most devices don't have those libraries preinstalled.

      @kugiigi What you could try is to use the libraries packaged with Neverball when running the game manually, since it should have most (if not all) of the required libraries. To do that, run:

      export LD_LIBRARY_PATH=/opt/click.ubuntu.com/neverball.abmyii/current/lib/aarch64-linux-gnu:/opt/click.ubuntu.com/*.abmyii/current/lib/*
      

      And then run SuperTuxKart manually as you did before.

      posted in App Development
      A
      abmyii
    • Godot 3D Test

      I asked users to post the results their devices get on the Godot 3D Test app by @pavelprosto (https://open-store.io/app/godot3dtest.pavelprosto). Here are the results. Feel free to join in and add yours to this thread.

      abmyii - OPO

      044a6e69-a99c-4691-8155-f3f730430a76-image.png

      Emanuele-Sorce - BQ E5

      deaae367-f11d-482d-8bde-4dba23250950-image.png

      CiberSheep - Meizu MX4 (Arale)

      c24e8253-3a3e-46f0-9936-5b224107b7cd-image.png

      Fuseteam - BQ E5 2nd Edition

      dea2de28-1b55-421e-acbc-c3a78b01c69d-image.png

      posted in App Development
      A
      abmyii
    • RE: Latest Devel Channel Updates

      @mariogrip I heard the mirbacklight script will be removed from devel. I use it in MirVNCServer, so what alternative methods can I use once it has been removed?

      posted in News
      A
      abmyii
    • Testers for Gigalomania on OnePlus 3(T) Devices

      https://open-store.io/app/gigalomania.abmyii

      I have been trying to debug an issue (https://gitlab.com/abmyii/gigalomania/-/issues/1) for Gigalomania crashing on a OnePlus 3 device, and I was wondering if the issue is common to all OnePlus 3(T) devices or not. if anyone could test it that would be very helpful.

      posted in Support
      A
      abmyii
    • RE: [REQUEST] VNC Server testing/assistance

      @kugiigi Ctrl+Shift+Up and Ctrl+Shift+Down should do it!

      posted in App Development
      A
      abmyii
    • RE: [REQUEST] VNC Server testing/assistance

      @kugiigi said in [REQUEST] VNC Server testing/assistance:

      @abmyii Oh okay, that worked although at first it was crashing and when it worked, I still get crashes when rotating from time to time. This is on Remmina on Ubuntu so perhaps specific only to this.

      Yeah, known issue - I haven't had a chance to look into it properly yet. It usually takes ~4/5 rotations in quick succession for it to crash on mine.

      posted in App Development
      A
      abmyii
    • RE: Handling python dependencies

      @aarontheissueguy There are a few ways - all include copying the modules into the package. This should be very easy if you are using a virutalenv, because ideally all the packages required are installed in it (and hopefully no others, because that would be a bit of a waste of space).

      The simplest way is to copy all the folders into the main package folder (i.e. in the same folder as the Python files) since Python will automatically look for the modules in that folder, so it should find them. Note that any modules that have binary files that are specific to one arch will fail on the other arches.

      Another method is to use the PYTHONPATH (https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH) environment variable to point to the folder containing the modules. This can also be done in Python by adding the following to the top of your Python files:

      import sys
      sys.path.append('<PATH>')
      

      This will make Python look for the modules in the provided path.

      posted in App Development
      A
      abmyii
    • RE: Handling python dependencies

      @aarontheissueguy Do you have the project hosted online? It's a bit difficult to debug without understanding the structure. If it's not hosted online, running tree should be enough for me to get an idea of the structure.

      posted in App Development
      A
      abmyii

    Latest posts made by abmyii

    • RE: Kivy python cross-platform app framework?

      @jhayar0719 Which command are you running? It appears that SDL2 isn't being detected / used, and thus no window is being created.

      Also, do you happen to be using focal? I'm not sure if there are additional steps required for that.

      posted in App Development
      A
      abmyii
    • RE: Porting QT/C++ app to clickable

      @mateo_salta Sorry for the late reply - I check my messages infrequently.

      @graphik_ I successfully built this on my device, but I don't think moonlight has Mir support, so it doesn't work for me. If you have a Wayland device I can describe the steps required to build and test it yourself.

      I believe the limitation stems from libva which doesn't appear to have Mir support (https://github.com/moonlight-stream/moonlight-qt/blob/51b5f8046f1864e36cfa6efefbe2de71ef98ca92/app/streaming/video/ffmpeg-renderers/vaapi.h#L18-L31).

      posted in App Development
      A
      abmyii
    • RE: Godot 3D Test

      @applee Ah, makes sense. A bit of a shame though... Are there any "distros" that use the GPU for Pinephone?

      posted in App Development
      A
      abmyii
    • RE: Godot 3D Test

      @kugiigi Hmm, I guess it has very little HW acceleration to speak of... Does it even have a GPU at all?

      posted in App Development
      A
      abmyii
    • RE: Godot 3D Test

      @keneda Wow, my OPO gets destroyed in the particle test...

      posted in App Development
      A
      abmyii
    • RE: Godot 3D Test

      @povoq I'm not sure - it isn't my app (@pavelprosto any idea?). I also know that SDL2 apps don't work on Pinephone regardless of there is a click produced or not unfortunately...

      posted in App Development
      A
      abmyii
    • Godot 3D Test

      I asked users to post the results their devices get on the Godot 3D Test app by @pavelprosto (https://open-store.io/app/godot3dtest.pavelprosto). Here are the results. Feel free to join in and add yours to this thread.

      abmyii - OPO

      044a6e69-a99c-4691-8155-f3f730430a76-image.png

      Emanuele-Sorce - BQ E5

      deaae367-f11d-482d-8bde-4dba23250950-image.png

      CiberSheep - Meizu MX4 (Arale)

      c24e8253-3a3e-46f0-9936-5b224107b7cd-image.png

      Fuseteam - BQ E5 2nd Edition

      dea2de28-1b55-421e-acbc-c3a78b01c69d-image.png

      posted in App Development
      A
      abmyii
    • RE: Testers for Gigalomania on OnePlus 3(T) Devices

      @povoq Ah, right. My OPO has an Adreno too, apparently, albeit Adreno 330 whereas OP3 has an Adreno 530.

      posted in Support
      A
      abmyii
    • RE: Testers for Gigalomania on OnePlus 3(T) Devices

      @kugiigi Thanks for such thorough testing! What is adreno?

      posted in Support
      A
      abmyii
    • RE: Testers for Gigalomania on OnePlus 3(T) Devices

      @kugiigi Could be that not changing the version means it hasn't updated.

      posted in Support
      A
      abmyii