How to switch free to nonfree driver

i have both free & non free diver installed in my system and currently free driver is in use i want to switch to the nonfree & i don't see any option for that in hardware settings

Usually when you install one you have to unisntall the other.
sudo mhwd -r pci video-linux
to uninstall the free driver
even better
sudo mhwd -r pci free 0300
Same thing can be done trough the MHWD UI.

Depending of the GPU (Nvidia one) you will have a list of drivers to install. In most cases the command:
sudo mhwd -a pci nonfree 0300
will auto install the proper drivers.
On the other hand you can use:
sudo mhwd -i pci video-nvidia-440xx
for example, to install the latest nvidia proprietary drivers
But all that can be done also trough MHWD UI, and all is covered in the wiki
https://wiki.manjaro.org/index.php?title=Configure_NVIDIA_(non-free)_settings_and_load_them_on_Startup

I have AMD integrated can i use the same commands for that?

AMD has no nonfree drivers. All AMD drivers are free or open source.
So, did you shared somewhere the
inxi -Fxxxza --no-host
or you can share it here? Someone with more knowledge about AMD GPUs will surely point you in the right direction and correct me if i did an assertion mistake.

System:
  Kernel: 5.7.0-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 
  root=UUID=c16bd315-1843-4b81-83cb-6230334e6d39 rw acpi_backlight=vendor 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.18.5 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUS Laptop X505ZA_X505ZA 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: X505ZA v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: X505ZA.311 date: 05/21/2019 
Battery:
  ID-1: BAT0 charge: 21.2 Wh condition: 28.4/42.1 Wh (68%) 
  volts: 11.5/11.5 model: ASUSTeK ASUS Battery type: Li-ion 
  serial: <filter> status: Discharging cycles: 438 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 11 (17) 
  stepping: N/A microcode: 8101007 L2 cache: 2048 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 31949 
  Speed: 1368 MHz min/max: 1600/2000 MHz boost: enabled Core speeds (MHz): 
  1: 1368 2: 1369 3: 1415 4: 1538 5: 1464 6: 1593 7: 1563 8: 1374 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, 
  STIBP: disabled, RSB filling 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile 
  Series] 
  vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 03:00.0 
  chip ID: 1002:15dd 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati 
  unloaded: modesetting alternate: fbdev,vesa compositor: kwin_x11 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RAVEN (DRM 3.37.0 5.7.0-3-MANJARO LLVM 10.0.0) 
  v: 4.6 Mesa 20.0.7 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus ID: 03:00.1 chip ID: 1002:15de 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 03:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.7.0-3-MANJARO 
Network:
  Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel 
  bus ID: 01:00.0 chip ID: 8086:24fd 
  IF: wlp1s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8168 v: 8.048.03-NAPI port: f000 
  bus ID: 02:00.0 chip ID: 10ec:8168 
  IF: enp2s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 44.41 GiB (4.8%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B 
  speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: 0001 
  scheme: GPT 
Partition:
  ID-1: / raw size: 100.75 GiB size: 98.67 GiB (97.93%) 
  used: 44.38 GiB (45.0%) fs: ext4 dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 52.9 C mobo: N/A gpu: amdgpu temp: 52 C 
  Fan Speeds (RPM): cpu: 3300 
Info:
  Processes: 262 Uptime: 4m Memory: 6.80 GiB used: 1.25 GiB (18.4%) 
  Init: systemd v: 245 Compilers: gcc: 10.1.0 Shell: bash v: 5.0.17 
  running in: konsole inxi: 3.0.37

Maybe you also have the video-modesetting and video-vesa installed?

From what i understand it should work fine as mentioned here

The other driver for AMD is AMDGPU-Pro, which is not recommended for the general user to use. You need a good reason to use it. You'll have to install it via AUR.

I thought AMDGPU-Pro contained a lot of proprietary content, making it nonfree and not open source.

1 Like

Yes, but as you pointed out is an AUR package and i was not into recommending them. :slight_smile:

Forum kindly sponsored by