http://bugs.winehq.org/show_bug.cgi?id=20181
--- Comment #35 from Alistair ajftonner@gmail.com 2009-11-18 19:55:28 --- (In reply to comment #34)
(In reply to comment #33)
since the kernel device driver was i915 I made a silly assumption. Now
<snippage>
us. I'll try an approach without chroot. If it succeeds, than we will need help from gentoo emul libs team IMO (the list of amd64 developers is here http://www.gentoo.org/proj/en/base/amd64/).
Oleg: if you've built the i965_drv.so in a 32 bit chroot, and you move it to your 64bit env, what happens?
I have the emul 10. installed, and I now more *rarely* get the GLXBadDrawable error (still getting it one in six tries) but still have the "Broken Kaleidescope" effect.
Loading the game and getting the kaleidescope effect, I can find nowhere loaded /usr/lib32/dri/i965_dri.so, rather it seems to load
/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2
and in my case:
equery b /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2 [ Searching for file(s) /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2 in *... ] app-emulation/emul-linux-x86-xlibs-10.1 (/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2)
I somehow believe that we're chasing the wrong library here -- we need to look at libGL.so --- I believe that it talks api to api to the driver rather than loading the 32bit driver and talking to it.