Jonas Eberle Posted January 30, 2022 at 12:21 AM Posted January 30, 2022 at 12:21 AM (edited) (Manjaro / wine 7.0-rc5) After a successful install, the app crashes. Here's the backtrace. I hope the module name (System.Security.Policy.PEFileEvidenceFactory?) are a hint to someone which part of the wine env is making problems here. Quote Unhandled Exception: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED) at System.Security.Policy.PEFileEvidenceFactory.GetLocationEvidence(SafePEFileHandle peFile, SecurityZone& zone, StringHandleOnStack retUrl) at System.Security.Policy.PEFileEvidenceFactory.GenerateLocationEvidence() at System.Security.Policy.PEFileEvidenceFactory.GenerateEvidence(Type evidenceType) at System.Security.Policy.AssemblyEvidenceFactory.GenerateEvidence(Type evidenceType) at System.Security.Policy.Evidence.GenerateHostEvidence(Type type, Boolean hostCanGenerate) at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type) at System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean markDelayEvaluatedEvidenceUsed) at System.Security.Policy.AppDomainEvidenceFactory.GenerateEvidence(Type evidenceType) at System.Security.Policy.Evidence.GenerateHostEvidence(Type type, Boolean hostCanGenerate) at System.Security.Policy.Evidence.GetHostEvidenceNoLock(Type type) at System.Security.Policy.Evidence.GetHostEvidence(Type type, Boolean markDelayEvaluatedEvidenceUsed) at System.Security.Policy.Evidence.GetHostEvidence[T]() at System.AppDomain.CheckDomainCreationEvidence(AppDomainSetup creationDomainSetup, Evidence creationEvidence) at System.AppDomain.InternalCreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info) at Ninject.Modules.AssemblyNameRetriever.CreateTemporaryAppDomain() at Ninject.Modules.AssemblyNameRetriever.GetAssemblyNames(IEnumerable`1 filenames, Predicate`1 filter) at Ninject.Modules.CompiledModuleLoaderPlugin.LoadModules(IEnumerable`1 filenames) at Ninject.Modules.ModuleLoader.LoadModules(IEnumerable`1 patterns) at Ninject.KernelBase.Load(IEnumerable`1 filePatterns) at Ninject.KernelBase..ctor(IComponentContainer components, INinjectSettings settings, INinjectModule[] modules) at Ninject.KernelBase..ctor(INinjectModule[] modules) at GeoVR.VATSIM.VATSIMClient.WinForms.Program.Main() I had it running already. But seemingly without any conscious changes it does not start any more. Has there been an update to AfV maybe and it is trying to run a kind of online updater? That's the last piece of the puzzle for an install script I am working on https://github.com/jonaseberle/euroscope-afv-wine Edited January 30, 2022 at 12:23 AM by Jonas Eberle Link to comment Share on other sites More sharing options...
Cian Ormond Posted January 31, 2022 at 10:37 PM Posted January 31, 2022 at 10:37 PM I ran it forty minutes ago before the servers went down for Velocity. In `winecfg`, what do you have AFV's Windows version set to? I have found it mandatory to run it as Windows 10. Arch + NsCDE/XFCE Link to comment Share on other sites More sharing options...
Jonas Eberle Posted February 1, 2022 at 07:16 AM Author Posted February 1, 2022 at 07:16 AM 8 hours ago, Cian Ormond said: I ran it forty minutes ago before the servers went down for Velocity. In `winecfg`, what do you have AFV's Windows version set to? I have found it mandatory to run it as Windows 10. Arch + NsCDE/XFCE We have set Win7 currently. I'll set up a test run with Win10. Link to comment Share on other sites More sharing options...
Jonas Eberle Posted February 2, 2022 at 09:49 AM Author Posted February 2, 2022 at 09:49 AM On 2/1/2022 at 8:16 AM, Jonas Eberle said: We have set Win7 currently. I'll set up a test run with Win10. Unfortunately that did not change the outcome. I am trying to submit the app to the Wine AppDB https://appdb.winehq.org/ (currently in review). I've understood now that `winetricks` is not officially supported by wine (since it replaces wine's libs) and that we should always test with vanilla wine in order to get support from WineHQ. Link to comment Share on other sites More sharing options...
Cian Ormond Posted February 2, 2022 at 04:03 PM Posted February 2, 2022 at 04:03 PM I must have something installed on winetricks. I'll get you a list when I get back home. 1 Link to comment Share on other sites More sharing options...
Pierre Ferran Posted February 6, 2022 at 12:02 PM Posted February 6, 2022 at 12:02 PM I'm working on a native AFV client for macOs and Linux. It compiles and run on Ubuntu Focal and macOs Monterey (Apple Silicon). You can try to compile it yourself from source until I push a release if you wish: https://github.com/pierr3/VectorAudio I'll post back here when I have something from stable. 1 vSMR Plugin for EuroScope Link to comment Share on other sites More sharing options...
Cian Ormond Posted February 7, 2022 at 11:45 PM Posted February 7, 2022 at 11:45 PM On 2/2/2022 at 8:03 AM, Cian Ormond said: I must have something installed on winetricks. I'll get you a list when I get back home. Jonas, sorry for the delay. Couldn't load X because I messed up my NVIDIA drivers - then I remembered I have Manjaro installed on another drive that shares the ~/ partition. I have dotnet40, dotnet48, dotnetcoredesktop3 (pretty sure that's for something else), gdiplus and wsh57. On 2/6/2022 at 4:02 AM, Pierre Ferran said: I'm working on a native AFV client for macOs and Linux. It compiles and run on Ubuntu Focal and macOs Monterey (Apple Silicon). You can try to compile it yourself from source until I push a release if you wish: https://github.com/pierr3/VectorAudio I'll post back here when I have something from stable. That sounds great! In the meantime, I'm writing a program to manage winetricks dependencies for vSTARS, vERAM and AFV. I have permission to include Swift, xPilot, vSTARS and vERAM, and I'll try to get permission for AFV soon. In the future, I could try ES and vatSys. 1 Link to comment Share on other sites More sharing options...
Jonas Eberle Posted February 9, 2022 at 01:17 PM Author Posted February 9, 2022 at 01:17 PM On 2/6/2022 at 1:02 PM, Pierre Ferran said: I'm working on a native AFV client for macOs and Linux. It compiles and run on Ubuntu Focal and macOs Monterey (Apple Silicon). You can try to compile it yourself from source until I push a release if you wish: https://github.com/pierr3/VectorAudio That would warrant a new thread already to improve visibility. Thank you for your efforts! I'll check it out tonight. On 2/8/2022 at 12:45 AM, Cian Ormond said: In the meantime, I'm writing a program to manage winetricks dependencies for vSTARS, vERAM and AFV. I have permission to include Swift, xPilot, vSTARS and vERAM, and I'll try to get permission for AFV soon. In the future, I could try ES and vatSys. Would you want to join forces https://github.com/jonaseberle/euroscope-afv-wine/? It is currently stuck on the problem from the first post, though. Link to comment Share on other sites More sharing options...
Jonas Eberle Posted February 9, 2022 at 04:01 PM Author Posted February 9, 2022 at 04:01 PM (edited) On 2/6/2022 at 1:02 PM, Pierre Ferran said: I'm working on a native AFV client for macOs and Linux. It compiles and run on Ubuntu Focal and macOs Monterey (Apple Silicon). You can try to compile it yourself from source until I push a release if you wish: https://github.com/pierr3/VectorAudio Yeah, it works. Just quickly connected to try it and did a radio check. Global key binding works, too. That is really convenient! So the last thing I'll have to try is if that "RDF" functionality of the RDF/TopSky plugin is able to work with it. And then I would just dump and forget Audio for VATSIM via wine. Edited February 9, 2022 at 04:02 PM by Jonas Eberle Link to comment Share on other sites More sharing options...
Pierre Ferran Posted February 11, 2022 at 01:23 PM Posted February 11, 2022 at 01:23 PM (edited) Wrt to the RDF plugin/TopSky, there will be a need for those plugins to be updated in order to be compatible. The current integration relies on a Windows API which will not work cross platform. I am willing to build such an integration on the client side, but the plugins will still need to be updated. If you are compiling yourself, please make sure you build the latest version of the repo as often as possible. I've released a package for macOs on GitHub which will also prompt when an update is necessary, but still need to do that for Linux. In the future, this should also run on Windows fine! A new thread dedicated to the software will come in due time :) Edited February 11, 2022 at 01:24 PM by Pierre Ferran 1 vSMR Plugin for EuroScope Link to comment Share on other sites More sharing options...
Jonas Eberle Posted February 12, 2022 at 01:19 PM Author Posted February 12, 2022 at 01:19 PM Thanks @Pierre Ferran for that information and your dedication. It is highly appreciated. RDF: I can't even say if RDF ever worked with wine because it is so long that I had AfV working at all the last time. I'll stop trying to make AfV work on wine. It feels like trying to get a 20 year old game running with zero chance to get hold of developers and no insight in the architecture. Basically I think this app is badly packaged but I wouldn't know who to ask to change it. I've had a controlling session with VectorAudio and it went smoothly for 2hrs. It's obviously still work-in-progress. I'll continue to test and would already start filing issues if that's ok for you. And yes, spread the word and open a dedicated thread. People like me are eager to try it out. Link to comment Share on other sites More sharing options...
Recommended Posts