Skip to content

About

Show hardware informantion and install drivers

Resources

Stars

83 stars

Watchers

2 watching

Forks

Repository files navigation

Big Driver Manager

Big Driver Manager

Drivers, kernels and Mesa for BigLinux and BigCommunity — from a GTK 4 interface or from the terminal.

Build package Python 3.10+ GTK 4 libadwaita BigLinux | Arch CLI: big-drivers 30 locales Interface: MIT CLI: GPL-3.0-or-later

Features · Command line · Safe Mesa switching · Architecture · Installation · Development


Video drivers and Mesa variants

Overview

Big Driver Manager finds out what hardware a machine has and installs what it needs: graphics drivers (NVIDIA, Mesa variants, virtual machine tools), kernels together with their modules, firmware, and drivers for Wi-Fi, printers, scanners and other devices.

It ships as two packages built from this repository:

Package What it is
biglinux-driver-manager The GTK 4 / libadwaita interface. It only draws: package changes open Pamac, and what else needs root is delegated to the command line.
big-driver-manager-cli The core and the command line, big-drivers: hardware detection, the driver database and every privileged operation. No graphical dependencies — it runs in the live session, in the installer and at boot.

One PKGBUILD builds both, so the interface and the core it imports always ship the same version.

Screenshots

Kernels Installed drivers
Kernel management Installed drivers by category
Mesa variants Switching Mesa: the plan, before anything runs
Mesa variants Mesa switch confirmation

Features

Graphics

  • Automatic driver selection — detects every display controller and picks the right driver: the NVIDIA branch from NVIDIA's own support list (current, 580xx, 470xx, or nouveau), the matching module package for every installed kernel, and guest tools on VirtualBox, VMware and QEMU/KVM.
  • Hybrid laptops — hybrid, nvidia or integrated GPU modes, with PRIME, RTD3 power management and display-manager integration.
  • Black-screen protection: if a driver does not bring up a login screen, the login screen starts again drawn in software (or, under LightDM, the NVIDIA card falls back to nouveau) before the user is left without a display.
  • Mesa variants: switch between Stable, Big, Tkg-Stable, Tkg-git and Amber through Pamac, which shows what the new variant replaces before anything changes (see Safe Mesa switching).
Variant Package For
Stable (recommended) mesa Everyday use, gaming and video playback
BigLinux mesa-big The latest Mesa release, built by BigLinux with its own LLVM
Performance mesa-tkg-stable Gaming optimizations on top of the stable release
Development mesa-tkg-git The latest Mesa source — advanced users only
Legacy mesa-amber Very old GPUs limited to OpenGL 2.1

Kernels

  • Lists the kernels in the repositories — LTS, standard, real-time, XanMod, CachyOS — with the running and installed ones marked.
  • Installs a kernel together with its headers and every module the running kernel uses (NVIDIA, Broadcom Wi-Fi, VirtualBox…), so a new kernel never boots without its drivers.
  • Never removes the running kernel; reports installed kernels that left the repositories.
  • Secure Boot (BigLinux, UEFI) — enables Secure Boot with the BigLinux key by installing big-secureboot. The card explains what changes (only signed kernel modules load, no hibernation) and what is left to do: confirming the key once on the blue screen after restarting, then turning Secure Boot on in the firmware settings. It does not offer to enable it where it could not work: a firmware that does not accept Microsoft's third-party CA, or without room left for the key.

Devices

  • Wi-Fi, Ethernet, Bluetooth, DVB/TV, audio, webcams, touchscreens, printers, 3D printers and scanners, matched by PCI/USB/SDIO device IDs.
  • Firmware packages and an Installed view grouped by category.

Everywhere

  • Every package change goes through Pamac: one transaction per action, shown in full and confirmed there; Pamac authenticates through its own service. What else needs root asks for the password through polkit.
  • Translated into 30 locales: the interface, the command line and the polkit prompts.
  • Accessible output: colors only on a terminal; plain English for logs, pipes and the interface.

Command line: big-drivers

