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
    13 Posts 3 Posters 2.4k 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

      @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 W 2 Replies 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
                  • W Offline
                    wynn1212 @wynn1212
                    last edited by

                    said in Waydroid crashes in Desktop Mode over HDMI:

                    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)

                    Done. I’ve filed a bug report on GitLab. Hopefully, the developers will see it and provide a fix.

                    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 You're the best 😊. TBH i was hoping you would do it, because you faced the same problem. Maybe there will be a real solution soon 🤞.

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

                        OK, found the solution on 'WayDroid on Ubuntu Touch' Telegram group channel
                        Thanks "aleasto" for sharing this solution.

                        1. Start WayDroid session (by either taping "WayDroid" in launcher or waydroid session start in terminal)
                        2. When WayDroid session loads, open Terminal on Ubuntu Touch
                        3. Run the following commands (I think the first prop should be fine, but just in case, I set those 2 props)
                        $ waydroid prop set persist.waydroid.cursor_on_subsurface true
                        $ waydroid prop set persist.waydroid.cursor_force_shm true
                        
                        1. Restart the WayDroid session to apply prop changes. (By either tapping "Waydroid Stop" then "Waydroid" in launcher or waydroid session stop then waydroid session start in terminal)

                        And from now, hovering mouse cursor to Waydroid window will no longer crashes the Waydroid window.
                        And enabling Show taps on developer options no longer crashes Waydroid window but the taps no longer shows when touches.

                        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

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post