The current base GLX requirement for wined3d seems to be v1.3. It won't compile otherwise... I wrote a patch for pbuffers, which adds proper extension support for SGIX_PBUFFER and SGIX_FBCONFIG, but:
- even with the patch there's additional offenders in directx.c that prevent a compile with glx < 1.3 [ more FBCONFIG dependencies ] - there's comments in the source saying ATI supports pbuffers, but only advertises GLX_VERSION_1_3, without the appropriate extensions.
So - should GLX 1.3 be considered a base requirement for wined3d, or should I send patches to clean up pbuffer dependencies?
On 9/27/06, Ivan Gyurdiev ivg231@gmail.com wrote:
The current base GLX requirement for wined3d seems to be v1.3. It won't compile otherwise... I wrote a patch for pbuffers, which adds proper extension support for SGIX_PBUFFER and SGIX_FBCONFIG, but:
- even with the patch there's additional offenders in directx.c that
prevent a compile with glx < 1.3 [ more FBCONFIG dependencies ]
- there's comments in the source saying ATI supports pbuffers, but only
advertises GLX_VERSION_1_3, without the appropriate extensions.
So - should GLX 1.3 be considered a base requirement for wined3d, or should I send patches to clean up pbuffer dependencies?
There should be no base dependency for compiling wined3d. wined3d should still compile no matter what version glx is, or even if it's not installed at all. Note that I'm saying compiling, not having functionality.
James Hawkins wrote:
On 9/27/06, Ivan Gyurdiev ivg231@gmail.com wrote:
The current base GLX requirement for wined3d seems to be v1.3. It won't compile otherwise... I wrote a patch for pbuffers, which adds proper extension support for SGIX_PBUFFER and SGIX_FBCONFIG, but:
- even with the patch there's additional offenders in directx.c that
prevent a compile with glx < 1.3 [ more FBCONFIG dependencies ]
- there's comments in the source saying ATI supports pbuffers, but only
advertises GLX_VERSION_1_3, without the appropriate extensions.
So - should GLX 1.3 be considered a base requirement for wined3d, or should I send patches to clean up pbuffer dependencies?
There should be no base dependency for compiling wined3d. wined3d should still compile no matter what version glx is, or even if it's not installed at all. Note that I'm saying compiling, not having functionality.
Ok... but why? Also, why hasn't anyone complained yet if there's demand...
On 9/27/06, Ivan Gyurdiev ivg231@gmail.com wrote:
James Hawkins wrote:
On 9/27/06, Ivan Gyurdiev ivg231@gmail.com wrote:
The current base GLX requirement for wined3d seems to be v1.3. It won't compile otherwise... I wrote a patch for pbuffers, which adds proper extension support for SGIX_PBUFFER and SGIX_FBCONFIG, but:
- even with the patch there's additional offenders in directx.c that
prevent a compile with glx < 1.3 [ more FBCONFIG dependencies ]
- there's comments in the source saying ATI supports pbuffers, but only
advertises GLX_VERSION_1_3, without the appropriate extensions.
So - should GLX 1.3 be considered a base requirement for wined3d, or should I send patches to clean up pbuffer dependencies?
There should be no base dependency for compiling wined3d. wined3d should still compile no matter what version glx is, or even if it's not installed at all. Note that I'm saying compiling, not having functionality.
Ok... but why? Also, why hasn't anyone complained yet if there's demand...
Why should someone have to install glx to run Wine if they don't care about using wined3d, or if they do need to use wined3d they don't care about using glx? Wine should at least be able to compile in circumstances such as these. There could be lots of reasons why no one has complained, most likely because such a user hasn't showed up, but that doesn't mean it's not possible. My previous work machine didn't meet these glx version demands, and every time something new was added without checks, my build would break, and it was getting very annoying having to write to wine-devel that the build broke again.
Hi,
Why should someone have to install glx to run Wine if they don't care about using wined3d, or if they do need to use wined3d they don't care about using glx?
Well, glx is a base requirement for getting OpenGL set up, which we need for d3d functionality. So wined3d without glx does not make any sense.
But I agree that it should compile.
On 28/09/06, James Hawkins truiken@gmail.com wrote:
Why should someone have to install glx to run Wine if they don't care about using wined3d, or if they do need to use wined3d they don't care about using glx? Wine should at least be able to compile in circumstances such as these. There could be lots of reasons why no one has complained, most likely because such a user hasn't showed up, but that doesn't mean it's not possible. My previous work machine didn't meet these glx version demands, and every time something new was added without checks, my build would break, and it was getting very annoying having to write to wine-devel that the build broke again.
-- James Hawkins
Not quite. The build breaking on certain machines has/had to do with GL versions rather than GLX versions. GLX versions < 1.3 should be a lot less common than old GL versions.
Note that Roderick has been restructuring the wgl code, with one of the goals being to use wgl rather than GLX in wined3d. It might be worth it to just wait for that to get moved over.
On 28/09/06, James Hawkins truiken@gmail.com wrote:
Why should someone have to install glx to run Wine if they don't care about using wined3d, or if they do need to use wined3d they don't care about using glx? Wine should at least be able to compile in circumstances such as these. There could be lots of reasons why no one has complained, most likely because such a user hasn't showed up, but that doesn't mean it's not possible. My previous work machine didn't meet these glx version demands, and every time something new was added without checks, my build would break, and it was getting very annoying having to write to wine-devel that the build broke again.
-- James Hawkins
Not quite. The build breaking on certain machines has/had to do with GL versions rather than GLX versions. GLX versions < 1.3 should be a lot less common than old GL versions.
Note that Roderick has been restructuring the wgl code, with one of the goals being to use wgl rather than GLX in wined3d. It might be worth it to just wait for that to get moved over.
I was about to answer something similar. Wait untill the opengl32 rewrite is done. As far as I have seen we don't really need GLX 1.3 in wined3d. I think GLX 1.2 provides most of the things we need except for pbuffer/fbconfig support. GLX 1.2 combined with those extensions should be enough for us. In all cases wined3d should compile on all opengl systems and the GLX capabilities need to be checked at runtime (inside 'opengl32.dll').
Further most people are still using GLX 1.2. The Nvidia drivers provide GLX 1.3 or even GLX 1.4 support both in the client library aswell as in the GLX server module but this is quite rare.
In case of all other drivers (including ATI and Mesa) the GLX server version is still 1.2 while the client version is 1.3, 1.4 or even 1.5 (latest Mesa). The GLX version + extensions which you can actually use is based on what BOTH the client and server support. In case of non-Nvidia drivers this is still GLX 1.2 + some extensions. Ati for instance isn't correctly advertising these extensions and that's why some stuff why some stuff which they do support isn't advertised.
To summarize it, cleaning up the GLX checks perhaps isn't that usefull at the moment and if you do it, it should become runtime checks. Further expect that the GLX version is 1.2.
Roderick