LM21.2 Winetricks problems (can't install .exe)

Questions about Wine on Linux
Locked
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

LM21.2 Cinnamom_x64
Hi,
I follow these steps to install Wine-staging:

Code: Select all

sudo dpkg --add-architecture i386 
    sudo mkdir -pm755 /etc/apt/keyrings
    sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
    sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
    sudo apt update
    sudo apt install --install-recommends winehq-staging
wine-staging now is installed into my system, But I need the "vcrun6sp6" file: for install it, I use winetricks.
Yesterday I installed it with the following commands:

Code: Select all

   sudo apt install winetricks
    	sudo winetricks --self-update  
	winetricks
    	winetricks vcrun6sp6
Today, it does not work:

Code: Select all

codesound@codesound:~$ sudo apt install winetricks
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.15.0-78 linux-headers-5.15.0-78-generic linux-image-5.15.0-78-generic linux-modules-5.15.0-78-generic linux-modules-extra-5.15.0-78-generic nvidia-firmware-535-535.113.01
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  fuseiso
Suggested packages:
  tor
The following NEW packages will be installed:
  fuseiso winetricks
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 187 kB of archives.
After this operation, 1.187 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 fuseiso amd64 20070708-3.2build1 [19,5 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 winetricks all 0.0+20210206-2 [167 kB]
Fetched 187 kB in 1s (197 kB/s)     
Selecting previously unselected package fuseiso.
(Reading database ... 710967 files and directories currently installed.)
Preparing to unpack .../fuseiso_20070708-3.2build1_amd64.deb ...
Unpacking fuseiso (20070708-3.2build1) ...
Selecting previously unselected package winetricks.
Preparing to unpack .../winetricks_0.0+20210206-2_all.deb ...
Unpacking winetricks (0.0+20210206-2) ...
Setting up fuseiso (20070708-3.2build1) ...
Setting up winetricks (0.0+20210206-2) ...
Processing triggers for desktop-file-utils (0.26+mint3+victoria) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
codesound@codesound:~$ sudo winetricks --self-update 
------------------------------------------------------
warning: This will install Winetricks directly from its original developers.  Debian has no control over that version.
------------------------------------------------------
To continue press Y, to abort N, then Enter: y
Executing cd /tmp/winetricks.LEPXpVEm
Downloading https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks to /tmp/winetricks.LEPXpVEm
--2023-11-24 16:56:33--  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 798683 (780K) [text/plain]
Saving to: ‘winetricks’

winetricks                                                  100%[========================================================================================================================================>] 779,96K   736KB/s    in 1,1s    

2023-11-24 16:56:34 (736 KB/s) - ‘winetricks’ saved [798683/798683]

Executing cd /home/codesound
Executing mv /tmp/winetricks.LEPXpVEm/winetricks /usr/bin/winetricks.update
Executing rmdir /tmp/winetricks.LEPXpVEm
Executing cp /usr/bin/winetricks /usr/bin/winetricks.bak
Executing chmod -x /usr/bin/winetricks.bak
Executing mv /usr/bin/winetricks.update /usr/bin/winetricks
Executing chmod +x /usr/bin/winetricks
------------------------------------------------------
warning: Update finished! The current version is 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc. Use 'winetricks --update-rollback' to return to the previous version.
------------------------------------------------------
------------------------------------------------------
warning: Winetricks is no more controlled by Debian but by the Winetricks project now.
------------------------------------------------------
------------------------------------------------------
warning: The next update of the winetricks package may or may not revert this change.
------------------------------------------------------
codesound@codesound:~$ winetricks
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.20 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.42.1
codesound@codesound:~$ winetricks vcrun6sp
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.20 (Staging) and WINEARCH=win64
Unknown arg vcrun6sp
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs.  Each verb installs an application or changes a setting.

Options:
    --country=CC      Set country code to CC and don't detect your IP address
-f, --force           Don't check whether packages were already installed
    --gui             Show gui diagnostics even when driven by commandline
    --gui=OPT         Set OPT to kdialog or zenity to override GUI engine
    --isolate         Install each app or game in its own bottle (WINEPREFIX)
    --self-update     Update this application to the last version
    --update-rollback Rollback the last self update
-k, --keep_isos       Cache isos (allows later installation without disc)
    --no-clean        Don't delete temp directories (useful during debugging)
    --optin           Opt in to reporting which verbs you use to the Winetricks maintainers
    --optout          Opt out of reporting which verbs you use to the Winetricks maintainers
-q, --unattended      Don't ask any questions, just install automatically
-r, --ddrescue        Retry hard when caching scratched discs
-t  --torify          Run downloads under torify, if available
    --verify          Run (automated) GUI tests for verbs, if available
-v, --verbose         Echo all commands as they are executed
-h, --help            Display this message and exit
-V, --version         Display version and exit

Commands:
list                  list categories
list-all              list all categories and their verbs
apps list             list verbs in category 'applications'
benchmarks list       list verbs in category 'benchmarks'
dlls list             list verbs in category 'dlls'
fonts list            list verbs in category 'fonts'
settings list         list verbs in category 'settings'
list-cached           list cached-and-ready-to-install verbs
list-download         list verbs which download automatically
list-manual-download  list verbs which download with some help from the user
list-installed        list already-installed verbs
arch=32|64            create wineprefix with 32 or 64 bit, this option must be
                      given before prefix=foobar and will not work in case of
                      the default wineprefix.
prefix=foobar         select WINEPREFIX=/home/codesound/.local/share/wineprefixes/foobar
annihilate            Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX
codesound@codesound:~$ winetricks
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.20 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.42.1
Executing mkdir -p /home/codesound/.cache/winetricks
Executing w_do_call vcrun6sp6
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_vcrun6sp6 
Executing mkdir -p /home/codesound/.cache/winetricks/vcrun6sp6
Executing cd /home/codesound/.cache/winetricks/vcrun6sp6
Downloading https://www.ddsystem.com.br/update/setup/vb6+sp6/VS6SP6.EXE to /home/codesound/.cache/winetricks/vcrun6sp6
Executing cd /home/codesound
Executing cabextract -q /home/codesound/.cache/winetricks/vcrun6sp6/VS6SP6.EXE -d /home/codesound/.wine/dosdevices/c:/windows/temp -F vcredist.exe
Executing cabextract -q /home/codesound/.wine/dosdevices/c:/windows/temp/vcredist.exe -d /home/codesound/.wine/dosdevices/c:/windows/temp
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/asycfilt.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/comcat.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/mfc42.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/mfc42u.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/msvcirt.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/msvcp60.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/msvcrt.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/oleaut32.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/olepro32.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/stdole2.tlb /home/codesound/.wine/dosdevices/c:/windows/syswow64
Executing mv /home/codesound/.wine/dosdevices/c:/windows/temp/atla.dll /home/codesound/.wine/dosdevices/c:/windows/syswow64/atl.dll
You opted in, so reporting 'vcrun6sp6 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't.  Use --optout to disable future reports.
codesound@codesound:~$ 
Now, my system will crash when I try to install a windows software. I also lost MONO and Jecko

please! Help me...... How can I fix this? Thanks for now....
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by jkfloris »

Can I assume you did a fresh install of Linux Mint between "yesterday" and "today"? After all, Winetricks is no longer installed.

Code: Select all

...
codesound@codesound:~$ winetricks
od: wine: No such file or directory
...
Check if you install the winehq-staging package and/or try to start winetricks with:

Code: Select all

WINE=/opt/wine-staging/bin/wine winetricks
Now, my system will crash when I try to install a windows software. I also lost MONO and Gecko
Does this also happen with the built-in wine programs? If so, please post the terminal output.

Code: Select all

wine notepad
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi, thanks!
Can I assume you did a fresh install of Linux Mint between "yesterday" and "today"?
Yes, it's a new installation
Check if you install the winehq-staging package and/or try to start winetricks with:

Code: Select all

WINE=/opt/wine-staging/bin/wine winetricks
The "Wineprefix - choose a wineprefix" window is opened

Code: Select all

codesound@codesound:~$ WINE=/opt/wine-staging/bin/wine winetricks
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.20 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.42.1
Does this also happen with the built-in wine programs? If so, please post the terminal output.

Code: Select all

wine notepad
when I send this command, the video lags become many and long: it does not open notepad, and this is the terminal output:

Code: Select all

codesound@codesound:~$ wine notepad
002c:fixme:winediag:loader_init wine-staging 8.20 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
00e8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00e8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
codesound@codesound:~$ 
thanks again
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by jkfloris »

00e8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00e8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
This is often an indication that the GPU drivers are not fully installed. Make sure you have the 32-bit part installed as well.
Often libgl1 and/ or libvulkan1 or one of their dependencies are missing.

Code: Select all

sudo apt install --install-recommends libgl1:{amd64,i386} libvulkan1:{i386,amd64}
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi, thanks for your time dedicated to me....

I reinstalled wine, after these two commands:

Code: Select all

sudo apt install --install-recommends libgl1:{amd64,i386} libvulkan1:{i386,amd64}
sudo apt install libnvidia-common-535
when I check for updates, this is the situation:
Image

but, in old winetricks installations mono was automatically installed: not now. And when I try to install one free plugin (this plugin in the past required Jecko), this is the output:

Code: Select all

codesound@codesound:/media/codesound/DATA/SOFTWARE/VST/000_FREE_Install_VST$ wine '/media/codesound/DATA/SOFTWARE/VST/000_FREE_Install_VST/ABPL_2_3_1_Complete_Installer.exe' 
002c:fixme:winediag:loader_init wine-staging 8.21 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
00e8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00e8:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
codesound@codesound:/media/codesound/DATA/SOFTWARE/VST/000_FREE_Install_VST$ 
the only things is when I tryed to update the flatpaks:

Code: Select all

codesound@codesound:~$ flatpak update
Looking for updates…
Info: org.kde.Platform//5.15-21.08 is end-of-life, with reason:
   We strongly recommend moving to the latest stable version of the Platform and SDK
Applications using this runtime:
   org.fritzing.Fritzing
Info: org.freedesktop.Platform.VAAPI.Intel//21.08 is end-of-life, with reason:
   org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: org.freedesktop.Platform.GL.default//21.08 is end-of-life, with reason:
   org.freedesktop.Platform 21.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Nothing to do.
codesound@codesound:~$ 

thanks again
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by jkfloris »

Besides the NVIDIA GPU, do you have another video card?
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi,

I tried to reconfigure everything. I reinstalled every thing, but wine-staging is having problems with video drivers. Does not start. At this point I try to reinstall Mint from scratch. I think there are problems of this kind due to the flatpaks installed in my system-they often update nvidia packages on their own. But again, that's what I think. Until yesterday, wine-staging was working properly.

Thanks in the meantime

greet
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi,
I reset my system and the terminal shows an upgrade to do:

Code: Select all

sound@codesound:~$ sudo apt update && sudo apt dist-upgrade -y
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://packages.linuxmint.com victoria InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease      
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease    
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 http://packages.linuxmint.com victoria Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libnvidia-common-535
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
codesound@codesound:~$ 
the "libnvidia-common-535" is the problem (my personal opinion). Now I try to upgrade it...

EDIT:

Code: Select all

sound@codesound:~$ sudo apt list --upgradable
Listing... Done
libnvidia-common-535/jammy-updates,jammy-updates,jammy-security,jammy-security 535.129.03-0ubuntu0.22.04.1 all [upgradable from: 535.113.01-0ubuntu0.22.04.3]
N: There are 4 additional versions. Please use the '-a' switch to see them.
codesound@codesound:~$ 
are there differences on which one to install?

EDIT 2:

Code: Select all

sound@codesound:~$ sudo apt upgrade libnvidia-common-535/jammy-updates
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '535.129.03-0ubuntu0.22.04.1' (Ubuntu:22.04/jammy-updates, Ubuntu:22.04/jammy-security [all]) for 'libnvidia-common-535'
Calculating upgrade... Done
The following packages will be upgraded:
  libnvidia-common-535
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 16,1 kB of archives.
After this operation, 5.120 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 libnvidia-common-535 all 535.129.03-0ubuntu0.22.04.1 [16,1 kB]
Fetched 16,1 kB in 1s (23,2 kB/s)               
(Reading database ... 597560 files and directories currently installed.)
Preparing to unpack .../libnvidia-common-535_535.129.03-0ubuntu0.22.04.1_all.deb ...
Unpacking libnvidia-common-535 (535.129.03-0ubuntu0.22.04.1) over (535.113.01-0ubuntu0.22.04.3) ...
Setting up libnvidia-common-535 (535.129.03-0ubuntu0.22.04.1) ...
codesound@codesound:~$ 

OK: NOW the starting point of my system is fixed:

Code: Select all

sound@codesound:~$ sudo apt list --upgradable
Listing... Done
codesound@codesound:~$ sudo apt update && sudo apt dist-upgrade -y
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://packages.linuxmint.com victoria InRelease              
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease      
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 http://packages.linuxmint.com victoria Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
codesound@codesound:~$ 
now I go ahead to install wine-staging (....) :?
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi all,

I reinstalled my system again, I follow these steps for install wine-staging:

Code: Select all

sudo dpkg --add-architecture i386 
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install --install-recommends winehq-staging -y
this is the output:

Code: Select all

codesound@codesound:~$ wine --version
wine-9.0-rc1 (Staging)
I install winetricks with these steps:

Code: Select all

sudo apt install winetricks
sudo winetricks --self-update
winetrick is started with this command:

Code: Select all

codesound@codesound:~$ winetricks
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-9.0-rc1 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 3.42.1
the "wineprefix window" is opened, I try to install a .exe file but winetricks doesn't start and one error message is showed: also I have never seen mono installation ... please help me
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by jkfloris »

Was the ~/.wine folder created by winetricks?

Are you still getting the nodrv_CreateWindow message when you start Wine "normally"?

Code: Select all

wine notepad
# and
WINEPREFIX=~/wine-test /opt/wine-staging/bin/wine notepad
If you still have the right version of the wine-mono file in ~/.cache/wine, it will be installed automatically and you won't see a message about it. You can check that with:

Code: Select all

wine uninstaller
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi and thanks!
jkfloris wrote: Tue Dec 12, 2023 3:15 pm Was the ~/.wine folder created by winetricks?
This folder is created during the installation of wine
Are you still getting the nodrv_CreateWindow message when you start Wine "normally"?

Code: Select all

wine notepad
# and
WINEPREFIX=~/wine-test /opt/wine-staging/bin/wine notepad
one problem here, the terminal output is:

Code: Select all

codesound@codesound:~$ wine notepad
002c:fixme:winediag:loader_init wine-staging 9.0-rc1 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
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
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
00f4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00f4:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
codesound@codesound:~$ 
If you still have the right version of the wine-mono file in ~/.cache/wine, it will be installed automatically and you won't see a message about it. You can check that with:

Code: Select all

wine uninstaller
[/quote]
another problem, the terminal output is:

Code: Select all

codesound@codesound:~$ wine uninstaller
002c:fixme:winediag:loader_init wine-staging 9.0-rc1 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0088:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
00fc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00fc:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
codesound@codesound:~$ 
the strange thing is that, over time, I have installed wine-staging several times in this pc and it has always worked. This time it doesn't want to work and I don't know why....
Another thing is: the driver? all is up to date...... again, I don't understand....
thanks again
Last edited by Codesound on Wed Dec 13, 2023 6:53 am, edited 1 time in total.
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

jkfloris wrote: Fri Dec 01, 2023 4:55 pm Besides the NVIDIA GPU, do you have another video card?
my lspci:

Code: Select all

codesound@codesound:~$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics P630]
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 10)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.2 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #11 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
codesound@codesound:~$ 
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by jkfloris »

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics P630]
01:00.0 VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)
You have two GPUs. Configuring both GPUs properly in Linux can be tricky.

