LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PlayOnLinux not working, could not find 32bit libraries (https://www.linuxquestions.org/questions/linux-newbie-8/playonlinux-not-working-could-not-find-32bit-libraries-4175474377/)

Adalee 08-23-2013 04:14 AM

PlayOnLinux not working, could not find 32bit libraries
 
Hello,
I have just started using Fedora and encountered a problem I cannot solve even after some serious googling and I feel like a complete noob, which I probably am. I will try to explain my situation the best I can.

I am using a new Lenovo IdeaPad Y510p (i7-4700MQ, 8GB RAM, Dual NVIDIA GeForce GT 750M 2GB). It came with Windows 8, I disabled UEFI and istalled Fedora 19 (64bit) successfully without any issue. However, after updating from Software updater and a reboot the system failed to boot (there was a kernel update and also a nouveau driver for nvidia). I couldn't make Fedora boot, not even to recovery mode. So I reinstalled the system and have not updated these packages, as I do not know why updates brought Fedora down. Everything worked fine.

I wanted to play World of Tanks, so I installed PlayOnLinux and it installed all the Wine dependencies (at least I think). I downloaded WoT and the client started normally, but after pressing 'play' the system hung and logged me out. After logging back I started PlayOnLinux and it displayed me an error message:

PlayOnLinux is unable to find 32bits OpenGL libraries. You might encounter problem with your games.

I thought this might be the problem (WoT logged me out of Fedora again), so I tried to find the solution. Some pages suggested to install new drivers for nvidia graphics. However, after trying one of the manuals (different nouveau drivers) I could not boot into Fedora again and the boot screen (until the fail) was much more ugly than before. I could find no other solution (as I am a complete noob), but to reinstall the system again
I have tried another suggestion (installing 32bit libs by terminal, I only copied the command) and it said that the package was already installed. I think the problem is that PoL is unable to detect and use them.

I also found the driver (Linux AMD64/EM64T Display driver, version 319.49) on official nvidia site, but have not installed it. I am afraid of the problems with drivers I had and do not want to reinstall the system again. And I am not even sure if it will help, since everything except PlayOnLinux is working great.

Can someone please instruct me step-by-step how to solve the problem with PoL libraries? Do I need to update the kernel or drivers (if yes, how to do it and do not screw up the system as I did it?)

business_kid 08-23-2013 08:20 AM

Where to start?
Re the update: When Fedora updates the kernel, it generally installs another one, configures grub to load it by default, and leaves the previous one there, because a percentage of the kernels cause issues in my experience. So you can usually choose the old kernel and boot away.

You need to know that there are 32 & 64 bit divisions in software. A 64 bit program will run on a 64 bit box, and use 64 bit libs; a 32 bit program will run on the 64 bit box and use 32 bit libs. Often 64 bit distros only supply 64 bit libs, and you need to install the 32bit ones as extras.

If you are still on original drivers, go looking for 'i?86' versions, e.g. i686 from Fedora
Code:

yum list mesa
might do it. It should throw you up[ a list of stuff you can install without pain. Look for
mesa-someversion-i686.fc19
and try installing that. If you have started with proprietary drivers, don't do that.

Adalee 08-23-2013 09:21 AM

Thanks for reply.

When I firstly updated (everything that was offered in Software updates), I was not able to login to any of kernels, not even to recovery mode. I could choose them, but the boot failed every time. Therefore I assume that the problem was either with kernel or nouveau drivers, or both. After the reinstall I have updated everything except these packages, so I am still on older 3.9.5-301.fc19.x86_64 kernel.

I know about the 32 and 64 bit software and tried to search for 32 lib, but without any success. I haven't changed the drivers that came in the version I have installed, so there should be the original ones (EDIT: found the version I have - xorg-x11-drv-nouveau-1:1.0.7-1.fc19 (64 bit)). There is a newer version available, but as I mentioned, I haven't installed it as I think it can be causing problems.)

The output of your code is:
Error: No matching Packages to list

business_kid 08-24-2013 03:34 AM

Never was much good with you. But Mesa must be in there. Try

yum list Mesa*
yum list mesa*
yum list Mesa
or go through some package manager. Lastly you could try libGL.so on rpmfind.net.

I see you mention nouveau; That's ok. Just be aware if you install a proprietary driver (e.g. nvidia's binary blob) they overwrite the Mesa files with other ones. and just check the files are missing - handiest check is
ls -l /usr/lib/libGL* - for 32 bit ones
ls -l /usr/lib64/libGL* - for 64 bit ones

