this post was submitted on 10 Mar 2024
16 points (90.0% liked)

Linux

48363 readers
477 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

So I'm trying to play around with Fedora in a VM with VMWare Workstation Player (v17.5.1) but I'm running into a problem I don't know how to solve. I use the Fedora 39 1.5 ISO file which is the most current version that's available for download and after installing it in the VM everything works fine. I setup the install and I can use it, still working after rebooting it. But as soon as I do sudo dnf update or update everything via the Software Center the screen of the VM goes black and I can't use the VM anymore. No matter if I reboot it or not. When I power off the VM I can see the Fedora loading icon for a short period but that's it.

This also happened with NixOS but not with Fedora Server. I guess it must have something to do with the DE as both distros were installed with Gnome but I don't know how to solve it. I already tried reinstalling VMWare to no avail. I will try installing a distro with KDE to maybe rule out one cause.

Does anyone have any idea what's going on here? I'm running VMWare on Windows 11.

all 24 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 8 months ago (1 children)
[–] [email protected] 10 points 8 months ago (1 children)

Just be careful if you download this from a corp internet address, which someone did on our guest network. Oracle sent us an an invoice for $5000 and pestered us about it for about a year of us ignoring them. We now block Oracle sites and I try to avoid Oracle products like the plague.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

I remember this being brought up with an acquaintance, but basically there's a bug where the newest fedora kernel isn't compatible with VMWare.

So yeah. Either wait for a kernel patch, or wait for VMWare to fix their stuff. But they might not, other users have mentioned that they've gone downhill after being bought by Broadcom.

If you want 3d acceleration on virtualized Linux guests, other than vmware, you have two options:

  • GPU passthrough
  • Virtual gpu (virgl/virtualgl/egl-headless)

The latter is basically only going to work on a Linux host, virtualizing Linux guests (although it is possible on windows, with caveats).

The other downside is that no matter which option you pick, it's all going to end up being a bit more tinkering (either a little — assign a vm a gpu, or a lot, install unsigned windows drivers), compared to VMWare's "just works"/one click 3d acceleration setup.

[–] [email protected] 3 points 8 months ago (2 children)

VMware went to the shitter, try with virtualbox

[–] [email protected] 3 points 8 months ago (2 children)
[–] [email protected] 9 points 8 months ago (1 children)

Long story short VMware was purchased by Broadcom and have said they only care about the top 600 customers and the rest can do their own thing.

Since the acquisition Broadcom has increased prices by at least 2x, increased the minimum purchase number to be a partner, discontinued the free ESXi hypervisor, and are looking for someone to purchase the consumer product line like Workstation.

Your other options are Virtual Box by Oracle or head down the Xen path.

[–] [email protected] 4 points 8 months ago (1 children)

Your other options are Virtual Box by Oracle or head down the Xen path.

Or, since OP is on Linux, a native KVM option like virt-manager or boxes.

[–] [email protected] 1 points 8 months ago (2 children)

How did you come to the conclusion that I'm on Linux? I never said that.

[–] [email protected] 2 points 8 months ago

My mistake. I read your post as you using VMWare Workstation on Fedora, not the other way around.

[–] [email protected] 1 points 8 months ago (1 children)

What version of Win 11 are you on? If you have the non home version you should look at enabling HyperV and use that for virtualization.

[–] [email protected] 2 points 8 months ago (1 children)

Last I checked HyperV was pretty bad with 3d acceleration.

[–] [email protected] 1 points 8 months ago

Likely because VMs are CPU bound. Of you want 3d acceleration you would have to pass a GPU through to the VM.

[–] [email protected] 1 points 8 months ago

Broadcom has acquired it

[–] [email protected] 3 points 8 months ago (1 children)

The free options haven't turned to shit yet, but I'm absolutely expecting it to happen or to become non-free. I switched all my Windows VMs to KVM/virt-manager last week for this reason.

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

Not the graphics. 🥹

That said VMware Player has a defect that sometimes causes memory drfragger on Linux to go nuts slowing the VMs down a lot.

[–] [email protected] 1 points 8 months ago (2 children)

You can pass through a GPU using KVM. Probably even a crypto mining card like the NVIDIA P106L for $30.

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

[–] [email protected] 1 points 8 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=TY4s35uULg4

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

GPU passthrough is awesome where needed and practical but it's not an option for many setups and often it's not needed. Basic graphics acceleration is useful to get the user interface of Windows to behave nicely. To have using MS Excel not feel like you haven't installed your graphics driver. With Windows on KVM the missing bit is just the Windows drivers for virtio graphics. On Linux, the drivers are already there and Linux on KVM has basic graphics acceleration. That's all I wish for. 🥹 AFAIK there's an active PR for the Windows virtio graphics driver but it's not done yet.

[–] [email protected] 1 points 8 months ago

Did you try switching VT (Send Ctrl+Alt+F3 or other F-keys) or change graphics settings of the VM?

Did you try to kill Xserver, if any (careful, don't kill the outside X, but it's Ctrl+Alt+Backspace, if enabled)?

Did you try magic sysrq?