!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

659 Members
Gaming things, my hands are typing words.166 Servers

Load older messages


SenderMessageTime
27 Jan 2024
@k900:0upti.meK900Well 16:15:28
@k900:0upti.meK900Not really necessary for Plasma itself 16:15:35
@k900:0upti.meK900But necessary for drkonqi, the crash reporting tool 16:15:44
@k900:0upti.meK900And we don't have a module option to disable it 16:15:54
@k900:0upti.meK900Though maybe we should? 16:15:59
@x10an14:matrix.orgx10an14Maybe, yeah. I dunno. Seems like the "main" culprit for the required compilation time?16:20:01
@x10an14:matrix.orgx10an142024-01-27T17:19:30,186922346+01:00.png
Download 2024-01-27T17:19:30,186922346+01:00.png
16:20:08
@k900:0upti.meK900 It should be cached on nix-community 16:20:18
@k900:0upti.meK900All of it, that is16:20:34
@x10an14:matrix.orgx10an14Hummm, maybe I should start adding nix-community cache then16:24:34
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their profile picture.16:55:18
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their display name Sam Lehman.17:02:42
@lehmanator:gnulinux.club@lehmanator:gnulinux.club left the room.17:05:43
@x10an14:matrix.orgx10an14So, plasma6 (wayland) through nur/kde2nix fixes both Divinity Original Sin 2 Definitive Edition + Baldurs Gate 3. I guess it's a sway thing then...17:36:47
@k900:0upti.meK900This makes me wonder17:40:13
@k900:0upti.meK900Is your Sway from the same nixpkgs as the rest?17:40:28
@k900:0upti.meK900I know you said you tried17:44:11
@k900:0upti.meK900But this smells like libgbm mismatch17:44:16
@x10an14:matrix.orgx10an14
In reply to @k900:0upti.me
Is your Sway from the same nixpkgs as the rest?

I think so. This is the sway binary I use (this is configured in home-manager, same nix codebase, but completely unconnected to nixos, beyond sharing same flake inputs):

  programs.bash.profileExtra = let
    systemd-cat = "${pkgs.systemd}/bin/systemd-cat";
    sway = "${config.wayland.windowManager.sway.package}/bin/sway";
  in ''
    if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty4" ]; then
       # https://wiki.archlinux.org/title/Sway#Automatically_on_TTY_login
       exec ${systemd-cat} --identifier=sway ${sway}
    fi
  '';
17:44:58
@k900:0upti.meK900Do you maybe have different versions of the flake activated though17:45:28
@k900:0upti.meK900That could also do it17:45:32
@x10an14:matrix.orgx10an14

This is my sway config on the nixos side of same flake inputs-sharing nix-repo:

_:
# Sway specific stuffs (fixes that must be system based - instead of home-manager based)
{
  # Allow Wayland stuff to use OpenGL
  #  (Anything installed via Home-Manager needs a new switch for this to take effect)
  hardware.opengl.enable = true;

  # Necessary according to Nixos Wiki for Sway under HM:
  security.polkit.enable = true;

  # Allow swaylock to unlock machine;
  #   necessary due to: https://github.com/NixOS/nixpkgs/issues/143365
  programs.sway.enable = true;

  # Allow screensharing:
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    pulse.enable = true;
  };

  xdg.portal = {
    enable = true;
    wlr.enable = true;
    # Don't enable unless sway.wrapperFeatures.gtk is also enabled
    # extraPortals = [pks.xdg-desktop-portal-gtk];
    # gtkUsePortal = true;
  };

  # Enable icons for say, Gnome applications
  xdg.icons.enable = true;
}
17:45:53
@x10an14:matrix.orgx10an14
In reply to @k900:0upti.me
Do you maybe have different versions of the flake activated though
No, I always do sudo nixos-rebuild switch; home-manager switch. And I do the nix flake check --log-format internal-json -vvv |& nom --json before I activate either.
17:46:57
@k900:0upti.meK900Well I guess the other option is just "Sway broke Proton"17:47:21
@k900:0upti.meK900Which feels like a thing that should have been caught17:47:29
@x10an14:matrix.orgx10an14Well, I made sure to do this now that we updated, to avoid this pitfall at least. Not gonna say I'm perfect and never make mistakes.17:47:31
@k900:0upti.meK900But at this point17:47:46
@k900:0upti.meK900Wew17:47:46
@k900:0upti.meK900Strange stuff17:47:53
@x10an14:matrix.orgx10an14Aight, will see if I can produce some sway debug logs next time I feel like diving into this. Will just game with my patient friend who's been waiting for more than 2h now.17:51:54

Show newer messages


Back to Room ListRoom Version: 6