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

    Waydroid crashes in Desktop Mode over HDMI

    Scheduled Pinned Locked Moved Fairphone 4
    10 Posts 3 Posters 191 Views 1 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.
      • B Offline
        bbiw
        last edited by bbiw

        Hello all,

        when i connect bluetooth mouse & keyboard to my Fairphone 4, connect the phone to my TV with a USB-C-to-HDMI-cable and start Waydroid, Waydroid starts correctly, but crashes and restarts as soon as i hover with the mouse cursor over the Waydroid window. There aren't any useful informations when starting Waydroid from Terminal, even with --verbose and/or --details-to-stdout enabled.

        Anyone has an idea what the problem is?

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

          @bbiw Interesting, I don't remember this happening but I haven't tried waydroid on external display in quite a while. I'm gonna try this again and see.

          1 Reply Last reply Reply Quote 0
          • W Offline
            wynn1212
            last edited by wynn1212

            I'm pretty sure this happened after May 03 update. As I have enabled show taps on developer options. It will crash when I tries to touch anything in Waydroid. And same goes to moving mouse cursor in Waydroid. If I stay on Apr 26 image, it won't crash.

            As it turns out. It only seems to happened on Ubuntu Touch system. As I have another device running Droidian. It runs fine with no crash after May 03 update (show taps on developer options enabled). But with another laptop running Ubuntu Lomiri 24.04 (via Ubuntu Unity) with Waydroid installed. After May 03 update. it start crashing again when I hover mouse cursor over Waydroid window.

            So I guess the problem seems to be related with Lomiri and Waydroid with show taps enabled or using mouse after May 3 update. And This problem seems happened on all Ubuntu Touch device (Though most user use touchscreen instead of mouse.)

            My devices that were powered by Ubuntu Touch
            Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
            Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

            My devices that used Lomiri Desktop
            Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

            1 Reply Last reply Reply Quote 0
            • B Offline
              bbiw
              last edited by bbiw

              @wynn1212 : Show taps is disabled in my Developer options. When enabling it, Waydroid and eventually whole Lomiri crashes. After that even touch inputs (without external display) don't work anymore, Waydroid instantly crashes. To disable it again (i'm glad this was possible, cause Waydroid remains unusable with Show taps enabled) i had to do a adb shell settings put system show_touches 0 in Terminal. When using a bluetooth mouse without external display Waydroid crashes, too.

              Is it possible to downgrade Lineage images without data loss? I can try if this fixes the problem for now.

              1 Reply Last reply Reply Quote 0
              • B Offline
                bbiw
                last edited by bbiw

                Ok, i have tried for myself and downgraded the images. Waydroid doesn't crash anymore. This isn't really a solution, but fixes the problem for now. Thank you very much.

                Btw. with the newer images Avast finds malware in htmlviewer. Maybe this is false positive, i don't know. This is no problem with the old 20250426 image, cause htmlviewer isn't even installed. 😄

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wynn1212
                  last edited by wynn1212

                  @bbiw said in Waydroid crashes in Desktop Mode over HDMI:

                  This isn't really a solution

                  You can try to file this issue to developer, but not sure which one to report? Waydroid, UT, or both?

                  My devices that were powered by Ubuntu Touch
                  Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                  Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                  My devices that used Lomiri Desktop
                  Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wynn1212 @wynn1212
                    last edited by wynn1212

                    said in Waydroid crashes in Desktop Mode over HDMI:

                    @bbiw said in Waydroid crashes in Desktop Mode over HDMI:

                    This isn't really a solution

                    You can try to file this issue to developer, but not sure which one to report? Waydroid, UT, or both?

                    Maybe report to Waydroid on UT first, since the problem seems to be related on Ubuntu Touch system (or lomiri desktop). Does not happened on other distro for phone like Droidian (phosh desktop) or other distro like Ubuntu (GNOME desktop)

                    Desktop distro like Ubuntu(not lomiri), Fedora, Arch, etc... are not tested yet because I didn't install Waydroid on those system.

                    EDIT: Tested on my Surface Go 3 running Ubuntu Lomiri 24.04 LTS. After installed latest Waydroid image. It crashed when moving mouse cursor over to Waydroid window on Lomiri as expected. But if I install ubuntu-desktop (The vanilla Ubuntu desktop which use GNOME) on the same Surface Go 3 and switch to GNOME, Waydroid works perfectly without crashing while moving mouse cursor on Waydroid window. (Thought taps not showing when touch for some reason despite "Show Taps" has been enabled on developer menu, maybe it's GNOME side minor issue?) So the problem seems to be on Lomiri side.

                    My devices that were powered by Ubuntu Touch
                    Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                    Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                    My devices that used Lomiri Desktop
                    Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      bbiw @wynn1212
                      last edited by

                      @wynn1212 Sorry, but i have no gitlab account. I had one, but removed it because i haven't used it for quite a while.

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

                        @bbiw Oof, you shouldn't have removed it. I heard that you'll need to input a credit card or something before you can create an account now.

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          bbiw @kugiigi
                          last edited by

                          @kugiigi I think i've logged into gitlab via my github account. Why shouldn't this be simply possible in the future? Maybe you're right, i don't know. Another reason for me to remove the account was that i have so many accounts on the internet and don't want to lose overview. Perhaps I will try to open one again.

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