a-berg / dotfiles

0 stars 0 forks source link

kitty-terminal doesn't work at home #1

Closed a-berg closed 2 years ago

a-berg commented 2 years ago

Laptop at work: no problem (has no graphics card or it's a motherboard one) PC at home: doesn't work (NVIDIA card)

It says:

[155 22:31:35.531133] Failed to set locale with LANG: en_US.UTF-8
[155 22:31:35.531189] Failed to set locale with no LANG
[155 22:31:35.603412] [glfw error 65542]: GLX: No GLXFBConfigs returned
[155 22:31:35.603424] [glfw error 65545]: GLX: Failed to find a suitable GLXFBConfig
[155 22:31:35.603429] Failed to create GLFW temp window! This usually happens because of old/broken OpenGL drivers. kitty requires working OpenGL 3.3 drivers.
a-berg commented 2 years ago

Wacky problem. You need to install nixGL, namely:

$ nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update
$ nix-env -iA nixgl.auto.nixGLDefault   # or replace `nixGLDefault` with your desired wrapper

then run kitty like so:

nixGL kitty