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

X11 Support problem

Scheduled Pinned Locked Moved Unsolved Support
8 Posts 3 Posters 542 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.
    • K Offline
      kara-zajac
      last edited by 2 Mar 2023, 17:31

      Hello everyone.

      I had an odd problem where I launch an application X11 support successfully opens, and I can see everything just fine, but then the screen and button presses don't update until I switch away from the app and back too it. Just seems really add that everything does work, but it just doesn't update, and you have to manually do it by switching in and out of the application.

      The app in question is scrcpy for mirroring my android phone. App starts and runs fine, just this weird update problem (possibly with X11 support app xmir?)

      A K 2 Replies Last reply 2 Mar 2023, 19:31 Reply Quote 0
      • A Offline
        arubislander @kara-zajac
        last edited by 2 Mar 2023, 19:31

        @kara-zajac Hi, what device are you trying this on? Also what version of UT (I am guessing focal). Did you start the app from the terminal? Depending on your device we can figure out the steps to get it to work as it should

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @kara-zajac
          last edited by 3 Mar 2023, 02:59

          @kara-zajac Are you on xenial? I wouldn't hope much since xmir is dead. On focal though, xwayland support has landed and it should work much better. Still not perfect though but at least there's hope for it to improve.

          1 Reply Last reply Reply Quote 0
          • K Offline
            kara-zajac
            last edited by 3 Mar 2023, 15:01

            I am on focal and I am launching the app from the terminal, which opens it in a new window. I don't know if I can upload a video here, but I took one yesterday.

            If I go into the multi app view cards, I can see it updating on the card, but the moment I go into the scrcpy window of my android phone it works for about 1 second and then I have to swipe back to the terminal and back to the app again.

            This is on a Pinephone Pro, I realize I am not on a standard anything right now, but it seemed to be more of a function of UT putting running terminal stuff into the background when you leave the window more than a bug. It seems like it is doing it to possibly save battery? Like when I can see when it does the [1] stopped because I left the terminal.

            1 Reply Last reply Reply Quote 0
            • K Offline
              kara-zajac
              last edited by kara-zajac 3 Mar 2023, 16:27 3 Mar 2023, 16:22

              Problem still persists after running:
              gsettings set com.canonical.qtmir lifecycle-exempt-appids "['com.ubuntu.music', 'com.ubuntu.terminal']"

              I was hoping that would fix it, but when I move off of terminal it still stops scrcpy and sends it to the background

              K 1 Reply Last reply 3 Mar 2023, 17:23 Reply Quote 0
              • K Offline
                kugiigi @kara-zajac
                last edited by 3 Mar 2023, 17:23

                @kara-zajac Actually apps were renamed in Focal.New name I think is terminal.ubports

                K 1 Reply Last reply 3 Mar 2023, 17:36 Reply Quote 0
                • K Offline
                  kara-zajac @kugiigi
                  last edited by 3 Mar 2023, 17:36

                  @kugiigi

                  That was it!!!! πŸ˜„

                  I am forever in your debt.

                  K 1 Reply Last reply 4 Mar 2023, 03:47 Reply Quote 0
                  • K Offline
                    kugiigi @kara-zajac
                    last edited by 4 Mar 2023, 03:47

                    @kara-zajac So you're using scrpy to mirror your android phone wirelessly? Didn't know there's now an app for that. Let us know how it works. I tried scrpy some time ago on my work laptop and it kinda worked well πŸ˜„

                    1 Reply Last reply Reply Quote 1
                    2 out of 8
                    • First post
                      2/8
                      Last post