Skip to main content

blackscreen mesa xf86-video-vmware

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!

Popular posts from this blog

Undefined global vim

Defining vim as global outside of Neovim When developing plugins for Neovim, particularly in Lua, developers often encounter the "Undefined global vim" warning. This warning can be a nuisance and disrupt the development workflow. However, there is a straightforward solution to this problem by configuring the Lua Language Server Protocol (LSP) to recognize 'vim' as a global variable. Getting "Undefined global vim" warning when developing Neovim plugin While developing Neovim plugins using Lua, the Lua language server might not recognize the 'vim' namespace by default. This leads to warnings about 'vim' being an undefined global variable. These warnings are not just annoying but can also clutter the development environment with unnecessary alerts, potentially hiding other important warnings or errors. Defining vim as global in Lua LSP configuration to get rid of the warning To resolve the "Undefined global vi...

npm run build base-href

Using NPM to specify base-href When building an Angular application, people usually use "ng" and pass arguments to that invocation. Typically, when wanting to hard code "base-href" in "index.html", one will issue: ng build --base-href='https://ngx.rktmb.org/foo' I used to build my angular apps through Bamboo or Jenkins and they have a "npm" plugin. I got the habit to build the application with "npm run build" before deploying it. But the development team once asked me to set the "--base-href='https://ngx.rktmb.org/foo'" parameter. npm run build --base-href='https://ngx.rktmb.org/foo did not set the base href in indext.html After looking for a while, I found https://github.com/angular/angular-cli/issues/13560 where it says: You need to use −− to pass arguments to npm scripts. This did the job! The command to issue is then: npm run build -- --base-href='https://ngx.rktmb.org/foo...

CopilotChat GlobFile Configuration

CopilotChat GlobFile Configuration Want to feed multiple files into GitHub Copilot Chat from Neovim without listing each one manually? Let's add a tiny feature that does exactly that: a file glob that includes full file contents . In this post, we'll walk through what CopilotChat.nvim offers out of the box, why the missing piece matters, and how to implement a custom #file_glob:<pattern> function to include the contents of all files matching a glob. Using Copilot Chat with Neovim CopilotChat.nvim brings GitHub Copilot's chat right into your editing flow. No context switching, no browser hopping — just type your prompt in a Neovim buffer and let the AI help you refactor code, write tests, or explain tricky functions. You can open the chat (for example) with a command like :CopilotChat , then provide extra context using built-in functions. That “extra context” is where the magic really happens. Built-in functio...