Unable to install software by using WineHQ Stable

Questions about Wine on Linux
Locked
chinmayrajyaguru
Newbie
Newbie
Posts: 4
Joined: Wed Aug 25, 2021 5:52 am

Unable to install software by using WineHQ Stable

Post by chinmayrajyaguru »

I've installed wine 6.0.1 today (by following these steps: https://computingforgeeks.com/how-to-in ... t-desktop/) to install MetaTrader 5 (URL: https://www.metatrader5.com/) software. I'm getting the following errors in the installation process:

Code: Select all

cxxxxxxxxxx@chinmay-OL-RACK-001:~/Downloads$ wine ./mt5setup.exe 
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:ole:CoInitializeSecurity 0000000000000000, -1, 0000000000000000, 0000000000000000, 0, 3, 0000000000000000, 0, 0000000000000000 stub
00f8:fixme:wbemprox:client_security_SetBlanket 000000000125FD50, 000000000006A8E0, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
00f8:fixme:wbemprox:client_security_Release 000000000125FD50
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  222
  Current serial number in output stream:  222
My desktop's configuration:
  • OS: Ubuntu 20.04.3 LTS x86_64
  • CPU: Intel i5 760 (4) @ 2.801GHz
  • GPU: AMD ATI Radeon HD 5000/6000/7350/8350 Series
  • Memory: 2611MiB / 15975MiB
  • Kernel: 5.11.0-27-generic
  • Shell: bash 5.0.17
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Unable to install software by using WineHQ Stable

Post by jkfloris »

Did you also install the 32-bit libraries for your graphics card?
Something like:

Code: Select all

sudo apt install libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386
chinmayrajyaguru
Newbie
Newbie
Posts: 4
Joined: Wed Aug 25, 2021 5:52 am

Re: Unable to install software by using WineHQ Stable

Post by chinmayrajyaguru »

No. I haven't installed any graphic card-related driver. I'm using ATI Radeon HD 5450.

If I need to install any drivers regarding my graphic card, please suggest. I am totally unaware of that.

Please note:
In the past, I had installed MESA and lost my system. You can check out what happened by following this link: https://askubuntu.com/questions/1330100 ... -20-04-lts
chinmayrajyaguru
Newbie
Newbie
Posts: 4
Joined: Wed Aug 25, 2021 5:52 am

Re: Unable to install software by using WineHQ Stable

Post by chinmayrajyaguru »

I have resolved this issue by adding the following line to .pam_environment.txt (it's a hidden file at Home Directory).

Code: Select all

MESA_GL_VERSION_OVERRIDE=4.5
Thank you! :D
chinmayrajyaguru
Newbie
Newbie
Posts: 4
Joined: Wed Aug 25, 2021 5:52 am

Re: Unable to install software by using WineHQ Stable

Post by chinmayrajyaguru »

:idea: Kindly note, changing the .pam_environment.txt isn't a permanent solution. If you want to run specific software, then type the following command in the terminal:

Code: Select all

export MESA_GL_VERSION_OVERRIDE=4.5
If you edit .pam_environment.txt, then other software may not work properly. Hence, you the above command for a temporary solution.
Locked