Library and interfaces for GPU offloading

2024-03-25 Thread Werner Sembach

Hello everyone,

currently GPU offloading on Linux is handled via environment variables. Which is 
a subpar experience for desktop files and might not be possible when using 
launchers (i.e. Steam, Lutris, Heroic, etc.) that have no explicit support for 
it without running the whole launcher permanently on the dGPU.


A proof of concept for a better solution is posted here: 
https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/224 + 
https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/228 , but it's 
stale since 3 years so I wanted to make a push for it.


Is there currently active work on this?

What is Mesas take on on the PoCs? 
https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/228#note_1364162


Best regards,

Werner Sembach



Re: Library and interfaces for GPU offloading

2024-03-26 Thread Werner Sembach

Am 25.03.24 um 11:41 schrieb Werner Sembach:

Hello everyone,

currently GPU offloading on Linux is handled via environment variables. Which 
is a subpar experience for desktop files and might not be possible when using 
launchers (i.e. Steam, Lutris, Heroic, etc.) that have no explicit support for 
it without running the whole launcher permanently on the dGPU.


A proof of concept for a better solution is posted here: 
https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/224 + 
https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/228 , but it's 
stale since 3 years so I wanted to make a push for it.


Is there currently active work on this?

What is Mesas take on on the PoCs? 
https://gitlab.freedesktop.org/glvnd/libglvnd/-/merge_requests/228#note_1364162


Best regards,

Werner Sembach


I was pointed to dri-devel with this to find the correct people.

Best Regards,

Werner Sembach