• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • P Offline
      poVoq
      last edited by 31 Mar 2021, 00:20

      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 A 2 Replies Last reply 31 Mar 2021, 02:16 Reply Quote 0
      • K Offline
        kugiigi @poVoq
        last edited by 31 Mar 2021, 02:16

        @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.

        P A 2 Replies Last reply 31 Mar 2021, 08:09 Reply Quote 1
        • P Offline
          poVoq @kugiigi
          last edited by 31 Mar 2021, 08:09

          @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
          • P Offline
            poVoq
            last edited by poVoq 4 Jan 2021, 16:22 1 Apr 2021, 09:20

            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 1 Apr 2021, 10:39 Reply Quote 0
            • A Offline
              alan_g @kugiigi
              last edited by 1 Apr 2021, 10:36

              @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 4 Jan 2021, 10:43 1 Apr 2021, 10:39

                @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.

                K 1 Reply Last reply 1 Apr 2021, 10:41 Reply Quote 0
                • K Offline
                  Keneda @cliffcoggin
                  last edited by Keneda 4 Jan 2021, 10:43 1 Apr 2021, 10:41

                  @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
                  • A Offline
                    alan_g @poVoq
                    last edited by 1 Apr 2021, 10:55

                    @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 D 2 Replies Last reply 1 Apr 2021, 13:52 Reply Quote 2
                    • C Offline
                      cliffcoggin @alan_g
                      last edited by 1 Apr 2021, 13:52

                      @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
                      • P Offline
                        poVoq
                        last edited by poVoq 4 Jan 2021, 16:21 1 Apr 2021, 16:20

                        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)

                        D 1 Reply Last reply 2 Apr 2021, 18:09 Reply Quote 0
                        • D Offline
                          dobey @alan_g
                          last edited by 2 Apr 2021, 18:08

                          @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
                          • D Offline
                            dobey @poVoq
                            last edited by 2 Apr 2021, 18:09

                            @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.

                            P 1 Reply Last reply 2 Apr 2021, 19:56 Reply Quote 0
                            • P Offline
                              poVoq @dobey
                              last edited by 2 Apr 2021, 19:56

                              @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)

                              D 1 Reply Last reply 3 Apr 2021, 17:29 Reply Quote 1
                              • D Offline
                                dobey @poVoq
                                last edited by 3 Apr 2021, 17:29

                                @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?

                                P 1 Reply Last reply 3 Apr 2021, 18:01 Reply Quote 0
                                • P Offline
                                  poVoq @dobey
                                  last edited by 3 Apr 2021, 18:01

                                  @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
                                  10 out of 15
                                  • First post
                                    10/15
                                    Last post