-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
neovide: 0b976c3 -> 4159c47f #127506
neovide: 0b976c3 -> 4159c47f #127506
Conversation
I've also experienced this issue the last time I tried out the opengl branch, this makes neovide pretty unusable (to be fair, the vulkan version doesn't run at all here so it would strictly speaking still be an improvement for me). Maybe we should wait for this PR to be merged first? |
We will likely make a stable release after neovide/neovide#736 is merged and linux keyboard issues are resolved. After that neovide should become much more usable on linux. I would personally wait until the stable release, but its up to you. |
Thanks for your comments. Lets wait for the keyboard issue. |
FYI: neovide/neovide#736 has been merged, and it works pretty well on my machine. |
--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib | ||
''; | ||
wrapProgram $out/bin/neovide \ | ||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd xorg.libXcursor xorg.libXext xorg.libXrandr xorg.libXi ]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added wayland
and libxkbcommon
to allow Neovide to run without XWayland on Sway.
I had to change cargoSha256 and then I got
|
With this patch applied to this PR, the latest Neovide commit (neovide/neovide@4159c47) works on my machine. --- a/default.nix 2021-06-22 13:22:11.259429723 +0100
+++ b/default.nix 2021-06-22 13:23:29.360111759 +0100
@@ -15,6 +15,7 @@
, llvmPackages
, makeFontsConf
, libglvnd
+, libxkbcommon
, xorg
}:
rustPlatform.buildRustPackage rec {
@@ -24,11 +25,11 @@
src = fetchFromGitHub {
owner = "Kethku";
repo = "neovide";
- rev = "599dc5887d8799ae8971259bc3bdbaa7b6e2ef45";
- sha256 = "sha256-mwIJ9kI0N6W/3km8H6TdDfSO3TdLg+A/5DSxejRg3i8=";
+ rev = "4159c47ff4f30073b92b9d63fc6ab70e07b74b6d";
+ sha256 = "sha256-XwirJGXMGxc/NkpSeHBUc16ppvJ+H4ECnrOVu030Qfg=";
};
- cargoSha256 = "sha256-Fg2cDwjW6Ex5uUZ8226kgNd/6EoeJddp/rULqH70NRs=";
+ cargoSha256 = "sha256-w9xpNvdUZEOUeM+nTY7RjaVTYC9AahEMt5Igq37N7Bo=";
SKIA_SOURCE_DIR =
let
@@ -85,7 +86,7 @@
postFixup = ''
wrapProgram $out/bin/neovide \
- --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd xorg.libXcursor xorg.libXext xorg.libXrandr xorg.libXi ]}
+ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd libxkbcommon xorg.libXcursor xorg.libXext xorg.libXrandr xorg.libXi ]}
'';
postInstall = '' |
Neovide moved from Vulkan to OpenGL which has better GPU support.
Thanks for the patch. The cargo hash was different, but the rest works. Regarding wayland support, please raise a separate PR. I can not test it. |
hell yeah that's freaking cool, neovide is finally usable here ! thanks for the work ! |
The outdated cargo hashes came from package name changes. A dependency which I didn't know. |
Thank you, it works! |
Sorry, I did not recognize the draft state of my PR. Can somebody please merge this PR. |
👍 I'll send a separate PR enabling Wayland support. |
Neovide moved from Vulkan to OpenGL (neovide/neovide#655) which has better GPU support.
This version should make #123262 obsolete.
The new version has one issues on my environment:
If we merge this PR, Nix users can give feedback to the Neovide project.
But I am OK, when we wait for a more tested version.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)