Re: Cedega r200 CVS.
Am Sonntag, den 13.11.2005, 20:39 -0500 schrieb Gavriel State: Felix Kühling wrote: There is a known problem with applications that load libGL dynamically with RTLD_LOCAL. Not sure if this is the problem in this case, but the symptom (driver not finding a symbol that should be exported by libGL) and the fact that it's application-dependent point in that direction. I vaguely remember hearing about a Cedega patch for this issue. Cedega doesn't load libGL dynamically with RTLD_LOCAL. As Cedega starts up, it loads some other libraries dynamically with dlopen, and one of those libraries is command-line-linked to libGL. The libraries that are loaded with dlopen are opened with RTLD_LAZY. AFAIK RTLD_LOCAL is the default is RTLD_GLOBAL is not specified. (RTLD_LOCAL is defined as 0 in /usr/include/bits/dlfcn.h. ;-) What's the origin of this issue on the DRI side, and is it likely to be fixed in the future? Short answer: no. The DRI drivers are no longer linked against a specific libGL. This is to enable loading of the same driver binaries in different libGLs or the Xserver itself for indirect accelerated rendering. Basically all dependencies on the window system were moved out of the DRI drivers and into libGL. The drivers are not linked against libGL, they just expect that they can magically see symbols from libGL or whoever loaded the driver. When libGL itself is loaded dynamically without RTLD_GLOBAL the driver can't see those symbols and loading fails. Take care, -Gav Regards, Felix -- | Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Cedega r200 CVS.
Am Samstag, den 12.11.2005, 11:01 -0500 schrieb Adam K Kirchhoff: So I heard from someone on the transgaming forums that Morrowind is running just as fast with the DRI drivers as it with the drivers from ATI on their system. Which surprised me, since it was painfully slow on my machine. I gave it another shot, but this time setting LIBGL_DEBUG to verbose. When I tried to launch Morrowind, I noticed an undefined symbol: _glapi_Dispatch error when libGL tried to load r200_dri.so. However, all native apps run just fine, and I get the following from glxinfo: GL_MAX_VIEWPORT_DIMS=4096/4096 GL_RENDERER = Mesa DRI R200 20050831 AGP 4x TCL GL_VERSION= 1.3 Mesa 6.5 GL_VENDOR = Tungsten Graphics, Inc. Any ideas? There is a known problem with applications that load libGL dynamically with RTLD_LOCAL. Not sure if this is the problem in this case, but the symptom (driver not finding a symbol that should be exported by libGL) and the fact that it's application-dependent point in that direction. I vaguely remember hearing about a Cedega patch for this issue. Adam Regards, Felix -- | Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Cedega r200 CVS.
Felix Kühling wrote: Am Samstag, den 12.11.2005, 11:01 -0500 schrieb Adam K Kirchhoff: So I heard from someone on the transgaming forums that Morrowind is running just as fast with the DRI drivers as it with the drivers from ATI on their system. Which surprised me, since it was painfully slow on my machine. I gave it another shot, but this time setting LIBGL_DEBUG to verbose. When I tried to launch Morrowind, I noticed an undefined symbol: _glapi_Dispatch error when libGL tried to load r200_dri.so. However, all native apps run just fine, and I get the following from glxinfo: GL_MAX_VIEWPORT_DIMS=4096/4096 GL_RENDERER = Mesa DRI R200 20050831 AGP 4x TCL GL_VERSION= 1.3 Mesa 6.5 GL_VENDOR = Tungsten Graphics, Inc. Any ideas? There is a known problem with applications that load libGL dynamically with RTLD_LOCAL. Not sure if this is the problem in this case, but the symptom (driver not finding a symbol that should be exported by libGL) and the fact that it's application-dependent point in that direction. I vaguely remember hearing about a Cedega patch for this issue. That was the problem. I was able to add a line to the winex3 script to preload libGL.so.1 and it started working fine (minus a few rendering errors). Thanks for your help. Adam --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Cedega r200 CVS.
Felix Kühling wrote: There is a known problem with applications that load libGL dynamically with RTLD_LOCAL. Not sure if this is the problem in this case, but the symptom (driver not finding a symbol that should be exported by libGL) and the fact that it's application-dependent point in that direction. I vaguely remember hearing about a Cedega patch for this issue. Cedega doesn't load libGL dynamically with RTLD_LOCAL. As Cedega starts up, it loads some other libraries dynamically with dlopen, and one of those libraries is command-line-linked to libGL. The libraries that are loaded with dlopen are opened with RTLD_LAZY. What's the origin of this issue on the DRI side, and is it likely to be fixed in the future? Take care, -Gav -- Gavriel State, Founder CTO TransGaming Technologies Inc. [EMAIL PROTECTED] http://www.transgaming.com --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Cedega r200 CVS.
So I heard from someone on the transgaming forums that Morrowind is running just as fast with the DRI drivers as it with the drivers from ATI on their system. Which surprised me, since it was painfully slow on my machine. I gave it another shot, but this time setting LIBGL_DEBUG to verbose. When I tried to launch Morrowind, I noticed an undefined symbol: _glapi_Dispatch error when libGL tried to load r200_dri.so. However, all native apps run just fine, and I get the following from glxinfo: GL_MAX_VIEWPORT_DIMS=4096/4096 GL_RENDERER = Mesa DRI R200 20050831 AGP 4x TCL GL_VERSION= 1.3 Mesa 6.5 GL_VENDOR = Tungsten Graphics, Inc. Any ideas? Adam --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel