As a new forum user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit:
You mean the video-hybrid-amd-nvidia-primeMHWD profile? That should have already been automatically installed if you chose proprietary drivers during your initial install. See Configure Graphics Cards - Manjaro
First of all, yes I did chose proprietary drivers during initial install, but for some reason it chose open-source nvidia drivers instead of proprietary ones. So I guess it’s currently using AMD GPU instead right now.
sudo mhwd -a pci nonfree 0300
[sudo] password for lolscope:
> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:01:00.0 (0300:10de:1c91) Display controller nVidia Corporation GP107M [GeForce GTX 1050 3 GB Max-Q]
> Using config 'video-hybrid-amd-nvidia-prime' for device: 0000:05:00.0 (0300:1002:15d8) Display controller ATI Technologies Inc Picasso
> Dependencies to install: video-linux
> Installing dependency video-linux...
Sourcing /etc/mhwd-x86_64.conf
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...
core downloading...
extra downloading...
multilib downloading...
warning: xf86-video-ati-1:22.0.0-2 is up to date -- skipping
warning: xf86-video-amdgpu-23.0.0-2 is up to date -- skipping
warning: xf86-video-intel-1:2.99.917+923+gb74b67f0-2 is up to date -- skipping
warning: xf86-video-nouveau-1.0.18-1 is up to date -- skipping
warning: vulkan-intel-1:24.2.8-1 is up to date -- skipping
warning: vulkan-nouveau-1:24.2.8-1 is up to date -- skipping
warning: vulkan-radeon-1:24.2.8-1 is up to date -- skipping
warning: mesa-1:24.2.8-1 is up to date -- skipping
warning: lib32-vulkan-intel-1:24.2.8-1 is up to date -- skipping
warning: lib32-vulkan-nouveau-1:24.2.8-1 is up to date -- skipping
warning: lib32-vulkan-radeon-1:24.2.8-1 is up to date -- skipping
there is nothing to do
error: could not set install reason for package libva-mesa-driver (could not find or read package)
xf86-video-ati: install reason has been set to 'explicitly installed'
xf86-video-amdgpu: install reason has been set to 'explicitly installed'
xf86-video-intel: install reason has been set to 'explicitly installed'
xf86-video-nouveau: install reason has been set to 'explicitly installed'
vulkan-intel: install reason has been set to 'explicitly installed'
vulkan-nouveau: install reason has been set to 'explicitly installed'
vulkan-radeon: install reason has been set to 'explicitly installed'
lib32-vulkan-intel: install reason has been set to 'explicitly installed'
lib32-vulkan-nouveau: install reason has been set to 'explicitly installed'
lib32-vulkan-radeon: install reason has been set to 'explicitly installed'
Error: pacman failed!
Error: script failed!
Edit 1: hold on, I just had to update my OS. Currently trying again
Edit 2: Successfully installed video-hybrid-amd-nvidia-prime. Now what?
Update: it’s… Still using AMD card? Because it has 10-20 fps as in my previous test before installing drivers. Maybe I should write a command to switch the gpu?
Edit: Yeah, it still uses AMD GPU
Oh, thanks for command!
And besides, my minecraft launcher just happened to have a specific option to use Nvidia GPU on linux with hybrid drivers, which is exactly what I want!
Thank you very much again.