[Bug 59241] New: [Feature-Request] Add optional environment variable to disable IPv6 in Wine
http://bugs.winehq.org/show_bug.cgi?id=59241 Bug ID: 59241 Summary: [Feature-Request] Add optional environment variable to disable IPv6 in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: bugs.winehq.org.confess471@passinbox.com Distribution: --- Issue Description Some games running under Wine/Proton encounter high or unstable ping when IPv6 is available but routing is suboptimal (e.g., Overwatch 2). Currently, there is no way to disable IPv6 within Proton or Wine without changing system-wide settings. This can negatively affect gameplay, especially on Linux systems where global IPv6 deactivation is undesirable. Other applications may use or depend on IPv6. The most elegant way to handle this would be following: Proposed Solution: Introduce an optional environment variable, for example: WINE_DISABLE_IPV6=1 Benefits: Allows users to fix IPv6-related latency issues in games/applications without modifying system-wide IPv6 settings Improves Linux gaming experience for games that prefer IPv4 in poorly routed IPv6 environments References: Reddit discussion about Overwatch 2 high ping when IPv6 is enabled: https://www.reddit.com/r/overwatch2/comments/1n4a4ko Blizzard forums: users report IPv6 routing causing high ping: https://us.forums.blizzard.com/en/overwatch/t/my-ping-keep-spiking-and-rubbe... Proton-Issue: https://github.com/ValveSoftware/Proton/issues/9396#event-21998734050 kisak-valve (Proton-Dev) said following: "...this reads like something that should be evaluated and implemented in upstream wine first, after that's been achieved, then we could ponder backporting the functionality to Proton." -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59241 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #1 from Zeb Figura <z.figura12@gmail.com> --- Generally this kind of thing we want to do the same kind of way Windows does it, if it even does. On Windows it's done with a registry key [1] or per-device through some sort of shell/explorer/CPL object [2]. If we add UI for it I think it'd be reasonable to shove it in inetcpl even though it's not there on Windows. My guess is it'd be acceptable to implement under those terms, although it'll be a bit less convenient than an environment variable. Finding someone to do the work, of course, is going to be a harder problem. [1] https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/con... [2] https://networking.grok.lsu.edu/article.aspx?articleid=17573 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59241 joaopa <jeremielapuree@yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr --- Comment #2 from joaopa <jeremielapuree@yahoo.fr> --- Looks like there is no wine-bug here. This kind of problems should be better reported to game server maintainers. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59241 mata <sutupud@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sutupud@yahoo.com --- Comment #3 from mata <sutupud@yahoo.com> --- Might be already enough to stop the program from tryng to connet to ipv6 addresses to export RES_OPTIONS=no-aaaa before strting wine / proton / steam, that should stop getaddrinfo (which might be used under the hood) from returning ipv6 adresses. Or to prioritize ipv4 by setting the preferences in /etc/gai.conf to precedence ::1/128 50 precedence ::/0 40 precedence 2002::/16 30 precedence ::/96 20 precedence ::ffff:0:0/96 1000 Not sure why the workaround to disable ipv6 globally or per interface should be more acceptable on windows than on linux, its not advised there either. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla