New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create windows-gaming-hvm.md #811
Conversation
How to play game on Qubes OS ( instead of dual boot ) I don't know if such kind of doc can be accepted on the official Qubes OS doc, but can be useful for people who want to avoid to have a dual boot to play some games
Edit /etc/default/grub, and add the PCI hiding | ||
|
||
``` | ||
GRUB_CMDLINE_LINUX="....rd.qubes.hide_pci=0a:00.0,0a:00.1 modprobe=xen-pciback.passthrough=1 xen-pciback.permissive" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modprobe=xen-pciback.passthrough=1
looks weird, I think it does nothing.
xen-pciback.permissive
- better to enable it for a particular device. You can do that with qvm-pci:
qvm-pci attach windows-hvm dom0:0a_00.0 -o permissive=True -o no-strict-reset=True
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I just checked,
modprobe=xen-pciback.passthrough=1
was indeed useless.
And the qvm-pci ... -o permissive=True
replace correctly the xen-pciback.permissive
.
But in fact, the "permissive" doesn't seems to be necessary at all, still running few tests, but seems like it is not required
I will update my doc & send it to Qube Community docs.
Also:
- There is a mistake in the official qubes doc https://www.qubes-os.org/doc/pci-devices/#permissive doesn't contain the "permissive=True"
- Does a doc with the full list of all the options we can pass
-o xxxx
exist ?
Thanks ! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who broke my document, it used to have the right setting in there! :) Anyways, man qvm-device
describes the available options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submitted #812 to fix the example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@awokd thanks :)
And I confirm, all the "permissive" flag are unnecessary for this usecase
This is definitely something useful. Ideally all those custom steps wouldn't be needed, but until then, having them documented is a good thing. |
# Windows gaming HVM | ||
|
||
Some information to configure a windows HVM for gaming. | ||
This is not officially supported, just some community trial & errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would be much more appropriate for https://github.com/Qubes-Community. @awokd and others can help you with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, we need to be careful about taking on too many optional docs. The more we have, the harder they are to maintain, and the less we are able to ensure high quality. See QubesOS/qubes-issues#4693 for more on this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@awokd and others can help you with this.
Be happy to. @neowutran, I'll flag you over there.
How to play game on Qubes OS
( instead of dual boot )
I don't know if such kind of doc can be accepted on the official Qubes OS doc, but can be useful for people who want to avoid to have a dual boot to play some games