Skip to content

[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

11 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
11 · 100% up
Kind
Text
ID
115mvik

Author

11
posts
69
comments
5
media
View profile

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?

12 points

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?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.