Page MenuHomeFreeBSD

ashafer (Austin Shafer)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 2 2019, 3:06 PM (303 w, 2 d)

Recent Activity

Fri, May 23

ashafer accepted D50487: Update x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-*-kmod to 570.153.02.
Fri, May 23, 2:59 PM

Wed, May 7

ashafer closed D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Wed, May 7, 2:02 PM
ashafer committed R11:9b6b1bf17269: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to… (authored by junchoon_dec.sakura.ne.jp).
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to…
Wed, May 7, 2:02 PM

Tue, May 6

ashafer accepted D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.

Thanks, I think this seems reasonable now.

Tue, May 6, 1:41 PM

Mon, May 5

ashafer closed D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
Mon, May 5, 1:37 PM
ashafer committed R11:637e9e68f1a2: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware (authored by junchoon_dec.sakura.ne.jp).
x11/nvidia-driver: Fix too aggressive disabling of GSP firmware
Mon, May 5, 1:37 PM
ashafer accepted D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.
Mon, May 5, 1:36 PM
ashafer added a comment to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.

The Op want to use 525.78.01 for compatibility with a specific Linux application (here, ComfyUI) and it requires Linux version of libnvidia-egl-wayland.so.1.1.10

Mon, May 5, 1:26 PM

Fri, May 2

ashafer accepted D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.

Thanks for updating. Sorry I had it on my todo list to look up where to do this for you, but seems you've figured it out anyway.

Fri, May 2, 2:12 PM

Mon, Apr 28

ashafer added a comment to D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware.

I think a better idea would be to adjust the patch I made for disabling GSP. That patch was pretty heavy handed and turned off a global which enabled GSP. I think instead we could make the patch default only the sysctl value to zero, disabling GSP by default but allowing users to enable it by setting the tunable in loader.conf. That would prevent us from having to have a build option and prevent users from having to compile things themselves.

Mon, Apr 28, 4:03 PM
ashafer added inline comments to D50048: x11/nvidia-driver: Clean up unused LIBGLDIR/LIBGLMAP.
Mon, Apr 28, 2:03 PM

Apr 23 2025

ashafer added inline comments to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Apr 23 2025, 5:38 PM
ashafer added inline comments to D49982: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: Update to 570.144.
Apr 23 2025, 1:51 PM

Apr 22 2025

ashafer closed D49915: nvidia-drm66: fix message typo.
Apr 22 2025, 8:07 PM
ashafer committed R11:4792e34d7c85: graphics/nvidia-drm-kmod: fix message typo (authored by aokblast).
graphics/nvidia-drm-kmod: fix message typo
Apr 22 2025, 8:07 PM
ashafer updated subscribers of D49915: nvidia-drm66: fix message typo.

@kbowling can you please confirm this is good for me to merge?

Apr 22 2025, 4:50 PM
ashafer accepted D49915: nvidia-drm66: fix message typo.
Apr 22 2025, 4:42 PM

Apr 21 2025

ashafer added a comment to D49915: nvidia-drm66: fix message typo.

LGTM but shouldn't the other nvidia-drm-*-kmod ports also have this updated?

Apr 21 2025, 1:21 PM
ashafer accepted D49915: nvidia-drm66: fix message typo.
Apr 21 2025, 1:20 PM

Apr 15 2025

ashafer closed D49828: x11/nvidia-driver: disable GSP Firmware by default.
Apr 15 2025, 1:33 PM
ashafer committed R11:9c0e0196bdc6: x11/nvidia-driver: disable GSP Firmware by default (authored by ashafer).
x11/nvidia-driver: disable GSP Firmware by default
Apr 15 2025, 1:32 PM

Apr 14 2025

ashafer retitled D49828: x11/nvidia-driver: disable GSP Firmware by default from x11/nvidia-driver: diable GSP Firmware by default to x11/nvidia-driver: disable GSP Firmware by default.
Apr 14 2025, 4:24 PM
ashafer added reviewers for D49828: x11/nvidia-driver: disable GSP Firmware by default: junchoon_dec.sakura.ne.jp, kbowling.

The suspend issue comes from nv_alias_pages not being implemented in our FreeBSD layer. Unfortunately when I resolve that there are still a few issues that GSP encounters when resuming, so I think the best course of action is to disable GSP by default until the issues are resolved.

Apr 14 2025, 4:23 PM
ashafer requested review of D49828: x11/nvidia-driver: disable GSP Firmware by default.
Apr 14 2025, 4:21 PM
ashafer accepted D49816: x11/nvidia-xconfig: Update to 570.133.07.
Apr 14 2025, 2:21 PM · x11
ashafer accepted D49815: x11/nvidia-settings: Update to 570.133.07.
Apr 14 2025, 2:20 PM · x11

