I don't know how prime-select
works. At all. No idea. You added that on yourself :)
optimus-manager --print-mode
is more reliable for cases when optimus-manager
is used. In other cases lsmod
might be more universal, but I can't say for sure.
Again, optimus-manager
is only used on Arch-like systems. Ubuntu has it's own implementation, but it's different (and I have no idea on how it works, I only run Arch)
Judging from what you've said so far, if prime-select
returns a GPU that will be used on next boot - I guess you should remove it then. I have no idea on how it works really.
actually i just realized that there is an option to use this (similar to prime-select query
)
✗ optimus-manager --print-mode
Current GPU mode : nvidia
but that will only work on arch, because ubuntu has it's own different implementation
working as intended
working as intended
Can confirm that !185 (closed) is working now
Tested it and can confirm that both the flag and an env variable are working as intended
i can't and wont test !186 (merged). because i don't use prime myself. i can test the lsmod part once you make it though
@jonnius prime-select
won't work if you use optimus-manager
. There is no good way of checking that, hence I suggested to make an option. I actually think that a combination of prime-select AND checking for nvidia module loaded (lsmod) is a good idea. If prime-select is not found and nvidia module is not loaded - then use intel, otherwise nvidia
the CLICKABLE_NO_NVIDIA
env var is also not making any difference
running clickable desktop --no-nvidia
and still getting the You are running clickable in nvidia mode. Please install nvidia-container-toolkit.
error
Doesn't appear to be working
Could you please add a no-nvidia
option? Still even if a driver is in use, a person might want to run it on a different gpu (hybrid laptops)
sudo mv /usr/bin/nvidia-smi /usr/bin/nvidia-smi.old
works as a terrible hack for now, but this really needs to be addressed
(or better hack: sudoedit /usr/lib/python3.8/site-packages/clickable/system/access.py
and patching the function to return False
)
On hybrid laptops there are nvidia drivers installed, but the GPU is disabled (the intel one is in use). Allow for an option --no-nvidia to enforce the usage of a different GPU
Fixes #364
Requires chromium-widevine DRM on GNU/Linux when logged in (thus no appimage support)
All features except for add to favorites are implemented. Tested both logged in and preview modes.
Ivan Semkin (b9ac1cc4) at 19 Nov 22:10
Add Apple Music