Masum Reza

Results 85 comments of Masum Reza

I am not the PR author this time :) @In-line well, you heard fufexan :)

GCC lto itself does not do much. Clang LTO, especially thin LTO is much better.

> @vaxerski Is there a good CPU bottleneck benchmark I can use to compare LTO and non-LTO builds? Maybe these are not what you are looking for, but can be...

Clang LTO: Finished at 20:34:56 after 1m3s GCC LTO: Finished at 20:28:26 after 1m16s

Could you try rebooting and check it when the session is idle? I am not sure how `nixos-rebuild switch` performs switch of display managers/DEs without restarting them.

![image](https://github.com/hyprwm/Hyprland/assets/50095635/86b8ec3c-4af8-4fbe-9944-e2fa51acb513) This is with Clang LTO on.

With my setup, enabling LTO with GCC, Hyprland crashes on startup, but if I compile with Clang+LTO, it's fine.

> I believe NixOS has a custom way of making systemd play nice with bcachefs involving symlinks. I'm not so sure about that. Enabling systemd-initrd broke booting with bcachefs root,...

The eval is failing? Not sure why, though. EDIT: Ahhh? ```log error: function 'mkOption' called with unexpected argument 'strategy' at /nix/store/asymc3nsl739p1wwr0w6xbjnqs3qb94p-source/lib/options.nix:67:5: 66| mkOption = 67| { ```

@rycee @Mic92 hi, if you are free to review this, could you check? Just a friendly ping :)