System theme Light theme Dark theme

Preparing for the desktop

Installing the graphics driver

The first thing to do before setting up a desktop is to install the appropiate graphics drivers. The following steps will differ depending on the GPU you're using.

AMD GPU

Install the required packages with:

sudo xbps-install mesa-dri vulkan-loader mesa-vulkan-radeon mesa-vaapi

Intel GPU

Install the required packages with:

sudo xbps-install mesa-dri vulkan-loader mesa-vulkan-intel intel-video-accel

If your Intel is generation Coffee Lake or older, then you must set LIBVA_DRIVER_NAME to i965. Create file /etc/profile/intelgpu.sh with contents:

export LIBVA_DRIVER_NAME=i965

If your Intel is generation Broadwell, and you're experiencing issues, check this link.

Nvidia GPU

Nvidia users have two choices of drivers; the open source nouveau drivers and the official propietary ones.

Propietary

The propietary drivers have separate packages based on model:

Nouveau

Simply run sudo xbps-install mesa-dri

Setting up session and seat management

Install dbus and elogind:

sudo xbps-install dbus elogind

Then enable the dbus service with:

sudo ln -s /etc/sv/dbus /var/service

You will also have to disable the acpid service that's enabled by default, as it conflicts with elogind:

sudo rm /var/service/acpid

Installing the desktop

It is time to download and install the desktop environment. The packages and instructions to follow vary by quite a bit, so this guide branches out:

The environments above are those I've personally tested, not the extent of what is supported by Void Linux.

Table of Contents