Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor visible when combined with Flashback #20

Open
North-West-Wind opened this issue Jan 19, 2025 · 2 comments
Open

Cursor visible when combined with Flashback #20

North-West-Wind opened this issue Jan 19, 2025 · 2 comments

Comments

@North-West-Wind
Copy link

North-West-Wind commented Jan 19, 2025

When both Flashback and WayFix are loaded, the mouse cursor does not get hidden and is still visible on the screen.

Screenshot with the mouse cursor

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)

@not-coded
Copy link
Owner

I cannot seem to recreate this issue, have you tried using glfw-wayland?

@North-West-Wind
Copy link
Author

I was using glfw-wayland-minecraft-cursorfix and I just tried glfw-wayland (which is provided by the glfw package as well). It still has the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants