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

    Convergence via Deskreen app?

    Scheduled Pinned Locked Moved OS
    15 Posts 6 Posters 1.2k 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.
      • poVoqP Offline
        poVoq
        last edited by

        https://deskreen.com/
        https://github.com/pavlobu/deskreen

        Deskreen is a Linux app that allows using any device with e webbrowser as a second screen for a device. It works by streaming the screen via webRTC.

        I think it would be pretty awesome to have a similar functionality build into UT for convergence mode. It should even work on phones without display-out and on a 5ghz wifi connection it is quite lag free.

        Anyone interested in porting Deskreen (Electron app) or replicating the functionality directly in UT? Might be not too difficult with Morph if it supports screen sharing via webRTC?

        Fairphone 5 (waiting for port)

        K alan_gA 2 Replies Last reply Reply Quote 0
        • K Offline
          kugiigi @poVoq
          last edited by

          @povoq How's input lag and overall responsiveness?
          I think the tricky part here is how to capture the screen since it may differ between X and wayland then UT mostly use mirclient. Screen capture is already possible on mirclient as it is being done by MirVNCServer but I'm not sure if it's good enough for a lag-free experience. Also, even if it works, it'll just mirror the screen, right? So scaling will still be the same as the phone unless maybe the program also creates a virtual screen with desktop scaling or automatically change the scaling of the built-in display.

          poVoqP alan_gA 2 Replies Last reply Reply Quote 1
          • poVoqP Offline
            poVoq @kugiigi
            last edited by

            @kugiigi lag remains to be seen, but in theory it can work quite well.

            The screen can be anything. Deskreen usually uses a virtual secondary screen, but of course you can also mirror it. Scaling shouldn't be an issue.

            Fairphone 5 (waiting for port)

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

              bump

              I wonder why there is not more interest in something like this. For me it seems like the ideal way of implementing convergence desktop mode with convergent apps: No extra hardware needed and you can set it up ad-hoc with nearly any device you happen upon.

              Fairphone 5 (waiting for port)

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

                @kugiigi said in Convergence via Deskreen app?:

                think the tricky part here is how to capture the screen since it may differ between X and wayland then UT mostly use mirclient.

                Yes. There's no future in pursuing mirclient support and I infer that this uses pipewire on Wayland. Support for the pipewire Wayland extension would need to be added to Mir (PRs welcome).

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cliffcoggin @poVoq
                  last edited by cliffcoggin

                  @povoq Perhaps I am missing something here, but I can not see the point of trying to watch the content of 23 inch computer screen compressed on to a 5 inch phone screen.

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

                    @cliffcoggin
                    I think he talks about the opposite, watch the content of a 5" smartphone on a 23" or watever size PC screen.
                    All the point of the "convergence" thing... without the need of a compatible plug on smartphone.

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                    🇲🇫🇬🇧

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

                      @povoq said in Convergence via Deskreen app?:

                      convergence mode

                      Mentioning "convergence" here and in the title is confusing as the discussion proves.

                      The term originated as a way to describe what software needs to do to work effectively across a wide range of devices capabilities: screen size; physical, virtual or no keyboard, mouse or not, touchscreen or nor, etc.

                      Having "convergent" software is what allows Ubuntu Touch to dock with a fullsize screen, keyboard and mouse and offer a "desktop" mode.

                      It would be clearer to refer to "desktop mode" (although that name too is poor as it is frequently a laptop, TV or projector).

                      C dobeyD 2 Replies Last reply Reply Quote 2
                      • C Offline
                        cliffcoggin @alan_g
                        last edited by

                        @alan_g Thank you for the explanation. I don't believe I have fully grasped the concept of convergence, but then I only connect my phone to a computer to move a few photos so I probably have no need to.

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

                          Yeah, I guess I am referring to desktop mode with convergent apps.

                          Similar to how some phones supported by UT can use a display out cable to be converted into a more or less full desktop computer, this would allow doing it wireless to any device (and without a miracast dongle either).

                          Deskreen works by adding a virtual screen (that can be mirrored or not), so nothing would be compressed to a mobile resolution or anything like that. It would be just your regular 1920x1080 desktop resolution (or a bit lower via slower 2.4ghz wifi I guess).

                          Fairphone 5 (waiting for port)

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

                            @alan_g I prefer to use the terms "windowed mode" and/or "external screen" depending on what specifically one is talking about. Since it is possible to use windowed mode even on small screens, or staged mode even on larger external displays, it helps to be specific.

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

                              @povoq It sounds like it's just an app that does basically the same thing as VNC/RDP would do, but with yet another different protocol.

                              All it would take is for someone to do the work to make it function, and get it integrated into the system.

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

                                @dobey Yes similar, but with the big advantage that the device used as a screen just needs a webbrowser. This opens a lot of options as you don't need to install anything (on a company PCs for example) and you can also use plenty of devices like old tablets or smart TVs as a screen without any additional hardware.

                                Fairphone 5 (waiting for port)

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

                                  @povoq This only works for streaming the video though, no? You can't interact with the screen by dragging windows, or adjust focus and type, directly in the browser, right?

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

                                    @dobey No, you are right. Screen sharing by stream only, no interactivity AFAIK.

                                    Fairphone 5 (waiting for port)

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