Probably you can start Wine with:

Code: Select all

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json wine winecfg
and try:

Code: Select all

export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
wine winecfg
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Hi, and thanks so mouch!
Probably you can start Wine with:

Code: Select all

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json wine winecfg
this doen't work:

Code: Select all

codesound@codesound:~$ VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json wine winecfg
002c:fixme:winediag:loader_init wine-staging 9.0-rc1 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
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
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
0080:fixme:xinput:pdo_pnp IRP_MN_QUERY_ID type 5, not implemented!
00fc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00fc:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
codesound@codesound:~$ 
BUT this:
and try:

Code: Select all

export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
wine winecfg
immediately opens the winecfg window! MAGIC! Probably my problem is the second GPU? Now I try to deactivate this hdw in the BIOS....
The fact remains that I do not understand why I always installed wine without all these problems. To say: I didn't even know I had a second GPU!

Now I'm looking for a way to turn off the second GPU which (probably) is the one present in the PC motherboard (I don't even use it).

Thanks jkfloris for now.... Good Bless You!!!
Codesound
Level 3
Level 3
Posts: 63
Joined: Sun Sep 01, 2019 7:03 am

Re: LM21.2 Winetricks problems (can't install .exe)

Post by Codesound »

Thanks jkfloris for now.... Good Bless You!!!
God Bless You!!! :)
Locked