How to determine which is the best graphics driver for use with a Thinkpad T430s?

Wrong. This is the mhwd configuration profile AFAIK.
The driver(s) versions are packages

pacman -Qs nvidia
pacman -Qs video-intel

For the installed kernels and video drivers, they are updated whenever you update your system. No extra action.

If you need power saving (laptop?) you may choose hybrid-bumblebee, which uses both cards. If not, then just video-nvidia. The rest (nvidia3xxx) options are for not compatible hardware, don’t use them unless you have to.

Yes. The free drivers are called nouveau and are included in video-linux config profile (all free drivers)

Hi Petsam

I ran the commands you mentioned and got:

[rsruser@hanna ~]$ pacman -Qs nvidia
local/bumblebee 3.2.1-20
    NVIDIA Optimus support for Linux through Primus/VirtualGL
local/libvdpau 1.1.1+3+ga21bf7a-1
    Nvidia VDPAU library
local/mhwd-nvidia 1:396.54-1
    MHWD module-ids for nvidia 396.54
local/mhwd-nvidia-304xx 1:304.137-1
    MHWD module-ids for nvidia 304.137
local/mhwd-nvidia-340xx 340.107-1
    MHWD module-ids for nvidia 340.107
local/mhwd-nvidia-390xx 390.77-1
    MHWD module-ids for nvidia 390.77
local/xf86-video-nouveau 1.0.15-3 (xorg-drivers)
    Open Source 2D acceleration driver for nVidia cards
[rsruser@hanna ~]$ pacman -Qs video-intel
local/xf86-video-intel 1:2.99.917+831+ge7bfc906-1 (xorg-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers

The part I am not clear about at this point is how to switch between the 3 categories of drivers:

-Video-linux
-Video -hybrid-nvidia-bumblebee
-Video-Nvidia

It guessing:

-If I choose “Auto install proprietary driver” then this loads ‘Video-Nvidia’.

-If I choose “Auto install Open-Source driver” then this loads ‘Video -hybrid-nvidia-bumblebee’.

How do i switch between the 3 of them while I test?

This video shows in Ubuntu how you could switch drivers (use nvidia for high CPU tasks and Intel 4000 for battery savings.

https://www.youtube.com/watch?v=5nGbWE-pvIE

It appears they are using a tool call bbswitch.

Read for bumblebee at Archwiki.
Don’t use 3rd party guides for Manjaro gpu drivers. Use mhwd/Manjaro Settings Manager.
For changing driver, uninstall old one, install new.
Use forum tutorials/search and Manjaro wiki.

1 Like

Based on watching the video (yes for Ubuntu), I wanted to know if it is possible to select which video card I am using. My goal here is to:

-Be able to shut off Nvidia and turn on Intel for max power savings.
-But when I am running a steam game then turn on Nvidia and shut off Intel.

No goal without some reading.
Even if I tell you everything, you will need to read what I wrote, so why don’t you read the provided links? Do you have any questions on bumblebee, after reading Archwiki article?

  • For laptops, bbswitch should auto switch to the proper driver.
  • For manually using nvidia (with bumblebee) run the app/command with primusrun/optirun
  • Try out what jonathon advised
  • Search the forum on “Steam nvidia prime”
  • Look in the tutorials
1 Like

Thanks for the feedback. I’m actually working through different articles online developing the strategy I am going to use (just did not post it above). I was not aware that the current setup was auto switching. Personally I do allot of research before I implement a change as this is my every day laptop.

That being said I am reading the following links:

https://github.com/andrebrait/prime-indicator

https://wiki.archlinux.org/index.php/bumblebee

https://wiki.archlinux.org/index.php/NVIDIA_Optimus

https://wiki.manjaro.org/index.php/Configure_Graphics_Cards

https://github.com/Bumblebee-Project/bbswitch

Presently I did find I could check if the Nvidia card is off:

cat /proc/acpi/bbswitch
0000:01:00.0 OFF

I can switch the Nvidia card on:

–Going to research primusru and /optirun

I can switch the Intel 4000 card on:

–researching this now.

I’m looking through the documentation for a way to switch between the Nvidia and Intel 4000 card in the Gnome desktop (like ‘prime indicator’).

You probably mean modesetting. Indeed, some sources recommend modesetting over xf86-video-intel.
If modesetting isn’t shown by inxi as active when you install video-linux then you could uninstall the package xf86-video-intel and reboot.

1 Like

@jonathon @AgentS

I decided to make one change today and used the hardware configuration utility to install the “Video -hybrid-nvidia-bumblebee”. The install completed with no errors. But then I ran into an issue where as myself I can launch editing of a file in gedit with no errors. But when I use sudo I get the following error:

[rsruser@hanna ~]$ cd Documents/
[rsruser@hanna Documents]$ sudo gedit test-file-vi.txt
[sudo] password for root: 
No protocol specified
Unable to init server: Could not connect: Connection refused

(gedit:1888): Gtk-WARNING **: 16:08:50.412: cannot open display: :0

I did try to troubleshoot by running the following commands to get the configuration state:

[rsruser@hanna Documents]$ cat /proc/acpi/bbswitch
0000:01:00.0 OFF
[rsruser@hanna Documents]$ mhwd -l -d
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0302:10de:1140)
  Display controller nVidia Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-bumblebee
   ATTACHED:	PCI
   VERSION:	2018.08.09
   INFO:	Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video-intel video-nvidia video-nvidia-304xx video-nvidia-340xx video-nvidia-390xx video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 


> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:0166)
  Display controller Intel Corporation 3rd Gen Core processor Graphics Controller
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-hybrid-intel-nvidia-bumblebee
   ATTACHED:	PCI
   VERSION:	2018.08.09
   INFO:	Hybrid bumblebee solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:	8
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video-intel video-nvidia video-nvidia-304xx video-nvidia-340xx video-nvidia-390xx video-hybrid-intel-nvidia-390xx-bumblebee video-hybrid-intel-nouveau-bumblebee 
   CLASSIDS:	0300 0302 0300 
   VENDORIDS:	10de 8086 

