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

    Remote desktop on Gnome hangs randomly

    Scheduled Pinned Locked Moved Unsolved Hardware
    16 Posts 5 Posters 2.0k 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.
    • P Offline
      ph7 @ovicz
      last edited by

      @ovicz
      Perhaps upgrade bios ???

      1 Reply Last reply Reply Quote 0
      • O Offline
        ovicz
        last edited by

        I'm afraid there aren't any bios updates...the device is a chinese mini pc from aliexpress. I've spoken with the seller and he told there aren't any, at least not official ones. I don't think it's a bios issue, but something regarding the passthrough on the newer devices . maybe the kernel from xcp is too old, although it's heavily patched.

        1 Reply Last reply Reply Quote 0
        • O Offline
          ovicz
          last edited by

          Setting pci=nomsi seems to do the trick for now. Probably not optimal but it's just a VM and I didn't notice any performance issues.

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

            Adding @Team-OS-Platform-Release in case that rings a bell

            yannY 1 Reply Last reply Reply Quote 0
            • yannY Offline
              yann Vates 🪐 XCP-ng Team @olivierlambert
              last edited by

              Since GPU passthrough is involved I'd ping @Team-Hypervisor-Kernel

              1 Reply Last reply Reply Quote 1
              • O Offline
                ovicz
                last edited by

                If i remove the pci=nomsi from grub..this pops up in xl dmesg.

                (XEN) [15627.724045] CPU3: Running in modulated clock mode
                (XEN) [15628.457337] d[IDLE]v0: Unsupported MSI delivery mode 7 for Dom5
                (XEN) [15628.457339] d[IDLE]v2: Unsupported MSI delivery mode 7 for Dom5

                That's when the gnome desktop hangs. Is this fixable ?

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dinhngtu Vates 🪐 XCP-ng Team @ovicz
                  last edited by dinhngtu

                  @ovicz Are you up for a test package with a fix? Note that the fix is not yet tested nor supported at the moment.

                  Add user repos using this command:

                  yum-config-manager --add-repo https://koji.xcp-ng.org/repos/user/8/8.3/xcpng-users.repo
                  

                  To know what you need to upgrade, run this command (as xcp-ng-ndinh2 contains some changes that you don't need):

                  rpm -qa --qf '%{NAME}\t%{SOURCERPM}\n' | grep $'\txapi'
                  

                  Then upgrade just the XAPI-related packages:

                  yum update --enablerepo=xcp-ng-ndinh2 <list of packages from above>
                  

                  Remember to reboot the host after installing.

                  Finally, disable hvm-pirq on your affected VM and reboot it (parameter name subject to change):

                  xe vm-param-set uuid=... platform:hvm-pirq=false
                  

                  To go back, list what you installed and downgrade them:

                  yum list installed | grep ndinh
                  yum downgrade ...
                  
                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    ovicz
                    last edited by

                    Hello. I did what you said and it seems to work. Thank you.

                    D 1 Reply Last reply Reply Quote 1
                    • D Offline
                      dinhngtu Vates 🪐 XCP-ng Team @ovicz
                      last edited by

                      @ovicz Thanks for testing. Is everything working without the pci=nomsi or GRUB command line tweaks? We'll work to integrate this fix into a future update.

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        ovicz
                        last edited by ovicz

                        Yes. I removed pci=nomsi entry from grub. I've tested on a Debian Forky and CentOS Stream 10 VMs with gnome and an intel alderlake igpu passthrough no issues at all.

                        D 1 Reply Last reply Reply Quote 4
                        • poddingueP poddingue marked this topic as a question
                        • D Offline
                          dinhngtu Vates 🪐 XCP-ng Team @ovicz
                          last edited by dinhngtu

                          @ovicz xapi-26.1.16-1.1.0.pirq.2.xcpng8.3 is now available on xcp-ng-ndinh2, which disables HVM PIRQ for all existing VMs by default on reboot. Please try it out.

                          I've prepared an upstream PR for this feature. If you'd like to be listed as a tester, please respond with your name and email address (or your fake github email if you prefer) and I'll update my commit with your credit.

                          O 1 Reply Last reply Reply Quote 1
                          • O Offline
                            ovicz @dinhngtu
                            last edited by ovicz

                            @dinhngtu Hello. I've updated to the latest commit. There is no need to give me credit. I just want to help so others and myself included can benefit from this. Anyway thank you for your work.

                            O 1 Reply Last reply Reply Quote 3
                            • O Offline
                              ovicz @ovicz
                              last edited by

                              IF I update to the latest batch of updates released recently, I suppose I will lose the changes made in that repo that you provided. ?

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                dinhngtu Vates 🪐 XCP-ng Team @ovicz
                                last edited by dinhngtu

                                @ovicz I've built xapi-26.1.16-1.2.0.pirq.1.xcpng8.3 on xcp-ng-ndinh2. You can update as usual, then install my packages on top.

                                1 Reply Last reply Reply Quote 1

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post