You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Firefox从其他应用打开新标签页时卡顿10-15秒,关联Nvidia ioctl调用延迟问题求助

Firefox从其他应用打开新标签页时卡顿10-15秒,关联Nvidia ioctl调用延迟问题求助

各位好,我遇到一个困扰了好几个月的问题,想请教大家有没有解决办法:

每次我从其他应用(比如Thunderbird)点击链接打开Firefox新标签页时,整个桌面会冻结10-15秒——鼠标能移动,但其他操作完全没反应。等这段时间过去后,已打开的Firefox窗口才会弹出,新标签页正常加载请求的URL。

我最近用ktrace -i firefox some://new/url做了追踪,发现Firefox两次卡在Nvidia的ioctl调用里,每次耗时5秒左右(下面的kdump输出里第三列是从开始算起的耗时):

kdump -E

...
62726 MainThread 0.114878 CALL exit(0)
62727 firefox 5.419059 RET ioctl 0
62727 firefox 5.419083 CALL openat(AT_FDCWD,0x186bf4be2420,0x2<O_RDWR>)
62727 firefox 5.419087 NAMI "/dev/nvidia0"
62727 firefox 5.419114 RET openat 15/0xf
62727 firefox 5.419116 CALL fcntl(0xf,F_SETFD,FD_CLOEXEC)
62727 firefox 5.419117 RET fcntl 0
62727 firefox 5.419119 CALL ioctl(0xf,0xc01446ce,0x186bf4be2500)
62727 firefox 10.649216 RET ioctl 0
62727 firefox 10.649233 CALL openat(AT_FDCWD,0x186bf4be2420,0x2<O_RDWR>)
62727 firefox 10.649236 NAMI "/dev/nvidia0"
62727 firefox 10.649305 RET openat 16/0x10
62727 firefox 10.649307 CALL fcntl(0x10,F_SETFD,FD_CLOEXEC)
62727 firefox 10.649309 RET fcntl 0
62727 firefox 10.649310 CALL ioctl(0x10,0xc01446ce,0x186bf4be2500)
62727 firefox 15.849375 RET ioctl 0
62727 firefox 15.849418 CALL ioctl(0x8,0xc020462a,0x186bf4be24d0)

这个0xc01446ce应该是Nvidia特有的ioctl,这也能解释为什么整个桌面会短暂冻结。

我已经试过Windows用户常用的解决方法——关闭Firefox的“使用可用的硬件加速”选项,但在FreeBSD上完全没效果。

想问问大家,有没有其他可以尝试的解决方向?

备注:内容来源于stack exchange,提问作者Mikhail T.

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 12:19:35