XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Change Resolution of the XCP-NG console itself

    Scheduled Pinned Locked Moved Compute
    14 Posts 6 Posters 2.5k Views 5 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.
    • T Offline
      thetechhipster
      last edited by

      Good Afternoon all,

      Some of our racks that are using XCP-NG have small 19" monitors with 1366x768 resolution or even older 4:3 monitors with 1280x1024. Once XCP boots past the loader I get "input out of range please change to monitor resolution xxx" I tried to manually define the resolution in GRUB to no success. Any come across this issue as well as a solution?

      T E 2 Replies Last reply Reply Quote 0
      • T Offline
        thetechhipster @thetechhipster
        last edited by

        I found this link from the xenserver page which sounds like a similar issue. I tested this on a 4:3 monitor here and it worked. It basically changes the resolution to 1024x768 which is pretty universal. The steps from the link are

        • SSH into Host

        • /opt/xensource/libexec/xen-cmdline --set-xen vga=mode-0x0317

        • /opt/xensource/libexec/xen-cmdline --set-dom0 vga=791

        • Reboot system

        You could change the resolution to anything you need. I found this to be a pretty good universal resolution.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Andrew Top contributor @thetechhipster
          last edited by

          @thetechhipster The change did not work for me (using UEFI boot)...

          T L 2 Replies Last reply Reply Quote 0
          • T Offline
            thetechhipster @Andrew
            last edited by

            @Andrew I'm using the same. I only tested it on one of the monitors here. I have a few more in the field I will test it on later. Before doing this I would always get a "resolution out of bounds" error on the monitors. (one 4:3 1024 and one 16:9 1366)

            1 Reply Last reply Reply Quote 0
            • L Offline
              lethedata @Andrew
              last edited by lethedata

              Old topic but figured I'd put this information here in case anyone else runs into a similar issue.

              This fix only works for BIOS/Legacy boot not UEFI because UEFI doesn't use VGA directly. There's not a solution for UEFI at this point but there should be one when XCP-ng moves to Xen 4.17+ in 8.3 release.

              Bit more information regarding the future potential fix is documented in xen commit 927aee5

              @Andrew

              1 Reply Last reply Reply Quote 1
              • E Offline
                EdRoxter 0 @thetechhipster
                last edited by

                Sorry for grave digging, but I found this thread quite on top while googling for the issue, so I thought it might help others stranding here.

                Found a solution on https://forums.lawrencesystems.com/t/xcp-ng-vms-display-resolution-locked/10988/14 - albeit it refers to Windows guests, I'm pretty positive that it should work for any guest with UEFI boot configured:

                • At VM start (tiano bios logo) press esc.
                • Go to device manager menu
                • Go to OVMF Platform configuration
                • Change Preferred
                • Select the resolution you want
                • F10 to save
                • restart the VM
                • At reboot you should be fine.
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Online
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  It is documented already: https://docs.xcp-ng.org/vms/#manage-screen-resolution

                  If you search "resolution" in our doc, you'll find it.

                  ForzaF 1 Reply Last reply Reply Quote 0
                  • ForzaF Offline
                    Forza @olivierlambert
                    last edited by

                    At VM start, during Tiano firmware logo display, press ESC.

                    I often find the boot delay too short, which is annoying. Is it possible for xcpng to set a slightly longer default?

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Online
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      I'm not aware of such possibility. However, with XO Lite & XO 6, the console display time is a lot faster, so it should help.

                      ForzaF 1 Reply Last reply Reply Quote 0
                      • ForzaF Offline
                        Forza @olivierlambert
                        last edited by

                        Perhaps it would be possible to rebuild the bundled Tianocore image?

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thetechhipster
                          last edited by

                          My original post was regarding the console for XCP not anything to do with VM's. The monitor would show "out of range" after boot and never let me do anything locally. For windows I just use Bios for now. UEFI is too much of an issue. Especially for scaling when I login remotely to the VM using Splashtop or similar. It never scaled properly unless I used the Bios verison. Forza is right. It is really fast to try and get into the Bios screen. A checkbox or option to "boot into bios" like vmware would be extremely helpful for those rare occasions, instead of trying to "beat the clock".

                          ForzaF 1 Reply Last reply Reply Quote 1
                          • ForzaF Offline
                            Forza @thetechhipster
                            last edited by

                            @thetechhipster Ah, the xsconsole resolution probably could be changed from the grub/kernel command line.

                            1 Reply Last reply Reply Quote 0
                            • olivierlambertO Online
                              olivierlambert Vates 🪐 Co-Founder CEO
                              last edited by

                              Indeed, I read it too quickly 😄

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thetechhipster
                                last edited by

                                I initially did try grub directly but never got the results I needed. (Could be user error) It's nice to change the resolution down because a lot of our installs have service monitors...ie monitors in the corner that were dusted off and used.

                                I would like to see that "boot to firmware" option either in the boot loader hierarchy or as a select-able toggle. It would help on those few times I need to adjust things but my trigger finger is too atrophied to nail that esc.

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