Open thembees opened 7 months ago
even as of 9.5 it's doing the same thing, scaling in wine set to 144/150% same as it is in kde/wayland. Mouse is just weirdly erratic. I think the issue has something to do with how wayland tracks the mouse when the cursor isn't visable; like they talk about here, or maybe this kwin patch, I also was reading a Reddit post where OP mentioned something similar, but now I can't find it.
Wine-waylaind is built on Fedora 38. Ubuntu-based builds won't compile with wayland enabled at the moment. This is also based on wine stable, not wine-staging. Wine-staging will compile with wayland support, but the mouse still doesn't work properly.
I'm confirming that I am using the wayland version, not the staging version. I haven't tried the staging version, but is that mouse issue similar to the one described above? Though if I understand correctly this staging version doesn't have wayland support?
Is the mouse working normally for others under wayland?
Specs: Arch, 6.8.1-zen, kde plasma 6.0.2, AMD 7900XTX, i5-8600K, 32gb ram.
I can't tell if you mentioned it, but you're using the new Wine Wayland driver right? I use that, along with making sure the "Keep mouse cursor in game" option on. Otherwise, the mouse isn't captured properly. Probably something not implemented in Wine yet!
This is on Plasma 6 Wayland, 125% scaling
new Wine Wayland driver
I'm not sure what you mean? I've tried the new "Wine-xiv-valvebe-9-02" both clean & staging, as well as the previous 9.5 through 9.0 builds all from here, and I've tried just straight wine 9 through 9.5 directly from wine, with all of them I go into regedit and add the x11,wayland line, all of these builds seem to work great through xwayland, but all of them do the mouse issue I described in my original post when using straight-wayland.
the "Keep mouse cursor in game" option on. Otherwise, the mouse isn't captured properly.
I've tried enabling and disabling this on most of the builds I've tried, including the latest valvebe-9-02 release and it doesn't seem like it makes any difference for me.
I'm not sure what you mean?
It's the new native Wayland support that the 9.x series has, you seem to know how to enable it though:
with all of them I go into regedit and add the x11,wayland line, all of these builds seem to work great through xwayland
If it's running through XWayland then it's not working, it should be Wayland native. You can tell by the window borders, since Wine Wayland uses a different decoration. The regedit part is correct but make sure you're also unsetting DISPLAY
. Something like DISPLAY= wine regedit
(replace it with whatever you do to run FFXIV.)
I ran it through Wayland and xwayland for testing purposes, when I add DISPLAY= to my prefix and it launches through native wayland, I get the mouse issues, if I don't add DISPLAY= and run it via xwayland on the same wine versions, everything works great. That's what I meant, so seems to still be mouse related Wayland / KDE issues.
I'm on Arch using the kde-testing repo, 6.0.3-3 / 6.7.0rc2-1
adding on the new "Unofficial wine wayland and staging 9.5.1 with new crash fix" build, again in wayland, the mouse movement is insane, here is a video of what i'm seeing: https://youtu.be/fIHk9PtHH-Q (Around the 18 second mark I switch to using the left/right arrow keys to pan the camera, and it's nice and smooth)
in winecfg toggling "Automatically capture the mouse in full screen windows" has no effect whether it's on or off.
under xwayland it works great, and the "unofficial-wine-xiv-valvebe-8-1" xwayland build seems to work perfectly.
That only happens to me if i use two monitors, if i disable second monitor it works normal
My main display is 4k and has wayland scaling 150%, I set my wine dpi to 144, the cursor is in the correct place in game and I can click on stuff/interact normally, and everything looks right, however panning the camera around is sporadic, laggy, and kind of jumps all over the place - almost like if you turned mouse acceleration on and cranked it up to a super high curve but then gave it cocaine. Moving the camera around with the mouse keys works as expected and is nice and smooth.
What I've tried to fix: In-Game switching between "Hardware Cursor FFXIV Custom", "Hardware Cursor OS", and "Software Cursor" has no effect.
Switching between Borderless Windowed, and Full Screen, no change. (Though for fullscreen it only lets me select 1080p, there is no 4k native resolution option)
Adding the launch options: WINE_VK_USE_CUSTOM_CURSORS=1 WINE_VK_FULLSCREEN_GRAB_CURSOR=1 Has no effect.
Also toggling, "Hack: XMODIFIERS="@im=null" in the XIVLauncher Troubleshooting tab has no effect.
I turn wayland display scaling off and updated wine DPI settings, interestingly, I can only access to top half of the game? I wasn't able to press "Start" either so unable to test camera movement.
Dragging & Moving Dalamud windows around works normally.
Turning Dalamud off has no effect, turning Reshade off has no effect.
I'm about out of ideas!