big-drivers (also installed as big-driver-manager-cli) does from the terminal what the interface does. Run as a normal user, it shows what it will do, asks for confirmation and hands the package changes to pamac, which shows the transaction and asks its own questions in the terminal; what else needs root (setting up the graphics driver's files, GPU modes) asks for the password through polkit. The interface runs it, as root, for that part.

$ big-drivers --help
usage: big-drivers [-h] [--version] [--color {auto,always,never}] COMMAND ...

positional arguments:
  COMMAND
    kernel              list, install and remove kernels with their modules
    gpu                 graphics drivers (replaces mhwd)
    mesa                switch between the Mesa variants (stable, big, tkg, amber)
    install             install packages from the repositories
    remove              remove packages
    mhwd                install or remove an mhwd configuration

Quick reference

Task Command
Kernels in the repositories big-drivers kernel list
Installed kernels (JSON for scripts) big-drivers kernel list --installed --json
Install a kernel with its headers and modules big-drivers kernel install linux-big
Remove a kernel and its modules big-drivers kernel remove linux612
Graphics cards and their drivers big-drivers gpu
Install the drivers this machine needs big-drivers gpu install
Choose the GPU on a hybrid laptop big-drivers gpu mode hybrid|nvidia|integrated
Mesa variants, the one in use marked big-drivers mesa list
The packages a Mesa switch hands to Pamac big-drivers mesa plan tkg-stable
Switch the Mesa variant big-drivers mesa apply tkg-stable

-y/--yes skips this program's confirmation; Pamac still asks its own questions. mhwd-kernel's options (-l, -li, -i NAME, -r NAME) keep working.

Examples

$ big-drivers kernel list --installed
Installed kernels
─────────────────
     Kernel    Version    Repository
  ●  linux618  6.18.49-1  core        running · LTS

$ big-drivers mesa list
     Variant     Package
  ○  amber       mesa-amber
  ●  stable      mesa             in use
  ○  big         mesa-big
  ○  tkg-stable  mesa-tkg-stable
  ○  tkg-git     mesa-tkg-git

$ big-drivers mesa plan tkg-stable
Switch Mesa to Tkg-Stable
─────────────────────────
  Install:
    mesa-tkg-stable lib32-mesa-tkg-stable
  Pamac shows what they replace and asks before changing anything.

The full reference — GPU decisions, hybrid modes, services, the installer options (--root, --pmconfig) and exit codes — is in big-driver-manager-cli/README.md.

Safe Mesa switching

Every package on a desktop depends on Mesa, directly or not. A switch therefore asks Pamac to install the new variant and nothing else; it never asks for a removal.

  1. Packages: the variant's packages from assets/mesa_drivers.json; its 32-bit package is left out on a system without 32-bit Mesa whose repositories lack it (big-drivers mesa plan VARIANT lists both).
  2. Pamac decides: in its window (the interface) or in the terminal (big-drivers mesa apply), Pamac resolves what the new packages replace, shows the whole transaction and asks before anything changes. Cancelling there changes nothing.
  3. Check: after the transaction, the variant in use must be the one asked for; otherwise the switch is reported as failed.

A switch removes nothing itself, so nothing goes in cascade: what Pamac replaces is only what the new packages conflict with.

Architecture

┌──────────────────────────────┐
│  biglinux-driver-manager     │  GTK 4 / libadwaita interface
│  (ui/, utils/, icons)        │  imports core/ read-only
└──────┬───────────────┬───────┘
       │               │  pkexec big-driver-manager-cli <verb>
       │               │  polkit action: br.com.biglinux.drivermanager.cli
       ▼               ▼
  pamac-installer  ┌──────────────────────────────┐
  as the user:     │  big-driver-manager-cli      │  validates every request,
  every package    │  core/  assets/  big-drivers │  then runs its own setup,
  change           └──────────────────────────────┘  pacman or mhwd
  • Every package change the interface starts opens pamac-installer, as the user, for one transaction: Pamac reviews it, asks what it needs and authenticates through its own service. Package names are validated so they can never become options.
  • What else the interface needs root for (gpu configure after an NVIDIA change, gpu install on live media) is one of a few verbs of the command line, which refuses anything outside that list.
  • The live session and the installer, already root, install the graphics drivers with pacman through the same command, and so do the generic install and remove verbs run as root on live media: nobody is there to answer Pamac. As root on an installed system they refuse, as every request for Pamac does. What the person does in the live session (kernels, Mesa, the interface's package changes) goes through Pamac, which asks.
  • systemd services run gpu boot before the display manager, install drivers on live media and guard against a display manager that never comes up.
  • A user timer (big-driver-manager-check.timer), enabled for every account by the package, looks for drivers the machine is missing 90 seconds after login. The package enables it, so disable does not turn it off: one account opts out with systemctl --user mask big-driver-manager-check.timer.

Installation

On BigLinux, install the interface from the repositories; it depends on the command line, which pacman installs with it:

sudo pacman -S biglinux-driver-manager    # interface + command line

big-driver-manager-cli can also be installed on its own where there is no desktop (servers, scripts, the installer).

Open Big Driver Manager from the application menu, or run big-driver-manager.

Building from source

git clone https://github.com/biglinux/biglinux-driver-manager.git
cd biglinux-driver-manager/pkgbuild
makepkg -si          # builds and installs both packages

The PKGBUILD builds the branch in BIGLINUX_GIT_BRANCH (default main). Releases are built by the build-package workflow and published with gitrepo.

Development

Requirements

Python 3.10+, PyGObject, GTK 4, libadwaita, pytest and ruff.

Tests and lint

(cd big-driver-manager-cli && python -m pytest)
(cd biglinux-driver-manager && python -m pytest)
ruff check . && ruff format --check .

Both suites import the core from this checkout, never one installed in /usr/share/big-driver-manager-cli; BDM_CLI_DIR points them at another. A safety net in the test suites refuses to run pacman, pkexec or any other command that changes the system.

End-to-end tests of the GPU flow run against the real pacman in a throwaway container — never on a real system; see big-driver-manager-cli/README.md.

Translations

Messages use GNU gettext. The command line has its own domain (big-driver-manager-cli); after changing a message, run:

big-driver-manager-cli/scripts/update-translations.sh

It refreshes the template, merges every catalog, compiles the .mo files and updates the polkit policy's translations. The tests require every catalog to be complete and to keep each message's placeholders.

Repository layout

.
├── big-driver-manager-cli/      core, command line, assets, services, polkit policy
├── biglinux-driver-manager/     GTK interface, icons, desktop entry
├── pkgbuild/                    PKGBUILD for both packages
├── docs/screenshots/            images used in this README
└── .github/workflows/           package build

Contributing

Issues and pull requests are welcome at github.com/biglinux/biglinux-driver-manager. Please run the tests and ruff before opening a pull request, and keep the translations complete when changing messages.

License

  • Interface (biglinux-driver-manager): MIT
  • Core and command line (big-driver-manager-cli): GPL-3.0-or-later

About

Show hardware informantion and install drivers

Resources

Stars

83 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages