Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-13 Thread Kyle Brenneman
On 2/13/19 2:32 PM, Andy Ritger wrote: On Wed, Feb 13, 2019 at 12:15:02PM -0700, Kyle Brenneman wrote: On 02/12/2019 01:58 AM, Michel Dänzer wrote: On 2019-02-11 5:18 p.m., Andy Ritger wrote: On Mon, Feb 11, 2019 at 12:09:26PM +0100, Michel Dänzer wrote: On 2019-02-08 11:43 p.m., Kyle

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-13 Thread Andy Ritger
On Wed, Feb 13, 2019 at 12:15:02PM -0700, Kyle Brenneman wrote: > On 02/12/2019 01:58 AM, Michel Dänzer wrote: > > On 2019-02-11 5:18 p.m., Andy Ritger wrote: > > > On Mon, Feb 11, 2019 at 12:09:26PM +0100, Michel Dänzer wrote: > > > > On 2019-02-08 11:43 p.m., Kyle Brenneman wrote: > > > > >

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-13 Thread Kyle Brenneman
On 02/12/2019 01:58 AM, Michel Dänzer wrote: On 2019-02-11 5:18 p.m., Andy Ritger wrote: On Mon, Feb 11, 2019 at 12:09:26PM +0100, Michel Dänzer wrote: On 2019-02-08 11:43 p.m., Kyle Brenneman wrote: Also, is Mesa the only client-side vendor library that works with the Xorg GLX module? I

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-13 Thread Kyle Brenneman
On 02/11/2019 02:51 PM, Andy Ritger wrote: On Fri, Feb 08, 2019 at 03:43:25PM -0700, Kyle Brenneman wrote: On 2/8/19 2:33 PM, Andy Ritger wrote: On Fri, Feb 08, 2019 at 03:01:33PM -0500, Adam Jackson wrote: On Fri, 2019-02-08 at 10:19 -0800, Andy Ritger wrote: (1) If configured for PRIME

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-13 Thread Kyle Brenneman
On 02/08/2019 11:19 AM, Andy Ritger wrote: (I'll omit EGL and Vulkan for the moment, for the sake of focus, and those APIs have programmatic ways to enumerate and select GPUs. Though, some of what we decide here for GLX we may want to leverage for other APIs.) Today, GLX implementations

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-12 Thread Michel Dänzer
On 2019-02-11 5:18 p.m., Andy Ritger wrote: > On Mon, Feb 11, 2019 at 12:09:26PM +0100, Michel Dänzer wrote: >> On 2019-02-08 11:43 p.m., Kyle Brenneman wrote: >>> >>> Also, is Mesa the only client-side vendor library that works with the >>> Xorg GLX module? I vaguely remember that there was at

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-11 Thread Andy Ritger
On Fri, Feb 08, 2019 at 03:43:25PM -0700, Kyle Brenneman wrote: > On 2/8/19 2:33 PM, Andy Ritger wrote: > > On Fri, Feb 08, 2019 at 03:01:33PM -0500, Adam Jackson wrote: > > > On Fri, 2019-02-08 at 10:19 -0800, Andy Ritger wrote: > > > > > > > (1) If configured for PRIME GPU offloading

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-11 Thread Andy Ritger
On Mon, Feb 11, 2019 at 12:09:26PM +0100, Michel Dänzer wrote: > On 2019-02-08 11:43 p.m., Kyle Brenneman wrote: > > > > Also, is Mesa the only client-side vendor library that works with the > > Xorg GLX module? I vaguely remember that there was at least one other > > driver that did, but I don't

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-11 Thread Michel Dänzer
On 2019-02-08 11:43 p.m., Kyle Brenneman wrote: > > Also, is Mesa the only client-side vendor library that works with the > Xorg GLX module? I vaguely remember that there was at least one other > driver that did, but I don't remember the details anymore. AFAIK, the amdgpu-pro OpenGL driver can

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-08 Thread Kyle Brenneman
On 2/8/19 2:33 PM, Andy Ritger wrote: On Fri, Feb 08, 2019 at 03:01:33PM -0500, Adam Jackson wrote: On Fri, 2019-02-08 at 10:19 -0800, Andy Ritger wrote: (1) If configured for PRIME GPU offloading (environment variable or application profile), client-side libglvnd could load the possible

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-08 Thread Andy Ritger
On Fri, Feb 08, 2019 at 03:01:33PM -0500, Adam Jackson wrote: > On Fri, 2019-02-08 at 10:19 -0800, Andy Ritger wrote: > > > (1) If configured for PRIME GPU offloading (environment variable or > > application profile), client-side libglvnd could load the possible > > libGLX_${vendor}.so

Re: [Mesa-dev] RFC - libglvnd and GLXVND vendor enumeration to facilitate GLX multi-vendor PRIME GPU offload

2019-02-08 Thread Adam Jackson
On Fri, 2019-02-08 at 10:19 -0800, Andy Ritger wrote: > (1) If configured for PRIME GPU offloading (environment variable or > application profile), client-side libglvnd could load the possible > libGLX_${vendor}.so libraries it finds, and call into each to > find which vendor (and