what gecko version for wine 8.0 on debian 12.2 "bookworm"

Questions about Wine on Linux
Locked
steinarb
Level 1
Level 1
Posts: 6
Joined: Mon Nov 07, 2022 12:04 pm

what gecko version for wine 8.0 on debian 12.2 "bookworm"

Post by steinarb »

In November 2022 (i.e. one year ago) my notes tell me that I was successfully running gecko 2.47.2 on wine 7.0 (the version backaged with debian 11 "bullseye").

But this year, running debian 12.2 "bookworm" on the same laptop and using the wine 8.0 delivered with "bookworm" I have been unable to get a working iexplore.

What I do to try:
  1. Delete the ~/.wine directory
  2. Drop the gecko msi into ~/.cache/wine/
  3. Run the command "wine winboot"
  4. Run the command "wine iexplore"
And I get the following results:
  1. gecko 2.47.2 gives an empty browser window and logged the following to the console "Could not find Wine Gecko. HTML rendering will be disabled."
  2. gecko 2.47.3 gives a browser window with weird looking characters (wrong font) and crashes after a little while
  3. gecko 2.47.4 gives an empty browser window and logged the following to the console "Could not find Wine Gecko. HTML rendering will be disabled."
Are there better gecko install candidates?
Should I use a different wine than the 8.0 packaged with debian 12?

Thanks!
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: what gecko version for wine 8.0 on debian 12.2 "bookworm"

Post by jkfloris »

Wine 8.0 makes use of Wine Gecko 2.47.3.
Drop the gecko msi into ~/.cache/wine/
Did you put the 32 and 64 bit msi file in the directory?

What happens if you delete the Gecko msi files from the cache directory? The files should be downloaded and installed automatically when you start wine iexplore.
steinarb
Level 1
Level 1
Posts: 6
Joined: Mon Nov 07, 2022 12:04 pm

Re: what gecko version for wine 8.0 on debian 12.2 "bookworm"

Post by steinarb »

wine-gecko-2.47.3 was the one that worked best (the one that at least displayed something, even though it crashed).

I only put the 32bit MSI into .cache/wine/ not the 64bit one, should I put both there.

I tried deleting ~/.wine and ~/.cache/wine and then doing "wine iexplore".

But that iexplore came up without content and the following output to the console:

Code: Select all

sb@marquez:~$ wine iexplore
wine: created the configuration directory '/home/sb/.wine'
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
wine: configuration in L"/home/sb/.wine" has been updated.
Could not find Wine Gecko. HTML rendering will be disabled.
0124:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
steinarb
Level 1
Level 1
Posts: 6
Joined: Mon Nov 07, 2022 12:04 pm

Re: what gecko version for wine 8.0 on debian 12.2 "bookworm"

Post by steinarb »

I deleted the existing .wine directory:

Code: Select all

rm -rf ~/.wine
I created ~/.cache/wine and put the wine-gecko 2.47.3 msi there:

Code: Select all

sb@marquez:~$ mkdir .cache/wine
sb@marquez:~$ cp /tmp/wine-gecko-2.47.3-x86.msi ~/.cache/wine
I ran "wine winboot":

Code: Select all

sb@marquez:~$ wine winboot
wine: created the configuration directory '/home/sb/.wine'
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:err:ole:start_rpcss Failed to open RpcSs service
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
wine: configuration in L"/home/sb/.wine" has been updated.
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

sb@marquez:~$
I started "wine iexplore":

Code: Select all

sb@marquez:~$ wine iexplore
0124:err:mscoree:LoadLibraryShim error reading registry key for installroot
0124:err:mscoree:LoadLibraryShim error reading registry key for installroot
0124:err:mscoree:LoadLibraryShim error reading registry key for installroot
0124:err:mscoree:LoadLibraryShim error reading registry key for installroot
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
The iexplore window opened on www..winehq.org with weird fonts:
Image
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: what gecko version for wine 8.0 on debian 12.2 "bookworm"

Post by jkfloris »

It looks like Wine-Gecko is properly installed, you're just missing the necessary fonts.

Code: Select all

sudo apt install fonts-wine ttf-mscorefonts-installer
steinarb
Level 1
Level 1
Posts: 6
Joined: Mon Nov 07, 2022 12:04 pm

Re: what gecko version for wine 8.0 on debian 12.2 "bookworm"

Post by steinarb »

Much better! Thanks!
Image

I already had fonts-wine, but the fonts downloaded and installed by ttf-mscorefonts-installer were missing:

Code: Select all

root@marquez:~# apt install fonts-wine ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
fonts-wine is already the newest version (8.0~repack-4).
fonts-wine set to manually installed.
The following NEW packages will be installed:
  ttf-mscorefonts-installer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.3 kB of archives.
After this operation, 87.0 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Locked