KVM - How to remove virtual video card, but keep the SPICE Server?












2















I am passing through a physical GPU to my virtual machine, and using the SPICE Server/Display Spice for sound. However, the virtual GPU (Cirrus/QXL/VGA/Virtio/VMVGA/Xen) is causing some sort of conflict with the real GPU, as when it is enabled, the monitor which I am using to display the output from the real GPU displays none or incorrect output.



I have tried this with all the possible virtual video cards, and had the most success with VMVGA, which allowed me to go as far as displaying the GRUB menu. There was no output after actually booting up the OS (Debian Testing). With others, not even the GRUB was displayed.



If I remove both the SPICE Server and the video card, the real GPU works well with the correct output, drivers and everything. But as stated, I need the SPICE Server. I tried to remove only the virtual video card, both through virtmanager and XML modification, but it always returns.



Is there any way to remove the card, but keep SPICE?



Is there any other way to make the virtual sound device work (it doesn't seem to work without SPICE, specifically it doesn't play the sound on the host)?



If the card cannot be removed, can it be disabled, so the virtual machine/guest OS won't touch it at all?



Any other solutions to this problem?










share|improve this question














bumped to the homepage by Community 14 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    2















    I am passing through a physical GPU to my virtual machine, and using the SPICE Server/Display Spice for sound. However, the virtual GPU (Cirrus/QXL/VGA/Virtio/VMVGA/Xen) is causing some sort of conflict with the real GPU, as when it is enabled, the monitor which I am using to display the output from the real GPU displays none or incorrect output.



    I have tried this with all the possible virtual video cards, and had the most success with VMVGA, which allowed me to go as far as displaying the GRUB menu. There was no output after actually booting up the OS (Debian Testing). With others, not even the GRUB was displayed.



    If I remove both the SPICE Server and the video card, the real GPU works well with the correct output, drivers and everything. But as stated, I need the SPICE Server. I tried to remove only the virtual video card, both through virtmanager and XML modification, but it always returns.



    Is there any way to remove the card, but keep SPICE?



    Is there any other way to make the virtual sound device work (it doesn't seem to work without SPICE, specifically it doesn't play the sound on the host)?



    If the card cannot be removed, can it be disabled, so the virtual machine/guest OS won't touch it at all?



    Any other solutions to this problem?










    share|improve this question














    bumped to the homepage by Community 14 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      2












      2








      2








      I am passing through a physical GPU to my virtual machine, and using the SPICE Server/Display Spice for sound. However, the virtual GPU (Cirrus/QXL/VGA/Virtio/VMVGA/Xen) is causing some sort of conflict with the real GPU, as when it is enabled, the monitor which I am using to display the output from the real GPU displays none or incorrect output.



      I have tried this with all the possible virtual video cards, and had the most success with VMVGA, which allowed me to go as far as displaying the GRUB menu. There was no output after actually booting up the OS (Debian Testing). With others, not even the GRUB was displayed.



      If I remove both the SPICE Server and the video card, the real GPU works well with the correct output, drivers and everything. But as stated, I need the SPICE Server. I tried to remove only the virtual video card, both through virtmanager and XML modification, but it always returns.



      Is there any way to remove the card, but keep SPICE?



      Is there any other way to make the virtual sound device work (it doesn't seem to work without SPICE, specifically it doesn't play the sound on the host)?



      If the card cannot be removed, can it be disabled, so the virtual machine/guest OS won't touch it at all?



      Any other solutions to this problem?










      share|improve this question














      I am passing through a physical GPU to my virtual machine, and using the SPICE Server/Display Spice for sound. However, the virtual GPU (Cirrus/QXL/VGA/Virtio/VMVGA/Xen) is causing some sort of conflict with the real GPU, as when it is enabled, the monitor which I am using to display the output from the real GPU displays none or incorrect output.



      I have tried this with all the possible virtual video cards, and had the most success with VMVGA, which allowed me to go as far as displaying the GRUB menu. There was no output after actually booting up the OS (Debian Testing). With others, not even the GRUB was displayed.



      If I remove both the SPICE Server and the video card, the real GPU works well with the correct output, drivers and everything. But as stated, I need the SPICE Server. I tried to remove only the virtual video card, both through virtmanager and XML modification, but it always returns.



      Is there any way to remove the card, but keep SPICE?



      Is there any other way to make the virtual sound device work (it doesn't seem to work without SPICE, specifically it doesn't play the sound on the host)?



      If the card cannot be removed, can it be disabled, so the virtual machine/guest OS won't touch it at all?



      Any other solutions to this problem?







      kvm gpu spice






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 30 '16 at 20:06









      anonymousanonymous

      112




      112





      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 14 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          SPICE is the video, it's a protocol that includes video, sound and control channels for remote access to the qemu process controlling the guest. You can't decouple the sound from the server. If you need to use a passed through video card, you might as well pass the sound card through too.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333874%2fkvm-how-to-remove-virtual-video-card-but-keep-the-spice-server%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            SPICE is the video, it's a protocol that includes video, sound and control channels for remote access to the qemu process controlling the guest. You can't decouple the sound from the server. If you need to use a passed through video card, you might as well pass the sound card through too.






            share|improve this answer




























              0














              SPICE is the video, it's a protocol that includes video, sound and control channels for remote access to the qemu process controlling the guest. You can't decouple the sound from the server. If you need to use a passed through video card, you might as well pass the sound card through too.






              share|improve this answer


























                0












                0








                0







                SPICE is the video, it's a protocol that includes video, sound and control channels for remote access to the qemu process controlling the guest. You can't decouple the sound from the server. If you need to use a passed through video card, you might as well pass the sound card through too.






                share|improve this answer













                SPICE is the video, it's a protocol that includes video, sound and control channels for remote access to the qemu process controlling the guest. You can't decouple the sound from the server. If you need to use a passed through video card, you might as well pass the sound card through too.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 31 '16 at 17:31









                dyasnydyasny

                93247




                93247






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333874%2fkvm-how-to-remove-virtual-video-card-but-keep-the-spice-server%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Accessing regular linux commands in Huawei's Dopra Linux

                    Can't connect RFCOMM socket: Host is down

                    Kernel panic - not syncing: Fatal Exception in Interrupt