GarminExpress on Ubuntu 22.04 LTS

Questions about Wine on Linux
Locked
Ramare
Newbie
Newbie
Posts: 3
Joined: Thu Jun 08, 2023 2:34 am

GarminExpress on Ubuntu 22.04 LTS

Post by Ramare »

Dear all,
Time for hiking ... I found a Garmin engine and would like to install GarminExpress.exe.
After installing a 32bit version of wine, then wine-gecko-2.47.4-x86.msi, wine-gecko-2.47.4-x86.tar.xz and mono-complete, though the installation processi are so unclear that I'm not sure I did want is required, after downloading GarminExpress.exe, I ran

wine GarminExpress.exe

and it installed the guy (a proper graphic window opened).
Second run, its says GarminExpress is installed, do I want to run it?
Yes! But:
------------------------------------------------------------------------
../src/intel/isl/isl.c:2216: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.

Unhandled Exception:
System.Runtime.Remoting.RemotingException: Channel 264dd42e-9c70-4712-b90e-e61c5e801735-ramare is not securable while ensureSecurity is specified as true
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (System.Runtime.Remoting.Channels.IChannel chnl, System.Boolean ensureSecurity) [0x0002a] in <69ebfd1fc56040acade074e61bd61307>:0
at Garmin.Omt.Express.Program.TryInitializeAsFirstInstance (System.String[] args) [0x0009a] in <bf1167d8b1514b9bad703500630a4e81>:0
at Garmin.Omt.Express.Program.Main (System.String[] args) [0x00048] in <bf1167d8b1514b9bad703500630a4e81>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.Remoting.RemotingException: Channel 264dd42e-9c70-4712-b90e-e61c5e801735-ramare is not securable while ensureSecurity is specified as true
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (System.Runtime.Remoting.Channels.IChannel chnl, System.Boolean ensureSecurity) [0x0002a] in <69ebfd1fc56040acade074e61bd61307>:0
at Garmin.Omt.Express.Program.TryInitializeAsFirstInstance (System.String[] args) [0x0009a] in <bf1167d8b1514b9bad703500630a4e81>:0

------------------------------------------------------------------------
It seems the "not securable while ensureSecurity" is a known difficulty. I looked on the internet, found some pointers, but from 2021, the WExplorer has changed, the linux version also --
So if someone has some ideas on how to sort out this issue, I'll be very grateful!
Best, Olivier
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: GarminExpress on Ubuntu 22.04 LTS

Post by jkfloris »

According to the AppDB, you need the following winetricks:

Code: Select all

winetricks dotnet48 corefonts d3dcompiler_47 win7
Ramare
Newbie
Newbie
Posts: 3
Joined: Thu Jun 08, 2023 2:34 am

Re: GarminExpress on Ubuntu 22.04 LTS

Post by Ramare »

Hi, and thanks for this answer!
Problem with this command:
-----------------------------------------------------
warning: This package (dotnet48) is broken in wine-6.0.3. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.
------------------------------------------------------
So: winetricks --force dotnet48 corefonts d3dcompiler_47 win7
This runs with lots of warnings saying it shouldn't, a main one displayed in a graphic windows says (translated from french):
"The install program could not work properly, as the install program for Windows modules is not present on this computer".
Anyway, the command terminates with no crash.
But (before and after reboot): wine GarminExpress.exe
spits:
--------------------------------------------------------------
0118:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
../src/intel/isl/isl.c:2216: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.

0118:err:eventlog:ReportEventW L"Application: GarminExpress.exe\n
Framework Version: v4.0.30319\n
Description: The application requested process termination through System.Environment.FailFast(string message).\n
Message: Unrecoverable system error.\n
Stack:\n
at System.Environment.FailFast(System.String)\n
at MS.Internal"...
--------------------------------------------------------------
Many thanks for your future lights! Best, Olivier
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: GarminExpress on Ubuntu 22.04 LTS

Post by jkfloris »

Is it possible to update Wine to version 8.0.1 and try to install the .Net 4.8 framework again? You probably need to update winetricks as well. You can do this with:

Code: Select all

sudo winetricks --self-update
Ramare
Newbie
Newbie
Posts: 3
Joined: Thu Jun 08, 2023 2:34 am

Re: GarminExpress on Ubuntu 22.04 LTS

Post by Ramare »

Dear all,
After

sudo winetricks --self-update
winetricks dotnet48 corefonts d3dcompiler_47 win7

the call

wine GarminExpress.exe

works! Many thanks for that! So Garmin express works, though it **does not detect the usb Garmin device** connected --
A complaint that comes several times:
-------------------------------------------------
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
--------------------------------------------------
which I treated efficiently with

sudo apt-get remove winbind && sudo apt-get install winbind

Another one:
------------------------------------------------
err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
-------------------------------------------------
which I don't see how to treat.

The usb Garmin gets connected like a volume mounted as /media/ramare/GARMIN as should be.

Summary: success for Garmin.exe, not success for it to detect the usb device --
Best, O.
igebbie970
Newbie
Newbie
Posts: 1
Joined: Mon Jun 19, 2023 12:00 pm

Re: GarminExpress on Ubuntu 22.04 LTS

Post by igebbie970 »

Hi, Same issues.

Running Wine Staging 8.10 on Kubuntu 23.04. Use Winetricks dotnet472. I used a 64-bit prefix. Installed Garmin Express 7.17.3.0 (I had to set rendering to no3D)

Garmin installs fine, but I cannot connect to a device. The device connects and is mounted as a drive on /media/yyy/Garmin. Using winecfg I have set the drive type to "floppydrive" needed to get the drive to connect to Basecamp, but that has not helped either.

Cheers

I
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: GarminExpress on Ubuntu 22.04 LTS

Post by jkfloris »

There is a bug report for this problem, but not much information for the developers. Maybe someone can add more information?
https://bugs.winehq.org/show_bug.cgi?id=51608
Locked