Well, very similar to playonlinux, but better. Actively developed, support a shit ton of games and stores, and so on. Have a look at it, it is surely more updated than playonlinux https://github.com/lutris/lutris
I've got the same laptop (almost the same, ASUS K551L). I don't use optimus-manager, but nvidia-xrun with bbswitch... maybe you could give it a try, but previously you have to delete all the configuration files optimus-manager did set up.
If you need help with setting that up, I can post here my nvidia-xrun related configs, but if I remember correctly I didn't do much, just installed nvidia-xrun from AUR
Assuming this is an Optimus laptop, so with a dedicated GPU and an integrated one, I guess you're running on the dedicated GPU all the time, even if it's not needed.
If it is like I said, look into prime offloading on the wiki, so that you run everything on the integrated card and use the nvidia one only when needed.
Depending on what do you need to do with the dGpu, bumblebee should be avoided at all costs (it doesn't support Vulkan, so, basically, useless for gaming).
Personally I use nvidia-xrun, at the cost of switching tty when I want to use the nVidia card.
I've heard good things about optimus-manager, it's just that I'm used to nvidia-xrun.
I always go with this awk '{print $1*10^-6 " W"}' /sys/class/power_supply/BAT0/power_now when I want to check power usage, and when I want to check if nvidia card is really disabled by bbswitch
Don't know about miniconda, I use pyenv to handle multiple python versions on my system, but always in specific virtualenvs. I keep the system python as it is, and install whichever version I need to support with pyenv.
Also, never installed any python package from AUR: if I need something for some project, ther's always the project virtualenv where I install with pip
You're right, I'm on Arch since like 6 months. Thanks for the wiki page: at work we use Ubuntu so I've never had any problem, since we install everything in every project virtualenv. Don't really know why one should do differently: it's not like you'll use the same version of a python/node package for EVERY project you have.
Can't speak for npm, but working with python packages, I always use a virtualenv for that, and install packages with pip inside the virtualenv. This way I can have several different packages versions if needed for different projects. Didn't even know that you can find python or npm packages on the AUR.
Follow the wiki, really, it may looks complicated but it really isn't. You'll have to partition your drive before installing anything on it, and here https://wiki.archlinux.org/index.php/Wireless_network_configuration you'll find everything needed about wifi connection.
I don't know if it could help, but I think the problem here is that you need to plug screens to your nvidia card: since driver 435.something you could set up things like this https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html , it could work because the nvidia gpu would not be totally powered off. You'll probably lose some battery saving, but it's something you should try
Archwiki is definitely one of the best thing of Arch, I agree. I moved from Debian Sid to Arch, because I wasn't able to make nvidia-xrun work, and I wanted to try something else (using Kubuntu at work, I wanted to move from debian based distros to something different)
Don't know if it could be useful, but have a look at this https://wiki.archlinux.org/index.php/Bumblebee#Power_management , the section about the load_state and unload_state . It could be that your laptop needs the nvidia card to be powered on on startup, or something like that
Don't know if I can help, but I have a laptop with optimus too (Nvidia 840M). I've ditched bumblebee totally and use nvidia-xrun now.
This is what I've done:
installed nvidia driver (latest is like 435.something)
installed bbswitch (which blacklist the nvidia driver)
installed nvidia-xrun from aur
As of now, the laptop starts with the intel gpu on and nvidia gpu off, if I want to play something I switch tty and fire nvidia-xrun openbox (running KDE normally, openbox just for nvidia-xrun), load steam, and play.
I guess that with bumblebee you can't run properly vulkan games, so you can't really take advantage of proton and dxvk
Don't really know anything about
primus_vk, but I'm sure that Bumblebee won't work at all with Vulkan.Anyway, I've got a 840M and it's capable of running games, not latest games and not really demanding games, lowering the settings A LOT :)
Sadly Bumblebee is not working with Vulkan at all, so if you're switching to play games, for instance, you'll have a really bad time.
Well, very similar to playonlinux, but better. Actively developed, support a shit ton of games and stores, and so on. Have a look at it, it is surely more updated than playonlinux https://github.com/lutris/lutris
If I may ask, why playonlinux and not lutris?
Ditch
bumblebeecompletely, it doesn't support Vulkan.Anyway:
/etc/X11/nvidia-xorg.conf/usr/lib/modprobe.d/nvidia-xrun.confThere shouldn't be other config files.
I've got the same laptop (almost the same, ASUS K551L). I don't use
optimus-manager, butnvidia-xrunwithbbswitch... maybe you could give it a try, but previously you have to delete all the configuration files optimus-manager did set up.If you need help with setting that up, I can post here my
nvidia-xrunrelated configs, but if I remember correctly I didn't do much, just installednvidia-xrunfrom AURAssuming this is an Optimus laptop, so with a dedicated GPU and an integrated one, I guess you're running on the dedicated GPU all the time, even if it's not needed.
If it is like I said, look into prime offloading on the wiki, so that you run everything on the integrated card and use the nvidia one only when needed.
Depending on what do you need to do with the dGpu,
bumblebeeshould be avoided at all costs (it doesn't support Vulkan, so, basically, useless for gaming).Personally I use
nvidia-xrun, at the cost of switching tty when I want to use the nVidia card.I've heard good things about
optimus-manager, it's just that I'm used tonvidia-xrun.Since nVidia driver 435.17 PRIME render offload should be supported too (see https://wiki.archlinux.org/index.php/PRIME#PRIME_render_offload)
I've got an optimus laptop myself, and I've installed
nvidia-xrun(package should be in AUR). Relevant wiki section: https://wiki.archlinux.org/index.php/Nvidia-xrun .Basically, my nvidia card is always off, and when I want to game, I fire
nvidia-xrun openboxin another tty and I'm good to go.I always go with this
awk '{print $1*10^-6 " W"}' /sys/class/power_supply/BAT0/power_nowwhen I want to check power usage, and when I want to check if nvidia card is really disabled by bbswitchDirectly from the Archwiki:
To start Plasma with
xinit/startx, appendexec startplasma-x11to your.xinitrcfile.Don't know about miniconda, I use
pyenvto handle multiple python versions on my system, but always in specific virtualenvs. I keep the system python as it is, and install whichever version I need to support with pyenv.Also, never installed any python package from AUR: if I need something for some project, ther's always the project virtualenv where I install with
pipRead here the usage part: https://pypi.org/project/gallery_get/
Basically,
pipis a python package manager, runningpip imgur-downloaderwon't do anything becauseimgur-downloaderis not pip command.I think it depends on what programming language you're using for developing... I mean, for python there are virtual enviroments, and so on.
Very very true :)
You're right, I'm on Arch since like 6 months. Thanks for the wiki page: at work we use Ubuntu so I've never had any problem, since we install everything in every project virtualenv. Don't really know why one should do differently: it's not like you'll use the same version of a python/node package for EVERY project you have.
Can't speak for
npm, but working with python packages, I always use a virtualenv for that, and install packages with pip inside the virtualenv. This way I can have several different packages versions if needed for different projects. Didn't even know that you can find python or npm packages on the AUR.Follow the wiki, really, it may looks complicated but it really isn't. You'll have to partition your drive before installing anything on it, and here https://wiki.archlinux.org/index.php/Wireless_network_configuration you'll find everything needed about wifi connection.
On my laptop, with Nvidia disabled via bbswitch, the HDMI is working, but I guess it depends on the laptop model.
I don't know if it could help, but I think the problem here is that you need to plug screens to your nvidia card: since driver 435.something you could set up things like this https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html , it could work because the nvidia gpu would not be totally powered off. You'll probably lose some battery saving, but it's something you should try
Archwiki is definitely one of the best thing of Arch, I agree. I moved from Debian Sid to Arch, because I wasn't able to make
nvidia-xrunwork, and I wanted to try something else (using Kubuntu at work, I wanted to move from debian based distros to something different)Welcome!
Did you mount an efi partition?
Sorry, but I'm no expert at all: maybe you can try some of that kernel parameters they talk about.
Don't know if it could be useful, but have a look at this https://wiki.archlinux.org/index.php/Bumblebee#Power_management , the section about the
load_stateandunload_state. It could be that your laptop needs the nvidia card to be powered on on startup, or something like thatDon't know if I can help, but I have a laptop with optimus too (Nvidia 840M). I've ditched
bumblebeetotally and usenvidia-xrunnow. This is what I've done:installed
nvidiadriver (latest is like 435.something)installed
bbswitch(which blacklist the nvidia driver)installed
nvidia-xrunfrom aurAs of now, the laptop starts with the intel gpu on and nvidia gpu off, if I want to play something I switch tty and fire
nvidia-xrun openbox(running KDE normally, openbox just for nvidia-xrun), load steam, and play. I guess that with bumblebee you can't run properly vulkan games, so you can't really take advantage of proton and dxvk