[Question] PRIME on Wayland
Hello guys. I have a laptop with hybrid graphics (amd + NVIDIA) with ArchLinux and GNOME as DE.
I'm using Wayland session. I was unable to properly setup hybrid graphics for Wayland, so I permanently turned off my discrette GPU to avoid battery drain.
As far as I know, right now PRIME is working by running a separate headless X-org session for discrette GPU. That means that PRIME and hubrid graphics at all don't work on Wayland at the moment.
Can you tell me please if I'm wrong and if somebody managed to setup hybrid graphics under Wayland?
P.S - I don't want to restart session to switch GPU, I would like to know if there is smth like `prime-run` but with Wayland support.
Thank you
About this post
- Posted
- Archived
- Score
- 11 · 100% up
- Kind
- Text
- ID
- 115mvik
6 comments
prime-run works on Wayland.
Indeed, my Intel / Nvidia Optimus laptop, which I spent some time to make work properly on Xorg, worked perfectly out of the box on Hyprland. I tested games too, and they had exactly the same performance as on Xorg. External monitors also worked better than on Xorg.
So, please give some more detail. What exactly have you installed and done in your system in terms of graphics?
So, at the moment I removed Nvidia driver and disabled the card via ACPI because the card still drains the battery even without driver or headless Xorg session.
Can you tell me please what I should do to make it work in Wayland? Is installing the Nvidia driver and using `prime-run` will be enough?
Yeah, just add it to the script you use to start your session, then you can start it through your login manager.