archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.05k stars 104 forks source link

Optimus manager is not working #303

Closed sid314 closed 1 year ago

sid314 commented 2 years ago

Prerequisites

Detailed Description

running optimus-manager gives following errors

ERROR: a GPU setup was initiated but Xorg post-start hook did not run. Log at /var/log/optimus-manager/switch/switch-20220821T191501.log If your login manager is GDM, make sure to follow those instructions: https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki: https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting Cannot execute command because of previous errors.

Expected Behaviour

It should run

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. run optimus-manager
sid314 commented 2 years ago

It should run /usr/bin/prime-offload just after starting its display server for the login screen and /usr/bin/prime-switch as root after the current user has logged out.

sid314 commented 2 years ago

I also insatalled bbswitch and acpi_call packages which removed some of the errors in the logs

adi1090x commented 1 year ago

Have you tried this: https://wiki.archlinux.org/title/NVIDIA_Optimus

sid314 commented 1 year ago

it may work sorry i no longer use archcraft