!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

402 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)93 Servers

Load older messages


SenderMessageTime
6 Dec 2023
@hmenke:matrix.orghmenke

Also my logs are full of these messages:

Dec 06 09:54:19 laptop .gnome-shell-wr[16388]: Object .Gjs_ui_workspaceAnimation_MonitorGroup (0x29c2490), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                               == Stack trace for context 0x1fa3520 ==
                                               #0   7ffc987fc2e0 b   resource:///org/gnome/shell/ui/workspaceAnimation.js:271 (384880befe20 @ 74)
                                               #1        2066c18 i   resource:///org/gnome/shell/ui/workspaceAnimation.js:265 (384880befd80 @ 65)
                                               #2        2066b50 i   resource:///org/gnome/shell/ui/workspaceAnimation.js:499 (384880bf45b0 @ 227)
                                               #3        2066a68 i   resource:///org/gnome/shell/ui/swipeTracker.js:738 (384880b6c560 @ 549)
                                               #4        20669c8 i   resource:///org/gnome/shell/ui/swipeTracker.js:708 (384880b6c510 @ 24)
                                               #5   7ffc987fed50 b   resource:///org/gnome/shell/ui/swipeTracker.js:198 (384880b688d0 @ 1751)
                                               #6        2066938 i   resource:///org/gnome/shell/ui/init.js:21 (24043670ba0 @ 48)
08:55:30
@hmenke:matrix.orghmenke *

Upgraded to NixOS 23.11 yesterday. Now GNOME Shell crashes sometimes.

Dec 06 09:49:09 laptop gnome-shell[3656]: **
Dec 06 09:49:09 laptop gnome-shell[3656]: libmutter:ERROR:../src/backends/native/meta-kms-impl-device.c:1712:meta_kms_impl_device_hold_fd: assertion failed: (priv->device_file)
Dec 06 09:49:09 laptop gnome-shell[3656]: Bail out! libmutter:ERROR:../src/backends/native/meta-kms-impl-device.c:1712:meta_kms_impl_device_hold_fd: assertion failed: (priv->device_file)
Dec 06 09:49:09 laptop gnome-shell[3656]: == Stack trace for context 0x20447e0 ==
Dec 06 09:49:09 laptop gnome-shell[3656]: #0        210d208 i   resource:///org/gnome/shell/ui/init.js:21 (3f8558b70ba0 @ 48)
10:42:20
7 Dec 2023
@lily:lily.flowersLily Foster joined the room.20:41:22
8 Dec 2023
@deerouspie:matrix.orgpiousdeerThis could be caused by an extension. Do you have any?08:00:26
@deerouspie:matrix.orgpiousdeer I'm developing a GNOME extension that requires libgsound. These typically have to be patched with GIRepository.append_search_path..bla bla in nixpkgs. Can I do anything on my end to make my extension more Nix-friendly? 08:05:01
@deerouspie:matrix.orgpiousdeerI guess I'm going to wrap GSound imports in a try-catch and gracefully disable the features that require it if it fails to import. Still, that doesn't eliminate the need for a nixpkgs patch. Any other suggestions?08:07:41
@deerouspie:matrix.orgpiousdeer set a profile picture.08:09:49
@piegames:matrix.orgpiegamesNo08:54:27
@piegames:matrix.orgpiegamesI think what would help though if extensions generally exposed their dependencies in the metadata.json08:55:16
@deerouspie:matrix.orgpiousdeerOh with the new ES Modules system we can do static analysis to detect used dependencies quite easily actually! Plenty of tooling in JS world already does this09:27:02
@piegames:matrix.orgpiegamesOh, that would be very interesting if you could integrate that into our automatic packaging09:55:12
@adham-omran:matrix.org@adham-omran:matrix.org joined the room.10:24:34
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @rpanades:matrix.org
I am having a really hard time with the 45 update. In wayland electron apps (slack, mattermost, vscode) do not work anymore for me. And I cannot log in to X 🤣
Can someone let me what is going on with 45 and 23.11? Everything Electron seems to be broken and non-Electron apps too
10:25:49
@adham-omran:matrix.org@adham-omran:matrix.orgI've been having issues and talking for the past week on the Nix/NixOS channel with no real feedback 10:26:10
@adham-omran:matrix.org@adham-omran:matrix.orgThere was nothing about this in the release notes or anywhere else10:28:00
@deerouspie:matrix.orgpiousdeer
In reply to @piegames:matrix.org
Oh, that would be very interesting if you could integrate that into our automatic packaging
I'll take a look
10:30:35
@vcunat:matrix.orgvcunat
In reply to @adham-omran:matrix.org
There was nothing about this in the release notes or anywhere else
Isn't this a repeat of https://github.com/NixOS/nixpkgs/issues/244742
14:56:49
@vcunat:matrix.orgvcunatBTW for large upgrades I'd be careful that (1) you reboot and (2) don't use opengl-using apps from very far away nixpkgs version (than your OS).14:57:45
@jtojnar:matrix.orgJan Tojnar
In reply to @piegames:matrix.org
Oh, that would be very interesting if you could integrate that into our automatic packaging
btw looks like https://github.com/NixOS/nixpkgs/commit/af9e3ddc1da4c96d35b326d20ba09cedb1a5ac3b still is not sufficient
20:07:55
@jtojnar:matrix.orgJan Tojnar at this point, I am leaning towards creating wrapper for extension.js that does our typelib manipulation and then uses top-level await of dynamic import to load the actual extension.js file 20:09:27
@piegames:matrix.orgpiegames
In reply to @jtojnar:matrix.org
btw looks like https://github.com/NixOS/nixpkgs/commit/af9e3ddc1da4c96d35b326d20ba09cedb1a5ac3b still is not sufficient
Why not?
20:10:07
@jtojnar:matrix.orgJan Tojnar I am guessing the GPasteGtk import here sometimes gets resolved before the body of ./__nix-prepend-search-paths.js is evaluate 20:11:50
@jtojnar:matrix.orgJan TojnarI assumed that imports are resolved sequentially and module’s body is evaluated after all static imports in the module are resolved20:13:45
@jtojnar:matrix.orgJan Tojnarbut it might not be correct20:14:03
@jtojnar:matrix.orgJan Tojnarthere is loader specification draft but it is not clear to me if it matches the implementations: https://github.com/whatwg/loader20:17:16
@jtojnar:matrix.orgJan Tojnar piegames: I am trying the wrapper approach in https://github.com/NixOS/nixpkgs/pull/272995 22:29:18
@piegames:matrix.orgpiegames
In reply to @jtojnar:matrix.org
piegames: I am trying the wrapper approach in https://github.com/NixOS/nixpkgs/pull/272995
Did you try it already?
22:32:36
@piegames:matrix.orgpiegames Also how well does this approach generealize, so that we may hook this into buildGnomeExtension 22:32:51
@jtojnar:matrix.orgJan Tojnaryes, it appears to work22:33:22
@piegames:matrix.orgpiegames After some reflection, I think that I'd like to package all extensions with buildGnomeExtension, even those not on extensions.gnome.org. This will require some modifications but it should be feasible 22:33:27

Show newer messages


Back to Room ListRoom Version: 6