[Mesa-dev] glxinfo and indirect contexts on nvidia driver

James Jones jajones at nvidia.com
Tue Feb 11 21:16:08 PST 2014


Hi Dave,

Adding { GLX_DRAWABLEL_TYPE, GLX_WINDOW_BIT } to the attrib list should 
work, and would technically be more correct since glxinfo is creating a 
window drawable.  32-bit float FBConfigs won't be able to render to X 
drawables (at least on our driver), so they don't have associated visuals.

Thanks,
-James

On 02/11/2014 07:16 PM, Dave Airlie wrote:
> Hey,
>
> so currently glxinfo with our libGL vs indirect nvidia GL fails to work,
>
> The main reason is we get fbconfigs, our libGL picks the best fbconfig
> as a 32-bit per channel RGBA, but then glXGetVisualFromFBConfig fails
> on that since I assume it wants 8-bit per channel ones.
>
> Now I can fix this to fallback to the old school, choose_xvisinfo and
> glXCreateContext paths and I then at least get the extension info etc
> printed, though I'm wondering if there is something else we should be
> doing in the glxinfo fbconfig picking code?
>
> Any ideas?
>
> Dave.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list