Hi, running glxinfo with the latest version (2.1.2), it turns out that glx is at version 1.2, that GLX_ARB_multisample is available on the both of the server and the client side but that multi-sampling is actuall off: Visual ID: 27 depth=24 class=TrueColor bufferSize=32 level=0 renderType=rgba doubleBuffer=0 stereo=0 rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=8 auxBuffers=0 depthSize=16 stencilSize=8 accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16 multiSample=0 multiSampleBuffers=0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ visualCaveat=None I've got a Mac Pro with a GeForce 7300 GT and multisampling is available if I program with the native Apple API's. Thanks for any information, Luc Bourhis
I ran into the same problem with the fbconfig extension. The problem is that it is probably not supported for direct rendering, only for indirect. In glxinfo, check out the section called "GLX extensions", those are the ones active for the current connection. By default there's no multisampling in OS X. Then set the env var LIBGL_ALWAYS_INDIRECT=1, and try again, multisampling is supported (but indirect connection is of course much slower). The solution is to get a newer mesa library, with better support. I made some work on a recent mesa, but it's not complete yet, and a better solution would be to implement the XF86Dri extension instead of Apple-DRI. Check out the thread "apple-dri for TOT mesa". -- Pelle Johansson 6 feb 2008 kl. 01.12 skrev Luc Bourhis:
Hi,
running glxinfo with the latest version (2.1.2), it turns out that glx is at version 1.2, that GLX_ARB_multisample is available on the both of the server and the client side but that multi-sampling is actuall off:
Visual ID: 27 depth=24 class=TrueColor bufferSize=32 level=0 renderType=rgba doubleBuffer=0 stereo=0 rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=8 auxBuffers=0 depthSize=16 stencilSize=8 accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16 multiSample=0 multiSampleBuffers=0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
visualCaveat=None
I've got a Mac Pro with a GeForce 7300 GT and multisampling is available if I program with the native Apple API's.
Thanks for any information,
Luc Bourhis_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/xquartz-dev
On Feb 5, 2008, at 4:12 PM, Luc Bourhis wrote:
Hi,
running glxinfo with the latest version (2.1.2), it turns out that glx is at version 1.2, that GLX_ARB_multisample is available on the both of the server and the client side but that multi-sampling is actuall off:
Visual ID: 27 depth=24 class=TrueColor bufferSize=32 level=0 renderType=rgba doubleBuffer=0 stereo=0 rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=8 auxBuffers=0 depthSize=16 stencilSize=8 accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16 multiSample=0 multiSampleBuffers=0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
visualCaveat=None
FWIW, there is a known "issue" with the visuals, in that the list is incomplete. Specifically, consider the following code: http://cgit.freedesktop.org/xorg/xserver/tree/GL/apple/indirect.c#n929 /* count num configs: 941 2 stereo (on, off) (optional) 942 2 Z buffer (0, 24 bit) 943 2 AUX buffer (0, 2) 944 2 buffers (single, double) 945 2 stencil (0, 8 bit) 946 2 accum (0, 64 bit) 947 = 64 configs with stereo, or 32 without */ This code is trying to create a list of all of the possible visuals by permuting all of the different possible features. Not only does this not take into account what features are actually available to Quartz on the hardware, it also doesn't cover all features (like multisampling). This covers the indirect case, but I believe the code in the direct case is similar. What's needed is code that can correctly query the hardware to determine its capabilities, and then (intelligently? correctly?) generate a list of visuals. Just thought I'd throw that out there. :) -b
participants (3)
-
Ben Byer
-
Luc Bourhis
-
Pelle Johansson