Forums

Unable to find 32bits OpenGL libraries

Auteur Réponses
Jump to the page: 1 - 2
playonlinuxfr Dimanche 23 September 2012 à 13:14
playonlinuxfrAnonymous

PlayOnLinux is unable to find 32bits OpenGL libraries.

You might encounter problem with your games -message-

Suddenly after update debian wheezy amd64 i am taking this message nad i can play any game... i have installed ia32 libs nvidia etc...

Any solution?
thank you
bassomat Mercredi 26 September 2012 à 0:12
bassomatAnonymous

Had the same problem and fixed it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640499 describes the problem and delivers a patched debian package
First ad multiarch support:dpkg --add-architecture i386
then apt-get install libxv1:i386
     dpkg -i libxvmc1_1.0.7-1.1~local_i386.deb (The dowloaded patched version from the debian bugreport
     apt-get install libgl1-nvidia-glx:i386
that worked for me
michsens Mercredi 10 Octobre 2012 à 14:39
michsensAnonymous

I know the threat is not the newest one. But for those who remain having problems after the above procedure there is one more thing that has to be done. It is essential to remove ia32-libs.
Quentin PÂRIS Mercredi 10 Octobre 2012 à 22:44
Quentin PÂRISAnonymous

It is essential to keep ia32-libs
petch Mercredi 10 Octobre 2012 à 23:23
petch

Well, I'm not sure it's still "essential" on a multiarch installation.

$ apt-cache show ia32-libs
...
Description-en: Transitional package to migrate ia32-libs to multiarch
This is a transitional package used to migrate the ia32-libs package
to true multiarch. It can be removed once nothing on the system
depends on it.
...
$ dpkg -L ia32-libs
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ia32-libs
/usr/share/doc/ia32-libs/copyright
/usr/share/doc/ia32-libs/changelog.gz


For the moment some packages depend on it (for example Skype or Google Earth), so I cannot uninstall it, but not anymore because of the libs it contains.

(On the other hand I don't see how deinstalling it would fix library issues... ;) )

Edité par petch

MarreMus Jeudi 11 Octobre 2012 à 21:51
MarreMusAnonymous

Hi all,
I run Mint 13, 64 bit (Mate), and have this problem.
Unfortunately, the commands does not work for me.
Could someone PLEASE "translate" this to "Mint-language"?
Please be exact, since I don't know what I'm doing.
I have the original Nvidia-drivers (and 32 bits), from Nvidia installed (not the ubuntu-"repack").

Kindest regards
MarreMus

Edité par MarreMus

MarreMus Dimanche 14 Octobre 2012 à 12:32
MarreMusAnonymous

Hi again,
I get to this point :
dpkg -i libxvmc1_1.0.7-1.1~local_i386.deb (The dowloaded patched version from the debian bugreport)
Here the file "libxvmc1_1.0.7-1.1~local_i386.deb" is needed, and it's avaliable somewhere here in this bugreport :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640499
Is this right?
But WHERE in the bugreport can I find it? Can someone please help me on this one?

Peace!
MM


bassomat Dimanche 14 Octobre 2012 à 23:03
bassomatAnonymous

To MarreMus:
The direct URL to find the file is http://www.ralfj.de/upload/debian/
I wanted the users to read that bugreport because I was a little angry
how the debian guys deal with that problem.
I also found out you need to intall lipdap-2.4-2:i386 to get internet
access.
Good luck now
PS: The ia32 deb is a dummy package, no need to uninstall it, if there are dependencies
joon Dimanche 14 Octobre 2012 à 23:06
joonAnonymous

I'm using openSUSE, and after I installed Mesa-32bit the message went away (and Powerpoint 2010 stated not crashing)
phobia Mardi 16 Octobre 2012 à 22:28
phobia

It seems that the necessary .deb files are no longer available on that ralfj.de site.  :-(

I am having this same issue with nVidia GTX 550 Ti, upgraded from squeeze to wheezy to get support in the binary drivers for my new card and all of my Playonlinux/wine stopped working due to this OpenGL libraries problem.

Have been working on this for two days and cannot seem to resolve it.  I have ia32 libs and all of the glx packages I can find installed, and have tried every workaround and solution that I have found on the forums, etc. with no success. 

Can anyone please confirm the steps necessary to fix this?

Also, does anyone know how long until POL no longer requires these 32-bit GLX libs?

Thanks in advance, POL is awesome, I miss it and want it back!!
:-)

bassomat Jeudi 18 Octobre 2012 à 0:18
bassomatAnonymous

I uploaded the deb to dropbox and made it public https://dl.dropbox.com/u/97583122/libxvmc1_1.0.7-1.1%7Elocal_i386.deb

Edité par bassomat

phobia Jeudi 18 Octobre 2012 à 0:57
phobia

Thanks very much bassomat!
I have now downloaded and installed that package but unfortundately still cannot install the libgl1-nvidia-glx:i386 package, it complains that the dependency is unmet:


The following packages have unmet dependencies:
 libgl1-nvidia-glx : Depends: libxvmc1 but it is not going to be installed

However, I can see that the i386 version of the package is indeed status installed (ii):

ii  libxv1:amd64              2:1.0.7-1                 amd64        X11 Video extension library
ii  libxv1:i386                  2:1.0.7-1                 i386           X11 Video extension library
ii  libxvidcore4:amd64    2:1.3.2-9                 amd64       Open source MPEG-4 video codec (library)
ii  libxvmc1:i386             2:1.0.7-1.1~local     i386           X11 Video extension library

I also tried using apt-get install -f but it still won't force the install of the package. Is the problem that the amd64 version of some of these package are also there? 
Do I need to remove libxv1:amd64 first?  If so, will that break anything else?


Thanks in advance for your help.
bassomat Jeudi 18 Octobre 2012 à 2:51
bassomatAnonymous

Seems like I also installed a amd64 version from ralfj.de sorry that I didn't remember. PuT it also into dropbox. Your output doesn't contain that one.
https://dl.dropbox.com/u/97583122/libxvmc1_1.0.7-1.1%7Elocal_amd64.deb
phobia Jeudi 18 Octobre 2012 à 5:15
phobia

basomat thanks again for the package file and for your continued help.  I installed that package and then was able to successfully install libgl1-nvidia-glx, however POL/Wine still cannot "see" any D3D devices :-(

Fairly sure that my X configuration is sound as I can successfully run glxgears and the nVidia console reports that OpenGL is all loaded and working.

Here are the relevant packages that I have now have installed, can you see from this what have I done wrong?  (apologies for the long and ugly paste).

root@obsidian:~# dpkg -l | grep libxv
ii  libxv1:amd64                  2:1.0.7-1                   amd64        X11 Video extension library
ii  libxv1:i386                      2:1.0.7-1                   i386         X11 Video extension library
ii  libxvidcore4:amd64        2:1.3.2-9                   amd64        Open source MPEG-4 video codec (library)
ii  libxvmc1:amd64             2:1.0.7-1.1~local        amd64        X11 Video extension library
ii  libxvmc1:i386                 2:1.0.7-1.1~local        i386         X11 Video extension library

root@obsidian:~# dpkg -l | grep nvidia
ii  glx-alternative-nvidia                 0.2.2          amd64    allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-alternatives            304.48-1    amd64     transition libGL.so* diversions to glx-alternative-nvidia
ii  libgl1-nvidia-alternatives-ia32    304.48-1    amd64     simplifies replacing MESA libGL with GPU vendor libraries (32-bit)
ii  libgl1-nvidia-glx:amd64             304.48-1    amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386                 304.48-1    i386         NVIDIA binary OpenGL libraries
ii  libglx-nvidia-alternatives             304.48-1   amd64        transition libgl.so diversions to glx-alternative-nvidia
ii  nvidia-alternative                        304.48-1    amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-glx                                    304.48-1    amd64        NVIDIA metapackage
ii  nvidia-installer-cleanup              20120630+3    amd64        Cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-3.2.0-3-amd64    304.48+1+1+3.2.23-1    amd64        NVIDIA binary kernel module for Linux 3.2.0-3-amd64
ii  nvidia-kernel-common               20120630+3    amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                     304.48-1          amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-settings                             304.48-1          amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-support                             20120630+3    amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64         304.48-1          amd64        NVIDIA vdpau driver
ii  nvidia-xconfig                              304.48-1          amd64        X configuration tool for non-free NVIDIA drivers
ii  xserver-xorg-video-nvidia            304.48-1          amd64        NVIDIA binary Xorg driver


bassomat Jeudi 18 Octobre 2012 à 15:20
bassomatAnonymous

Are you shure that the kernelmodule works. I would start nvidia-settings and find out if the loaded driver is from nvidia, otherwise probably you kernel does not match the kernelmodule, reinstalling nvidia-dkms sould solve that.
I don't have any other idea than a X-server (kernelmodule or config) related problem
phobia Jeudi 18 Octobre 2012 à 16:15
phobia

Thanks bassomat, based on the output from dmesg, lsmod and modinfo it looks like the kernel module is loaded, here is the first chunk from modinfo:

root@obsidian:~# modinfo nvidia
filename:       /lib/modules/3.2.0-3-amd64/nvidia/nvidia.ko
alias:          char-major-195-*
version:        304.48
supported:      external
license:        NVIDIA

I removed dkms and nvidia-kernel-dkms and re-installed them, when I installed nvidia-kernel-dkms it reported that the module was already there:

Unpacking nvidia-kernel-dkms (from .../nvidia-kernel-dkms_304.48-1_amd64.deb) ...
Setting up nvidia-kernel-dkms (304.48-1) ...
Loading new nvidia-304.48 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-3-amd64
Building initial module for 3.2.0-3-amd64
Done.

nvidia:
Running module version sanity check.
Error! Module version 304.48 for nvidia.ko
is not newer than what is already found in kernel 3.2.0-3-amd64 (304.48).
You may override by specifying --force.

depmod....

DKMS: install completed.


I'm not sure which script or command it is running to apply a --force to, but it looks like the same version anyway...

bassomat Jeudi 18 Octobre 2012 à 20:34
bassomatAnonymous

Can you post the POL/Wine error message, maybe this will bring us to new ideas, I thought about it quite some time, and only got to that it should work.
I have installed all the cuda debs, but I don't think they are necessary, that was in the trying around phase when the problem started.
phobia Jeudi 18 Octobre 2012 à 22:22
phobia

The only error message I can find is "Direct3D9 is not available without OpenGL." in the log. It also pops this up as a dialog box when I try to run a game.

I have tried a bunch of different games and also in the 'Configure Wine -> Graphics' tab all of the 3D options are missing such as the ones for using the pixel shaders, etc.

I don't seem to have any cuda .deb's installed

Thanks again for all of your help!
bassomat Vendredi 19 Octobre 2012 à 23:42
bassomatAnonymous

I have a new idea how you could possably find a more precise error message. By configuring the wine source code. You have to install the development packages first by apt-get build-dep wine, then run ./configure in the source folder of wine. Hopefully you get an Open GL error right away. I think you should try the sources of your installed version, otherwise you get to many dependency errors. Perhaps the error message gives a hint how the solve your problem
petch Samedi 20 Octobre 2012 à 10:07
petch

Hi,
I'm using Debian Sid, and here's what I have on my system:
$ dpkg -l '*nvidia*'|grep '^i'
ii  glx-alternative-nvidia                 0.2.2                             amd64        allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-alternatives             304.48-2                          amd64        transition libGL.so* diversions to glx-alternative-nvidia
ii  libgl1-nvidia-glx:amd64                304.48-2                          amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386                 304.48-2                          i386         NVIDIA binary OpenGL libraries
ii  libglx-nvidia-alternatives             304.48-2                          amd64        transition libgl.so diversions to glx-alternative-nvidia
ii  nvidia-alternative                     304.48-2                          amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-glx                             304.48-2                          amd64        NVIDIA metapackage
ii  nvidia-installer-cleanup               20120630+3                        amd64        Cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                   20120630+3                        amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                     304.48-2                          amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-source                   304.48-2                          amd64        NVIDIA binary kernel module source
ii  nvidia-settings                        304.48-1                          amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-support                         20120630+3                        amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64              304.48-2                          amd64        NVIDIA vdpau driver
ii  nvidia-vdpau-driver:i386               304.48-2                          i386         NVIDIA vdpau driver
ii  nvidia-xconfig                         304.48-1                          amd64        X configuration tool for non-free NVIDIA drivers
ii  xserver-xorg-video-nvidia              304.48-2                          amd64        NVIDIA binary Xorg driver

$ dpkg -l '*libxvmc*'|grep '^i'
ii  libxvmc1:amd64                         2:1.0.7-1+multiarch               amd64        X11 Video extension library
ii  libxvmc1:i386                          2:1.0.7-1+multiarch               i386         X11 Video extension library



Hope it helps.

Edité par petch