Mt5 will not open in Arch Linux after updating new version of 8 Jun 2023?

 
I have been installed mt5 with no problem on Arch Linux with wine.I have updated that in yesterday but it will not opens any more.when I run " wine terminal64.exe " in the installing folder of mt5 on arch.I will get me below error:


0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0110:fixme:ole:CoInitializeSecurity 0000000000000000, -1, 0000000000000000, 0000000000000000, 0, 3, 0000000000000000, 0, 0000000000000000 stub
0110:fixme:wbemprox:client_security_SetBlanket 00000001ED4A0E80, 0000000000A076A0, 10, 0, (null), 3, 3, 0000000000000000, 0
0110:fixme:wbemprox:client_security_Release 00000001ED4A0E80
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  0 ()
  Serial number of failed request:  274
  Current serial number in output stream:  274


 

I do not have Linux and Mac computers but from what I understood about Wine (from the discussion on Russian forum):
"It is necessary to delete old installation (MT5) on Wine 6.0 and reinstall the new package (MT5) with Wine 7.7.
Link to the installer at the bottom of this page on the right."

It is the suggestion for Mac with Wine (post ) but it may be useful for Arch Linux with Wine
(but I am not sure as I do not have personal experience with Mac and Linux sorry).

 

Check Wine version, please. Wine 8.x recommended for Linux.

Use bash script https://www.mql5.com/en/articles/625 to install the latest Wine 8.x and MetaTrader 5.

MetaTrader 5 on Linux
MetaTrader 5 on Linux
  • www.mql5.com
In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.
 

I am using wine 8.9-1 .

I finally solved the problem with editing installer sh file(https://www.mql5.com/en/articles/625)  like below :

I have removed section that will install wine . because I had installed that befor.

#!/bin/bash


# Copyright 2022, MetaQuotes Ltd.


# MetaTrader download url

URL="https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe"

# Wine version to install: stable or devel

WINE_VERSION="stable"


# you can un comment below line for installing win on Arch Linux

#sudo pacman -Sy wine


# Download MetaTrader

wget $URL


# Set environment to Windows 10

WINEPREFIX=~/.mt5 winecfg -v=win10

# Start MetaTrader installer

WINEPREFIX=~/.mt5 wine mt5setup.exe

MetaTrader 5 on Linux
MetaTrader 5 on Linux
  • www.mql5.com
In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers.
 
Had the same problem on Mac!
Just uninstall your current MT5 and install the new version or modify and use a different Wine version.
 

I solved this problem updating the wine to version 8.10,

Uninstalling mt5 and

typing in a terminal:  export LIBGL_ALWAYS_SOFTWARE=1 

after that is just install MT5 again

I find this  in this forum: https://forum.winehq.org/viewtopic.php?f=8&t=35904

Reason: