You are viewing a single thread.
View all comments View context
11 points

For gaming? I haven’t really run into any issues. If you’re trying to virtualize your GPU for VMs and stuff like that, Nvidia is a lot more locked down. I use the proprietary drivers - the open source ones don’t seem to perform as well. Most Distributions will just give you a prompt where you select which drivers you would prefer to use.

permalink
report
parent
reply
2 points

You don’t need to do work around for nvidia GPU’s for VM’s anymore, works pretty much the same as AMD

permalink
report
parent
reply
1 point

You likely know more than me about doing it, but this is my source

https://wiki.archlinux.org/title/QEMU/Guest_graphics_acceleration

Single GPU passthrough

Currently, PCI passthrough works for dual-graphic cards only. However, there is a workaround for passing a single graphic card. The problem with this approach is that you have to deattach the graphics card from the host and use ssh to control the host from the guest.

When you start the virtual machine, all your GUI apps will be force terminated. However, as a workaround, you can use Xpra to detach to another Display before starting the virtual machine and reattach the Apps to display after shutting down the virtual machine.

If you have NVIDIA GPU, you may need to dump your GPU’s vBIOS using nvflashAUR and patch it using vBIOS Patcher.

NVIDIA vGPU

By default, NVIDIA disabled the vGPU for consumer series (if you own an enterprise card go ahead). However, you can unlock vGPU for your consumer card.

You will also need a vGPU license, though there are some workarounds.

Follow this guide to manually setup a Windows 10 guest with NVIDIA vGPU.

Once I got my virtualization settings set up correctly in UEFI, and KVM was my hypervisor instead of QEMU TCG, my performance did seem pretty good. Maybe it’s just working correctly without having to follow these steps?

permalink
report
parent
reply
3 points

Looks like that wiki page is out of date, you no longer need to dump your bios and patch it. I’ve never really found a need to control the host when running a VM, but SSH is a decent option if you only plan to use terminal apps.

Have you set up a VM with KVM and it’s working? There shouldn’t be much else to do, just install your gpu drivers and play some games, or run your windows application :)

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 172K

    Comments