LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with OpenGL and Wine/Mesa on Mint 18.3 (https://www.linuxquestions.org/questions/linux-software-2/problem-with-opengl-and-wine-mesa-on-mint-18-3-a-4175621992/)

ivansky 01-19-2018 02:22 PM

Problem with OpenGL and Wine/Mesa on Mint 18.3
 
Hello to everybody.
Today i installed Linux Mint 18.2 and manually updated to 18.3 (did not have a blank DVD to burn image on),after that i updated the kernel to 4.13.0-26-generic (for the Meltdown/Spectre fix) and Mesa to 17.2.8.
Everything so far is great,had no problems whatsoever,until i decided to install Wine and play a little GTA:San Andreas.When i open the .exe file using the terminal it gives me the following error:

fixme:module:load_dll Loader redirect from L"wined3d.dll" to L"wined3d-csmt.dll"
fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.
err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
err:wgl:init_opengl OpenGL support is disabled.

Wine version i use is "Wine-Staging 2.21".
glxgears give me a smooth 60fps experience with no lag or no fps drop.

My PC specs are:
CPU : Intel Xeon X5460 3.8Ghz
GPU : AMD R9 270 Stock
Motherboard: Gigabyte GA-EP35-DS3L
RAM : 8GB DDR2 800Mhz
SSD for "/" partition and HDD 1TB for "/home".

I searched on the internet but nothing seemed to work in enabling OpenGL in Wine games,also tried Warcraft 3 RoC&TFT,both give me this error : "Warcraft III was unable to initialize OpenGL.Please ensure you have OpenGL installed and that your display drivers are current"

Any help will be greatly appreciated.

jsbjsb001 01-21-2018 01:52 AM

From the research I've done on your issues it seems like the 32-bit openGL libraries are not installed.

Below are the key lines that indicate the most likely reason for your issues:

Code:

err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
err:wgl:init_opengl OpenGL support is disabled.

I know in the case of the NVIDIA proprietary drivers, if you install them using NVIDIA's own installer, it should ask you if you want to also install the 32-bit "compatibility libraries" - that's what I think you need in this case.

But if you have installed the video driver your system is using from packages instead, you would need the 32-bit packages for openGL instead. Just re-installing your video card's drivers by itself won't work.

I tried to search for the name of the 32-bit package you need, but I don't use Linux Mint myself, so all I can say is that, I *think* it is the 32-bit mesa package you need. You'll have to search your repo's and look for a package with libGL.so.1 it in - the 32-bit version of it.

Can you confirm which video card your PC has and post the output of the following commands:
(use CODE tags)

Code:

lspci | grep ' VGA '
lspci -nnk | grep -i vga -A3 | grep 'in use'



All times are GMT -5. The time now is 01:37 AM.