You are not logged in.

#1 2025-01-21 19:26:39

TomKo
Member
Registered: 2025-01-02
Posts: 17

Reverse Prime on Wayland (Hyprland)

Hey there guys!

I'm rocking NVidia GT 1030 (primary) with AMD RX 470 Nitro+ (has only one port, unusable for me).
I would love to offload from the GT to RX, whilst using GT for video output into monitors.

While I was still on X11 I've ran

xrandr --listproviders

and I remember it saying the capabilities of my GPUs. Not sure whether they were capable of [bold]reverse[/bold] offloading  tho. I'm certain the GT was not capable of being the source of offload.

Any ideas on how to find this relevant information and how to make this dream work?

Rocking Arch - kernel 6.12.9-arch1-1.
nvidia-dkms 565.77-3
mesa 1:24.3.3-2
xf86-video-amdgpu 23.0.0-2

Much appreciate any interaction you take with this post!
Take care!

Offline

#2 2025-01-21 19:33:02

mackin_cheese
Member
Registered: 2025-01-07
Posts: 156

Re: Reverse Prime on Wayland (Hyprland)

what research have you done so far regarding this issue?

Online

#3 2025-01-21 19:37:03

TomKo
Member
Registered: 2025-01-02
Posts: 17

Re: Reverse Prime on Wayland (Hyprland)

've read this wiki post https://wiki.archlinux.org/title/PRIME#Reverse_PRIME

Then focused on finding the GPU capabilities on wayland but to no success. And as I've seen from the wiki - PRIME uses Xorg to setup the offload -> not sure if it would be possible on wayland.

I've also asked on IRC but to no success and retrieved here.
And further research was done beforehand on X11 as already mentioned in previous post - to no success tho.

Offline

#4 2025-01-22 13:01:16

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,245

Re: Reverse Prime on Wayland (Hyprland)

There's no standard protocol for reverse prime in wayland. Some wayland compositors may support this with their own tooling .

Which wayland compositors / DE have you tried ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2025-01-22 14:41:12

TomKo
Member
Registered: 2025-01-02
Posts: 17

Re: Reverse Prime on Wayland (Hyprland)

I'm using Hyprland.
Did not try any other DE on Wayland yet.

Offline

#6 2025-01-22 15:44:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,245

Re: Reverse Prime on Wayland (Hyprland)

Looking closer at what you described you may not need reverse prime, but regular prime.

Please post the outputs of

$ eglinfo -B
$ DRI_PRIME=1 eglinfo -B

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2025-01-23 15:26:20

TomKo
Member
Registered: 2025-01-02
Posts: 17

Re: Reverse Prime on Wayland (Hyprland)

Lone_Wolf wrote:
$ eglinfo -B

https://0x0.st/8XPq.txt


Lone_Wolf wrote:
$ DRI_PRIME=1 eglinfo -B

https://0x0.st/8XPX.txt

Offline

#8 2025-01-24 09:59:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,245

Re: Reverse Prime on Wayland (Hyprland)

That's not what I hoped for, as dri_prime=1 doesn't come from the amd card but from the nvidia card.

For all prime uses the capabilities of the primary card matter, and your NVidia GT 1030 may not have what is needed .

Try to get reverse prime working on X to verify if the hardware is capable of what you want.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB