lapce icon indicating copy to clipboard operation
lapce copied to clipboard

Lapce not starting in Windows 10 (VMware virtual machine)

Open fnicolini opened this issue 2 years ago • 13 comments

Lapce Version

0.2.5

System information

Windows 10 (Inside a VMware virtual machine)

Describe the bug

Lapce does not open. I tried double clicking the executable as well as running lapce from command line. Either way nothing happens and no information is displayed.

Additional information

I found the following error in the Windows Event Viewer:

Faulting application name: lapce.exe, version: 0.2.5.0, timestamp: 0x639a2d18 Faulting module name: ucrtbase.dll, version: 10.0.19041.789, timestamp: 0x2bd748bf Exception code: 0xc0000409 Error offset 0x000000000007286e Process ID that generated the error: 0x2ec4 Start time of the application that generated the error: 0x01d93fb47634ac38 Faulting application path: C:\Program Files\Lapce\lapce.exe Path to the module that generated the error: C:\Windows\System32\ucrtbase.dll Report ID: 663267a9-4981-4d4a-abb9-5344b49edda9 Full package name that generated the error: Application ID of the package that generated the error:

I have looked up the ucrtbase.dll and it seems something related to the Microsoft Visual C++ Redistributable, which i made sure that i have installed (i even re-installed it just to make sure).

fnicolini avatar Feb 13 '23 14:02 fnicolini

Lapce requires OpenGL3 to run

panekj avatar Feb 13 '23 14:02 panekj

I don't know if this is of any interest or not, but it seems that i am running OpenGL version 3.3: immagine

fnicolini avatar Feb 13 '23 15:02 fnicolini

Try running lapce with RUST_LOG=debug

panekj avatar Feb 13 '23 15:02 panekj

I don't have much experience with environment variables in Windows, so i hope this is the right way to do it: immagine

Nothing changed, and the same error appears in the event log.

fnicolini avatar Feb 13 '23 16:02 fnicolini

just wanted to add that I am facing similar issues in an Azure Virtual Desktop environment. Lapce portable just wouldn't start...

Update Edit: Tried version 0.2.4 on the same system - same results - not opening - no error - nothing... Tried version 0.2.4 on a similar but different remote system, getting the below error. Note - I have cut out part of the error which basically shows the path to the lapce executable. image

rbharathkumar avatar Feb 15 '23 12:02 rbharathkumar

just wanted to add that I am facing similar issues in an Azure Virtual Desktop environment. Lapce portable just wouldn't start...

Update Edit: Tried version 0.2.4 on the same system - same results - not opening - no error - nothing... Tried version 0.2.4 on a similar but different remote system, getting the below error. Note - I have cut out part of the error which basically shows the path to the lapce executable. image

The second system's issue is #1137 / #132, which is due to us requiring a minimum windows version at this time.
At a glance, I don't think the minimum-windows version is the cause of the issue author's problem. Though, that it failed to start for one of your systems (without even that error) might be the same as the issue author's problem.

MinusGix avatar Feb 15 '23 20:02 MinusGix

just wanted to add that I am facing similar issues in an Azure Virtual Desktop environment.

You need an actual GPU available in machine to run lapce

panekj avatar Feb 15 '23 21:02 panekj

I don't have much experience with environment variables in Windows, so i hope this is the right way to do it: immagine

Nothing changed, and the same error appears in the event log.

I keep forgetting that Windows builds are slightly different, you need to build lapce from source to see any output or you can try looking in AppData\Local\lapce\lapce-stable\data\logs and attach it here

panekj avatar Feb 15 '23 21:02 panekj

just wanted to add that I am facing similar issues in an Azure Virtual Desktop environment.

You need an actual GPU available in machine to run lapce

Oh so Virtual Desktops do not have GPU allocated to them ? Just asking - I do not know... I also checked out the logs as you suggested in a different comment. I could not copy the content directly - so manually typing the content or atleast part of it. My Apologies...

Error 01: Failed to load from keymaps.toml - no keymaps Error 02: thread 'main' panicked from at called Result::unwrap() on an Err value: Other(no avaible pixel format)': .cargo\git\checkouts\druid-<><>\druid-shell\src\backend\windows\window.rs

rbharathkumar avatar Feb 16 '23 07:02 rbharathkumar

just wanted to add that I am facing similar issues in an Azure Virtual Desktop environment. Lapce portable just wouldn't start... Update Edit: Tried version 0.2.4 on the same system - same results - not opening - no error - nothing... Tried version 0.2.4 on a similar but different remote system, getting the below error. Note - I have cut out part of the error which basically shows the path to the lapce executable. image

The second system's issue is #1137 / #132, which is due to us requiring a minimum windows version at this time. At a glance, I don't think the minimum-windows version is the cause of the issue author's problem. Though, that it failed to start for one of your systems (without even that error) might be the same as the issue author's problem.

So the other system I had mentioned was a Windows Server 2016 - So I am guessing - it will not be possible to run lapce here ?

rbharathkumar avatar Feb 16 '23 07:02 rbharathkumar

So the other system I had mentioned was a Windows Server 2016 - So I am guessing - it will not be possible to run lapce here ?

Create new issue.

panekj avatar Feb 18 '23 13:02 panekj

@fnicolini could you provide your host and guest specs (CPU, CPU, OS)?

panekj avatar Feb 18 '23 13:02 panekj

Also do you have vmware-tools installed, is the GPU acceleration enabled and how much memory is provided to guest?

panekj avatar Feb 18 '23 13:02 panekj

Same issue, thought it might have something to do with visual studio c++ (that was a problem for me on other systems), so I tried without it installed and just the proper DLL files as well, though the video you see has vsc++ installed. https://youtu.be/YxkWSginSdg this is the latest (portable) version.

starchyunderscore avatar Oct 19 '23 01:10 starchyunderscore

Note that it does create the lapce-data folder on first run (not in video), so the program is executing, it just stops before a GUI is displayed.

starchyunderscore avatar Oct 19 '23 01:10 starchyunderscore

We use wgpu now

panekj avatar Dec 27 '23 04:12 panekj