!gMNSNKSoNpoumBnBLI:matrix.org

Lapce

189 Members
Talk about the Lapce editor. https://lapce.dev/30 Servers

Load older messages


SenderMessageTime
17 Mar 2024
@lotosbin:matrix.orgbin^2Redacted or Malformed Event15:06:10
@kurtreis:matrix.orgkurtreiswhy you delete15:06:51
@kurtreis:matrix.orgkurtreis:Sad 15:07:02
@kurtreis:matrix.orgkurtreis😥15:07:13
@hkr_at:matrix.orghkr_atDo you use Wayland? 15:27:35
@kurtreis:matrix.orgkurtreisi use windows 1015:49:16
@kurtreis:matrix.orgkurtreisi3 5006U cpu and gpu15:50:04
@erik:michelson.euErik joined the room.22:40:41
@erik:michelson.euErik

Hi! I'm trying to run the latest binary release (0.3.1 from GitHub) on my Linux machine (x64, wayland, nvidia-535 official drivers). Unfortunately it crashes right at the initalization. Does anyone have some ideas or maybe also encountered this problem and has a solution?

$> RUST_BACKTRACE=1 lapce -w

thread 'main' panicked at /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:778:18:
Error in Surface::configure: Validation Error

Caused by:
    Parent device is lost

stack backtrace:
   0: rust_begin_unwind
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/std/src/panicking.rs:597:5
   1: core::panicking::panic_fmt
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/panicking.rs:72:14
   2: wgpu::backend::direct::Context::handle_error_fatal
   3: <T as wgpu::context::DynContext>::surface_configure
   4: wgpu::Surface::configure
   5: floem::window_handle::WindowHandle::new
   6: floem::app_handle::ApplicationHandle::new_window
   7: lapce_app::app::launch
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
22:48:07
@chocolateloverraj:matrix.orgRajas Paranjpeidk, I use Rust Rover now22:53:24
@panekj:matrix.orgpj
In reply to @erik:michelson.eu

Hi! I'm trying to run the latest binary release (0.3.1 from GitHub) on my Linux machine (x64, wayland, nvidia-535 official drivers). Unfortunately it crashes right at the initalization. Does anyone have some ideas or maybe also encountered this problem and has a solution?

$> RUST_BACKTRACE=1 lapce -w

thread 'main' panicked at /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:778:18:
Error in Surface::configure: Validation Error

Caused by:
    Parent device is lost

stack backtrace:
   0: rust_begin_unwind
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/std/src/panicking.rs:597:5
   1: core::panicking::panic_fmt
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/panicking.rs:72:14
   2: wgpu::backend::direct::Context::handle_error_fatal
   3: <T as wgpu::context::DynContext>::surface_configure
   4: wgpu::Surface::configure
   5: floem::window_handle::WindowHandle::new
   6: floem::app_handle::ApplicationHandle::new_window
   7: lapce_app::app::launch
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
No, it's a bug in wgpu
22:59:42
@erik:michelson.euErikAh okay. Is there already some fix in wgpu upstream so that I could just compile it on my own?23:00:32
@panekj:matrix.orgpjNo23:00:46
@erik:michelson.euErikOkay, sad but then I'll probably wait some time and then try again. Thanks for the information! :)23:01:35
@erik:michelson.euErikWell the JetBrains IDEs are great, no question. For greater projects I'm using them too. However I thought that lapce maybe could replace my VSCode usage for small everyday file operations.23:02:22
@panekj:matrix.orgpj you can probably run lapce with FLOEM_FORCE_TINY_SKIA=1 23:03:06
@erik:michelson.euErikOh that indeed works, great!23:03:41
@chocolateloverraj:matrix.orgRajas ParanjpeWhy not use vscode?23:04:36
@erik:michelson.euErikI was looking for some more lightweight tool. Especially in terms of performance.23:05:14
@panekj:matrix.orgpj eventually try WGPU_BACKEND=vulkan 23:06:14
@erik:michelson.euErikUnfortunately that results in the same error as initially reported (or should I combine that with the other env variable you mentioned?).23:08:49
@chocolateloverraj:matrix.orgRajas ParanjpeWhat CPU and how much ram do you have?23:13:12
@chocolateloverraj:matrix.orgRajas ParanjpeI would consider vscode to be pretty lightweight 23:13:26
@erik:michelson.euErikCPU is a few years older, being an i7-6700k - didn't came to replace that yet. RAM 32 GB DDR4. VSCode isn't running bad. I just thought to get maybe a "snappier" experience with some editor like lapce or zed (which isn't available for linux currently).23:16:26
@chocolateloverraj:matrix.orgRajas ParanjpeI'm also waiting for Zed to work on Linux23:19:46
@chocolateloverraj:matrix.orgRajas ParanjpeZed is making good progress 23:19:55
19 Mar 2024
@ark-lamp-umbrella:catgirl.cloudark-lamp-umbrella
In reply to @chocolateloverraj:matrix.org
Zed is making good progress
It works on linux now iirc
04:37:42
@erik:michelson.euErik Sure? This doesn't look completed at least.
https://github.com/zed-industries/zed/issues/7015
08:01:48
@srid:matrix.orgsrid changed their profile picture.16:03:21
24 Mar 2024
@chocolateloverraj:matrix.orgRajas Paranjpe
In reply to @erik:michelson.eu
Sure? This doesn't look completed at least.
https://github.com/zed-industries/zed/issues/7015
it's not completed
03:04:53

There are no newer messages yet.


Back to Room ListRoom Version: 9