Bug#817111: Acknowledgement (pcsx2:i386: Not working with MESA, working with FGLRX.)
James Cowgill
jcowgill at debian.org
Tue Apr 19 12:12:29 UTC 2016
Control: tags -1 moreinfo unreproducible
Hi,
On Tue, 2016-04-19 at 20:36 +0900, K.Ohta wrote:
> I made a small program below and link to -lX11 -lGL at amd64;
> ---
> #include <stdio.h>
> #include <GL/glx.h>
>
> int main(int argc, char *argv[])
> {
> void *p1;
> void *p2;
>
> p1 = (void *)glXGetProcAddress("glGetDebugMessageLog");
> p2 = (void *)glXGetProcAddress("glGetDebugMessageLogARB");
>
> printf("glGetDebugMessageLog: %llx\n", p1);
> printf("glGetDebugMessageLogARB: %llx\n", p2);
Your test program is faulty, you should use %p in these two printfs.
> But, with i386 (gcc -m32) , these addresses are different.
> ---
> glGetDebugMessageLog: f7fe8b1df7fd2000
> glGetDebugMessageLogARB: f7fe8b1df7fd2010
> ---
> I wonder this differents, addresses of amd64 are same, i386 are not
> :-(
On my system, those two symbols are aliases in libGL.so:
$ nm -D /usr/lib/i386-linux-gnu/libGL.so | grep glGetDebugMessageLog
0006dc30 T glGetDebugMessageLog
0006dc30 T glGetDebugMessageLogARB
and the corrected test program prints the same address.
Back onto the main bug report, I cannot reproduce this issue. Are you
totally sure you are using mesa libGL?
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160419/b57c7b17/attachment.sig>
More information about the Pkg-games-devel
mailing list