Solving the Blackscreen Issue Caused by Mesa and xf86-video-vmware Drivers on Arch Linux
Arch Linux is loved for its bleeding-edge freshness, supplying you with the latest packages and newest features. But occasionally, this freshness can trigger unexpected issues. Recently, I stumbled into one such scenario—a typical system upgrade caused the dreaded black screen of despair upon booting! After some research, I traced it back to specific driver packages: Mesa and xf86-video-vmware. In this post, I'll guide you through what exactly happened, how the Arch community responded to it, and how I temporarily solved it by preventing these packages from updating.
The Black Screen After "pacman -Syu"
Like any typical Arch user, I ran the routine command to update my system:
sudo pacman -Syu
The command completed successfully, and I rebooted confidently. Unfortunately, confidence quickly turned into panic when I was welcomed by an entirely black screen.
I initially thought this might be a personal miscalculation or a one-off anomaly, but rebooting several times confirmed the issue—completely blank display, no mouse pointer, zero response.
Checking the Arch Community: Reddit to the Rescue
Like any wise Arch Linux user, my next stop after troubleshooting on my own was the friendly Arch Linux subreddit. Lo and behold, it turned out I wasn't alone! Other members of the community had reported exactly the same issue recently.
You can check out the original discussion here:
The Mesa Package (version 1:25.1.1-1) Causes a Black Screen on vmware
Multiple Arch Linux users using VMware virtual machines reported having the black screen issue after updating to Mesa version 1:25.1.1-1
and xf86-video-vmware driver version 13.4.0-4
. It became evident that the newer versions of these packages simply didn't play well with VMware graphics virtualization.
The Temporary Solution: Blocking the Packages from Upgrading
The Arch way often involves swift temporary solutions until packages are patched directly by maintainers and developers. In the meantime, to restore system functionality, I decided to ignore upgrades for these two problematic packages temporarily:
IgnorePkg = xf86-video-vmware mesa
You can implement package blocking by adding the above line to your pacman configuration file located at /etc/pacman.conf
. Open it with your favorite editor (I'm using vim here):
sudo vim /etc/pacman.conf
Look for the line that begins with #IgnorePkg
, uncomment it (remove the # at the start) if necessary, and add the packages like so:
IgnorePkg = xf86-video-vmware mesa
Then run a system update again:
sudo pacman -Syu
You should see warnings confirming these packages are being ignored similar to this:
warning: mesa: ignoring package upgrade (1:25.0.5-1 => 1:25.1.1-1)
warning: xf86-video-vmware: ignoring package upgrade (13.4.0-3 => 13.4.0-4)
As you can see, holding back Mesa at version 1:25.0.5-1
and xf86-video-vmware at 13.4.0-3
was exactly the workaround that resolved the black screen catastrophe.
Conclusion
While Arch Linux is a fantastic choice due to its rolling release and fresh software versions, we do encounter occasional blips like this. Thankfully, the community is typically swift to respond and share their knowledge about workarounds and solutions. Until the incompatibility in Mesa and xf86-video-vmware drivers is officially fixed upstream, ignoring package upgrades is our best approach to maintain system usability and avoid dark, frustrating black screens.
Did you encounter the same issue? Or perhaps a different one with Arch upgrades? Let me know! Happy Linux adventures!