Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Create windows-gaming-hvm.md #811

wants to merge 1 commit into from

Conversation

neowutran
Copy link
Contributor

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

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"
Copy link
Member

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

Copy link
Contributor Author

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:

Thanks ! :)

Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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

@marmarek
Copy link
Member

marmarek commented Apr 9, 2019

This is definitely something useful. Ideally all those custom steps wouldn't be needed, but until then, having them documented is a good thing.
Since it is clearly marked as not officially supported thing, I think it can go in.

# Windows gaming HVM

Some information to configure a windows HVM for gaming.
This is not officially supported, just some community trial & errors
Copy link
Member

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.

Copy link
Member

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.

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants