Collection of appliable Mods & Tweaks (included, but not limited to libreboot).


Return to index

Disclaimer

Any changes to the hardware or software listed here are usually tested (by atleast one user), and reproducible AT YOUR OWN RESPONSIBILITY.

Some physical modifications might be UNREVERSIBLE, only replacable, keep in mind.

In case if you need any help or get another idea to include here, submit a patch on codeberg or get in contact on irc.

Separate pages unique for specific devices

T480/s/T580

Dell Optiplex & Precision towers

Processors

[Reversible] SMT/Hyper-threading support

Libreboot disables HyperThreading by default

Also called SMT. This is a feature where you get 2 threads on a single core. It can improve performance in some workloads, but is actually a performance liability in others, depending on your OS kernel/scheduler and the actual workload.

It is a security liability, due to the Spectre/Meltdown attacks, so we recommend turning it off, at the very least from your running operating system. On this platform, you can easily turn it off from coreboot.

On Libreboot starting from 6th gen cpus; disabled by default. To turn it back on, please build from source and before running the build (-b) command, do this:

./mk -m coreboot DEIVCE_NAME

In the menu that appears, go Chipset -> Enable Hyperthreading and turn it on. Then exit from the menu, saving the config where prompted. You will see this menu twice, because there are two configs for each of these boards.

SMT is rarely of benefit in practice, but can be useful in some circumstances. From a game (assuming smt optimizated), multimedia editing, file compression, to compiling a large codebase from source that takes hours, SMT increases multithreaded performance up to 30%, depending on the use case.

Be wary, it increases heat generation too, especially on laptops -> more throttling if cpu turbo mode is on, louder fans, higher power drain from batteries.

Intel 6th to 7th gen processors supporting SMT/HT without microcode update has some niche, but Very Dangerous Flaws, but 8th gen. + ones are fixed without microcode update.

[Reversible] Intel 8th/9th gen. processors support on older 6th/7th gen. motherboards

Libreboot supports 4-core cpus (with B0 stepping) out of box without any mods needed, list (8th & 9th gen. desktop processors support ecc memories);

But for those, interested in using 6+ core models (with U0/P0 steppings), connect the 2 pins marked on the processor in the picture. (using a pencil usually enough, but a conductive slim tape is better)

PLEASE ENSURE to isolate the pads as shown on the guide, as these are grounds and several of them must be isolated to prevent a short-circuit when using the new CPU with this mod. Check the linked guide for reference:

Reference

Graphics

[Reversible] PCIe Rebar

The EDK2-based images work with modern graphics cards, which often lack VGA ROMs these days; EDK2 does GOP ROM execution.

We do not enable PCI-E relocatable BAR by default, because it caused stability issues when libgfxinit is used on Intel integrated graphics.

To enable it, do:

./mk -m coreboot TARGET

Enable: Devices -> Extend resource window for PCIe devices above 4G

Enable: Devices -> Support PCIe Resizable BARs

Set that last one to the number of bits corresponding to your video RAM. Two to the power of thirty-two is 4GB; thirty-three becomes 8GB. Work it out accordingly. E.g. 16GB would be 33 bits. 39 bits is generally the maximum limit though some machines might not be stable past 36-bit.

Where only graphics cards are supported, we would enable this by default. On systems with integrated graphics, we turn it off by default.

[Reversible] Dual-GPU setup

(Do not use it on processors/motherboards without integrated graphics.)

(Especially for 4th gen haswell dell towers, but not limited.)

This documentation pertains to desktops, not laptops. Libreboot only makes use of integrated onboard graphics at present, for laptops.

Do not follow this section on non-desktop computers.

Usually used for efficient power management, but can be used to focus/accelerate task/applications too on the more powerful and usually free unit.

(Using a graphics card with 2 gpu-s on it? Feel free to skip the I. part)

I. Part, Libreboot Firmware

On desktop computers, Libreboot by default disables the integrated graphics on the processors if a dedicated graphics card is present.

It needs to be force enabled in the device’s menuconfig:

./mk -m coreboot *device_name_in_lbmk*

Select Devices -> set Use onboard VGA as primary video device. Exit and build the rom image with -b instead of -m.

Flash the tweaked firmware and boot. Keep/connect the screen’s cable to the motherboard instead of the dedicated gpu (weird artifacts appears).

II. Part, OS

Boot into a linux distro (works with almost every distro) and install the switcheroo-control software;

Debian based:

sudo apt install switcheroo-control -y

Arch based:

sudo pacman -S install switcheroo-control

Fedora based:

sudo dnf install switcheroo-control -y

After installation, enable the belonging service (NOTE: systemd, adapt accordingly if you use something else):

sudo systemctl enable --now switcheroo-control

Done. Defaults less resources-needy ones (desktop environment, browser, …) to the integrated/1st gpu, and more needies (video/3D editors, games, …) to the dedicated/2nd unit.

Usually with a right mouse click on the application reveals the selectable gpu-s to choose from manually. (Confirmed on Gnome,Cosmic. probably on other DE-s too.).

Reference and more details.

[Reversible] Upgradabale (socketed) GPUs in (older) laptops

Before replacing (or even ordering) one, check if it compatible with your eDP/LVDS panel;

X11:

xrandr

Wayland:

wlr-randr

For “LVDS-1 connected”, AMD’s 1st gen GCN cards are the newest and most powerful to support LVDS, According to this forum thread,

If you have an eDP panel, you should be able to use newer cards than that.

As long as the card has an onboard VBIOS, Libreboot will execute it and everything should work. However, this is currently untested.

Markdown file for this page: https://libreboot.org/extras.md

Site map

This HTML page was generated by the Libreboot Static Site Generator.