Ubuntu – Playonlinux is unable to find 32bits / 64bits OpenGL library

12.04gamesopenglplayonlinux

When I open a fresh instalation of playonlinux, it gives 2 dialog box as mentioned in title:

playonlinux is unable to find 32bits OpenGL library

playonlinux is unable to find 64bits OpenGL library

I am using Ubuntu 12.04 (and new to it) and would like to know how to solve this problem

EDIT TERMINAL OUTPUT

~$ playonlinux
[main] Message: PlayOnLinux (4.1.8) is starting
[clean_tmp] Message: Cleaning temp directory
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
[Check_OpenGL] Warning: 
Xlib:  extension "GLX" missing on display ":0".
Xlib:  extension "GLX" missing on display ":0".
[Check_OpenGL] Warning: 
[main] Message: Filesystem is compatible
[install_plugins] Message: Checking plugin: Capture...
[maj_check] Message: Web version : 1349866727
[maj_check] Message: Current local version : 1349563245
[maj_check] Message: Updating list
[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...
/usr/share/playonlinux/bash/startup_after_server: line 38: [: : integer expression expected
/usr/share/playonlinux/bash/startup_after_server: line 38: [: : integer expression expected
[POL_Config_Write] Message: Config write: LAST_TIMESTAMP 1349866727

EDIT Nvidea print screens
enter image description here

What it says:

enter image description here

Best Answer

This is a tentative answer, a revision or additional information may be needed.

Find the pci BusID of your nvidia gpu. Open a terminal and type lscpi |grep VGA:

anthony@terminal:~$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
06:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)

Edit your xorg.conf file to load the nvidia driver. Open a terminal and type:

gksudo gedit /etc/X11/xorg.conf

Add to that file:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 430"
    BusID          "PCI:1:0:0"                   # Use lspci | grep VGA to find BusID
EndSection

Section "Module"
    Load           "glx"
EndSection

Edit the above example to include your hardware specific information. A reboot is needed after the alteration. This should be enough to get the nvidia driver loaded. Additional configuration may be performed by typing sudo nvidia-settings in the terminal.

Related Question