[SOLVED] wine opengl issue with neverwinter nights 2 on slackware 64
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
wine opengl issue with neverwinter nights 2 on slackware 64
Normally I'd post this on the Bioware forum, but I get much better answers on this forum. After installing wine 1.1.29 on my Slackware 64 system and following the appdb instructions to the letter, I can't get the game to run. I can bring up the launcher, update Neverwinter Nights 2 via the updater, but not run the game. I get an X server error, with mention of GL:
Major opcode of failed request: 136
Minor opcode of failed request: 7
I have the proprietary ATI 9.8 drivers installed and I've been able to run other 32-bit openGL apps like Neverwinter Nights with this fix: export LIBGL_DRIVERS=/usr/lib. That didn't work for me in this case. Any help would be appreciated, as I really don't want to run Windows just for this game.
I do not believe that LIBGL_DRIVERS is the correct variable or that /usr/lib is the correct value for the variable you want. Even on the previous thread where we talked about this, it just didn't seem right.
LIBGL_DEBUG=verbose LIBGL_DRIVERS=/usr/lib /usr/bin/32/glinfo
/usr/bin/32/glinfo: error while loading shared libraries: libGLEW.so.1.5: cannot open shared object file: No such file or directory
wine nwn2.exe
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x175e50,0x176318): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x175e50,0x176318): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x175e50,0x176318): stub
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 136 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 479
Current serial number in output stream: 479
OK, so I built a glew compatibility package from the Slackware 32-bit CD and installed it. Now I'm getting this error:
Code:
libGL: XF86DRIGetClientDriverName: 8.64.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/fglrx_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/fglrx_dri.so failed (/usr/lib/xorg/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: fglrx_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
GLUT: Fatal Error in glinfo: visual with necessary capabilities not found.
I get the same error running /usr/bin/32/glewinfo.
Looking at the fglrx-x740-64a-8.64-x86_64-1 package, I see that there's a
/usr/lib64/xorg/modules/dri/fglrx_dri.so, but not a /usr/lib version. I've been trying to fool the ATI installer into thinking it's a 32-bit system with export ARCH=i486 and export ARCH=486 so I can build a 32-bit package, but it still creates files in the /usr/lib64 directory.
If wine uses 32 bit OpenGL Drivers, Do you have the 32bit drivers for your graphics card installed?
I don't think that the SlackBuild for Nvidia is installed by default
I'm not sure if they are or not. Looking at the fglrx X libraries, there are only 3 installed in /usr/lib: libaticalcl, libaticaldd, and libaticalrt. I'm wondering if installing the ati driver manually (instead of using Slackware packages) will fix this.
Another thing: I have Neverwinter Nights Linux client running (32-bit) and I believe it requires OpenGL. So I can't tell you one way or the other...
I uninstalled the Slackware packages and ran the installer manually. Now I get the same output with /usr/bin/32/glinfo as /usr/bin/glinfo. I think I'm on the right track...
Success! I get some warnings about Wine not being able to render certain effects, but the game runs. It's jerky, but I think I can fix it with some fine-tuning. Who would've thought the Slackpackages didn't have 32-bit compatibility built-in? Anyway, thank you for your help.
Yeah, that's what I thought. The 32-bit 3D library wasn't installed. NWN worked simply because it was falling back to indirect rendering. Now NWN should actually perform noticeably better, too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.