Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
1.95k stars 204 forks source link

Discord on Wine #658

Closed Pythonic456 closed 3 years ago

Pythonic456 commented 3 years ago

When running the PE32 download from discord.com, this happens.

pi@raspberrypi4b:~/Downloads $ wine DiscordSetup.exe
Box86 with Dynarec v0.2.1 7c0b11e5 built on May  9 2021 00:03:17
Box86 with Dynarec v0.2.1 7c0b11e5 built on May  9 2021 00:03:17
Box86 with Dynarec v0.2.1 7c0b11e5 built on May  9 2021 00:03:17
0024:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevationType, ...) semi-stub
0024:fixme:ieframe:DllGetClassObject {9ba05972-f6a8-11cf-a442-00a0c90a8f39} {00000001-0000-0000-c000-000000000046} 0031DC5C
0024:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\\windows\\system32\\ieframe.dll"
0044:fixme:explorer:webbrowser_QueryInterface (41CBAD0C)->({00000003-0000-0000-c000-000000000046} 0031E79C) interface not supported
0044:fixme:explorer:webbrowser_QueryInterface (41CBAD0C)->({00000003-0000-0000-c000-000000000046} 0031E714) interface not supported
0044:fixme:explorer:webbrowser_QueryInterface (41CBAD0C)->({00000019-0000-0000-c000-000000000046} 0081B1F0) interface not supported
0024:fixme:ver:GetCurrentPackageId (0031FE34 00000000): stub

And then Wine gets stuck in an infinite loop, repeating:

010c:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevationType, ...) semi-stub
010c:fixme:ieframe:DllGetClassObject {9ba05972-f6a8-11cf-a442-00a0c90a8f39} {00000001-0000-0000-c000-000000000046} 0031DC5C
010c:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\\windows\\system32\\ieframe.dll"
0044:fixme:explorer:webbrowser_QueryInterface (41CBAD0C)->({00000003-0000-0000-c000-000000000046} 0031E79C) interface not supported
0044:fixme:explorer:webbrowser_QueryInterface (41CBAD0C)->({00000003-0000-0000-c000-000000000046} 0031E714) interface not supported
0044:fixme:explorer:webbrowser_QueryInterface (41CBAD0C)->({00000019-0000-0000-c000-000000000046} 0083D4D0) interface not supported
010c:fixme:ver:GetCurrentPackageId (0031FE34 00000000): stub

Anyone know what to do? The emulated Windows version is Windows 10. The box86 version is v0.2.1.

Help is much appreciated!

Itai-Nelken commented 3 years ago

Does it work on TwisterOS? is it a problem with wine from pi-apps?

NoozAbooz commented 3 years ago

The Pi Labs people might know this. It looks like the issue is it can't find the needed DLLs.

Botspot commented 3 years ago

I think Google Chrome will have to run first under Wine, before Discord will. Discord is an Electron app (I think), and Electron is based on Google Chromium code.