glfw: 3.3.10 -> 3.4 - #293296
Conversation
|
I just tried the PR with Minecraft 1.20.4 but the flickering is still there unfortunately in the XWayland mode but it's not nearly as bad as it was before! I'm wondering how I could make it run in Wayland instead of XWayland 🤔 |
try overriding prism with we could just remove this package and give |
|
@getchoo Hey sorry for the delay! I can get Minecraft working using However, when I try to use this PR and override glfw either like this or this The game now crashes with this error So there's definitely something in the |
|
Also to add, when I add the PR glfw like this to PrismLauncher: I can actually get the game to run through XWayland but it still flickers. However, the flickering isn't as intense or frequent as it was when I just use either the library glfw or the current nixpkg glfw. But the flickering does get worse when I enable shaders, becomes as bad as it is with the nixpkg version/library version |
|
could you run from the branch directly with this expression (and this could also be a difference in desktop and graphics driver, though. it works great with gnome and plasma 6 on nvidia 550.54.14 - which is probably one of the larger edge cases - so i'd be surprised if it's broken anywhere else |
Extremely weird... I'm running Plasma 6 Wayland with a RTX 2060 (Vulkan_beta build v550.40.55) and it flickers to death for me. Maybe it could be because I'm using the vulkan_beta drivers and not the latest or the production drivers?
Gave it a try but it still crashes for me with that window icon error still.. I'm gonna go and switch my nvidia drviers just in case Also here's my NixOS flake if it helps any: https://github.com/NovaViper/NixConfig |
this makes me think you're still on xwayland, as that's a pretty well known issue there. could you confirm with the kwin debug console -- just as a sanity check?
d691274 on nixos-unstable |
Yeah the flickering occurs when I run Minecraft through XWayland specifically. But when I use the PR glfw and launch it with Wayland support, it just crashes with that window icon error. But when I use that
Ah, it's probably time for me to update then. Gonna run that real quick. |
👍 IMHO we should follow upstream here. It makes things so much easier for wayland users. |
as of 3.4, upstream now builds with Wayland by default
this follows `glfw-wayland` also being dropped
To anyone who may concern, I opened #306264 to update |
|
Hi, I have a little project on OpenGL. I used |


Description of changes
Release notes: https://github.com/glfw/glfw/releases/tag/3.4
Diff: glfw/glfw@3.3.10...3.4
Notable changes include better Wayland support, and the deprecation of
GLFW_USE_WAYLAND.I would also suggest following upstream here and enabling both X11 and Wayland on supported platforms (which is done by default), removing the need for the
glfw-waylandpackage; this hasn't been implemented for now though as I wanted to get some feedback.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.