Warning: no configs for USB devices found!

[rsruser@hanna Documents]$ pacman -Qs nvidia
local/bumblebee 3.2.1-20
    NVIDIA Optimus support for Linux through Primus/VirtualGL
local/lib32-nvidia-utils 1:396.54-2
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1+3+ga21bf7a-1
    Nvidia VDPAU library
local/linux414-nvidia 1:396.54-2 (linux414-extramodules)
    NVIDIA drivers for linux.
local/mhwd-nvidia 1:396.54-1
    MHWD module-ids for nvidia 396.54
local/mhwd-nvidia-304xx 1:304.137-1
    MHWD module-ids for nvidia 304.137
local/mhwd-nvidia-340xx 340.107-1
    MHWD module-ids for nvidia 340.107
local/mhwd-nvidia-390xx 390.77-1
    MHWD module-ids for nvidia 390.77
local/nvidia-utils 1:396.54-2
    NVIDIA drivers utilities

–Hardware Configuration log when I let Manjaro automatically choose install the open source driver:

Waiting for user input...
Starting
> Using config 'video-linux' for device: 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation 3rd Gen Core processor Graphics Controller
> Installing video-linux...
Using default
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-linux/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0380
Processing classid: 0302
:: Synchronizing package databases...
downloading core.db...
 core is up to date
downloading extra.db...
downloading community.db...
 community is up to date
downloading multilib.db...
warning: xf86-video-intel-1:2.99.917+831+ge7bfc906-1 is up to date -- skipping
warning: xf86-video-nouveau-1.0.15-3 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...

