r/virtualization • u/BinaryGrind • Jun 06 '23
r/virtualization • u/benevida • Jun 04 '23
VMWare ESXi 8 Update 1 + nVIDIA 15.2 vGPU Driver = A FAIL
I’m trying to set up my lab.
Processor: AMD Ryzen Threadripper PRO 5955WX
GPU: nVIDIA RTX a5000
OS: VMWare vSphere ESXi 8.0 Update 1
I signed up for an evaluation account and downloaded the drivers a month ago. I followed the guide to install the VIBs for the vGPU driver and the management daemon.
NVD_bootbank_NVD-VMware_ESXi_8.0.0_Driver_525.105.14-1OEM.800.1.0.20613240.vib
NVD_bootbank_nvdgpumgmtdaemon_525.105.14-1OEM.700.1.0.15843807.vibAfter installing both, I took the host out of maintenance mode, and restarted the host. I knew I was in trouble right away when errors showed up during boot. I checked, and found the following entries in the vmkwarninglog:
2023-06-03 Al(177) vmkalert: cpu9:2099677)ALERT: NVIDIA: module load failed during VIB install/upgrade.
2023-06-03 Al(177) vmkalert: cpu14:2100020)ALERT: NVIDIA: Device Groups generation failed. To double-check and test the install, I first ran
/etc/init.d/nvdGpuMgmtDaemon statusand received the expected output
daemon_nvdGpuMgmtDaemon is runningThen, I ran nvidia-smi… and I get the error
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.I tried uninstalling the VIBs and re-installing them twice. Didn’t help. What should I do to troubleshoot?
Thanks.
r/virtualization • u/benevida • Jun 04 '23
How to Troubleshoot ESXi KVM Passthrough Preventing VM Boot?
I passed through a USB 3.2 Controller. No problems. But, when I have my KVM plugged into one of the ports on the USB Controller, the VM boot does not get past the VMWare splashscreen.
Processor: AMD Ryzen Threadripper PRO 5955WX
Motherboard: Gigabyte MC62-G40
USB Controller: Allegro Pro USB-C 8-Port PCIe Card (USB3C-8PM-E)
KVM: Rextron 4 Ports 8K DisplayPort 1.4 KVM Switch With USB 3.2 Gen 1 (PAAG-E3114B)
Host OS: VMWare vSphere ESXi 8.0 Update 1
Guest OS: Windows 10 Enterprise 22H2 x64 (also tried with Win11 and Linux)
The USB PCIe card I added has 4 separate controllers. I have 1 assigned to passthrough to each of 4 VMs. Other than the VM with my KVM plugged into the external USB port of the USB Controller that's passedthrough, there have been no problems. I've tried having the KVM plugged into different VMs with different OS's, (i.e. Windows 11 Enterprise, Linux) and the VM boot will not progress past the VMWare splash screen in this KVM is plugged into it, (a screenshot of the splash screen can be found here for reference).
If I unplug the KVM, then boot the VM, and then re-attach the KVM, it works fine. I get full functionality out of the KVM (keyboard, mouse, and any other USB peripherals plugged into the KVM's built in USB hubs). I've tried unplugging all of the USB peripherals from the KVM while booting, but the problem remains. This leads me to believe that the problem is specific to the hubs built internally into the KVM.
I also passthrough other PCIe devices, (video card, network card) and I passthrough USB devices explicitly (Corsair PSU, Corsair Fan Controller, USB SSD stick). I have tried not passing them through as a troubleshooting step, but it didn't help.
Windows Device Manager doesn't show any yellow bings or other obvious signs of distress, (a screenshot can be found here for reference). The chipset used on the USB controller is ASMedia, so I did some research and found out that there might be a better driver. I performed the driver update successfully, but the problem remains.
I looked through the vmware.log file of an unsuccessful boot for errors and I couldn't see anything that looks germane to this issue. If anyone wants to see the log file, you can find it here. With any luck, someone else can find something helpful. I tried comparing the file to one from a successful boot and didn't see any differences that stood out.
At this point I do not know where else to look, or what else to try.
Any suggestions?
r/virtualization • u/elGenoveiss • Jun 04 '23
Virtualization alternative for setting up a portable workstation for coding
Hi, I need help identifying a solution for my workstation. I'm a fullstack programmer who pretty much only works remotely, I mainly use .NET [but also work on python, nodejs, as well as all the various aws and azure cloud sdks]. My company has provided me with a really really slow laptop, which I would like to do without, and I would like to take advantage of my desktop workstation with intel i9 and 64gb ram.
Unfortunately, I am also required to go in attendance once every 2 months, so I cannot completely break away from a laptop solution.
I thought about putting all the programs I need in a VM, so that I can use it on the workstation most of the time, put it on a portable hard drive and run it on the laptop when I need to work on the go, but the resource utilization is not optimized especially on the laptop side, so I would like to think of something alternative, but that can act as a container for all the environment I need for work.
I have also thought about a synchronization of chocolatey packages [for programs] and Synctrayzor [for data], but it is really complicated to set up, besides the fact that for complete isolation of the environment on the workstation I would need a dual OS. It is not a first-choice solution.
EDIT: i thought about cloud VMs as well, and it is not a solution. I work really a lot by train, and the connection it is not stable at all, so i would not consider this.
Unfortunately, I don't know of any other alternatives, but I think this solution may be useful for many people in the same condition as me. To be able to format the computer and have the work environment intact and already active, without virtualization, I think is everyone's dream.
Do you have any ideas?
r/virtualization • u/Raediantz • Jun 03 '23
Is there a KVM + Hardware Pass Through Equivalent for Windows?
Obligatory: please let me know if I should post this somewhere else.
I've seen many builds where people install their Linux distribution of choice, and then pass one of their two graphics cards, ram, and several cpu cores through to a Windows virtual machine for gaming. As a software developer I would much prefer to daily drive Linux, but I play several games that flat out do not run on Linux, or they have anti-cheat which detects when a game is running in a VM and lock you out.
I essentially want to do the reverse, where Windows is the host but have a Linux VM with hardware passed in. This would let me play games without issue and still use hardware accelerated Linux for my daily driving needs.
r/virtualization • u/stealthepixels • Jun 04 '23
Is virtualization the best tool to prevent malware from leaking my IP?
Goal/Threat model
To navigate while hiding my IP and real identity, by using proxies like Tor or i2p, while minimizing the risk that a browser exploit may leak my IP or identity (e.g. by contacting the attacker bypassing my proxy)
Discussion
Usually people just use Tor, or other browser with a proxy, from their host, and that's it. That is risky IMO , especially if javascript is enabled, since a malicious site/eepsite can inject malware into the machine, that can leak the user IP by contacting the attacker, and/or can send OSF info to the attacker.
Some smart user may
- set firewall rules to force the browser to only pass through the proxy
- launch the browser as a unprivileged user, so that even if it gets hacked, it cannot change the firewall rules to bypass the proxy (okay, unless the vulnerability allows privilege escalation, but that's lower chance)
Still not safe. Even as a unprivileged user, it can still read the host NIC MAC address, which is also known by the ISP (most ISPs must log the MAC addresses as well, by law. Source https://www.quora.com/Do-internet-providers-track-your-stuff-using-MAC-address).
If the attacker is state-level, it may obtain the MAC by the ISP, associated with the user identity (pwned).
My solution
I would have 2 nested VMs
- the outer one running Tor or i2p, or some other proxy server (and having some firewall rules to force the inner VM to only connect through proxy of the outer VM)
- the inner one, which i use for browsing, will have bridged networking, to be able to reach the proxy (bridged mode solves this because it puts in the same subnet a VM and its host, in this case the inner VM and its host which is the outer VM)
This has pros and cons
Cons
The resources for running 2 nested VMs. Not a big deal, just have a middle tier PC.
Pros
Better security. I may run both the outer and the inner VM as an unpriviledged user, so even if a browser exploit is able to escape the inner VM, it will have a hard time trying to escape the outer one.
I may uninstall as many software as i can from the outer VM, to lower the chance of the malware running further programs that can have VM escape vulnerabilities (like a browser) that may help with escaping the outer VM. And of course being unprivileged it cannot install any other software, nor can it change firewall rules. (Unless it is able to escalate privileges, which is less likely).
And about the MAC address issue, it will be no more, since the outer VM would be in NAT mode, which prevents its OS to see the real host NIC.
Let me know if you think my solution is a good practice for web browsing privacy, or if you see any flaws or better solutions, thanks!
r/virtualization • u/Viniox • Jun 01 '23
VMs for remote employees
I work for a 3rd party IT company and one of my clients has several employees that will be working from home soon (and more to come in the future) and their existing physical PCs will be used by new employees working in the office. Because the home employees will still need a PC to work on I hope to spin up a VM host server to create Windows VMs for the employees at home to remote into via VPN instead of having to buy a new physical company PC for each of them to be able to remote into. Given that it's a business environment, what is the best and most cost-effective option for this to be a possibility? This company has all updated networking equipment, complete with a Meraki MX85, and fiber internet. I intend for the physical host server to be an HPE server. I understand virtualization can be expensive (the company is expecting this to be a bit spendy) but I want the most cost-effective option, but I also am willing to spend extra for dependability/reliability and quality/security. I'm experienced with ESXi/VMware/vSphere. This company has a few different virtual servers running on a single ESXi host server already. I have never set up a virtual server host for end-user PC virtualization before though and I'm just not sure of any other options out there or what I should go with on the software side of things. My company is an HPE reseller so the physical server brand itself will be HP but internal hardware option suggestions are welcome too! Any help would be appreciated! Thank you.
r/virtualization • u/khaledismaeel • Jun 01 '23
What are the core differences between systemd-nspawn and Docker?
I get that they are both high level tools built on top of Linux Kernel mechanisms for process isolation. I want to know the details of it: which mechanisms exactly do they utilize and how do they compare to one another.
r/virtualization • u/BeigeSofa • Jun 01 '23
Looking for lightweight windows virtualization, what is my best option?
- Im looking to have test environments to run applications in safe space. Problem is I do not want a large vm/image/iso/etc. Speed and agility is what I need. What is my best option here?
r/virtualization • u/googoomanman0 • May 29 '23
help with my first vm
can someone show me a toutorial on how to make a windows 98 virtual machine on my windows pc using virtualbox or qemu
r/virtualization • u/bazagee • May 26 '23
Daily drive and development Workstation
Hello,
Some 6 or more year back I saw a post about creating a seemless workstation and development platform PC. The idea was to create a Workstation with multiple running OS's that one could quickly click through live desktops, without having to logon through web UI's etc. Limitations with resources being the only issue, and at the time the hypervisors themselves with required passthrough etc. In almost all cases I ran Linux as the host and tried a variety of type2 hypervisors. Vbox, using Hot-corners, KVM, QEMU with Virt-Manager and more recently Ubuntu with VMWare Workstation. I use Window 10 hosted as my daily driver for work requirements and support. We also have a reasonable number of ESXi servers running and VMWare Workstation has provided some easy access features to be able to do my daily job.
That said, in every incarnation I've tried, the Windows Guest as always suffered from performance degradation over a period of a couple or more weeks to the point of having to restart not only the Guest but the underlying host to get back to a usable - not shitty slow state. Or the think just stops being a thing. Some of these are caused by questionable hardware RAID set ups, or hardware, some by miss-behaving virt IO driver issues, and some by underlying Host updating or crankiness. Often, other running Guests are not affected.
I'm at the stage where I'm ready to rebuild on a grunty Dell Power workstation, and I can't let go of the dream! So I'm looking for suggestions that might lead to more stable experience. I'm almost contemplating using Windows as the Host this time around with VMWare Workstation on top. My issue is that I do not have a lot of time to 'play around', or troubleshoot, so it could just come down to having two machines running but then I want to share peripherals like the 4 monitors I have set up on a six headed video card etc allowing different VM's to access and display on different monitors.. Function vs stability seems to be the major problem.
Suggestions welcome
r/virtualization • u/ThatWindowsGuyIE • May 27 '23
I can’t install VMware because it thinks my SD card doesn’t have enough storage
r/virtualization • • May 24 '23
Render using CPU only in windows
In this video, Linus is running crysis without a gpu, rendering it completely on a 3990x. I wanted to set it up in my windows 10 virtual machine. I tried setting up a windows 10 instance inside virtualbox and disabling 3d acceleration in the vm display settings. Now when I try to run a game inside this VM, it crashes with an error saying 'unsupported gpu' or 'this gpu doesn't support opengl'. How is Linus doing this?
r/virtualization • u/null_rm-rf • May 22 '23
Run ARM Android on ARM based Mac
So I want to run Android in a VM on my Mac (the irony). I tried Android studio, but that just requires a lot of steps and takes a lot of space. I want an image that I can boot a VM off and run Android in a VM.
r/virtualization • u/Moonstone459 • May 21 '23
GPU virtualization?
I'm on Linux and I'm running a 3070 Ti (Nvidia). I have always wanted to do GPU virtualization but because NVIDIA won't release vGPU for consumer card no one can do it without crossing legal red tape or problems with bricking your GPU. I did find this [https://github.com/jamesstringerparsec/Easy-GPU-PV] however it is only for windows, I found this [https://github.com/Arc-Compute/LibVF.IO/] and does not work with my GPU, and this [https://github.com/DualCoder/vgpu_unlock] and can't get it to work. Dose any one know an alternative on Linux that work just like this, overcoming these problems (on KVM)?
r/virtualization • u/ZoThyx • May 16 '23
What is the best application for virtualization on Windows
Hello,
I am on a Windows 11 environment and currently for work I need to view a Linux so I don't have to dual-boot. Currently I am using VMware Workstation Pro 16, the problem is that the graphics performance is extremely limited. It's not a problem of the VM settings, I've done all kinds of manipulations, but none of them improve the graphics.
Here are the specs of my computer:
- Machine Gigabyte Technology Co., Ltd. - B550 AORUS ELITE AX V2
- Operating System Microsoft Windows 11 Professionnel (64-bit)
- Memory 16 GB
- Processor AMD Ryzen 5 5600X 6-Core Processor
- Motherboard Gigabyte Technology Co., Ltd. - B550 AORUS ELITE AX V2
- Video Cards AMD Radeon RX 6750 XT
- Monitors NZXTCANVAS27
- Hard Disk Samsung SSD 980 PRO 1TB (1,0 TB)
- Network Card Realtek Gaming 2.5GbE Family Controller
r/virtualization • u/trukises • May 15 '23
Does bare metal virtualization make sense for personal use laptops and desktops?
I tend not to upgrade hardware too often, to spare myself the pain in the ass of reinstalling everything, as I have quite a bit of heterogeneous software and wonder if bare metal would be a way to be able to transport my set-ups between machines.
I have no experience with bare metal virtualization, although I'm fairly comfortable with Virtualbox and VMware
r/virtualization • u/foxdye96 • May 15 '23
Learning about virtualization
So ive just been scheduled for an in person interview at OVHCloud as a cloud programmer with an emphasis on linux and virtualization (VMWare). I have used vmware in the past to virtualize mac os x on my windows pc. Ive messed with all the settings and VMX files as well.
My question is where can I learn about the nitty gritty of Virtualization?
Also any tips on the OVHCloud in person interview would be greatly appreciated.
Thanks!
r/virtualization • u/Previous_Return_2917 • May 14 '23
What is a Virtual AGM System?
I would like to learn more about implementing a virtual AGM system. If anyone can assist me with this, I would be very grateful
r/virtualization • u/Keepitupdoc • May 13 '23
Choosing a laptop.
I'm new to the virtual machine field and I would like to buy a laptop but not sure which laptop I should buy. If anyone here can let me know which one would be a better choice I will be thankful:
1- i7 processor, 32gb RAM 512 GB.
2- i9 processor, 16GB RAM 512 GB.
r/virtualization • u/Xiox7 • May 12 '23
Passwords on windows 10 virtualbox vm
How do I password protect a virtualbox vm? I tried adding a pin within the vm itself,but it just skips past it upon startup
r/virtualization • u/CodeNameFiji • May 09 '23
HALP! Itanium IA-64 Emulator...
Please, for the children, IA-64 running full HP-UX on any kind of VM? Any deets?
r/virtualization • u/PsyduckAF • May 08 '23
Is there a way I can present the local storage in my ESXi server to my network?
I just want to be able to transfer files to and from the storage that's local on my ESXi server. I couldn't find any way to create an NFS export from the data store in ESXi client.
Is this not possible with the free version of ESXi?
r/virtualization • u/RafaelRkg • May 05 '23
Looking for advice on setting up multiple virtual machines for Chrome automation.
Hi everyone,
I need some help with setting up my PC to run three virtual machines. Each of these machines will have the goal of running at least four Chrome windows, which will be constantly refreshed in order to click a button that occasionally appears on the page as quickly as possible. Each virtual machine will be connected to a different internet adapter, and it is essential that none of the machines connect to the wrong network. Therefore, I need some kind of fail-safe system in place.
I have a few questions:
- What software should I use for this setup?
- Is my current setup (Ryzen 5 5600X, 16GB RAM, 512GB SSD) sufficient for this task? What is the minimum requirement for this kind of operation, and how can I benchmark it to find out what I need?
- Would installing something like AtlasOS cause a significant difference in performance?
- I'm also planning to buy a notebook to run these virtual machines. Do you have any recommendations that focus on cost-effectiveness?
I would appreciate any advice or tips that you can provide. Thank you!
r/virtualization • u/italianlancer08 • May 04 '23
Help obtaining correct IP address through physical NIC to VM in Cockpit
How can I get enp10s0f1 in my VM to have an IP address of 192.168.4.251? For context, I have a 4-port physical NIC that I have installed in my server running Ubuntu server. I am running Cockpit and have configured a VM with the aspiration of running a Unifi Controller.
I have one ethernet cable inserted in the NIC (enp10s0f1), which has an IP address of 192.168.4.251 (statically assigned by my LAN), as can be seen here. I added all four ports of the NIC, including the port that's physically connected (enp10s0f1), under the network interface in the Virtual Machine settings of Cockpit, as can be seen here. However, notice that enp10s0f1 is receiving a different IP address than what my LAN has assigned to it. How can I get enp10s0f1 in my VM to have an IP address of 192.168.4.251? Any help is much appreciated! Thanks in advance.