Apr 11 2025

ashafer closed D49715: Update x11/nvidia-driver-390 and x11/linux-nvidia-libs-390 to 390.157.
Apr 11 2025, 2:16 PM
ashafer committed R11:ca078ddb10f6: x11/{linux-nvidia-libs,nvidia-driver}-390: update to version 390.157 (authored by junchoon_dec.sakura.ne.jp).
x11/{linux-nvidia-libs,nvidia-driver}-390: update to version 390.157
Apr 11 2025, 2:16 PM

Apr 8 2025

ashafer accepted D49715: Update x11/nvidia-driver-390 and x11/linux-nvidia-libs-390 to 390.157.
Apr 8 2025, 7:29 PM

Apr 4 2025

ashafer closed D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.
Apr 4 2025, 1:40 PM
ashafer committed R11:6138330314c6: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message (authored by ashafer).
x11/nvidia-driver: add note about disabling GSP firmware to pkg-message
Apr 4 2025, 1:40 PM

Apr 3 2025

ashafer updated the diff for D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.

Thanks, good catch on the revision. Bumped it now.

Apr 3 2025, 1:36 PM

Apr 2 2025

ashafer updated the diff for D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.

I don't think Fixes is a good fit for that but I did include the commit hash of the 570 bump to document the previous change.

Apr 2 2025, 8:08 PM
ashafer added a comment to D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.

You want a Fixes tag in this commit? Or are you saying in the future commit that removes this? I don't think putting a Fixes tag in this commit makes sense, this commit doesn't contain a fix it only documents a workaround.

Apr 2 2025, 7:51 PM
ashafer added reviewers for D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message: ziaee, kbowling.
Apr 2 2025, 7:23 PM
ashafer requested review of D49640: x11/nvidia-driver: add note about disabling GSP firmware to pkg-message.
Apr 2 2025, 7:22 PM
ashafer added a comment to D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

The suspend/resume breakage was found after this commit, it wasn't something known before committing or else it would not have landed.

Apr 2 2025, 6:30 PM
ashafer closed D49457: Update x11/nvidia-driver-470 and x11/linux-nvidia-libs-470 to 470.256.02.
Apr 2 2025, 1:54 PM
ashafer committed R11:a569017b31f7: x11/nvidia-driver-470, x11/linux-nvidia-libs-470: Update to 470.256.02 (authored by junchoon_dec.sakura.ne.jp).
x11/nvidia-driver-470, x11/linux-nvidia-libs-470: Update to 470.256.02
Apr 2 2025, 1:54 PM

Apr 1 2025

ashafer added a comment to D49457: Update x11/nvidia-driver-470 and x11/linux-nvidia-libs-470 to 470.256.02.

@grahamperrin so this "failed to allocate memory" issue happens when you are using displays connected through the HP display dock? Does it ever happen when you are just using the monitors directly connected to the NVIDIA card? Is this a laptop? Those docks have always given me all kinds of problems, the thinkpad dock I have likes to turn one particular monitor of mine off and on randomly.

Apr 1 2025, 3:04 PM

Mar 17 2025

ashafer closed D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.
Mar 17 2025, 9:52 PM
ashafer committed R11:0de17c4dce28: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to… (authored by junchoon_dec.sakura.ne.jp).
x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm-kmod: update to…
Mar 17 2025, 9:51 PM
ashafer accepted D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

Still LGTM, thanks

Mar 17 2025, 1:59 PM

Mar 6 2025

ashafer accepted D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

Looks good, thanks

Mar 6 2025, 3:06 PM

Mar 5 2025

ashafer added a comment to D49245: x11/nvidia-driver, x11/linux-nvidia-libs, graphics/nvidia-drm*-kmod: Upgrade to latest Production Branch of driver 570.124.04.

Aside from the one note about the fbdev comment this looks good to me, thanks.

Mar 5 2025, 3:29 PM

Feb 20 2025

ashafer closed D49065: graphics/nvidia-drm-66-kmod: add new port.
Feb 20 2025, 2:49 PM
ashafer committed R11:3dc2b5a5bdb5: graphics/nvidia-drm-66-kmod: add new port (authored by ashafer).
graphics/nvidia-drm-66-kmod: add new port
Feb 20 2025, 2:49 PM

Feb 19 2025

ashafer added reviewers for D49065: graphics/nvidia-drm-66-kmod: add new port: manu, kbowling.

+mentor and also manu to double check everything looks compatible with the new drm-66-kmod.

Feb 19 2025, 7:30 PM
ashafer requested review of D49065: graphics/nvidia-drm-66-kmod: add new port.
Feb 19 2025, 7:29 PM

Feb 10 2025

ashafer closed D48909: news: correct commit bit type for ashafer.
Feb 10 2025, 6:02 PM
ashafer committed R9:a461c6afe8be: news: correct commit bit type for ashafer (authored by ashafer).
news: correct commit bit type for ashafer
Feb 10 2025, 6:02 PM
ashafer added reviewers for D48909: news: correct commit bit type for ashafer: kbowling, grahamperrin.
Feb 10 2025, 5:10 AM
ashafer requested review of D48909: news: correct commit bit type for ashafer.
Feb 10 2025, 5:10 AM

Jan 28 2025

pi renamed ashafer from ashafer_badland.io to ashafer.
Jan 28 2025, 8:04 AM

Jan 26 2025

ashafer closed D48694: New committer (ports): Austin Shafer (ashafer).
Jan 26 2025, 9:48 PM
ashafer committed R9:a52de44df1a6: New committer (ports): Austin Shafer (ashafer) (authored by ashafer).
New committer (ports): Austin Shafer (ashafer)
Jan 26 2025, 9:48 PM
ashafer committed rGbd0510a4213e: Add myself as ports committer with mentor kbowling (authored by ashafer).
Add myself as ports committer with mentor kbowling
Jan 26 2025, 9:28 PM
ashafer closed D48695: Add myself as ports committer with mentor kbowling.
Jan 26 2025, 9:28 PM
ashafer added a reviewer for D48695: Add myself as ports committer with mentor kbowling: kbowling.
Jan 26 2025, 7:44 PM
ashafer requested review of D48695: Add myself as ports committer with mentor kbowling.
Jan 26 2025, 7:44 PM
ashafer added a reviewer for D48694: New committer (ports): Austin Shafer (ashafer): kbowling.
Jan 26 2025, 7:43 PM
ashafer requested review of D48694: New committer (ports): Austin Shafer (ashafer).
Jan 26 2025, 7:43 PM

Nov 5 2024

ashafer added a comment to D47448: iichid: Fix layout of PNP ids.

So the stock MODULE_PNP_INFOs do handle structures such as that, I guess the problem is we don't use them for ACPI things. from the manpage:

static struct my_pciids {
               uint32_t devid;
               const char *desc;
       } my_ids[] = {
               { 0x12345678, "Foo bar" },
               { 0x9abcdef0, "Baz fizz" },
       };
Nov 5 2024, 6:35 PM
ashafer added a reviewer for D47448: iichid: Fix layout of PNP ids: wulf.

Curious your opinions on this. Maybe I'm misreading the pnp code but it looks like we have been handing it the wrong format and it thinks it's a list of strings when it isn't.

Nov 5 2024, 2:33 AM
ashafer requested review of D47448: iichid: Fix layout of PNP ids.
Nov 5 2024, 2:31 AM

Oct 27 2024

ashafer abandoned D47290: nvidia-drm-kmod: bump distinfo after drm-kmod updates.

No worries, thanks for submitting a fix.

Oct 27 2024, 4:40 PM

Oct 26 2024

ashafer added a reviewer for D47290: nvidia-drm-kmod: bump distinfo after drm-kmod updates: kbowling.
Oct 26 2024, 4:39 AM
ashafer requested review of D47290: nvidia-drm-kmod: bump distinfo after drm-kmod updates.
Oct 26 2024, 4:39 AM

Oct 10 2024

ashafer added a comment to D47006: rtw89: Fix TX panics.

I'm not in the wireless group but I suppose I could be. I also lurk in the kernel/desktop/gaming channels in the freebsd discord if you use that, feel free to ping or email me.

Oct 10 2024, 2:13 PM
ashafer added a comment to D47006: rtw89: Fix TX panics.

Sure, what IMPROVING file are you referring to? I'd be happy to test things, I'm trying to get a modern laptop setup on this lenovo legion laptop I have so it would be good to use rtw89 for that.

Oct 10 2024, 2:04 PM

Oct 8 2024

ashafer added inline comments to D47006: rtw89: Fix TX panics.
Oct 8 2024, 10:16 PM
ashafer added a comment to D47006: rtw89: Fix TX panics.

Huh I think I had seen the long idle disconnect thing earlier today but didn't realize that was what it was.

Oct 8 2024, 5:07 PM
ashafer added a comment to D47006: rtw89: Fix TX panics.

linuxkpi_ieee80211 has a function it calls to zero the next/prev fields called TAILQ_ELEM_INIT, so that it could do this check.

Oct 8 2024, 3:33 PM
ashafer updated the diff for D47006: rtw89: Fix TX panics.

Thanks updated, does this look more clear?

Oct 8 2024, 1:46 PM
ashafer added reviewers for D47006: rtw89: Fix TX panics: bz, adrian.

