!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

194 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v60 Servers

Load older messages


SenderMessageTime
25 Sep 2025
@outfoxxed:outfoxxed.meoutfoxxedtrigger what?21:19:21
@outfoxxed:outfoxxed.meoutfoxxedthe vector crash or the nixpkgs eval fail21:19:35
@dramforever:matrix.orgdramforeverthe vector misalignment21:19:42
@dramforever:matrix.orgdramforeveryeah what would be vector crash on k121:19:55
@outfoxxed:outfoxxed.meoutfoxxedit looked like it happened during kernel module loading21:20:02
@outfoxxed:outfoxxed.meoutfoxxedby systemd21:20:06
@rosscomputerguy:matrix.orgTristan RossWtf21:20:09
@dramforever:matrix.orgdramforeverthat's not really significant21:20:10
@dramforever:matrix.orgdramforeverit could be anywhere21:20:13
@outfoxxed:outfoxxed.meoutfoxxedits linux 6.6.6321:20:12
@outfoxxed:outfoxxed.meoutfoxxedI don't really know what else I can tell you21:20:25
@dramforever:matrix.orgdramforeversince you set v in gcc.arch it could happen to anything and anywhere21:20:40
@dramforever:matrix.orgdramforeverkernel module loading is just one of the first thing it does on boot21:21:54
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
I want to try a RISC-V + LLVM kernel
NB: this will likely take longer to build because of needing to change stdenv.
22:41:06
@rosscomputerguy:matrix.orgTristan RossIk22:41:23
@rosscomputerguy:matrix.orgTristan RossI run an LLVM kernel on my desktop22:41:31
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
I run an LLVM kernel on my desktop
Is there any noticeable difference?
22:42:04
@rosscomputerguy:matrix.orgTristan RossKinda22:42:24
@rosscomputerguy:matrix.orgTristan RossThe noise from my audio interface is less noticable22:42:34
@rosscomputerguy:matrix.orgTristan Ross And pkgsLLVM.linux took 20 minutes with a GCC built kernel where with the LLVM kernel, it took 15 minutes 22:43:02
@rosscomputerguy:matrix.orgTristan RossI ran the same build under the two kernels 3 times in a row on each kernel and got the same 5 minutes difference22:43:45
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
The noise from my audio interface is less noticable
It sounds like there is interference between your CPU and your audio interface...
I mean, it shouldn't be driving the sound card differently just because of differences in compiler optimisations and code layout, right?
22:44:24
@rosscomputerguy:matrix.orgTristan RossThe thing is I'm not sure22:44:56
@rosscomputerguy:matrix.orgTristan RossI shouldn't even be getting noise in the first place since it's over USB. Even on my dedicated USB card, I actually get worse audio quality.22:45:22
@alex:tunstall.xyzAlex
In reply to @rosscomputerguy:matrix.org
I ran the same build under the two kernels 3 times in a row on each kernel and got the same 5 minutes difference
This could be due to ld.bfd vs lld (assuming these are what the two stdenvs use for linking). Worth exploring...
22:45:31
@rosscomputerguy:matrix.orgTristan RossI was thinking about asking some people at Ampere since I do have an Ampere CPU and the performance team has done a lot of testing as I've heard.22:46:13
@dramforever:matrix.orgdramforeverlld should be faster than ld.bfd at processing linker relaxations... maybe22:48:05
@dramforever:matrix.orgdramforeveri'm not sure how you would go about profiling this though22:48:21
@dramforever:matrix.orgdramforeveroh nevermind it's not really building a riscv kernel22:48:42
@alex:tunstall.xyzAlex
In reply to @dramforever:matrix.org
i'm not sure how you would go about profiling this though
IIRC there is a function for "just change the linker" for use with replaceStdenv, so the two can be compared in isolation.
22:49:19

Show newer messages


Back to Room ListRoom Version: 10