Packages (13) lib32-libva-1.8.3-1  lib32-libvdpau-1.1.1-3  lib32-libva-vdpau-driver-0.7.4-6  lib32-mesa-vdpau-18.1.6-1  lib32-vulkan-intel-18.1.6-1  lib32-vulkan-radeon-18.1.6-1  libva-mesa-driver-18.1.6-1  libva-vdpau-driver-0.7.4-3  mesa-vdpau-18.1.6-1  vulkan-intel-18.1.6-1  vulkan-radeon-18.1.6-1  xf86-video-amdgpu-18.0.1-2  xf86-video-ati-1:18.0.1.r44.g740f0850-1

Total Download Size:    9.17 MiB
Total Installed Size:  30.20 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading xf86-video-ati-1:18.0.1.r44.g740f0850-1-x86_64.pkg.tar.xz...
downloading xf86-video-amdgpu-18.0.1-2-x86_64.pkg.tar.xz...
downloading vulkan-intel-18.1.6-1-x86_64.pkg.tar.xz...
downloading vulkan-radeon-18.1.6-1-x86_64.pkg.tar.xz...
downloading libva-mesa-driver-18.1.6-1-x86_64.pkg.tar.xz...
downloading libva-vdpau-driver-0.7.4-3-x86_64.pkg.tar.xz...
downloading mesa-vdpau-18.1.6-1-x86_64.pkg.tar.xz...
downloading lib32-vulkan-intel-18.1.6-1-x86_64.pkg.tar.xz...
downloading lib32-vulkan-radeon-18.1.6-1-x86_64.pkg.tar.xz...
downloading lib32-libva-1.8.3-1-x86_64.pkg.tar.xz...
downloading lib32-libvdpau-1.1.1-3-x86_64.pkg.tar.xz...
downloading lib32-libva-vdpau-driver-0.7.4-6-x86_64.pkg.tar.xz...
downloading lib32-mesa-vdpau-18.1.6-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing xf86-video-ati...
installing xf86-video-amdgpu...
installing vulkan-intel...
installing vulkan-radeon...
installing libva-mesa-driver...
installing libva-vdpau-driver...
installing mesa-vdpau...
installing lib32-vulkan-intel...
installing lib32-vulkan-radeon...
installing lib32-libva...
Optional dependencies for lib32-libva
    lib32-libva-vdpau-driver: vdpau back-end for nvidia [pending]
    lib32-libva-intel-driver: back-end for intel cards
installing lib32-libvdpau...
installing lib32-libva-vdpau-driver...
installing lib32-mesa-vdpau...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Removed /etc/systemd/system/multi-user.target.wants/bumblebeed.service.
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully installed video-linux


Done ...

–Hardware Configuration log when I choose install the hybrid-nvidia-bumblebee:

Waiting for user input...
Starting
> Installing video-hybrid-intel-nvidia-bumblebee...
Using default
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-bumblebee/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
:: Synchronizing package databases...
downloading core.db...
 core is up to date
 extra is up to date
downloading community.db...
warning: bumblebee-3.2.1-20 is up to date -- skipping
warning: xf86-video-intel-1:2.99.917+831+ge7bfc906-1 is up to date -- skipping
warning: lib32-primus-20151110-4 is up to date -- skipping
warning: linux414-bbswitch-0.8-55 is up to date -- skipping
 community is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (3) lib32-nvidia-utils-1:396.54-2  linux414-nvidia-1:396.54-2  nvidia-utils-1:396.54-2

Total Download Size:    57.02 MiB
Total Installed Size:  230.95 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading nvidia-utils-1:396.54-2-x86_64.pkg.tar.xz...
downloading linux414-nvidia-1:396.54-2-x86_64.pkg.tar.xz...
downloading lib32-nvidia-utils-1:396.54-2-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing nvidia-utils...
==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.
Optional dependencies for nvidia-utils
    gtk2: nvidia-settings [installed]
    xorg-server-devel: nvidia-xconfig
    opencl-nvidia: OpenCL support