What's preventing rtw89 from getting enabled in the build? With this fix I could comfortably test youtube, iperf3, ssh. Speed was ~20mbps but stable. I think it could make sense to open this up to more people.

Oct 8 2024, 6:19 AM
ashafer requested review of D47006: rtw89: Fix TX panics.
Oct 8 2024, 6:17 AM

May 29 2024

ashafer updated subscribers of D45400: graphics/nvidia-drm-kmod: prepare for 555 update.
May 29 2024, 2:01 PM
ashafer requested review of D45400: graphics/nvidia-drm-kmod: prepare for 555 update.
May 29 2024, 2:00 PM

May 27 2024

ashafer added a comment to D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Pushed here: https://github.com/amshafer/freebsd/commit/214a96bb38bf5534b59eb149367369a233fa6826

May 27 2024, 8:53 PM

May 13 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Pushed it here: https://github.com/amshafer/freebsd/tree/this_module

May 13 2024, 7:45 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Added parentheses

May 13 2024, 6:30 PM
ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Yes, thanks. I don't have a committer bit.

May 13 2024, 6:01 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Thanks, updated to just remove the module_get() bits for now.

May 13 2024, 4:51 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Updated with jhb's proposal. Also implemented module_get and module_put by casting to linker_file_t and bumping the refcount. Retested with PRIME offloading to confirm this still fixes the panic. Unlike the previous (similar) version this handles the statically compiled module case.

May 13 2024, 2:04 PM

May 6 2024

ashafer added a comment to D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Any update on getting this merged?

May 6 2024, 7:52 PM
ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

I believe that would work and I agree it would be much simpler. @kib is there something the (b) variant provides that (a) would be missing if we went with @jhb's proposal? It seems like they provide the same functionality?

May 6 2024, 2:13 PM

Apr 28 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

I guess the last question is what linuxkpi macro should actually create the global? I had previously used LKPI_DRIVER_MODULE, but not everywhere uses that. I guess we could make our own DEFINE_THIS_MODULE() macro and then call it from LKPI_DRIVER_MODULE, and add calls elsewhere as needed?

Apr 28 2024, 12:53 AM

Apr 27 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

It seems the way it works is that THIS_MODULE is a NULL pointer during "builtin" (statically building modules into the kernel), and points to the struct module of the dynamically loaded module otherwise. I think we could do something similar where we get the current linuxkpi behavior (THIS_MODULE is null) if we aren't building a dynamically loaded module?

Apr 27 2024, 3:16 PM

Apr 26 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

how would any of proposals handle LKPI modules statically compiled into the kernel?

Apr 26 2024, 2:07 PM

Apr 23 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Instead, it should be only resolved locally, causing undefined symbol error if attempt is made to reference it from kld without the module symbol (section ?).

Apr 23 2024, 1:34 PM

Apr 22 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

So what is the expected use of THIS_MODULE in Linux? Determine that current module is not that module, or something else?

Apr 22 2024, 5:37 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Updated with KLD_DPF debug statement.

Apr 22 2024, 5:34 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Updated to be generic. I changed the name to __this_linker_file to better represent
what the variable points at. On linux __this_module points at a struct module, so
for us we point at a linker_file_t.

Apr 22 2024, 2:30 PM

Apr 20 2024

ashafer updated the diff for D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Updated with style, thanks.

Apr 20 2024, 4:04 PM

Apr 19 2024

ashafer updated the diff for D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

There isn't a PR, this has been a longstanding issue with nvidia-drm that I'm
finally getting around to solving.

Apr 19 2024, 6:33 PM
ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Thanks for all the suggestions! I've implemented it by doing the special
casing in linker_file_lookup_symbol_internal as suggested. It looks like
this does work, I can see different owner fields populated in nvidia-drm
and drm. Also confirmed multiple usages of THIS_MODULE in drm.ko point to
the same thing.

Apr 19 2024, 6:27 PM
ashafer requested review of D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.
Apr 19 2024, 2:48 PM

Apr 10 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

It sounds like linux has insmod set up the __this_module variable when a module is loaded. If you're asking about doing something equivalent then I don't have a good estimate for how hard that would be. I don't know the details though.

Apr 10 2024, 2:12 AM

Apr 9 2024

ashafer added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

That's a promising idea. I wonder if instead of having an unusual inline function we could instead make it part of the build setup. Something like setting KBUILD_MODNAME_HASH to whatever sha1 -s "$KBUILD_MODNAME" returns as part of the Makefile? That seems like it might be a little cleaner and easier to debug. Only downside is we have to update all of the makefiles that use KBUILD_MODNAME, I can't think of a way to automate it off the top of my head.

Apr 9 2024, 9:32 PM

Apr 3 2024

ashafer updated the diff for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

Bump __FreeBSD_version for drm-kmod

Apr 3 2024, 5:36 PM