Can I enable software rendering mode so I can pass my (single) GPU to a virtual machine?
Usually software rendering is not desired and people ask how to fix the issue. I actually want Ubuntu to launch exclusively in software rendering mode, so that the GPU can be passed to a virtual machine, and Ubuntu will still run with GUI. I have plenty of CPU horsepower for this task, and but only one graphics card.
Motive: I've been doing testing for a friend who wants to stream game-play. I'm striving for excellent results on a single PC using cheap Ryzen processors. I have the Ryzen 5 2600. I've had great results streaming while altering CPU affinity so that my encoder has most of my threads and the game runs on 3. Some anti-cheat software prevents CPU affinity from being altered for some games like Fortnite (as of today, unfortunately). However, I can still separate resources if I run a windows VM within linux and assign threads to the VM. I'd like to do this without the need for a 2nd graphics card, and I remembered software rendering without knowing how to intentionally enable it. The goal is to stream games well with OBS running in linux and a game running in the VM, and for the least amount of money possible. I know I can find cheap graphics cards online for less than $30, but I like software tricks.
graphics virtualbox virtualization gpu
New contributor
add a comment |
Usually software rendering is not desired and people ask how to fix the issue. I actually want Ubuntu to launch exclusively in software rendering mode, so that the GPU can be passed to a virtual machine, and Ubuntu will still run with GUI. I have plenty of CPU horsepower for this task, and but only one graphics card.
Motive: I've been doing testing for a friend who wants to stream game-play. I'm striving for excellent results on a single PC using cheap Ryzen processors. I have the Ryzen 5 2600. I've had great results streaming while altering CPU affinity so that my encoder has most of my threads and the game runs on 3. Some anti-cheat software prevents CPU affinity from being altered for some games like Fortnite (as of today, unfortunately). However, I can still separate resources if I run a windows VM within linux and assign threads to the VM. I'd like to do this without the need for a 2nd graphics card, and I remembered software rendering without knowing how to intentionally enable it. The goal is to stream games well with OBS running in linux and a game running in the VM, and for the least amount of money possible. I know I can find cheap graphics cards online for less than $30, but I like software tricks.
graphics virtualbox virtualization gpu
New contributor
add a comment |
Usually software rendering is not desired and people ask how to fix the issue. I actually want Ubuntu to launch exclusively in software rendering mode, so that the GPU can be passed to a virtual machine, and Ubuntu will still run with GUI. I have plenty of CPU horsepower for this task, and but only one graphics card.
Motive: I've been doing testing for a friend who wants to stream game-play. I'm striving for excellent results on a single PC using cheap Ryzen processors. I have the Ryzen 5 2600. I've had great results streaming while altering CPU affinity so that my encoder has most of my threads and the game runs on 3. Some anti-cheat software prevents CPU affinity from being altered for some games like Fortnite (as of today, unfortunately). However, I can still separate resources if I run a windows VM within linux and assign threads to the VM. I'd like to do this without the need for a 2nd graphics card, and I remembered software rendering without knowing how to intentionally enable it. The goal is to stream games well with OBS running in linux and a game running in the VM, and for the least amount of money possible. I know I can find cheap graphics cards online for less than $30, but I like software tricks.
graphics virtualbox virtualization gpu
New contributor
Usually software rendering is not desired and people ask how to fix the issue. I actually want Ubuntu to launch exclusively in software rendering mode, so that the GPU can be passed to a virtual machine, and Ubuntu will still run with GUI. I have plenty of CPU horsepower for this task, and but only one graphics card.
Motive: I've been doing testing for a friend who wants to stream game-play. I'm striving for excellent results on a single PC using cheap Ryzen processors. I have the Ryzen 5 2600. I've had great results streaming while altering CPU affinity so that my encoder has most of my threads and the game runs on 3. Some anti-cheat software prevents CPU affinity from being altered for some games like Fortnite (as of today, unfortunately). However, I can still separate resources if I run a windows VM within linux and assign threads to the VM. I'd like to do this without the need for a 2nd graphics card, and I remembered software rendering without knowing how to intentionally enable it. The goal is to stream games well with OBS running in linux and a game running in the VM, and for the least amount of money possible. I know I can find cheap graphics cards online for less than $30, but I like software tricks.
graphics virtualbox virtualization gpu
graphics virtualbox virtualization gpu
New contributor
New contributor
New contributor
asked 4 mins ago
TrainraiderTrainraider
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
Trainraider is a new contributor. Be nice, and check out our Code of Conduct.
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%2faskubuntu.com%2fquestions%2f1115736%2fcan-i-enable-software-rendering-mode-so-i-can-pass-my-single-gpu-to-a-virtual%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Trainraider is a new contributor. Be nice, and check out our Code of Conduct.
Trainraider is a new contributor. Be nice, and check out our Code of Conduct.
Trainraider is a new contributor. Be nice, and check out our Code of Conduct.
Trainraider is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1115736%2fcan-i-enable-software-rendering-mode-so-i-can-pass-my-single-gpu-to-a-virtual%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