installing lib32-nvidia-utils...
Optional dependencies for lib32-nvidia-utils
    lib32-opencl-nvidia
installing linux414-nvidia...
In order to use nvidia module, reboot the system.
:: Running post-transaction hooks...
(1/5) Updating linux414 module dependencies...
(2/5) Reloading system manager configuration...
(3/5) Creating system user accounts...
(4/5) Arming ConditionNeedsUpdate...
(5/5) Updating the desktop file MIME type cache...
xorg configuration file: '/etc/X11/mhwd.d/intel.conf'
Created symlink /etc/systemd/system/multi-user.target.wants/bumblebeed.service → /usr/lib/systemd/system/bumblebeed.service.
> Successfully installed video-hybrid-intel-nvidia-bumblebee


Done ...

Any ideas what might have gotten broken?

If you read again the topic title I guess you 'll understand that you are Off Topic.
Now you are testing the drivers.
You could have done it before even starting the topic.
For help on fixing your broken system, start another topic, please.
It gets confusing, since, during your testing you do several changes back and forth.

My advice:

  • Choose the free driver (video-linux)
  • Install it. Fix it if it fails, with forum help if needed.
  • If you think it doesn’t fit to your needs, uninstall and install non-free (bumblebee). Fix it if it fails, with forum help if needed.
  • If you are still not satisfied, try PRIME, there is a nice tutorial in the forum.
  • Then, out of your experience, decide on which one you stay on.

@jonathon @AgentS @eugen-b

I’ve created a new post in the technical troubleshooting area. I don’t want to make a bunch of changes and break something else. Best we figure out what happened.

Also I did not make a bunch a changes. I ran the hardware utility by using the install open source button. The hardware utility choose what drivers to install. When I noticed that the “cat /proc/acpi/bbswitch” would not run after the reboot. I then went back to the hardware utility and right clicked on the “hybrid-nvidia-bumblebee” and installed it (rebooted and the “cat /proc/acpi/bbswitch” was able to run:. This was the first step I had to do so I could work through the bumblebee documentation and try to learn how to switch manually between the Intel and Nvidia card.

https://forum.manjaro.org/t/getting-gtk-warning-cannot-open-display-0-after-upgrade-from-video-linux-to-hybrid-nvidia-bumblebee-on-thinkpad-t430s/56792

I guess you did the opposite of the normal.
First read, then test/apply.

Those are “a bunch”.

For your current issue, please update your new topic.
And, please, don’t “call” users directly. If someone is available, they will help you.

@eugen-b

So I reinstalled video-linux via Manjaro Settings and now have this:

PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0302:10de:1140)
  Display controller nVidia Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

I would like to go back to my original driver (“video-hybrid-intel-nouveau-bumblebee”) but do not see it on the list. What do I need to choose in the graphical installer.

|NAME:|video-hybrid-intel-nouveau-bumblebee|
|---|---|
|   ATTACHED:|PCI|
|   VERSION:|2017.03.12|
|   INFO:|Hybrid bumblebee solution for NVIDIA Optimus Technology - Open source nouveau & intel video driver.|
|   PRIORITY:|6|
|   FREEDRIVER:|true|
|   DEPENDS:|-|
|   CONFLICTS:|video-intel video-nouveau video-hybrid-intel-nvidia-bumblebee |
|   CLASSIDS:|0300 0302 0300 |
|   VENDORIDS:|10de 8086|

I would reinstall the whole system, because I have no clue about nvidia and you keep asking me.

Thanks for your feedback. Normally have been using the @ symbol so people who were responding to the thread and giving related advice can see I updated the thread.

Couple of things.

You have an old optimus laptop with a Fermi family gpu.

https://wiki.archlinux.org/index.php/Optimus

https://nouveau.freedesktop.org/wiki/CodeNames/#NVC0

With hybrid gpu setups like this the solution in Linux is either bumblebee or prime to utilize the nvidia gpu.

