brnix
1
Has anyone seen this before?
Just to illustrate areas of config that may contribute:
vs code
home.file.".config/code-flags.conf".text = ''
--enable-features=UseOzonePlatform
--ozone-platform=wayland
--enable-features=WaylandWindowDecorations
'';
session variables
home.sessionVariables = {
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
NIXOS_OZONE_WL = 1; # fixed electron apps blurriness
};
electron flags
home.file.".config/electron-flags.conf".text = ''
--enable-features=UseOzonePlatform
--ozone-platform=wayland
--enable-features=WaylandWindowDecorations
--force-device-scale-factor=1
'';
The apps I have noticed this on so far:
- 1password
- vscode
- element matrix client
- slack
Any ideas?
Thank you.
brnix
2
OK, additional info.
I just realised my Desktop is not doing this, and it is using the same modules.
Differences off of the top of my head.
- Desktop: AMD GPU, Laptop: Hybrid Intel/Nvidia
- screen resolution
Perhaps this is the cause?
brnix
4
When I disabled it, it did not make a difference. I wonder if I did not take through doing some bad garbage collection, etc.
brnix
5
Wait - I also just realized the issue is not happening on my tower - which is also using this module to config.
On the problematic machine, are you using a proprietary NVIDIA driver?
brnix
7
I am! (Intel/Nvidia) Just got it working. Why is that?
My tower has an AMD GPU.
It’s sometimes a dead-end because the source is not available.
brnix
9
OK, I narrowed this down to being related to Stylix. When I disable Stylix, the issue goes away.