On Hyprland specifically, vscode is a hot mess of flickering and horrific artifacts that make it unusable. However, it turns out that including this magic flag seems to clear all of that up, so I'm suggesting to add it to the default launch flags. I'd be happy if it was enabled with another use flag, if wanted I can try to submit a pull request for it. Reproducible: Always Steps to Reproduce: 1. Install Hyprland & vscode on an nvidia based system running proprietry drivers 2. Launch vscode using the default .desktop entry 3. Try to edit a significant file, any non-trivial source file with intellisense should trigger it Actual Results: Flickering, getting worse with use but never being ok. Expected Results: Smooth and steady performance. No flashes, no flickering, no old frames popping up (which is a weird thing to say about a text editor, but there we go). This might be specific to Hyprland, but Hyprland is a supported environment now. There might be other systems that would benefit from this, like vscodium. Maybe discord? although I've not had any problems with discord recently. All these things seem to rely on a heavy amount of luck as to whether you're affected, and if so, how badly. I'm very happy to have this as an extra use flag, I'm also happy to submit a PR for this if requested.
(In reply to Jim Tupper from comment #0) > On Hyprland specifically, vscode is a hot mess of flickering and horrific > artifacts that make it unusable. > > However, it turns out that including this magic flag seems to clear all of > that up, so I'm suggesting to add it to the default launch flags. I'd be > happy if it was enabled with another use flag, if wanted I can try to submit > a pull request for it. > > > Reproducible: Always > > Steps to Reproduce: > 1. Install Hyprland & vscode on an nvidia based system running proprietry > drivers > 2. Launch vscode using the default .desktop entry > 3. Try to edit a significant file, any non-trivial source file with > intellisense should trigger it > Actual Results: > Flickering, getting worse with use but never being ok. > > Expected Results: > Smooth and steady performance. No flashes, no flickering, no old frames > popping up (which is a weird thing to say about a text editor, but there we > go). > > > This might be specific to Hyprland, but Hyprland is a supported environment > now. Not sure if hyprland is supported as you say. It depends on maintainers and upstream. I don't use hyprland, so I don't plan to actively support it, but if a flag fixes it I'm happy to add it as long as there is no regression. > There might be other systems that would benefit from this, like vscodium. > Maybe discord? although I've not had any problems with discord recently. Sadly, on KDE, it now works worse for me with this option. I don't really understand the inner workings of Rendering, so maybe the better solution is for you to override the value (for example by using .local/share/applications). > All these things seem to rely on a heavy amount of luck as to whether you're > affected, and if so, how badly. > > I'm very happy to have this as an extra use flag, I'm also happy to submit a > PR for this if requested.
Fair enough, I guess it is a bit black-candles and sacrifices to find the right combination of flags on a certain system. I'll just close this