https://wiki.archlinux.org/index.php/Bumblebee

https://wiki.archlinux.org/index.php/PRIME

Firstly, your initially installed driver, video-hybrid-intel-nouveau-bumblebee was depricated quite a while ago. Bumblebee doesn’t support nouveau, only proprietary nvidia drivers.

Your nvidia gpu, code GF117, is a Fermi family gpu. Unfortunately you cannot use bumblebee at all currently with a Fermi gpu.

Nvidia dropped support for Fermi gpus in their main driver, it is now in the 390 series legacy driver. Unfortunately Arch / Manjaro uses libglvnd and nvidia stated they are not backporting libglvnd support to their legacy drivers.

You could try it for yourself …

video-hybrid-intel-nvidia-390xx-bumblebee

The intel gpu will work fine, but attempting to switch to the nvidia gpu via primusrun will cause an xorg error, as the nvidia driver doesn’t have correct libglvnd support.

So what does this mean?

You could just stick with using the intel gpu only. If your BIOS supports it you could use the nvidia gpu only (ie video-nvidia-390xx). Or you could try and get prime working with nouveau if hybrid graphics is important to you.

Not ideal, but this is what we get … nvidia treat Linux users like a red headed stepchild.

2 Likes

Thank you. Makes sense about the deprecation now (so no going back).

I’ve been reading through the wiki and multiple posts trying to understand graphic driver install method and make sense of how to manage the Manjaro OS. Pretty much I would have liked the option to manually switch between my Intel 4000 and Nvidia graphics cards. I will bench this idea.

Just in case you might know I noticed the following and am trying to figure out if what I am seeing is expected behavior:

When I changed between the two graphical drivers installed via the Gnome settings > Hardware Configuration:

Using the “video-linux” I can login to the following GUI:
-Gnome (Wayland)
-Gnome x11 org
-Kodi

Using the “video-hybrid-intel-nvidia-bumblebee” I can login to the following GUI:

-Gnome (Wayland)
-The other GUI will just hang where I see the terminal load screen.

The video-linux driver is a catch all for open source drivers basically, inxi -G should tell you are using the i915 intel driver. As the nouveau driver is also open source it is also defined within video-linux. It is a bit confusing at first.

The video-hybrid-intel-nvidia-bumblebee won’t work on your system unfortunately.

There used to be a video-hybrid-intel-nouveau-prime driver within mhwd, not sure if it is still supported, or if it has been folded into video-linux also.

Actually I find that whole concept a bit confusing.

1 Like

Thank you for your feedback. I will have to learn how to better research driver compatibility. I’m just glad to be 95% off Windows 10 while running my budget laptop.

As per your observations running inxi -G:

[rsruser@hanna ~]$ inxi -G 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 
  620M/625M/630M/720M] 
  driver: nouveau v: kernel 
  Display: wayland server: X.Org 1.20.1 driver: intel 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.1.6 

From reading your recommendation it sounds like:

If I install the “video-nvidia-390xx” driver then the Manjaro OS will only use the built in “NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M” and no Intel graphics card? Am I only giving up power savings?

If I keep the “video-nvidia” driver then i will have power saving through auto switching between the the intel and nvidia (giving up possible performance)?

Wrong! Total confusion…
I wonder if all your info and screenshots are from the same system, or if some are from Live ISO. Or your installed system is in an unknown update condition …

Facts AFAIK:

  • MSM and mhwd do not show/list unsupported driver configurations, unless they have a bug.

nouveau-bumblebee has been deprecated very long ago
Fermi nvidia deprecation created the need for nvidia390, so it is very weird to have MSM show video-nvidia as an option, while it shows GF117(610m/…)

Please provide info about your packages:

pacman -Q mhwd mhwd-db manjaro-release
  • Wayland has poor performance with nvidia drivers

I hope you find what you are looking for…

Forum kindly sponsored by Bytemark