Hello 👋! Thanks for subscribing.
Here are the articles from last week:
Published on: 2021-11-07
tags: Testing, Lab, Notes
Should we automate this:
x-axis multiplied by y-axis probability (frequency of use by customers) vs impact (if broken, what’s the impact to customers?)
distinctness (does this test provide new info?) vs induction to action (how quickly would this failure be fixed?)
quickness (how quickly can this be scripted) vs ease (how easy will it be to script this)
similar to weak areas (volume of historical failures in related areas) vs frequency of breaks (volume of historical failures for this test)
Tally up the scores into 3 categories:
Published on: 2021-11-02
My laptop is rocking a dual hybrid GPU with an Intel chip:
For hybrid GPU laptops with Intel and Nvidia the best solution usually is to have switchable graphics: Intel for normal, everyday usage (uses less power and saves battery) and NVIDIA for games or more graphic intense programs (uses more battery). (Source)
Installing the correct Nvidia driver and setting up the dual mode was surprisingly tricky on my Manjaro machine.
Here’s a reference that worked with an Acer Nitro 5 and a Nvidia GTX 1050 Mobile (GP107M).
Manjaro has an inbuilt settings manager which allows you to install hardware drivers for your spec.
Per default, my machine was running the
video-hybrid-intel-nvidia-prime. That sounds like the correct driver, but it didn’t load.
Run this command in your terminal for more information:
The Manjaro wiki recommends an automatic installation like this:
sudo mhwd -a pci nonfree 300
The above command installs the recommended proprietary drivers for your graphic cards.
The recommended settings did not work for me. I settled on optimus-switch for managing my graphic cards.
optimus-switch allows you to change between running in Intel standalone mode or in hybrid mode with Nvidia.
First, we need to install the correct driver for this setup.
video-nvidia-xxxxx with the manjaro settings manager, in my case that’s
video-nvidia-390xx. Make sure it’s NOT
video-nvidia without the extra number.
Choose the correct version of optimus-switch for your login manager. The program supports LightDM, GDM and SDDM.
If you don’t know how to install a display manager, check the Manjaro wiki.
Follow the instructions in the GitHub repository, here is the example for SDDM:
git clone https://github.com/dglt1/optimus-switch-sddm.git cd ~/optimus-switch-sddm chmod +x install.sh sudo ./install.sh
The installation script will also remove any settings that will interfere with optimus-switch.
If you encounter any problems, make sure to manually remove the files:
sudo rm /etc/X11/xorg.conf.d/90-mhwd.conf sudo rm /etc/modprobe.d/mhwd-gpu.conf sudo rm /etc/modules-load.d/mhwd-gpu.conf
Make sure to read the Usage section of the optimus-switch documentation. You’ll need to adjust a few settings to disable the Nvidia GPU if you run in Intel-only mode.
Thank you for reading my blog.