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

    Raspberry Pi 4 Model B

    Scheduled Pinned Locked Moved UT for Raspberry Pi
    69 Posts 8 Posters 23.9k Views 4 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.
      • Aury88A Offline
        Aury88 @alan_g
        last edited by Aury88

        @alan_g i didn't set that variable throught the terminal session but by editing /etc/environment and ~/.bashrc files

        alan_gA 1 Reply Last reply Reply Quote 0
        • alan_gA Offline
          alan_g @Aury88
          last edited by

          @Aury88 it might help others help you if you pastebin the Unity8 log.

          Pulsar33P Aury88A 2 Replies Last reply Reply Quote 0
          • Pulsar33P Offline
            Pulsar33 @alan_g
            last edited by Pulsar33

            @alan_g : Hello
            I would be glad to pastebin it but I don't know where to find it. The only relevant logs I have are :

            pulsar33@Minerve:/media/pulsar33/root/var/log$ ls -alR | grep oct.
            -rw-r--r-- 1 root root             979 oct.  20 21:00 .log20191020-185955.2080
            -rw-r----- 1 root root               20 oct.  20 20:59 biometryd.log
            -rw-r----- 1 root root              153 oct.  20 20:59 hwclock-save.log
            -rw-r----- 1 root root               32 oct.  20 20:59 lightdm.log
            -rw-r----- 1 root root               22 oct.  20 20:59 udev.log
            -rw-r----- 1 root root               12 oct.  20 20:59 urfkill.log
            
            

            And here is all what they contain :

            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ sudo cat biometryd.log 
            Terminated
            Killed
            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ sudo cat urfkill.log 
            Terminated
            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ sudo cat lightdm.log 
            Failed to get D-Bus connection
            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ sudo cat udev.log 
            starting version 229
            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ sudo cat hwclock-save.log 
            hwclock: Cannot access the Hardware Clock via any known method.
            hwclock: Use the --debug option to see the details of our search for an access method.
            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ sudo cat system-watchdog.log 
            touch: cannot touch '/userdata/.last_watchdog_reboot': No such file or directory
            touch: cannot touch '/userdata/.last_watchdog_reboot': No such file or directory
            touch: cannot touch '/userdata/.last_watchdog_reboot': No such file or directory
            touch: cannot touch '/userdata/.last_watchdog_reboot': No such file or directory
            touch: cannot touch '/userdata/.last_watchdog_reboot': No such file or directory
            pulsar33@Minerve:/media/pulsar33/root/var/log/upstart$ cd ../ubuntu-download-manager/
            pulsar33@Minerve:/media/pulsar33/root/var/log/ubuntu-download-manager$ cat .log20191020-185955.2080 
            Log file created at: 2019/10/20 18:59:55
            Running on machine: ubuntu-phablet
            Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
            I1020 18:59:55.082846  2080 base_daemon.cpp:204] Timeout is enabled: 1
            I1020 18:59:55.083389  2080 base_daemon.cpp:206] Daemon is stoppable: 0
            I1020 18:59:55.087118  2080 downloads_db.cpp:151] Db file is  /var/cache/ubuntu-download-manager/downloads.db
            I1020 18:59:55.126965  2080 network_session.cpp:100] Instance is null
            I1020 18:59:55.127024  2080 network_session.cpp:103] Create new instance
            I1020 18:59:55.222091  2080 network_session.cpp:68] Connection type 802-3-ethernet
            I1020 18:59:55.222759  2080 manager.cpp:113] virtual void Ubuntu::DownloadManager::Daemon::DownloadManager::setAcceptedCertificates(const QList<QSslCertificate>&)
            I1020 18:59:55.223557  2080 base_daemon.cpp:122] Service registered to com.canonical.applications.Downloader
            I1020 19:00:25.228682  2080 base_daemon.cpp:152] Timeout reached, shutdown service.
            
            

            Not so useful I guess
            BR
            Pulsar33

            1 Reply Last reply Reply Quote 0
            • Aury88A Offline
              Aury88 @alan_g
              last edited by Aury88

              @alan_g
              Hi Alan!
              The unity8 log pastebin was already linked in the first post of this thread. Sorry I thought that it was convenient to put it there. Here the link to the unity8 log pastebin.

              @Pulsar33 for the unity8 log you have to do this:

              cat /.cache/upstart/unity8.log
              
              alan_gA 1 Reply Last reply Reply Quote 1
              • Pulsar33P Offline
                Pulsar33
                last edited by

                Sorry, I miss that all logs in /home/phablet/.cache where not seen.
                Same log as you ...
                Pulsar33

                1 Reply Last reply Reply Quote 0
                • alan_gA Offline
                  alan_g @Aury88
                  last edited by

                  @Aury88 sorry, I didn't read the whole thread, just from the point you pinged me.

                  That log isn't related to https://github.com/MirServer/mir/issues/704 where one of the DRM functions returns a misleading result. Instead it looks like the graphics driver isn't adequately supported by Mesa.

                  I know that my colleagues at Canonical have yet to get graphics working on the Pi4 with Ubuntu Core (I think that's lack of time, not a technical issue). But maybe you can find something useful here: https://forum.snapcraft.io/t/support-for-raspberry-pi-4/11970

                  For example:

                  you might need to play with the dtoverlay= kms or fkms values in config.txt. i know the vc4 driver isnt fully ready to drive the vc5 hardware in the pi4 but i know that for example my omxplayer-pi snap works fine (only 1080p though, omxplayer does not support h265 yet) when either using no dtoverlay or with the fkms one (not with the kms one though). - https://forum.snapcraft.io/t/support-for-raspberry-pi-4/11970/17

                  Aury88A alan_gA 2 Replies Last reply Reply Quote 1
                  • Aury88A Offline
                    Aury88 @alan_g
                    last edited by

                    @alan_g thank you.! I will try that.

                    1 Reply Last reply Reply Quote 1
                    • Pulsar33P Offline
                      Pulsar33
                      last edited by

                      Hello
                      Don't know what to do.
                      And you ?
                      BR
                      Pulsar33

                      Aury88A 1 Reply Last reply Reply Quote 0
                      • Aury88A Offline
                        Aury88 @Pulsar33
                        last edited by Aury88

                        No @Pulsar33, we mortals are all stuck with the compositor error. also I can access only the first time to the session. it asks to set a name to the device but in the following boots, after login (with phablet or the chosen name is the same) it start a wrongly orientated login interface without keyboard recognition and the impossibility to use the virtual keyboard due to the compositor problem.... also I am not able to access the console mode 😖

                        1 Reply Last reply Reply Quote 0
                        • Pulsar33P Offline
                          Pulsar33
                          last edited by

                          Thank you for the answer
                          Is your build the last successful one #44 created today ?
                          I can't test it before a few days but I will asap
                          BR
                          Pulsar33

                          Aury88A 1 Reply Last reply Reply Quote 0
                          • Aury88A Offline
                            Aury88 @Pulsar33
                            last edited by

                            @Pulsar33 yes. the #44 have a working GUI (but still not the compositor).

                            1 Reply Last reply Reply Quote 1
                            • Aury88A Offline
                              Aury88
                              last edited by Aury88

                              Warning!: the last rootfs-rpi build (#51) has not the GUI.
                              Here the cat /.cache/upstart/unity8.log pastebin

                              1 Reply Last reply Reply Quote 0
                              • Pulsar33P Offline
                                Pulsar33
                                last edited by Pulsar33

                                Hello,

                                Things are moving on the raspberrypi.org forum. An Ubuntu sub-forum has been open in Operating System distributions / Other and an old thread about Unity has been updated. A few members are posting.

                                BR
                                Pulsar33

                                Aury88A 1 Reply Last reply Reply Quote 1
                                • Aury88A Offline
                                  Aury88 @Pulsar33
                                  last edited by

                                  @Pulsar33 to me it seems more like throwing a stone in the pond and then shouting "there is movement !!" 😂
                                  but that was a right move...maybe someone from there can help us port UT on RPI.
                                  here the situation has stopped (not to say worsened since we lost the GUI operation ...and we don't know why 😖 )

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    nanu-c
                                    last edited by nanu-c

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • MarkM Offline
                                      Mark
                                      last edited by

                                      I know this is about the Raspberry Pi 4 but if any of you, frustrated with the lack of progress, have a Raspberry Pi 3 you may want to try that as it is working reasonably well but with bugs that could do with some attention. Solving them should, in many cases, also help with the Pi 4 once the (compositor?) bug is fixed. Some of the existing UT apps have been recompiled for arm64 so we have working file manager and UT Tweak amongst others. The Telegram group has instructions to add Swap which makes life a lot easier.

                                      MarkM 1 Reply Last reply Reply Quote 0
                                      • MarkM Offline
                                        Mark @Mark
                                        last edited by

                                        @Mark Brian Douglas now has an experimental open store for multi arch which worked well for me on the Pi. The Telegram UBports Raspberry Pi group is a good place to follow progress.

                                        1 Reply Last reply Reply Quote 0
                                        • alan_gA Offline
                                          alan_g @alan_g
                                          last edited by

                                          @alan_g said in Raspberry Pi 4 Model B:

                                          I know that my colleagues at Canonical have yet to get graphics working on the Pi4 with Ubuntu Core (I think that's lack of time, not a technical issue)

                                          Update: I just read the phrase "note: this fixes mir-kiosk support !" on this snapcraft thread about the Pi4:

                                          https://forum.snapcraft.io/t/support-for-raspberry-pi-4/11970/37

                                          That implies a kernel which works with Mir graphics and therefore can support Unity8.

                                          1 Reply Last reply Reply Quote 0
                                          • Pulsar33P Offline
                                            Pulsar33
                                            last edited by

                                            This post is deleted!
                                            Pulsar33P 1 Reply Last reply Reply Quote 0
                                            • Pulsar33P Offline
                                              Pulsar33 @Pulsar33
                                              last edited by

                                              This post is deleted!
                                              LakotaubpL 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post