Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] #174

Open
Xdavius opened this issue Jul 11, 2024 · 3 comments
Open

[QUESTION] #174

Xdavius opened this issue Jul 11, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Xdavius
Copy link

Xdavius commented Jul 11, 2024

Hi,

Now that 555 drivers are released and Wayland is working, is there a possibility to use envycontrol with Wayland ? (Is it works on Wayland as it works on X11)

Thanks for spending time to answer.

Regards.

@Xdavius Xdavius added the question Further information is requested label Jul 11, 2024
@bayasdev
Copy link
Owner

@Xdavius I've been out of the loop but AFAIK the primary GPU selection on Wayland is DE/WM specific

@klmcwhirter
Copy link
Contributor

My experience has been, as @Xdavius mentioned that at least with Fedora Workstation up to 39, because Wayland is implemented via the Xwayland adapter - envycontrol seems to work fine.

Note my testing has not been extensive - I am not a gamer and do not use an external monitor, for example.

But I did do a project using Pytorch that needs CUDA support and also was using integrated mode primarily for quite a while to try to stretch battery life.

Once X11 is completely dropped in version 41 I believe things will change. Even getting the nvidia driver installed in version 40 has been dicey for me. So the situation will need to be monitored closely once version 41 is released.

But realistically, I have stopped using envycontrol at this point in favor of the stock, out-of-the-box hybrid mode which works fine for me. I just gave up on the battery life pursuit. I simply just expect to keep my laptop plugged into power except for brief excursions unplugged - less than 2 hours.

@Xdavius
Copy link
Author

Xdavius commented Jul 17, 2024

@Xdavius I've been out of the loop but AFAIK the primary GPU selection on Wayland is DE/WM specific

I have found something but I don't know if it can be useful for envycontrol.

You can add theses lines to /etc/environment to force the use of the Nvidia GPU by default

DRI_PRIME=pci-0000_01_00_0
VK_LAYER_NV_optimus=NVIDIA_only
GLX_VENDOR_LIBRARY_NAME=nvidia

Maybe it needs more investigations to have the switch option on your app.

Maybe it's not useful for you but, I share the info in case :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants