Disable Nvidia GPU on the Thinkpad T490

I wrote about installing Linux on the Lenovo ThinkPad T490 last month and one of the biggest challenges was getting graphics working properly. The T490 comes with an option where you can get a discrete Nvidia MX250 GPU and it packs plenty of power in a small footprint. It also brings along a few issues. Awful battery life There are many times where it would be helpful to fully disable the Nvidia card to extend battery life when graphics processing is not needed....

2020-01-24 · 8 min · Major Hayden

Bring Back Fedora's Beefy Miracle boot splash

Way back in 2012 when Fedora releases had names, there was one release that many of us in the Fedora community will never forget. Fedora 17’s code name was “Beefy Miracle” and it caused plenty of giggles and lots of consternation (especially in vegetarian and vegan circles). No matter how you feel about the code name, the mascot was really good: Major and the beefy miracle in 2012...

2019-12-16 · 1 min · Major Hayden

Thinkpad T490 Fedora install tips

🔨 WORK IN PROGRESS! I’m still finding some additional issues and I’ll write those up here as soon as I find some solutions. Thinkpad T490 With my 4th Gen X1 Carbon beginning to age (especially the battery), it was time for an upgrade. I now have a T490 with a 10th gen Intel CPU and a discrete NVIDIA MX250 GPU. This laptop spec was just released on Black Friday!...

2019-12-12 · 3 min · Major Hayden

Monitoring OpenShift cron jobs

Moving applications into an entirely containerized deployment, such as OpenShift or Kubernetes, requires care and attention. One aspect of both that is often overlooked is scheduled jobs, or cron jobs. ⏰ Cron jobs in OpenShift allow you to run certain containers on a regular basis and execute certain applications or scripts in those containers. You can use them to trigger GitLab CI pipelines, run certain housekeeping tasks in web applications, or run backups....

2019-11-18 · 3 min · Major Hayden

Monitor CyberPower UPS wattage

I have a CyberPower CP1350AVRLCD under my desk at home and I use it to run my computer, monitors, speakers, and a lamp. My new computer is a little more power hungry than my old one since I just moved to to a Ryzen 3700x and Nvidia GeForce 2060 and I like to keep tabs on how much energy it is consuming. Some power supplies offer a monitoring interface where you can watch your power consumption in real time, but I’m not willing to spend that much money....

2019-11-08 · 3 min · Major Hayden

Install Chromium with VAAPI on Fedora 30

UPDATE: The chromium-vaapi package is now chromium-freeworld. This post was updated on 2019-11-06 to include the change. See the end of the post for the update steps. If you use a web browser to watch videos on a laptop, you’ve probably noticed that some videos play without much impact on the battery. Other videos cause the fans to spin wildly and your battery life plummets. Intel designed a specification called VA API, often called VAAPI (without the space), and it offers up device drivers to applications running on your system....

2019-10-20 · 4 min · Major Hayden

Customize GNOME from i3

i3 has been my window manager of choice for a while and I really enjoy its simplicity and ease of use. I use plenty of gtk applications, such as Firefox and Evolution, and configuring them within i3 can be confusing. This post covers a few methods to change configurations for GNOME and gtk applications from i3. lxappearance Almost all of the gtk theming settings are available in lxappearance. You can change fonts, mouse cursors, icons, and colors....

2019-09-22 · 2 min · Major Hayden

Deploy monit in OpenShift

Monit is a tried-and-true method for monitoring all kinds of systems, services, and network endpoints. Deploying monit is easy. There’s only one binary daemon to run and it reads monitoring configuration from files in a directory you specify. Most Linux distributions have a package for monit and the package usually contains some basic configuration along with a systemd unit file to run the daemon reliably. However, this post is all about how to deploy it inside OpenShift....

2019-09-11 · 6 min · Major Hayden

Get faster GitLab runners with a ramdisk

When you build tons of kernels every day like my team does, you look for speed improvements anywhere you can. Caching repositories, artifacts, and compiled objects makes kernel builds faster and it reduces infrastructure costs. Need for speed We use GitLab CI in plenty of places, and that means we have a lot of gitlab-runner configurations for OpenShift (using the kubernetes executor) and AWS (using the docker-machine executor). The runner’s built-in caching makes it easy to upload and download cached items from object storage repositories like Google Cloud Storage or Amazon S3....

2019-08-16 · 3 min · Major Hayden

buildah error: vfs driver does not support overlay.mountopt options

Buildah and podman make a great pair for building, managing and running containers on a Linux system. You can even use them with GitLab CI with a few small adjustments, namely the switch from the overlayfs to vfs storage driver. I have some regularly scheduled GitLab CI jobs that attempt to build fresh containers each morning and I use these to get the latest packages and find out early when something is broken in the build process....

2019-08-13 · 2 min · Major Hayden