Wine install config first time errors

Questions about Wine on Linux
Locked
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Wine install config first time errors

Post by Redrc »

Error: Trying to winecfg
......
000b:err:seh:raise_exception Unhandled exception code c000001d flags 0 addr 0xf78ba612
000b:err:seh:raise_exception Unhandled exception code c000001d flags 0 addr 0xf7483612

Error: Trying to run the wine program:
........
000b:err:seh:raise_exception Unhandled exception code c000001d flags 0 addr 0xf73bb612

Pls help
Redrc
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine install config first time errors

Post by jkfloris »

How and what version of Wine did you install?
Maybe the full output will give more information.
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

RPi4B: 1st update, upgrade. Then I used sudo apt install wine, then update, -- then typing winecfg gave me the above errors.
Then sudo apt install winetricks -- still those errors
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

Typing: wine --version gave me output : wine-5.0.3 (Debian 5.0.3-3)
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

MY SYSTEM:
lscpu Architecture: aarch64, op-mode 32bit, 64bit vendor ID: ARM
uname -m gives aarch64
getconf WORD_ BIT gives 32, however getconf LONG_BIT gives 64
dpkg --print-architecture gives arm64
dpkg --print-foreign-architectures gives armhf and i386
(I used sudo dpkg --add-architecture i386)
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

I did also install ubuntu-22.04 1-desktop-amd64.iso. When I double -click on it, I get VLC player comes up?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine install config first time errors

Post by jkfloris »

If I am correct (I have no experience with a Raspberry) your processor (ARM) cannot handle i386 instructions, so you can uninstall the i386 packages. For the 32-bit version of Wine, you can enable the armhf architecture.

Keep in mind that Wine is not an emulator. You will only be able to run Windows ARM programs with Wine.
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

Hi jkfloris:
As above: dpkg --print-foreign-architectures gives armhf and i386.
Does this not mean armhf is already enabled?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine install config first time errors

Post by jkfloris »

Does this not mean armhf is already enabled?
That's right.
You can remove all i386 packages manually and remove the i386 architecture with:

Code: Select all

sudo dpkg --remove-architecture i386
Install the 32-bit Wine part with:

Code: Select all

sudo apt install wine32:armhf
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

I did both those codes now;
Output result:
wine32:armhf is already the newest version (5.0.3-3).
set to manually installed
0 upreaded, 0 newly installed, 0 to remove, and 5 not upgraded
Logged out, Shut it down, Booted up again.

However, winetricks requester- I select wine PREFIX: 32, but I get err message:
wine cmd .exe /c
echo
%AppData%
returned empty string, error message"
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine install config first time errors

Post by jkfloris »

Which wine packages have you installed?

Code: Select all

dpkg -l | grep wine
The following packages should appear:

Code: Select all

fonts-wine
libwine:arm64
libwine:armhf
wine
wine32:armhf
wine32-preloader:armhf
wine64
wine64-preloader
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

hi jkfloris
The 2 preloaders were missing- now installed via apt.
wintricks also listed at the end
,,, still error
winetricks requester- I select wine PREFIX: 32, but I get err message:
wine cmd .exe /c
echo
%AppData%
returned empty string, error message"

-- If I select wine PREFIX: 64, I get warning about prefix 64, .. many verbs only install 32 bits- if problems- try retest in a clean 32bit prefix
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

i ran /bin/winecfg again.
The only thing that opens a requester is winetricks, where I select 64 or 32bit prefix
Fonts is installed. All are installed.
...
Question: Where should I have a vendor's installer file (eg: qgroundcontrol-installer.exe ) . I tried inside .wine, I tried my Home directory.
Also I note wine sets up multiple drive name folders in dosdevices - where does it install programs??
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

I also note upon double clicking qgrundcontrol-installer.exe- it has put that file automatically inside my .local/share/wineprefixes/64 BIT WINE folder.
I created that 64 BIT prefix using winetricks. Clicking here also gives the winetricks 64 error.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine install config first time errors

Post by jkfloris »

You usually don't need Winetricks. It can be used if certain components are missing or not working in Wine.
Keep in mind that many components of Winericks will not work on an ARM processor. Because, as far as I can see, only Windows i386 and amd64 components are installed.


If this is the program you want to install then Wine only is not going to help you either. "QGroundControl-installer.exe" file is an i386 file:

Code: Select all

$ file QGroundControl-installer.exe 
QGroundControl-installer.exe: PE32 executable (GUI) Intel 80386, for MS Windows, Nullsoft Installer self-extracting archive, 5 sections
                                                        ^^^^^^^^^
However, I do see that someone has made an ARM 64 flatpak version.
Redrc
Level 2
Level 2
Posts: 11
Joined: Sun Mar 05, 2023 5:25 am

Re: Wine install config first time errors

Post by Redrc »

Glad to see installed Flatpak version GUI come up- thanks for that, but it is a work in progress. It does not recognize FC vehicle hook-up USB-A (FC does power-up & beep) . The USB port sees mouse and keyboard fine. Any ideas? Tried debugging. Tried rpi-eeprom update. Terminal lsusb does list the Flight Controller device.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine install config first time errors

Post by jkfloris »

Unfortunately, I have no experience with the program and you're not using Wine to run the program, so I can't help you much further.
Perhaps the flatpak developer's instructions can help you:
https://github.com/mavlink/qgroundcontr ... 1104257576
Locked