neovide: Neovide crashes immediately when openning. | Windows 10

Describe the bug Basically when I open neovide.exe, immediately crashes.

Expected behavior To work and not crash.

Screenshots image

@rust_panic error

; id = {0x00008394}, range = [0x00000001406bab80-0x00000001406bac71), name="rust_panic"
; Source location: \rustc\a178d0322ce20e33eac124758e837cbd80a6f633\library\std\src\panicking.rs:667
7FF7D70FAB80: 48 81 EC C8 00 00 00       subq   $0xc8, %rsp
7FF7D70FAB87: 48 89 4C 24 28             movq   %rcx, 0x28(%rsp)
7FF7D70FAB8C: 48 89 54 24 30             movq   %rdx, 0x30(%rsp)
7FF7D70FAB91: 48 8D 4C 24 28             leaq   0x28(%rsp), %rcx
7FF7D70FAB96: E8 35 AD 00 00             callq  0x7ff7d71058d0  ; void panic_unwind::__rust_start_panic() at lib.rs:103
7FF7D70FAB9B: 89 44 24 24                movl   %eax, 0x24(%rsp)
7FF7D70FAB9F: 48 8D 44 24 24             leaq   0x24(%rsp), %rax
7FF7D70FABA4: 48 89 44 24 58             movq   %rax, 0x58(%rsp)
7FF7D70FABA9: 48 8D 05 50 F2 01 00       leaq   0x1f250(%rip), %rax  ; void core::fmt::num::imp::{{impl}}::fmt() at num.rs:279
7FF7D70FABB0: 48 89 44 24 60             movq   %rax, 0x60(%rsp)
7FF7D70FABB5: 48 8D 05 5C 26 CA 00       leaq   0xca265c(%rip), %rax
7FF7D70FABBC: 48 89 84 24 98 00 00 00    movq   %rax, 0x98(%rsp)
7FF7D70FABC4: 48 C7 84 24 A0 00 00 00 >  movq   $0x1, 0xa0(%rsp)
7FF7D70FABD0: 48 C7 84 24 A8 00 00 00 >  movq   $0x0, 0xa8(%rsp)
7FF7D70FABDC: 48 8D 44 24 58             leaq   0x58(%rsp), %rax
7FF7D70FABE1: 48 89 84 24 B8 00 00 00    movq   %rax, 0xb8(%rsp)
7FF7D70FABE9: 48 C7 84 24 C0 00 00 00 >  movq   $0x1, 0xc0(%rsp)
7FF7D70FABF5: 48 8D 84 24 98 00 00 00    leaq   0x98(%rsp), %rax
7FF7D70FABFD: 48 89 44 24 48             movq   %rax, 0x48(%rsp)
7FF7D70FAC02: 48 8D 05 57 94 01 00       leaq   0x19457(%rip), %rax  ; void core::fmt::{{impl}}::fmt() at mod.rs:466
7FF7D70FAC09: 48 89 44 24 50             movq   %rax, 0x50(%rsp)
7FF7D70FAC0E: 48 8D 05 03 20 CA 00       leaq   0xca2003(%rip), %rax
7FF7D70FAC15: 48 89 44 24 68             movq   %rax, 0x68(%rsp)
7FF7D70FAC1A: 48 C7 44 24 70 02 00 00 >  movq   $0x2, 0x70(%rsp)
7FF7D70FAC23: 48 C7 44 24 78 00 00 00 >  movq   $0x0, 0x78(%rsp)
7FF7D70FAC2C: 48 8D 44 24 48             leaq   0x48(%rsp), %rax
7FF7D70FAC31: 48 89 84 24 88 00 00 00    movq   %rax, 0x88(%rsp)
7FF7D70FAC39: 48 C7 84 24 90 00 00 00 >  movq   $0x1, 0x90(%rsp)
7FF7D70FAC45: 48 8D 4C 24 20             leaq   0x20(%rsp), %rcx
7FF7D70FAC4A: 48 8D 54 24 68             leaq   0x68(%rsp), %rdx
7FF7D70FAC4F: E8 6C 60 FF FF             callq  0x7ff7d70f0cc0  ; static void std::io::Write::write_fmt<std::sys::windows::stdio::Stderr>() at mod.rs:1567
7FF7D70FAC54: 48 89 54 24 40             movq   %rdx, 0x40(%rsp)
7FF7D70FAC59: 48 89 44 24 38             movq   %rax, 0x38(%rsp)
7FF7D70FAC5E: 48 8D 4C 24 38             leaq   0x38(%rsp), %rcx
7FF7D70FAC63: E8 88 9A FE FF             callq  0x7ff7d70e46f0  ; static void core::ptr::drop_in_place<enum$<core::result::Result<tuple<>, std::io::error::Error>, 0, 3, Err>>() at mod.rs:192
7FF7D70FAC68: B9 07 00 00 00             movl   $0x7, %ecx
7FF7D70FAC6D: CD 29                      int    $0x29
7FF7D70FAC6F: 0F 0B                      ud2    

Desktop (please complete the following information):

  • OS: Windows 10 21H1
  • Neovide Version 0.8.0.0
  • Neovim Version 0.6
  • GPU: AMD Radeon RX 580 8GB

Please run neovide --log and paste the contents of the .log file here:

TRACE [neovide] Neovide version: 0.8.0
INFO [neovide::bridge] Starting neovim with: Command { std: "C:\\tools\\neovim\\Neovim\\bin\\nvim.EXE" "--embed", kill_on_drop: false }
INFO [neovide::bridge] Close watcher started
DEBUG [neovide::bridge::events] Ignored client type property: "methods"
DEBUG [neovide::bridge::events] Ignored client type property: "attributes"
INFO [neovide::bridge] Neovide registered to nvim with channel id 1
INFO [neovide::bridge] Neovim process attached

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 33 (15 by maintainers)

Most upvoted comments

Can confirm changing with_srgb to true fixes the issue on the latest AMD Ryzen 7 processor 😃

At the very least we should be able to print a more useful error here. Its crazy that nothing showed up on windows

I just merged #944 so I believe this is fixed. Please reopen if issues persist.

#944

Heres a PR which enables configuring the srgb window setting. Can somebody here try this?

Just downloaded this branch on Windows 10 Home, ran cargo build --release, and it built without error.

Ok then sometime soon I’ll go through with a finer tooth comb looking for window setup configuration that differs. If anybody wants to take a stab at this, neovide sets up its glutin window here: https://github.com/neovide/neovide/blob/main/src/window/window_wrapper/mod.rs#L258 and alacritty does so here: https://github.com/alacritty/alacritty/blob/master/alacritty/src/display/window.rs#L136

Just as a side note, I saw the error message in the screenshot, I suggest everyone with the issue check the “pixel format” option in the Radeon Software, as shown. That could be the problem. image

This looks like an AMD issue.

Just checked on my laptop with latest. Besides weird ass font rendering (which I should make an issue out of, when I have the time), no crashes. Laptop has no GPU, just an Intel i5 on integrated. It does, indeed, seem to be an AMD issue.