32bit OpenGL with wine

Do you have problems running OpenGL apps under Wine with an Nvidia card and a 64bit Linux? Wine says X11DRV_WineGL_InitOpenglInfo couldn’t initialize OpenGL?

Here’s the fix.

apt-get install ia32-libs, if it’s already installed and you still have problems, move on to the next step
– move everything from /usr/lib/i386-linux-gnu to /usr/lib32 EXCEPT /usr/lib/i386-linux-gnu/glib2.0.
– extract the official 64bit Nvidia driver: ./NVIDIA-Linux-x86-290.10.run -x
– copy libGL.so.290.10 (or newer) and the tls directory from Nvidia driver’s directory called 32 to /usr/lib32
– create symlinks libGL.so.1 and libGL.so in /usr/lib32, they should both point to libGL.so.290.10
– run sudo ldconfig

That’s it. Now wine should run OpenGL apps without problems.

Name (required)
E-mail (required - never shown publicly)
Webpage URL
Comment:
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

Trackback responses to this post

About me

Nonoo
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »

Twitter

Listening now

My favorite artists