UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    morph browser: not possible to show map due to missing WebGL

    Scheduled Pinned Locked Moved Support
    17 Posts 11 Posters 1.8k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • advocatuxA Offline
        advocatux @flaun*in
        last edited by advocatux

        @flaun-in hi, I've moved this topic to Support too šŸ™‚

        Edit: I don't have an account there to test it but just to have more info: which UT channel are you running in your device? Morph is under heavy development and some of its features haven't reach 'stable' yet

        1 Reply Last reply Reply Quote 0
        • dobeyD Offline
          dobey
          last edited by

          WebGL is explicitly disabled in Morph for now, as QtWebEngine does not have support for Mir EGL to get it working.

          It will likely remain disabled until QtWebEngine can do WebGL on top of Wayland, and we have Wayland EGL support working on devices.

          poVoqP 1 Reply Last reply Reply Quote 0
          • poVoqP Offline
            poVoq @dobey
            last edited by

            So it seems this will finally available on some devices (as Marius showed on his OP3 during Q&A 94) soon. Super cool!

            Fairphone 5 (waiting for port)

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              suoko @poVoq
              last edited by

              @povoq what are requirements to have webgl working in morph?
              Which phones will get it?

              1 Reply Last reply Reply Quote 0
              • K Offline
                kugiigi
                last edited by

                @suoko It's not known yet which devices it'll work but so far Nexus 4 had problems with it though last comment says it's working now. If you want, you can try it now by running sudo ubports-qa install xenial_-_gpu-browser and sudo mv /etc/profile.d/disable-qtwebengine-gpu.sh /etc/profile.d/disable-qtwebengine-gpu.bk Note that these commands are safer to run on an updated devel version although it's generally safe but there's still risk. You can always reflash with the installer if anything bad happens.

                S Z 2 Replies Last reply Reply Quote 0
                • D Offline
                  domubpkm
                  last edited by

                  @UniSuperBox Would the procedure work on one of the Volla canals currently with the expected effects ? I'm asking to avoid a 450 mb reflash in the process if it screws up šŸ˜‰
                  Thanks

                  TotalSonicT 1 Reply Last reply Reply Quote 0
                  • S Offline
                    suoko @kugiigi
                    last edited by

                    @kugiigi thanks! I already tried cause i found similar instructions on telegram and it works!

                    1 Reply Last reply Reply Quote 0
                    • Z Offline
                      zubozrout @kugiigi
                      last edited by zubozrout

                      @kugiigi said in morph browser: not possible to show map due to missing WebGL:

                      sudo ubports-qa install xenial_-_gpu-browser

                      When trying to install this on MX4 I get this error:

                      dpkg: error processing archive /var/cache/apt/archives/lxc-android-config_0.233+
                      ubports0+0~20210319074119.1~1.gbp6f8eda_all.deb (--unpack):
                       unable to make backup link of './lib/udev/rules.d/70-android.rules' before inst
                      alling new version: Invalid cross-device link
                      

                      which I suspect might be a reason it then fails with this error: https://gitlab.com/ubports/core/qtubuntu/-/merge_requests/18#note_594404496
                      Since it works on the Nexus 4 then I would guess other legacy devices should be good too.

                      I am used to no-space-left-on-device errors with my phone but have no idea what could be causing this while I suppose this doesn't happen on (most) other devices.

                      Anyone has any ideas? Thank you šŸ™‚

                      PS. The fact it mentions "./lib/..." seems on its own weird. Not sure what it bases the path on (I have quickly looked at the source here http://repo.ubports.com/pool/xenial_-_gpu-browser/main/l/lxc-android-config/ but haven't seen "./lib" anywhere. Might be just a standard message though, just don't recall seeing it like that anywhere before.

                      Edit: ok, I am not the only one with that error https://forums.ubports.com/topic/6492/enabilng-webgl so I guess this might possibly not be the reason for it not working for me.

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kugiigi @zubozrout
                        last edited by

                        @zubozrout Sorry, I have no idea at the moment but it seems to be an issue with the installation rather than the actual functionality of the changes. Sadly, I can't try it on my MX4 because its USB port isn't working anymore so I have to make sure it never breaks šŸ˜…

                        Z KenedaK 2 Replies Last reply Reply Quote 1
                        • Z Offline
                          zubozrout @kugiigi
                          last edited by

                          @kugiigi Thank you for the quick reply and of course re the MX4. Mine broke (in a different way) about a year ago so I took my brother's one he no longer used and that is still working but looking forward to a new device once something gets available. Also sorry for tagging you personally. Just wanted to "steal" that installation command. Anyway, this is not urgent since I/we lived without webgl for ages now :).

                          1 Reply Last reply Reply Quote 0
                          • KenedaK Offline
                            Keneda @kugiigi
                            last edited by Keneda

                            @kugiigi fix it

                            šŸ˜‰

                            2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
                            2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
                            2024-***** : FPOS Fairphone 5 waiting UT for freedom šŸ˜‰
                            šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

                            1 Reply Last reply Reply Quote 1
                            • TotalSonicT Offline
                              TotalSonic @domubpkm
                              last edited by

                              @domubpkm - the WebGL fix works very well on Volla - I have tested on OTA-17 and OTA-18 (stable and rc channels).

                              Best regards,
                              Steve Berson

                              D 1 Reply Last reply Reply Quote 1
                              • D Offline
                                domubpkm
                                last edited by domubpkm

                                YES after the fix on OTA-18, i get for the Volla a spinning cube
                                screenshot20210728_205324140.png

                                IT WORKS for example with that
                                screenshot20210728_210238562.png

                                BUT, i can't rotate the earth with https://earth.nullschool.net/
                                screenshot20210728_210322154.png
                                The marine currents, winds are well animated. However, when you press your finger on the globe, it does not turn gray, which happens for example with Volla OS and the following rotation.
                                So the problem is perhaps not related to the Webgl with this website? A not recent enough qt? (Maybe I'm saying something absurd 😁).

                                What is missing to rotate ? @dobey

                                ..... but works here https://solarsystem.nasa.gov/planets/earth/in-depth/

                                UPDATE : for testing https://earth.nullschool.net/ i plugged a mouse into the USB C port of the Volla and the globe rotate fine, but not with my finger, which would confirm (at least in the idea šŸ˜‰) what I said earlier.

                                dobeyD lduboeufL 2 Replies Last reply Reply Quote 0
                                • D Offline
                                  domubpkm @TotalSonic
                                  last edited by

                                  @totalsonic Problem-free installation. Seems to work very well. I didn't notice any malfunction on the Volla (except one trouble see above but i don't think it's linked to webgl). Cool to be able to use this 'Webgl' radio site http://radio.garden/live/

                                  1 Reply Last reply Reply Quote 0
                                  • dobeyD Offline
                                    dobey @domubpkm
                                    last edited by

                                    @domubpkm said in morph browser: not possible to show map due to missing WebGL:

                                    What is missing to rotate ? @dobey

                                    I have no idea šŸ™‚

                                    1 Reply Last reply Reply Quote 0
                                    • lduboeufL Online
                                      lduboeuf @domubpkm
                                      last edited by

                                      @domubpkm said in morph browser: not possible to show map due to missing WebGL:

                                      So the problem is perhaps not related to the Webgl with this website? A not recent enough qt? (Maybe I

                                      Debugging the website might help to find what is missing: https://docs.ubports.com/en/latest/appdev/webapp/webdebug.html

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post