-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kitty does not start more #80936
Comments
What does |
|
Try running kitty with |
Still don't running
|
Are you using wayland/sway? Did a previous version of kitty work? There are a couple issues upstream with this same error. One is about sway, which should have already been fixed in unstable. The other is simply saying that you really need OpenGL 3.3. |
I am using I3. I guess it happend with Kernel update I will downgrade to test that 🤔 |
Same with 5.4 kernel 🙈 |
Could this be the same as #75868 ? |
It may be but I can't reproduce it on the same machine where I tested #75868. |
I think it's worth trying |
Similar issue happends also with alacritty. I guess it's a general problem |
I have the same issue after an upgrade. The whole gl context is missing and This doesnt happen on the 19.09 channel |
Bump. I have accidentally spotted this issue, I also use kitty and have been hesitant in updating my unstable channel until this is resolved. |
It's not only kitty. The whole gl context is broken in 20.03 / unstable. |
I tried to bisect the problem, but for some reason it just vanished. Now I cannot reproduce it anymore on the same machine with the same configuration and the same pinned nixpkgs. Very weird. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/nix-bisect-bisect-nix-builds/5584/10 |
@timokau I just upgraded to master again but the issue is still there. I am trying your bisect package now |
If it's hard to reproduce and seems to appear/disappear randomly maybe it has to do with the |
Right, I would not expect these issues to happen if you have this path matching (i.e. booted NixOS version) with the package version you are using. I suspect the culprit is glibc update done during the 20.03 cycle. |
In an effort to test this, I wanted to go back to a revision before this error occurred (8130f3c), reboot into that and then switch back to a more recent one to see if the problem re-appears. It turns out that the problem now actually occurs after rebooting into 8130f3c. That revision was definitely good before, and I did reboot. So that confirms that there is some impurity going on (that goes both directions), but rebooting does not fix it. Not sure what does, but apparently at some point some switch was flipped for me. |
There is the caveat of NixOS/nixpkgs#80936 here, but I can't reproduce it anymore and its high time for an update.
I have the same issue here with the solution was to remove the package and to reinstall it ... don't ask me why |
@fatpat that worked for me as a work around. I removed |
Same for me :) |
@shyim please don't close this. We still need to be able to install it without nix-env. A workaround is not a bug fix! |
FWIW my kitty actually was failing in my |
On unstable, no matter how I install it, I get
|
I tried a mostly plain configuration as well as |
Issues with the same problem (at least I'm not alone) Hopefully they can see your solution to the issue from the linkback if anything. It might work for some people even if it doesn't work on my end. Is there any way to escalate this? @jonringer (nvidia-x11) @primeos @vcunat (mesa) any thoughts on how this might be resolved? |
X11 forwarding with OpenGL? I don't expect that's even meant to work. |
The nvidia package doesn't contain a |
Thanks for responding. @vcunat virtualgl (via @jonringer I did that, but I still have the same error. ( Mesa doesn't appear to have that library:
Anything you would recommend to find the missing library? |
oh sorry, it's |
Thanks! That resolved the error when I simply run Do you have any insights into why I might get the "fbconfig" error when I run it in
Seems
However
For now I'm trying to recreate the virtualgl package definition with |
|
That's not how finding OpenGL is supposed to work in NixOS (but we did use it in past). Nowadays it should be indirected through libglvnd. (well, I have no idea about virtualgl in particular...) |
FYI: I use I bumped into this because |
I know it's a tangential topic, but as for workarounds for such cases, I'd:
|
Thank you for tthis tip! I can build |
For reference, the above calibre starts up without any errors on my 21.11 system. |
Indeed, that's interesting... |
The issue is back for kitty as well. |
One year later, sadly still a problem. I've hit it with alacritty and realsense-viewer. Previously, multiple times, nixGL solved it for alacritty for me, but have issues with that currently. And as for realsense-viewer, nixGL doesn't work on arm which is where I'm using the realsense-viewer. |
I just got used to rebooting after upgrading, and it's not always needed. |
Rebooting doesn't work in my case. If anyone knows where the error is being thrown (source code), I'm be interested in digging into the problem. |
I'm encountering this exact same error almost 4 years later..... |
I followed the rabbit hole on this thread and solved the problem as so: The issue was an out of date home-manager flake in ~/.config/home-manager nix flake update Boom, problem solved! |
Reproduced on nixpkgs |
On Fedora it will be more like topics around #9415 |
Describe the bug
Kitty does not start more
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Its working
Screenshots
Additional context
Add any other context about the problem here.
Metadata
"x86_64-linux"
Linux 5.5.5, NixOS, 20.09pre214390.ea79a830dcf (Nightingale)
yes
yes
nix-env (Nix) 2.3.3
"nixos-20.03pre208171.2e8fc97dbfa"
"nixos-20.09pre214390.ea79a830dcf"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: