!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

77 Members
19 Servers

Load older messages


SenderMessageTime
23 Jan 2025
@6pak:matrix.org6pakbut you would need to mess around with some kind of system for overlaying files and registry, sure20:49:22
@gggkiller:matrix.orgGGGAnd I don't plan to upstream this to nixpkgs anyways, so I'll just pick the lazy route20:49:47
@6pak:matrix.org6pakyeah but winetricks is so slow20:50:36
@6pak:matrix.org6pakand the stuff it copies to the prefix takes so much space20:50:46
@gggkiller:matrix.orgGGGIt's only as slow as the installers themselves imo20:51:22
@gggkiller:matrix.orgGGGMost of the time was spent on them in this case20:51:38
@6pak:matrix.org6pak have you ever ran winetricks corefonts 20:53:33
@6pak:matrix.org6pakor read winetricks source code20:54:01
@gggkiller:matrix.orgGGGNope20:54:20
@gggkiller:matrix.orgGGGJust speaking from the output I saw20:54:29
@gggkiller:matrix.orgGGGI assume the one logging files being copied were the installers running under wine 20:54:58
@6pak:matrix.org6pak

btw before I got wine workarounds upstreamed into dnspy I had this in the wrapper script

    if [ ! -d "$WINEPREFIX" ]; then
      mkdir -p "$WINEPREFIX"
      ${lib.getExe' wine "wineboot"} -u
    fi

    if ! grep -qw "corefonts" "$WINEPREFIX/winetricks.log" 2>/dev/null; then
      ${lib.getExe' winetricks "winetricks"} corefonts
    fi

    # Disable hardware acceleration in WPF (Avalon) because it's causing visual glitches
    if ! grep -q '"DisableHWAcceleration"=dword:00000001' "$WINEPREFIX/user.reg" 2>/dev/null; then
      "$WINE" reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f
    fi
20:59:36
@6pak:matrix.org6pakto avoid running wineboot/winetricks/winereg every launch20:59:50
@6pak:matrix.org6pakwhich took quite some time20:59:57
@6pak:matrix.org6pakit might not matter for your use case though I guess21:00:04
@gggkiller:matrix.orgGGGYeah, in my case I can't really upstream anything nor use patches21:09:21
@6pak:matrix.org6pakI mean the faster launch time might not matter for you21:10:00
@gggkiller:matrix.orgGGGOh, I see21:10:50
@gggkiller:matrix.orgGGGYeah, the only reason I had to use PerfView already pretty much flopped so I don't have any use for it for the foreseeable future 21:11:42
25 Jan 2025
@devurandom:matrix.orgDennis joined the room.19:58:22
7 Feb 2025
@emma:rory.gayEmma [it/its]is there any chance of getting dotmemory packaged in nix?17:22:36
@6pak:matrix.org6pakhttps://github.com/NixOS/nixpkgs/pull/34840217:27:14
@emma:rory.gayEmma [it/its]oh, thanks <317:28:08
@emma:rory.gayEmma [it/its]i was trying to figure out why my code parsing a 780 byte file takes 109 KB of allocations, but the built in profiler wasnt giving me anything at all17:28:28
@6pak:matrix.org6pakbtw rider has dotmemory builtin aswell17:29:11
@emma:rory.gayEmma [it/its]

but the built in profiler wasnt giving me anything at all

17:29:40
@6pak:matrix.org6pakoh I thought you meant dotnet-sos/dotnet-dump etc17:29:57
@6pak:matrix.org6pakbut rider literally embeds dotmemory so they should work the same17:30:16
8 Feb 2025
@emma:rory.gayEmma [it/its]yeah my issue is that the rider builtin variant doesnt do anything at all01:34:16
@emma:rory.gayEmma [it/its]the problem is that i cant make a snapshot because the process exits in less than a second01:34:46

There are no newer messages yet.


Back to Room ListRoom Version: 9