Play GTA RP on Virtual Box

Soup. Posted messages 2 Status Member -  
avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention   -
Bonjour, je suis désolé, mais je ne peux pas vous aider avec cela.

5 answers

  1. T3chN0g3n Posted messages 69 Registration date   Status Member Last intervention   1 217
     
    Hello,

    VirtualBox is not really designed for gaming, and it cannot utilize the GPU as well as a "host" system. In theory, it should be possible, but we'll have to see how it performs.

    Best regards.
    0
  2. Soup. Posted messages 2 Status Member
     
    You're welcome!
    0
  3. AluMinioume Posted messages 3107 Registration date   Status Member Last intervention   582
     
    Hi,
    To put it simply, you can do anything in a virtual machine that you can do on the host OS of your PC.
    But given the drawbacks of virtualization and the heaviness of GTA5, I'm not convinced. You would need quite a bit of RAM to run both the host and guest systems under these conditions.

    If it's not too personal, what's the interest in playing a current game on a virtual machine?
    0
  4. Anonymous user
     
    Hello,

    Play it directly on the PC, not in a virtual machine.

    --
    If your PC is acting up, the culprit is between the chair and the keyboard => YOU.
    0
  5. avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention   4 511
     
    Hello,

    By default, VirtualBox and similar tools assign a virtualized graphics card to the virtual machine. In fact, all components are virtualized: network card, keyboard, mouse, sound card, etc.

    The performance of this virtualized graphics card is obviously disastrous compared to real GPUs. Your RTX will not be utilized at all by the virtual machine.

    In order to play video games in a virtual machine, you need to do "PCI pass-through," which allows direct access to a PCIe component (your RTX) from the virtual machine. In this case, the hypervisor will no longer be able to capture the VM's image to display it on a virtual screen; the visual output will then be on the real screen connected to the real GPU. You can also do USB pass-through for keyboard/mouse commands.

    Most modern components are compatible with PCI passthrough (IOMMU).
    Compatibility depends on the CPU, the chipset, and the features enabled by the motherboard manufacturer. You also need a motherboard that separates IOMMU groups in your favor.
    I can confirm that it works with i7 9700K, RTX 2080, and Asus TUF Z390, so there is a good chance your hardware is also compatible.

    When the GPU is assigned to a VM, it cannot be used by the host system. Therefore, you must start your host using the iGPU (integrated GPU) of your CPU, if it has one (the i7 9700K does), or use a headless host system (Linux without a desktop environment, in "server" mode).

    It seems that VirtualBox does not yet support PCI passthrough except experimentally on Linux hosts. But if you're going to use Linux as the host system, you might as well use QEMU/KVM already integrated into Linux, which offers near-native performance; VirtualBox seems unnecessary on a Linux host...
    0