| 14 Oct 2023 |
@galaxy-nova:matrix.org | gjs fails to build for me | 02:41:02 |
@galaxy-nova:matrix.org | Download log.txt | 02:43:31 |
@galaxy-nova:matrix.org | things seem to be getting killed by SIGTRAP which is pretty odd | 02:43:56 |
@galaxy-nova:matrix.org | not sure what this is being cauised by | 02:44:05 |
@galaxy-nova:matrix.org | any idea what could be causing this? | 02:50:14 |
Jan Tojnar | In reply to @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de
We don't: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/libraries/webkitgtk/default.nix#L197
it requires -DUSE_GSTREAMER_WEBRTC=ON and -DENABLE_WEB_RTC=ON
And there doesn't seem to be any relevant gstreamer plugin in nixpkgs
hmm, looks like it is still experimental, you can enable it locally with overrideAttrs but we probably do not want that in Nixpkgs yet | 11:35:30 |
Jan Tojnar | In reply to @galaxy-nova:matrix.org things seem to be getting killed by SIGTRAP which is pretty odd that usually means test crashes, maybe try building it again in case it is non-deterministic failure. Sometimes the non-deterministic failures are more likely to occur when the CPU is busy (e.g. building a lot of other stuff) so also try building just gjs | 11:40:01 |
Jan Tojnar | * and https://github.com/NixOS/nixpkgs/blob/44688570acaa6bf06a50a479f5d86e9c1adbe033/pkgs/desktops/gnome/extensions/extensionOverrides.nix for a (non-exhaustive) list of extensions that may need dependency patching | 11:41:14 |
Jan Tojnar | In reply to @ajcxz0:matrix.org
Thank you, Jan Tojnar . I appreciate the quick response even if I don't fully understand it yet. Those two gnome.nix URLs are the same an I trust seeing them again will not materially affect how I should change configuration.nix in my 23.05 channel install. That is, of course, what I have been trying and failing to successfully do. I will try to translate
Adding pkgs.gnome.gnome-shell-extensions to environment.gnome.excludePackages NixOS option
into code which fits in my nearly default configuration.nix, then share it here.
updated the URL, it should have been https://github.com/NixOS/nixpkgs/blob/44688570acaa6bf06a50a479f5d86e9c1adbe033/pkgs/desktops/gnome/extensions/extensionOverrides.nix | 11:42:36 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | In reply to @jtojnar:matrix.org hmm, looks like it is still experimental, you can enable it locally with overrideAttrs but we probably do not want that in Nixpkgs yet elaborate how? | 11:42:52 |
Jan Tojnar | how what? | 11:43:01 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | how to enable it (i am still learning nix) | 11:43:18 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | referencing https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$G_rzMW4nASih2V0Ml7LVshLe3FX19CpraZ-DluB-uJA?via=nixos.org&via=matrix.org&via=tchncs.de | 11:43:43 |
Jan Tojnar | replied there | 11:46:21 |
| 15 Oct 2023 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | Did anyone looked at https://github.com/NixOS/nixpkgs/issues/260222 yet? For some reason the gnome-shell is giving me DRM_IOCTL_MODE_CREATE_DUMB failed errors that is causing the system to crash and that seems to be specific to the gnome-shell atm no matter which mesa i use | 03:25:03 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | like afaik the issue is caused by https://gitlab.freedesktop.org/mesa/mesa/-/issues/8198 which should be long fixed now and changing mesa versions doesn't seem to have an effect on it | 03:27:34 |
Jan Tojnar | In reply to @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de Did anyone looked at https://github.com/NixOS/nixpkgs/issues/260222 yet? For some reason the gnome-shell is giving me DRM_IOCTL_MODE_CREATE_DUMB failed errors that is causing the system to crash and that seems to be specific to the gnome-shell atm no matter which mesa i use I have not seen that. How are you switching mesa? | 08:54:15 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | In reply to @jtojnar:matrix.org I have not seen that. How are you switching mesa? With:
nixpkgs.overlays =
[ (self: super:
{
mesa = pkgs.mesa_22_3;
}
)];
And doing unstable nixos configuration
| 09:42:05 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | In reply to @jtojnar:matrix.org I have not seen that. How are you switching mesa? * With:
nixpkgs.overlays =
[ (self: super:
{
mesa = pkgs.mesa_22_3;
}
)];
And doing unstable nixos configuration from a flake
| 09:42:17 |
Jan Tojnar | In reply to @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de
With:
nixpkgs.overlays =
[ (self: super:
{
mesa = pkgs.mesa_22_3;
}
)];
And doing unstable nixos configuration from a flake
I would expect something like this to work (though using pkgs in overlays can cause issues when pkgs contains incompatible dependencies) but Mesa is a bit more complicated. You might also need to replace libGL and/or mesa_glu. | 09:49:02 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | In reply to @jtojnar:matrix.org I would expect something like this to work (though using pkgs in overlays can cause issues when pkgs contains incompatible dependencies) but Mesa is a bit more complicated. You might also need to replace libGL and/or mesa_glu. It was happening on the whole system being in unstable though | 09:49:44 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | so i think it's something nix-caused | 09:49:55 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | bcs the mesa bug states that the fix is in mesa 23.X | 09:50:08 |
Jan Tojnar | does unstable have the correct version then? | 09:50:14 |
Jan Tojnar | looks like it does, so 🤷♀️ | 09:54:24 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | 🤔 | 09:57:08 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | i try to mess with it more to do overlays for mesa versions and report in the issue then, worst case throw that at mesa people to figure out or? | 09:57:47 |
Jan Tojnar | yeah, probably | 09:59:07 |
Jan Tojnar | can you reproduce with the script mentioned in the upstream issue? | 09:59:20 |
Jan Tojnar | you could also try to apply the debug patch from https://gitlab.freedesktop.org/mesa/mesa/-/issues/8198#note_1763243 | 09:59:34 |