You are not logged in.

#1 2022-08-26 07:39:41

an4rki_
Member
Registered: 2022-08-16
Posts: 50

[SOLVED] Optimus-manager Is Not Able To Switch GPUs

[an4rki@scar ~]$ optimus-manager --status
A GPU switch from integrated to nvidia is pending.
Log out and log back in to apply.
Optimus Manager (Client) version 1.4

Current GPU mode : integrated
GPU mode requested for next login : nvidia
GPU at startup : integrated
Temporary config path: no

It remains in iGPU mode even after I log back in. What am I doing wrong here?

xinitrc

# NVIDIA optimus-manager
/usr/bin/prime-offload

# Other
slstatus &
exec dwm

xserverrc

#!/bin/sh
/usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
sudo /usr/bin/prime-offload

Last edited by an4rki_ (2022-08-26 12:26:41)


"A computer is like air conditioning - it becomes useless when you open Windows." - Linus Torvalds
Arch + DWM

Offline

#2 2022-08-26 12:11:46

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Optimus-manager Is Not Able To Switch GPUs

Please do not mark a thread [closed] -- that is used by staff when a thread is not open for further replies. If you would like a thread closed or deleted, please use the Report link.

Offline

#3 2022-08-26 12:26:19

an4rki_
Member
Registered: 2022-08-16
Posts: 50

Re: [SOLVED] Optimus-manager Is Not Able To Switch GPUs

2ManyDogs wrote:

Please do not mark a thread [closed] -- that is used by staff when a thread is not open for further replies. If you would like a thread closed or deleted, please use the Report link.

I am extremely sorry about that, I was unaware about this, I'll mark it as SOLVED right now.


"A computer is like air conditioning - it becomes useless when you open Windows." - Linus Torvalds
Arch + DWM

Offline

#4 2022-08-26 13:00:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,491

Re: [SOLVED] Optimus-manager Is Not Able To Switch GPUs

Also
1. how is this solved, what was the issue (the command in the xserverrc should be prime-switch, not prime-offload)
2. your xinitrc is still broken.

Offline

#5 2022-08-26 13:08:47

an4rki_
Member
Registered: 2022-08-16
Posts: 50

Re: [SOLVED] Optimus-manager Is Not Able To Switch GPUs

seth wrote:

Also
1. how is this solved, what was the issue (the command in the xserverrc should be prime-switch, not prime-offload)
2. your xinitrc is still broken.

I changed that to prime-switch, but now I am facing quite different issue, I am getting a black screen after boot. I should have posted it here in the thread, again, sorry about that I am still new. I am thinking about using PRIME instead of optimus-manager.

What is wrong with my xinitrc? I'll check what is going wrong over there.


"A computer is like air conditioning - it becomes useless when you open Windows." - Linus Torvalds
Arch + DWM

Offline

Board footer

Powered by FluxBB