BoyOrigin / glfw-wayland

A GLFW Fork that runs on Wayland Natively over X11 with more compatible features.
Creative Commons Zero v1.0 Universal
63 stars 5 forks source link

The mouse cursor sometimes can't be invisible anymore #6

Open Enderteck opened 7 months ago

Enderteck commented 7 months ago

After some time, the cusor stops to dissapear when you close an inventory...

This is kinda annoying and not very immersive seeing the cursor when it should be hidden.

Screenshot

Fedora 39 Gnome + Nvidia (proprietary version akmod-nvidia-3:550.67-1.fc39.x86_64) on Wayland

Latest log when it happened: latest.log

I use Java 17.0.9 from Red Hat, Inc. amd64 with these arguments:

-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:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseCriticalJavaThreadPriority -XX:ThreadPriorityPolicy=1 -XX:AllocatePrefetchStyle=3 -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

as recommended by https://github.com/brucethemoose/Minecraft-Performance-Flags-Benchmarks

NeoForge 47.1.103

Mod list:

- additionalplacements 1.8.0
- alexscaves 1.1.4
- alexsmobs 1.22.8
- amendments 1.20-1.1.14
- appleskin 2.5.1+mc1.20.1
- architectury 9.2.14
- artifacts 9.4.0
- athena 3.1.2
- balm 7.2.2
- bbs 1.20.1-0.1.3
- bellsandwhistles 0.4.3-1.20.x
- betteradvancements 0.3.2.162
- bettercrafting 1.20.1-15-forge
- betterdeserttemples 1.20-Forge-3.0.3
- betterdungeons 1.20-Forge-4.0.3
- betterendisland 1.20-Forge-2.0.6
- betterf3 7.0.2
- betterfortresses 1.20-Forge-2.0.6
- betterjungletemples 1.20-Forge-2.0.4
- bettermineshafts 1.20-Forge-4.0.4
- betteroceanmonuments 1.20-Forge-3.0.4
- betterstrongholds 1.20-Forge-4.0.3
- betterthirdperson 1.9.0
- betterwitchhuts 1.20-Forge-3.0.3
- biomesoplenty 18.0.0.598
- bookshelf 20.1.9
- borderlesswindow 1.20-1.6.0
- botanypots 13.0.26
- botanytrees 9.0.11
- carryon 2.1.2.7
- catalogue 1.8.0
- cfm 7.0.0-pre36
- chargers 6.0.0.23
- chipped 3.0.4
- chunkloaders 1.2.8a
- citadel 2.5.4
- citresewn 1.20.1-5
- cloth_config 11.1.118
- cofh_core 11.0.0
- collective 7.40
- comforts 6.3.5+1.20.1
- commongroovylibrary 0.3.3
- compressedcreativity 1.20.1-0.1.8.b
- conditional_mixin 0.6.1
- constructionwand 1.20.1-2.11
- controlling 12.0.2
- cookingforblockheads 16.0.3
- copycats 1.20.1-1.2.6
- corn_delight 1.0.3-1.20.1
- corpse 1.20.1-1.0.12
- cosmeticarmorreworked 1.20.1-v1a
- craftingtweaks 18.2.3
- crafttweaker 14.0.38
- create 0.5.1.f
- create_connected 0.7.4-mc1.20.1
- create_dd 0.2c.PREBETA
- create_dragon_lib 1.4.2
- create_enchantment_industry 1.2.9.c
- create_power_loader 1.4.0-mc1.20.1
- create_sa 2.0.4.
- create_structures 0.1.1
- create_things_and_misc 1.0.0
- createaddition 1.20.1-1.2.2
- createdeco 2.0.1-1.20.1-forge
- createdieselgenerators 1.20.1-1.2h
- createendertransmission 2.0.7-1.20.1
- createtrackmap 1.4
- createutilities 0.3.0+1.20.1
- creativecore 2.11.25
- creeperheal 2.0.3
- cucumber 7.0.8
- curios 5.7.2+1.20.1
- cutthrough 8.0.2
- cyclopscore 1.19.0
- delightful 3.5.2
- dynamiclights 1.7.1+mod
- eatinganimation 5.0.0
- eggdelight 1.2
- embeddium 0.3.12+mc1.20.1
- embeddium_extra 0.5.4.2+mc1.20.1-build.118
- emotecraft 2.2.7-b.build.50
- enchdesc 17.0.14
- enderio 6.0.25-alpha
- energeticsheep 1.1.14
- energymeter 1.20.1-1.0.0
- entity_model_features 1.3
- entity_texture_features 5.2.3
- entityculling 1.6.2
- essential 1.3.1.3+g88238d7752
- everycomp 1.20-2.6.41
- expandability 9.0.0
- extractinator 2.3.0
- farmersdelight 1.20.1-1.2.4
- ferritecore 6.0.1
- flib 0.0.5
- flywheel 0.6.10-7
- forge 47.1.103
- forgeconfigscreens 8.0.2
- framework 0.6.27
- ftblibrary 2001.1.5
- ftbultimine 2001.1.4
- garnished 1.7.2+1.20.1
- gml 4.0.9
- goldenhopper 1.4.1
- hammerlib 20.1.25
- handcrafted 3.0.6
- hiddenrecipebook 4.6
- immersiveengineering 1.20.1-10.1.0-171
- interiors 0.5.2
- inventorio 1.10.2
- ironfurnaces 4.1.6
- itemphysic 1.7.0
- itlt 2.2.1
- iwannaskate 1.2.0
- jade 11.8.0
- jadeaddons 5.2.2
- jea 1.20.1-5.0.1
- jearchaeology 1.20.1-1.0.3
- jei 15.3.0.4
- jei_mekanism_multiblocks 4.2
- jeitweaker 8.0.6
- jeresources 1.4.0.247
- just_ctgui 0.1.0
- justenoughprofessions 3.0.1
- kotlinforforge 4.10.0
- l2library 2.4.11
- libx 1.20.1-5.0.14
- littlecontraptions 1.20.1.2
- littlelogistics 1.20.1.2
- lootr 0.7.31.77
- mcjtylib 1.20-8.0.3
- mekanism 10.4.6
- mekanismadditions 10.4.6
- mekanismgenerators 10.4.6
- mekanismtools 10.4.6
- memoryleakfix 1.1.5
- mighty_mail 1.0.14
- minecraft 1.20.1
- mixinextras 0.2.0-beta.8
- mixinsquared 0.1.1
- modelfix 1.15
- modernfix 5.15.0+mc1.20.1
- moonlight 1.20-2.11.9
- moremekanismprocessing 4.0
- mousetweaks 2.25
- mr_crafting 1.1
- mysterious_mountain_lib 1.4.5-1.20.1
- naturescompass 1.20.1-1.11.2-forge
- notenoughanimations 1.7.1
- notenoughcrashes 4.4.7+1.20.1
- oculus 1.6.15a
- oreberriesreplanted 0.5.2
- patchouli 1.20.1-84-FORGE
- paxi 1.20-Forge-4.0
- playeranimator 1.0.2-rc1+1.20
- pneumaticcraft 6.0.14+mc1.20.1
- polymorph 0.49.3+1.20.1
- powah 5.0.5
- puzzlesaccessapi 8.0.7
- puzzleslib 8.1.18
- quark 4.0-439
- quarkoddities 1.20.1
- railways 1.5.3+forge-mc1.20.1
- rapid_leaf_decay 2.0.2
- rats 1.20.1-8.1.2
- rebindnarrator 1.2.2
- redstone_arsenal 8.0.0
- reeses_sodium_options 1.0.4
- refinedcooking 4.0.0
- refinedpolymorph 0.1.0-1.20.1
- refinedstorage 1.12.4
- refinedstorageaddons 0.10.0
- resourcefulconfig 2.1.2
- resourcefullib 2.1.24
- rftoolsbase 1.20-5.0.2
- right_click_get_crops 1.6.0
- rubidium 0.7.1
- searchables 1.0.2
- sebastrnlib 4.0.0
- serverpause 1.1.0
- shetiphiancore 1.20.1-1.2
- sliceanddice 3.2.0
- solarflux 20.1.5
- sophisticatedbackpacks 3.20.3.1034
- sophisticatedcore 0.6.12.589
- sophisticatedstorage 0.10.12.768
- spectrelib 0.13.15+1.20.1
- sunflowerdelight 1.0.2
- supermartijn642configlib 1.1.8
- supermartijn642corelib 1.1.17
- supplementaries 1.20-2.8.10
- suppsquared 1.20-1.1.14
- tectonic 2.3.3
- terrablender 3.0.1.4
- terralith 2.4.11
- tesseract 1.0.35a
- textrues_embeddium_options 0.1.5+mc1.20.1
- thermal 11.0.2
- thermal_cultivation 11.0.0
- thermal_dynamics 11.0.0
- thermal_expansion 11.0.0
- thermal_foundation 11.0.2
- thermal_innovation 11.0.0
- thermal_integration 11.0.0
- thermal_locomotion 11.0.0
- thermalendergy 1.20.1-1.0.0
- tia 1.20-1.1
- twilightdelight 2.0.1
- twilightforest 4.3.2145
- universalgrid 1.20.1-1.1
- visuality 2.0.2
- voicechat 1.20.1-2.5.11
- waterframes 2.0.0-beta5.1
- watermedia 2.0.27-beta
- waystones 14.1.3
- worldedit 7.2.15+6463-5ca4dff
- xaerominimap 24.0.3
- xaeroworldmap 1.38.1
- xnet 1.20-6.0.2
- yet_another_config_lib_v3 3.2.2+1.20
- yungsapi 1.20-Forge-4.0.4
- yungsbridges 1.20-Forge-4.0.3
- zeta 1.0-14
ShayBox commented 7 months ago

I'm also encountering this issue, and an issue with vsync being forced on causing my game to run at ~30 ~60 ~72 fps which is much lower than with Xwayland, and some mods are scaling incorrectly and the HUD is messed up because of it.