!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
1 Nov 2024
@blitz:chat.x86.lol@blitz:chat.x86.lol
In reply to @figsoda:matrix.org
anyone mind taking a look at https://github.com/NixOS/nixpkgs/pull/350750 ?
Did someone try to upstream this change?
14:08:09
@jtojnar:matrix.orgJan Tojnaryeah, I would like to see this upstreamed, do not want to maintain this indefinitely15:05:09
@figsoda:matrix.orgfigsoda
In reply to @blitz:chat.x86.lol
Did someone try to upstream this change?
The original patch for gtk3 wasn't accepted and the bug was marked as resolved wontfix
15:29:13
3 Nov 2024
@setunset:matrix.orgFreeVariableHi, I am updating the docs at https://wiki.nixos.org/wiki/GNOME#Dynamic_triple_buffering. I am testing https://gitlab.gnome.org/vanvugt/mutter/-/commits/triple-buffering-v4-47 (using the sha-256 of the latest commit) but it doesn't seem to be used when doing sudo nixos-rebuild. Any clue?12:54:47
@setunset:matrix.orgFreeVariable

For example

  nixpkgs.overlays = [
    # GNOME 47: triple-buffering-v4-47
    (final: prev: {
          gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: {
            mutter = gnomePrev.mutter.overrideAttrs (old: {
              src = pkgs.fetchFromGitLab  {
                domain = "gitlab.gnome.org";
                owner = "vanvugt";
                repo = "mutter";
                rev = "triple-buffering-v4-47";
                hash = "123";
	          };
          });
      });
    })
  ];

will not trigger any build error even though the hash is clearly incorrect.

12:56:04
@setunset:matrix.orgFreeVariable *

For example

  nixpkgs.overlays = [
    # GNOME 47: triple-buffering-v4-47
    (final: prev: {
          gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: {
            mutter = gnomePrev.mutter.overrideAttrs (old: {
              src = pkgs.fetchFromGitLab  {
                domain = "gitlab.gnome.org";
                owner = "vanvugt";
                repo = "mutter";
                rev = "triple-buffering-v4-47";
                hash = "123";
	     };
          });
      });
    })
  ];

will not trigger any build error even though the hash is clearly incorrect.

13:04:45
@setunset:matrix.orgFreeVariableMy bad, mutter was taken out of the gnome namespace.14:12:25
@andrew15_5:matrix.orgAndrew joined the room.14:31:45
@andrew15_5:matrix.orgAndrew

I was advised to ask here instead of https://matrix.to/#/#users:nixos.org.

I installed home-manager flake on Pop!_OS 22.04 a few weeks ago and since then I got a few programs crashed when opening a home dir. I finally got to the bottom of this and renaming ~/.local/state/nix/profiles/profile to anything else fixes it. Or removing ~/.nix-profile/share from XDG_DATA_DIRS. Can someone explain why that happens and how can I fix this without launching all the problematic apps with env?

strace nautilus:

...
futex(0x62f00be67740, FUTEX_WAKE_PRIVATE, 1) = 1
openat(AT_FDCWD, "/usr/share/icons/Pop/scalable/actions/bookmark-new-symbolic.svg", O_RDONLY) = 26
statx(26, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=208, ...}) = 0
read(26, "<svg viewBox='0 0 16 16' xmlns='"..., 8192) = 208
read(26, "", 8192)                      = 0
close(26)                               = 0
openat(AT_FDCWD, "/usr/share/icons/Pop/scalable/actions/bookmark-new-symbolic.svg", O_RDONLY) = 26
statx(26, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_TYPE, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=208, ...}) = 0
read(26, "<svg viewBox='0 0 16 16' xmlns='"..., 65536) = 208
read(26, "", 65536)                     = 0
futex(0x7f02b05cf600, FUTEX_WAIT_PRIVATE, 2, NULL) = ?
+++ killed by SIGSEGV (core dumped) +++
zsh: segmentation fault (core dumped)  strace nautilus

rg '\bnix' trace.log | lines gives 778, rg '\bnix' trace.log | rg 'No such file or directory' | lines gives 681, which are basically:

newfstatat(AT_FDCWD, "/home/user/.nix-profile/share/icons/gnome/index.theme", 0x7fffe3436c90, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/user/.nix-profile/share/pixmaps/gnome/index.theme", 0x7fffe3436c90, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/.nix-profile/share/icons/icon-theme.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/user/.nix-profile/share/pixmaps/icon-theme.cache", O_RDONLY) = -1 ENOENT (No such file or directory)

gdb says this 0x00007ffff7278a2d in ?? () from /lib/x86_64-linux-gnu/libgio-2.0.so.0.

env | rg -i gio:

GIO_LAUNCHED_DESKTOP_FILE_PID=18591
14:34:12
@andrew15_5:matrix.orgAndrew before I used nix here and there and there was no such issue. 14:36:01
@ronixx:matrix.orgroshan | byteio.in 🌷image.png
Download image.png
15:01:54
@ronixx:matrix.orgroshan | byteio.in 🌷help me fix screen flickering issue in Cinnamon15:02:10
@andrew15_5:matrix.orgAndrew * before I used nix here and there and there was no such issue. I even apt upgradeed and rebooted. 15:02:26
@ronixx:matrix.orgroshan | byteio.in 🌷what details i need to share to get help15:02:28
@k900:0upti.meK900Well I don't see any flickering in the image15:02:49
@k900:0upti.meK900But generally it's the graphics driver that's to blame15:02:56
@k900:0upti.meK900Not the DE15:02:59
@ronixx:matrix.orgroshan | byteio.in 🌷Download doc_2024-11-03_20-32-41.mp415:03:00
@k900:0upti.meK900Oh15:04:06
@k900:0upti.meK900Is that an AMD laptop?15:04:09
@ronixx:matrix.orgroshan | byteio.in 🌷yes , Sir15:04:17
@k900:0upti.meK900 Try booting with amdgpu.dcdebugmask=0x10 15:04:24
@ronixx:matrix.orgroshan | byteio.in 🌷omg, seems this fixed my issue. do i need to set anything else ? i have amd r7 8845hs15:10:55
@k900:0upti.meK900No 15:11:05
@k900:0upti.meK900It's a known kernel bug 15:11:17
@ronixx:matrix.orgroshan | byteio.in 🌷

BTW, these are my current config for gpu setting

boot.initrd.kernelModules = [ "amdgpu" ];

  boot.kernelPackages = pkgs.linuxPackages_latest;
 
  boot.kernelParams = [
      "amdgpu.dc=1"
      "amdgpu.dcdebugmask=0x10"
  ];

  services.xserver.videoDrivers = ["amdgpu"];

  hardware.enableRedistributableFirmware = true;

  hardware.graphics.extraPackages = with pkgs; [
    amdvlk
  ];

  hardware.amdgpu.amdvlk.enable = true;
  hardware.amdgpu.opencl.enable = true;
15:11:39
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @k900:0upti.me
No
can i any reference link i want to read it
15:12:08
@ronixx:matrix.orgroshan | byteio.in 🌷
In reply to @k900:0upti.me
No
* can i get any reference link i want to read it
15:12:17
@k900:0upti.meK900You can definitely remove most of that 15:12:34
@k900:0upti.meK900 At least amdgpu.dc=1 is the default 15:12:58

Show newer messages


Back to Room ListRoom Version: 6