Hello,
I’m very new to Manjaro and Linux in general, and i’ve been suffering from weird driver problems. All the drivers for the hardware seems to be installed, but the Nvidia x server settings interface seems to be quite different on my laptop. It looks like this: [given below or in next post]
I just want to set the Nvidia hybrid prime driver to automatically select the dedicated gpu to handle the monitor connections, just like the Nvidia control panel in windows.
I understand this question might be very open ended, but i feel lost. I hope you can help me out.
thank you.
Unfortunately, that is not as easy as on Windows, especially so because you have an amd+nvidia configuration. Most tools are made for intel+nvidia configuration. optimus-manager has experimental support for AMD GPUs, you might want to try that. Follow this guide, but ignore step one, and run pamac build optimus-manager-amd-git instead. After completing the necessary steps, try running optimus-manager --switch nvidia (say yes when prompted). And you should be able to use the outputs of the Nvidia GPU.
By AMD gpu’s you mean integrated graphics of the processor? Quite unfortunate that AMD drivers are not bothered about [I guess Ryzens have’nt got so popular yet] . I referred to your anwsers here but i wasn’t able to find any of the files mentioned in those links you had given. Also, the link (guide) you have mentioned here, does not work. Can you post it again.
mach thanks.
Did everything in the guide plus referred to an extra video for a more updated refrence, also commented out the DisplayCommand & DisplayStopCommand
And ran the service.
After roobting i got this as the output to systemctl status optimus-manger.service :
● optimus-manager.service - Optimus Manager Commands Daemon
Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-10-07 15:59:09 IST; 1min 17s ago
Process: 852 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_daemon_start (code=exited, status=0/SUCCESS)
Process: 907 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_xorg_start (code=exited, status=1/FAILURE)
Main PID: 998 (python3)
Tasks: 1 (limit: 8829)
Memory: 33.4M
CGroup: /system.slice/optimus-manager.service
└─998 /usr/bin/python3 -u -m optimus_manager.daemon
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[907]: text = _make_intel_device_section(config, bus_ids, xorg_ext>
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[907]: File "/usr/lib/python3.8/site-packages/optimus_manager/xorg.p>
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[907]: text += "\tBusID \"%s\"\n" % bus_ids["intel"]
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[907]: KeyError: 'intel'
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[907]: [414] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.co>
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[907]: [414] INFO: Writing state {'type': 'pre_xorg_start_failed', 'sw>
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[998]: [2] INFO: # Commands daemon
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[998]: [2] INFO: Opening UNIX socket
Oct 07 15:59:10 faiz-tufgamingfa506iifa506ii python3[998]: [2] INFO: Awaiting commands
Oct 07 15:59:09 faiz-tufgamingfa506iifa506ii systemd[1]: Started Optimus Manager Commands Daemon.
Plus after running optimus-manager --switch nvidia
ERROR: the latest GPU setup attempt failed at Xorg pre-start hook.
Log at /var/log/optimus-manager/switch/switch-20201007T155909.log
Cannot execute command because of previous errors.
Plus i did build the optimus-manager-amd-git repo from pamac GUI , Also i did install optimus-manager-qt from the AUR, Did that cause those problems?
Maybe, optimus-manager-qt does not support the AMD version, yet. Please remove it for the time being. Then open /etc/optimus-manager/optimus-manager.conf and set
Yeah I did uninstall optimus-manager-qt and reinstall the optimus-manager-amd-git package and did all the necessary configurations. But what i found out after successfully running the service is that there is no driver SEPARATELY installed for the nvidia card. That’s why its not able to separately funnel the frames from gpu. When i ran optimus-manager --switch nvidia
and checked if it had restarted the Xorg session with nvidia by entering glxinfo | grep -i vendor
I still found it to be running off of SGI .
So logically i went ahead and tried to install the driver separately for the discrete graphics gpu i.e. video-nvidia-45xx, [not the hybrid one doing PRIME offloading video-hybrid-amd-nvidia-45xx] , so that i can do the switching from optimus manager. Then i found out that it cannot be done, since it conflicts with the hybrid driver.
At this point it’s just been too much time wasted behind this, So i’m kinda giving up, until nvidia does something.
No. video-hybrid-amd-nvidia-45xx is what you want, not video-nvidia-450xx. Please run pacman -Qqs nvidia-450xx. Furthermore, what happens if you run optimus-manager --switch integrated?