Aside from the symlinks, I have 4 files in each location shown by those commands.

knudfl 08-24-2013 03:49 AM

Quote:

PlayOnLinux is unable to find 32bits OpenGL libraries
$ yum search mesa

# yum install mesa-libGL.i686 mesa-libGLU.i686

Package list `m' http://dl.fedoraproject.org/pub/fedo...os/Packages/m/

Adalee 08-24-2013 06:17 AM

Quote:

# yum install mesa-libGL.i686 mesa-libGLU.i686
I already have both packages installed.

Quote:

yum list Mesa*
This found the packages. The output is:
Quote:

yum list Mesa*
Loaded plugins: langpacks, refresh-packagekit
Installed Packages
mesa-dri-drivers.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-filesystem.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-libEGL.i686 9.2-0.14.20130723.fc19 @updates
mesa-libEGL.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-libGL.i686 9.2-0.14.20130723.fc19 @updates
mesa-libGL.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-libGLU.i686 9.0.0-2.fc19 @fedora
mesa-libGLU.x86_64 9.0.0-2.fc19 @fedora
mesa-libgbm.i686 9.2-0.14.20130723.fc19 @updates
mesa-libgbm.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-libglapi.i686 9.2-0.14.20130723.fc19 @updates
mesa-libglapi.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-libwayland-egl.x86_64 9.2-0.14.20130723.fc19 @updates
mesa-libxatracker.x86_64 9.2-0.14.20130723.fc19 @updates
Available Packages
mesa-demos.x86_64 8.1.0-3.fc19 fedora
mesa-dri-drivers.i686 9.2-0.14.20130723.fc19 updates
mesa-filesystem.i686 9.2-0.14.20130723.fc19 updates
mesa-libEGL-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libEGL-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libGL-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libGL-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libGLES.i686 9.2-0.14.20130723.fc19 updates
mesa-libGLES.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libGLES-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libGLES-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libGLU-devel.i686 9.0.0-2.fc19 fedora
mesa-libGLU-devel.x86_64 9.0.0-2.fc19 fedora
mesa-libGLw.i686 8.0.0-2.fc19 fedora
mesa-libGLw.x86_64 8.0.0-2.fc19 fedora
mesa-libGLw-devel.i686 8.0.0-2.fc19 fedora
mesa-libGLw-devel.x86_64 8.0.0-2.fc19 fedora
mesa-libOSMesa.i686 9.2-0.14.20130723.fc19 updates
mesa-libOSMesa.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libOSMesa-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libOSMesa-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libgbm-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libgbm-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libwayland-egl.i686 9.2-0.14.20130723.fc19 updates
mesa-libwayland-egl-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libwayland-egl-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-libxatracker.i686 9.2-0.14.20130723.fc19 updates
mesa-libxatracker-devel.i686 9.2-0.14.20130723.fc19 updates
mesa-libxatracker-devel.x86_64 9.2-0.14.20130723.fc19 updates
mesa-vdpau-drivers.x86_64 9.2-0.14.20130723.fc19 updates
Since I have installed the mentioned packages, but it doesn't work, should I install also the devel or libOSMesa ones?
I have not installed proprietary driver and inthe file for 32bit I have:
Quote:

lrwxrwxrwx. 1 root root 14 Aug 22 17:54 /usr/lib/libGL.so.1 -> libGL.so.1.2.0
-rwxr-xr-x. 1 root root 496760 Jul 24 00:14 /usr/lib/libGL.so.1.2.0
lrwxrwxrwx. 1 root root 15 Aug 22 17:54 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x. 1 root root 551456 Feb 16 2013 /usr/lib/libGLU.so.1.3.1
so there are 2 files and 2 symlinks to them. Are there any other files which I should have there but they are missing?

Thank you both for trying me to help, I really appreciate it.

business_kid 08-24-2013 03:03 PM

They have made it messy. I just had to install mesa-version & mesa-version-compat32 on slackware.

Install mesa-libGL*.i686 and see if the playonlinux error goes away. Also if you run from the binary instead of clicking an icon, it traps errors on screen and you can often get to see what it is bellyaching about.

Adalee 08-25-2013 10:48 AM

Quote:

Install mesa-libGL*.i686 and see if the playonlinux error goes away. Also if you run from the binary instead of clicking an icon, it traps errors on screen and you can often get to see what it is bellyaching about.
I have installed it and the error is still there. Thanks for the tip to run it from terminal! Both before and after installation, it gives me:
Quote:

[main] Message: PlayOnLinux (4.2.1) is starting
[clean_tmp] Message: Cleaning temp directory
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
[Check_OpenGL] Warning: 32bits direct rendering is not enabled
[Check_OpenGL] Message: 64bits direct rendering is enabled
After this, I guess I have no other option but to install proprietary drivers and pray not to completely screw it up again (which I probably will) :(

273 08-25-2013 10:59 AM

You've a machine with a current-generation NVIDIA SLI setup and you're using the open-source drivers? Why, do you like not getting your money's worth?
With all due respect to the open-source driver developers if you're using fancy new NVIDIA kit then the only way you're going to get to use it to its full potential is to use the binary blob.
In fact, in this case (modern card, SLI) I might be tempted to use the NVIDIA binary installer rather than the distribution maintainers' version though, perhaps, fedora is using a 319 branch already.

Adalee 08-25-2013 12:34 PM

Quote:

Originally Posted by 273 (Post 5015609)
You've a machine with a current-generation NVIDIA SLI setup and you're using the open-source drivers? Why, do you like not getting your money's worth?

I have NO IDEA what and how to use. I have only used Windows XP with old nvidia graphics (and have not installed there anything). I am still using Xubuntu with an old Acer Aspire 3100, but there is no nvidia card. That's why I have written all the details and specifications. I have bought a new laptop and decided to use Fedora because liveUSB was working great with keybord Fn key, touchpad, wireless mouse and webcam, so it is also a first time I am using this distro.

I am no expert and I am trying to find the easyiest way how to make everything working. If installing proprietary drivers is the right way in this case, you need to tell me how to do it right. I had to reinstall the whole system twice only because of installing the updates in repositories (and I had no idea how to fix it) and I do not want to do it again. I do not know personaly anyone who could help me and I could not find a detailed description which I could follow, but I need serious help. Thanks for another suggestion.

273 08-25-2013 12:50 PM

Fedora's probably not the best distribution to be using if you're not prepared for things to break now and again as it's very much "cutting edge" and a little unstable. I haven't used Fedora much outside of virtual machines so I don't know the best way to install the proprietary driver, though this thread suggests something called "easy life":
https://ask.fedoraproject.org/questi...vidia-drivers/

flyinggeorge 08-26-2013 10:13 AM

Quote:

Originally Posted by Adalee (Post 5015665)
I have NO IDEA what and how to use.

You can always visit nvidia's official website. I have a GTX 660M (not SLI) and I use the "short lived, or 'beta' driver. 3.25

http://www.nvidia.com/object/unix.html

Download the *.run file for 64bit architecture. To install, quit your X server CTRL+ALT+BACKSPACE with elevated privileges, run "chmod a+x *.run" and then execute the *.run file. "./*.run" From this point the installer does all the work for you. Even re-writes your xorg.conf

I don't use playonlinux, but wine works fine for me.

Adalee 08-26-2013 05:17 PM

I have downloaded the driver with name "NVIDIA-Linux-x86_64-319.49.run" and made the file executable. However, ctrl+alt+backspace does nothing in my case. I have googled a bit and found that to install nvidia drivers I need to log in runlevel 3. I have done it and the driver even creates the blacklist file which should disable current nouveau drivers, but it does not work even after reboot. It probably doesn't revrite the xorg.conf or something like that. Here is the message from var/log/nvidia-installer.log:

Quote:

ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf, /etc/modprobe.d/nvidia-installer-disable-nouveau.conf. Please be sure you have rebooted your system since these files were written. If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file. Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
ERROR: Installation has failed.
Thanks a lot!


All times are GMT -5. The time now is 04:09 PM.