KVM - How to remove virtual video card, but keep the SPICE Server?
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
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.
add a comment |
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
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.
add a comment |
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
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
kvm gpu spice
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 31 '16 at 17:31
dyasnydyasny
93247
93247
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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