mihomo icon indicating copy to clipboard operation
mihomo copied to clipboard

[Bug] 使用TUN模式,默认配置 direct连接时,玩游戏有丢包抖动问题。

Open NemoX0042 opened this issue 1 year ago • 3 comments

Verify steps

  • [X] 确保你使用的是本仓库最新的的 mihomo 或 mihomo Alpha 版本 Ensure you are using the latest version of Mihomo or Mihomo Alpha from this repository.
  • [ ] 如果你可以自己 debug 并解决的话,提交 PR 吧 Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • [X] 我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
  • [X] 我已经使用 Alpha 分支版本测试过,问题依旧存在 I have tested using the dev branch, and the issue still exists.
  • [X] 我已经仔细看过 Documentation 并无法自行解决问题 I have read the documentation and was unable to solve the issue.
  • [X] 这是 Mihomo 核心的问题,并非我所使用的 Mihomo 衍生版本(如 OpenMihomo、KoolMihomo 等)的特定问题 This is an issue of the Mihomo core per se, not to the derivatives of Mihomo, like OpenMihomo or KoolMihomo.

Mihomo version

Alpha

What OS are you seeing the problem on?

Windows

Mihomo config

mode: rule
mixed-port: 7890
allow-lan: false
log-level: info
ipv6: false
secret: ''
external-controller: 127.0.0.1:9090
dns:
  enable: true
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  nameserver:
  - 114.114.114.114
  - 223.5.5.5
  - 8.8.8.8
  fallback: []
  fake-ip-filter:
  - dns.msftncsi.com
  - www.msftncsi.com
  - www.msftconnecttest.com
tun:
  enable: true
  stack: gvisor
  dns-hijack:
  - any:53
  auto-route: true
  auto-detect-interface: true

Mihomo log

No response

Description

使用TUN模式,默认配置 direct连接时,玩无畏契约有丢包抖动问题。已排除节点规则配置问题。

NemoX0042 avatar Dec 28 '23 08:12 NemoX0042

  1. fake-ip可能导致的性能问题
  2. tun模式换成system试试

likevi9528 avatar Jan 05 '24 22:01 likevi9528

遇到相似问题 tun模式是system 切换到mixed情况似乎有所缓解

ENTNEAZ avatar Jan 07 '24 06:01 ENTNEAZ

  1. fake-ip可能导致的性能问题
  2. tun模式换成system试试

你的意思是TUN stack换system吗?(我TUN Stack换system之后直接连不上了) 还是使用系统代理?

NemoX0042 avatar Feb 02 '24 06:02 NemoX0042