[ / / / / / / / / / / / / / ] [ dir / abdl / creep / hikki / pdfs / startrek / strek / tijuana / wooo ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 4e866f2e087e12a⋯.png (1.93 MB, 674x744, 337:372, Git_gud.png) (h) (u)

File (hide): f075f2a64bbfad7⋯.png (1.39 MB, 1179x1233, 131:137, important.png) (h) (u)

[–]

 No.828715>>828742 [Watch Thread][Show All Posts]

Its time for this song and dance again. Lets have a thread discussing the benefits, configs, etc of GPU Passthrough on GNU/Linux and how to streamline/make it easy to understand so that vidyafags like myself can enjoy a better computing experience while at the same time having all your video games. I love WINE but when I want to play games like Nioh or Rainbow Six Siege Passthrough has been my solution.

Here is my XML https://ghostbin.com/paste/eonsb what I have done is pin my CPU cores, install windows on an qcow2 file on my host, give the machine a raw SSD to fuck with allowing for bottlenecking to be removed from that area. I bought a USB 3.0 PCI card then passthroughed it allowing for hotplugging instead of fucking with virt manager. I run an 980 which is given to the virtual machine and runs at the lowest 5% slower then it would on a normal config. I tried having Windows only on the SSD but the UEFI fucked with me and I was unable to do so. I run an m.2 drive anyway so any performance latency from the .qcow2 should be counterbalanced by that. Overall I am pretty comfy with my setup the only problems I have are that on autostart the audio might fuck up on Windows and on XFCE the window buttons on my second monitor might show all the desktops instead of just what is on that monitor.

 No.828716

Why the fuck did the subject not post, whatever.


 No.828742>>828825

>>828715 (OP)

>USB 3.0 PCI card then passthroughed it allowing for hotplugging instead of fucking with virt manager. I run an 980

are you saying you are running a video card through USB?


 No.828825>>828834

>>828742

No I am giving my VM a USB card so I can plug stuff in instead of manually through virt manager. Its basically giving USB ports to the VM.


 No.828834>>828843

>>828825

i see. sounds like you got your system worked out.


 No.828843

>>828834

I would advise anyone who has the autism and required hardware to do it. You get Linux security/freedom and gimped windows for video games. You need to clean Windows out still but compared to running it native its way more secure without sacrificing performance


 No.828878>>828935 >>828948

Is there a step by step guide on how to do GPU passthrough? The only thing keeping me from going full Linux on my desktop is the fact that some games I play are Windows only (and don't run well via Wine) or have bad Linux ports


 No.828935>>828937

File (hide): fd15e3c6c43d264⋯.png (571.95 KB, 750x452, 375:226, terrystore.png) (h) (u)

>>828878

I tried writing one but it got lost recently. There is a furfag who made a good video the only problem is if you need the ACS Patch or not since his video is old. I might make a jewtube or a vidme channel where I make a proper guide and have it be the standard.

To put it simply you have IOMMU Groups enabled, then use that grouping to grab certain hardware and give it to the vfio driver, and then add it to a VM. After that its like installing Windows on a normal computer. I use a program called Synergy that allows me to switch to each machine seamless with a single keyboard and mouse however I use a second mouse because for games its shit but the keyboard is fine. What I linked below is what I used, the optimization stuff I did was recent and isnt in those guides.

https://www.youtube.com/watch?v=dsDUtzMkxFk

https://queuecumber.gitlab.io/linux-acs-override/

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_VM_audio_to_host_via_PulseAudio

https://www.redips.net/linux/remove-password-vm-manager/

The CPU pinning and other shit is very dependent on what you have so if you dont know how to do it I wouldn't recommend it. I had to go to some faggy places to get some information but it was worth it.

This is how it looks on the virt-manager end with the PCI 01:00.0 and .1 being my video card with the 9:00.0 being the USB 3.0 PCI Card. The Virtual Disk you are looking at is the raw SSD I gave which has very little bottlenecking problems. The other VirtIO disk is the OS disk which is a .qcow2 file which has worse performance than a raw disk.


 No.828937>>828948

File (hide): ab9b8b4847278dd⋯.png (1.14 MB, 1200x833, 1200:833, snake sees you faggot.png) (h) (u)

>>828935

>win10

Before you get your shit in a bunch it works way better because it was designed with VM's inmind. If you know how to gimp telemetry properly. Also with this design you shouldn't even have to open a browser unless you need to download a game or something, its designed so that you do 90% of your other tasks in Linux.


 No.828948>>828951

>>828878

If you use FOSS drivers it is as simple as adding

>DRI_PRIME=1

To the begginning of whatever you want to launch with the other GPU. If you use WINE with this you get seamless GPU passthrough on multi-gpu desktops.

>>828937

Just use wine and not have to deal with any of that shit.


 No.828951>>828960

>>828948

But WINE isn't where it needs to be. Its a hell of a lot better then it was before but its not there yet. There are games I want to pirate and play that run like ass on wine or are a pain to install if with POL. This is the happy medium until WINE or ReactOS gets to where they need to be. IF you know what you are doing with Installs it takes maybe 30 minutes.


 No.828955

This is a no compromise solution. That is the problem is people dont want to sacrifice shit and why would they. They choose convenience but with this the sacrifice isnt massive. You are able to run everything just like you did before but you might deal with a 5% performance drop but still you get to play everything you want.


 No.828960>>828961

>>828951

>sacrifice shit

>using windows

Anon I....


 No.828961

File (hide): 3e9443942392f7c⋯.png (362.41 KB, 736x966, 16:21, 8chan smoking.png) (h) (u)

>>828960

I want video games and I want to have the freedom that a linux operating system provides. This allows me that solution and many anons are very sympathetic to the idea of Linux but are unable due the lack of video games and support for certain programs. This allows you to have your cake and eat it to. Run your Linux Machine as FOSS as you can meanwhile dumping all the proprietary shit inside a VM where it belongs. It only has access to what you give it and if you only play video games, photoshop, or edit you can do that and maintain a better computing environment then having windows installed natively or dualbooting which is only a half measure because in the end most people just default to windows for convenience.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
13 replies | 3 images | Page ???
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / abdl / creep / hikki / pdfs / startrek / strek / tijuana / wooo ][ watchlist ]