Been using Linux arch - Manjaro for some time on a very old laptop (always rocking it!) and I got a new laptop a few years ago but always had it on windows (recently upgraded to w11) and got tired of its poor performance so I switched that laptop to Linux arch - Manjaro (Plasma), battery would last 1h:30m there… and around 5 hours here on arch haha (doing the same stuff)
The drivers were working as soon as I installed Manjaro and did the set-up but installed Steam and games were not running with the dedicated GC, I tried optimus manager but it didn’t seem to really work or let switch, I tried the optimus-manager-git too and that didn’t do the trick either.
Tried uninstalling all drivers from the dedicated card and running mhwd comms to auto install but now it won’t pick my 2nd monitor, tried to manually install the graphic driver from nvidia itself but I think I did this one wrong as I got stuck on some steps…
I’m kinda new with setting nvidia drivers like these ones here, read lots of posts but don’t see anyone having a so similar issue, loving the community so far thou.
(I have never done OC on this laptop)
not sure if more info is needed, would appreciate some help here, thank you guys, love
post output from: mhwd -l -li pacman -Qs 'optimus|prime' ls /etc/modprobe.d find /etc/X11/ -name "*.conf"
and did you actually installed the nvidia drivers from their website?
and use formatting for the outputs, click this icon in editor </> and copy the output there;
or use:
Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:2560) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-470xx-prime 2023.03.23 false PCI
video-nvidia 2023.03.23 false PCI
video-nvidia-470xx 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
> 0000:00:02.0 (0300:8086:9a68) Display controller Intel Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-hybrid-intel-nvidia-470xx-prime 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
This for pacman -Qs ‘optimus|prime’
local/nvidia-prime 1.0-4
NVIDIA Prime Render Offload configuration and utilities
local/optimus-manager 1.4+r12-2
Management utility to handle GPU switching for Optimus laptops
(Git version)
local/optimus-manager-plasma 1.6.9-2
A Qt interface for Optimus Manager that allows to configure and
switch GPUs on Optimus laptops using the tray menu
For ls /etc/modprobe.d
mhwd-gpu.conf
For find /etc/X11/ -name “*.conf”
zsh: command not found: mhwd-gpu.conf
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/10-optimus-manager.conf
/etc/X11/xorg.conf.d/30-touchpad.conf
/etc/X11/mhwd.d/nvidia.conf
And about the last question, no, I got stuck and couldn’t install the one from their website.
I did this… download the right driver… called ''NVIDIA-Linux-aarch64-525.116.03.run"
Then, ran this on terminal:
sudo pacman -Syu
ls
ls NVIDIA-Linux-aarch64-525.116.03.run
uname -r 5.4.116-1-MANJARO - > here is where I got stuck:( I think I did something wrong lol
Thank you!
I have installed optimus again and then added # before those lines (attached below) but I don’t see optimus displaying on the tray icon after rebooting, I click on it to ‘launch’ it and it won’t do anything either:(
there should be optimus tray icon, if you click on it, it gives you options to switch to nvidia/integrated/hybrid, select nvidia, there will be some popups, click ok, it will log you out, log in and you should be on nvidia …
yes, that’s very strange because it is not showing on the tray.
I rebooted again and clicked on optimus again (from Applications menu) and it now said this on the popup notification from the tray:
The specified icon 'cpu-symbolic' for the current GPU is invalid. The default icon will be used.
After that, it won’t appear on the tray nor would do anything if I click on it again to launch it from applications menu
using the command will restart the pc and get stuck on a black screen (restart again and it comes back as it was before), and yet the tray icon won’t show anything like before, if I right click on it it will show just ‘properties’… nothing else
On the terminal (when I used the cmmand) it said no power management option is enabled but I idk if this is related, i’m very sorry for the hassle, and thank you so much for your help again!
no power management option is currently enabled (this is the default since v1.2). Switching between GPUs will work but you will likely experience poor battery life.
Follow instructions at https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options to enable power management.
You are about to switch GPUs. This will forcibly close all graphical sessions and all your applications WILL CLOSE.
(you can pass the --no-confirm option to disable this warning)
Continue ? (y/N)
do you think i should set that power management thing?
no theres something wrong, either with nvidia or optimus…
try running some program with prime run, for example: prime-run firefox
and post output from: nvidia-smi
to see if firefox is running on nvidia…
it is not running, so theres something with nvidia? or something got messed up when you were trying to install the drivers from the nvidia site… lets reinstall the drivers: sudo mhwd -r pci video-hybrid-intel-nvidia-prime
install them again: sudo mhwd -i pci video-hybrid-intel-nvidia-prime
if no errors, reboot and test again with prime run