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

    Wireless convergence on FP2 : black screen

    Scheduled Pinned Locked Moved Support
    8 Posts 5 Posters 1.7k 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.
      • O Offline
        oli.sax
        last edited by

        Hello !
        To try convergence on my FP2 I bought a HDMI wireless dongle with a button to switch between two modes: Miracast and DLNA.
        I plugged it on a TV, connected my UbuntuTouch FP2 device to it remotely. The dongle appeared in the available external displays. Once selected, the screen on the TV became black (instead of the dongle's welcome screen) and the screen on my FP2 grey with a message "you can use this touchscreen as a pointer".
        Waiting a couple minutes didn't change anything, the TV screen remained desperately black...

        What is funny it that I decided to take a screenshot (vol +& vol -) and once back in the "smartphone mode", I opened it: the image show the desktop of a big screen, with my UT apps displayed! So somehow UbuntuTouch was able to switch to "convergence mode" but not to correctly send the signal to the dongle...
        How can I debug this?

        Best regards,
        Olivier

        Note: I didn't connected any wireless mouse/keyboard, is it necessary?
        Note2: I tested both Miracast and DLNA screencasting on LineageOS and it worked, so the dongle is not defect.

        1 Reply Last reply Reply Quote 0
        • WLBIW Offline
          WLBI
          last edited by WLBI

          @oli-sax
          Hi Oliver,
          I guess your dongle works on Android, but not on UBports/Ubuntu-Touch.
          I have the Microsoft Dongle and it works already fine with Ubuntu, before UBports was released.
          See here: "Known working Sink devices"
          https://wiki.ubuntu.com/Touch/DisplayCasting
          Before I tried this one http://amzn.to/2D0XlSa but it didn't work, and I send it back.
          Then I bought this one: http://amzn.to/2D1anjH
          and every thing works fine...
          PS: This was already in August 2016 when I tried this with my BQ M10 FHD
          See my German YouTube Video, where I show this: https://youtu.be/gWsr2gq9OUs

          Alex

          Bq Aquaris E 4.5 & Bq M10 FHD
          My English YouTube eDrive channel: https://goo.gl/UFVh4S
          My German Linux channel:
          https://www.youtube.com/WarumLinuxBesserIst

          1 Reply Last reply Reply Quote 1
          • O Offline
            oli.sax
            last edited by

            Thank you for your answer, @WLBI !
            I find quite funny that Ubuntu needs a Microsoft device for convergence 😉

            Anyway, as you also first tried with an incompatible device, it seems that the protocol is not as universal as I initially tough...

            1 Reply Last reply Reply Quote 1
            • IngoI Offline
              Ingo
              last edited by

              Is there a way to configure the external display?

              I now have a MS display adapter and the connection with my FP2 is very stable. But the left part of the screen is cut off while in external display mode (and probably the top, too).

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                marlboro50 @Ingo
                last edited by

                @Ingo with the xrandr command you are able to set the borders of the output. The command xrandr displays the output device. In my case it's "HDMI-A-0".
                So i type in the terminal:
                xrandr --output HDMI-A-0 --set underscan on
                xrandr --output HDMI-A-0 --set "underscan hborder" 59 --set "underscan vborder" 32
                Perhaps this will work in your case as well.

                1 Reply Last reply Reply Quote 1
                • IngoI Offline
                  Ingo
                  last edited by Ingo

                  Hi @marlboro50, today I found some time to test this out. But unfortunately it didn't help 😞

                  First obstacle was that xrandr wasn't installed. Not a big issue.
                  One I had it, I couldn't get it to work. First, the DISPLAY variable wasn't set. I tried to set it to :0 but then I got a "cannot connect to display" error.

                  Is this supposed to work on UT? I thought it uses mir, not X11.
                  Or was the some more setup necessary to get it to work?

                  Edit: I solved that particular issue by installing the Microsoft Wireless Display Adapter app from the MS store on my Win 10 laptop and from there changing the overscan. After that it also is ok when connecting from UT.

                  Now the only problem is that it's not really sharp. Like the resolution is somewhat off or so.

                  M dobeyD 2 Replies Last reply Reply Quote 0
                  • M Offline
                    marlboro50 @Ingo
                    last edited by

                    @Ingo OK. That's good news.

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

                      @Ingo said in Wireless convergence on FP2 : black screen:

                      Now the only problem is that it's not really sharp. Like the resolution is somewhat off or so.

                      I think the output resolution is limited to 720p, which may be much lower than whatever your displaying it on.

                      And indeed, xrandr will not work on UT, as we use Mir, not Xorg.

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