Re: suspend/resume regression on -head sometime in the last three months
- Reply: Kevin Oberman : "Re: suspend/resume regression on -head sometime in the last three months"
- Reply: Ruslan Zalata : "suspend/resume regression on -head sometime in the last three months"
- In reply to: Ruslan Zalata : "suspend/resume regression on -head sometime in the last three months"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Nov 2026 03:33:27 UTC
On Sat, 14 Nov 2026 04:23:48 +0500 Ruslan Zalata <rz@fabmicro.ru> wrote: > Hi again, > > On 2026-11-14 02:27, Adrian Chadd wrote: > > >> How much time is that "after a while" ? > > Like, i just need to fire up firefox, restore a few tabs, then try > > suspend. > > I have a dozen of tabs usually open in Firefox. Could it be some bug > specific to Firefox version ? Mine is 153.6.0esr. > > > which drm-kmod? 612? 66? something else? > > Good question! Frankly, I couldn't find a decent way to learn which > version of drm-kmod driver is currently installed, `pkg info' is not > helpful. Would be good to have something like drm_kmod_version in > Annotations in pkg info, btw. Also to incorporate linux driver version > into drm-kmod module with macro like MODULE_KMOD_INFO, so we could > extract that data with `kldinfo' easily. ;-) You can use `pkg version | grep drm`. In my case, > % pkg version | grep drm > drm-612-kmod-6.12.110.1502501_3 = > drm_info-2.10.0_1 = > libdrm-2.4.134,1 = > nvidia-drm-612-kmod-devel-620.70.06.1502501 = > nvidia-drm-kmod-devel-620.70.06 = Or `pkg version -o | grep drm`. > % pkg version -o | grep drm > graphics/drm-612-kmod = > graphics/drm_info = > graphics/libdrm = > graphics/nvidia-drm-612-kmod-devel= > graphics/nvidia-drm-kmod-devel = Regards. > > Anyway, searching for strings in admgpu.ko reveals this: > > rz@butterfly:~ % strings /boot.16/boot/modules/amdgpu.ko | grep > drm-kmod-drm | head -2 > /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c > /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > > So, I think it is drm-612-kmod. > > >> PS: 15.1 user-land has no audio while running on 16.0-head, this seems > >> to be because of changes in OSS. The rest seems to be fine. > > You should file a bug about that so Christos can see what's up. > > I have to do a bit deeper investigation, it could be just some driver > missing. > > One more thing. When loading nvidia.ko I get these messages from > witness_debugger: > > [1537.500796] 1st os.rwlock_sx @ nvidia_os.c:777 > [1537.500800] 2nd os.rwlock_sx @ nvidia_os.c:777 > [1537.500803] stack backtrace: > [1537.501061] #0 0xffffffff80cd209c at witness_debugger+0x6c > [1537.501289] #1 0xffffffff80c651f0 at _sx_xlock+0x60 > [1537.501508] #2 0xffffffff84d40462 at os_acquire_rwlock_write+0x32 > [1537.501782] #3 0xffffffff84a1fcb0 at _nv049066rm+0x10 > [1537.501893] nvidia0: <NVIDIA GeForce RTX 3050 Laptop GPU> on vgapci0 > [1537.501903] vgapci0: child nvidia0 requested pci_enable_io > > Do you also have these ? Could it be a deadlock that triggers once, in a > sudden ? > > --- > WBR, Ruslan. > PGP: D7545516DF544C4A, Get by finger rz@fabmicro.ru > -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>