Public bug reported: Wine doesn't find the 32-bit opengl drivers on a 64bit system. I have to use LD_PRELOAD to tell where the 32-bit opengl libs are, like this:
$ LD_PRELOAD=/usr/lib32/nvidia-319-updates/libGL.so wine exefile.exe If I don't use this, I get this: X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "GeForce 8800 GT/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 319.32)") Here's the needed info: 1) $ lsb_release -rd Description: Ubuntu 12.04.3 LTS Release: 12.04 2) $ apt-cache policy nvidia-319-updates nvidia-319-updates: Installed: 319.32-0ubuntu0.0.1 Candidate: 319.32-0ubuntu0.0.1 Version table: *** 319.32-0ubuntu0.0.1 0 500 http://ftp.astral.ro/mirrors/ubuntu.com/ubuntu/ precise-updates/restricted amd64 Packages 100 /var/lib/dpkg/status 3) I expected the 32-bit opengl to be automatically loaded and the application to work 4) The app never loaded, and I found this in the output: err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven't been installed correctly (using GL renderer "GeForce 8800 GT/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 319.32)"). err:d3d:WineD3D_CreateFakeGLContext Failed to find a suitable pixel format. err:d3d:wined3d_adapter_init Failed to get a GL context for adapter 0x1794f8. err:d3d:WineD3D_CreateFakeGLContext Failed to find a suitable pixel format. err:d3d:wined3d_adapter_init Failed to get a GL context for adapter 0x1794f8. I found another bug, #764200, that was opened against Natty, and expired. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nvidia-319-updates 319.32-0ubuntu0.0.1 [modified: usr/lib/nvidia-319-updates/alt_ld.so.conf] ProcVersionSignature: Ubuntu 3.2.0-55.85-generic 3.2.51 Uname: Linux 3.2.0-55-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu17.6 Architecture: amd64 Date: Sun Oct 27 17:56:11 2013 InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327) MarkForUpload: True ProcEnviron: LANGUAGE= TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nvidia-graphics-drivers-319-updates UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nvidia-graphics-drivers-319-updates (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1245213 Title: Wine doesn't find 32-bit OpenGL drivers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319-updates/+bug/1245213/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs