Description
When both Flashback and WayFix are loaded, the mouse cursor does not get hidden and is still visible on the screen.
This screenshot is taken with only Flashback, ModMenu, WayFix and their dependencies (Fabric API, Cloth Config API) loaded. The client is running in a KDE Plasma Wayland session on Linux (EndeavourOS). The computer has an NVIDIA 3060 Ti GPU and is using nvidia-open-dkms
v565.57.01 as the video driver. Kernel module parameter nvidia_drm.modeset
is also set to 1.
I have tried this on both the default Minecraft client parameters, and GraalVM EE JDK 21 with the following parameters:
-Xms4G -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:+EagerJVMCI -Dgraal.TuneInlinerExploration=1 -XX:+UseG1GC -XX:MaxGCPauseMillis=37 -XX:+PerfDisableSharedMem -XX:G1HeapRegionSize=16M -XX:G1NewSizePercent=23 -XX:G1ReservePercent=20 -XX:SurvivorRatio=32 -XX:G1MixedGCCountTarget=3 -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:GCTimeRatio=99 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16 -XX:AllocatePrefetchStyle=3 -XX:ConcGCThreads=10 -XX:+UseLargePages -XX:LargePageSizeInBytes=2m
Some particular environment variables which I think may be related:
__GL_THREADED_OPTIMIZATIONS=0
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
(BTW, this mod is awesome! It somehow managed to fix the low framerate on Wayland as well)