-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
4 monitor setup very choppy and flickering #842
Comments
Inability to set them all to high refresh rate sounds like a bandwidth limitation; Smithay currently lacks the infrastructure to try different modifier configurations to make this work in more cases. I'm really not sure about flickering though, sounds a bit like a driver issue. The lagginess and low framerate I guess needs profiling to pinpoint. It would involve building niri with a special feature flag and building the Tracy profiler, if you want to get into it. Do you have the frame drops on other compositors? |
Oh yeah, a quick thing to check: clients that redraw big shm surfaces, notably Firefox and anything else GTK 3, will currently cause frame drops on niri when focusing/unfocusing them (which happens during scrolling or workspace switches). So, do the frame drops happen even without Firefox or other GTK 3 clients? |
I guess I will look more into the NVIDIA drivers, however I thought I got it right.
I would love for niri to work properly, so I wouldn't mind getting a bit into the weeds, but will probably need more detail/guidance.
I have no issues like this on Hyprland
Let me test this real quick |
Also, it seems to be a 50/50 chance of being able to output to the 4k TV. Sometimes the outputs are recognized as DP-1, DP-2, DP-3, and HDMI-A-1, where it works. And sometimes as DP-2, DP-3, DP-4, and HDMI-A-3, where the TV just displays "No Signal". I have changed my config to use the monitor manufacturer, model, and serial instead of the connectors names now to make it more consistent, but there is still one quirk. |
Hm, not sure about this. I usually see inconsistent connector names when I have two GPUs and they initialize themselves in parallel, grabbing the available connector names first come first serve. Also with some thunderbolt docks.
You'll need to build and run niri with Attach it to niri, record a few seconds of dropped frames, then save the recording and upload it somewhere here. |
I have built niri perfectly fine, however attempting to build tracy I keep getting this
I have attempted to use the I created this {
description = "tracy";
inputs = { flake-utils.url = "github:numtide/flake-utils"; };
outputs = { self, flake-utils, nixpkgs, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
overlays = [ ];
pkgs = import nixpkgs { inherit system overlays; };
in with pkgs; {
devShells.default = pkgs.mkShell rec {
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = with pkgs; [
capstone
glfw
freetype
cmake
gcc
dbus
libxkbcommon
wayland
egl-wayland
wayland-protocols
];
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
};
});
} I don't know if I should go elsewhere with this problem, but maybe you have had similar problem when building tracer yourself, so figured I would put it here first at least. |
Hm, no, haven't seen this error. More of the files would help (i.e. not just the innermost function). Also, make sure you're building the profiler. Tracy has a setup where you can build separate components from the base directory, and to build the profiler you need to use cmake specifically from the |
Well, not sure. This is straight up a tbb library error. |
Hi, were you able to get it working? |
Unfortunately, I have not had the time to look any further into this yet. |
|
Problem
I have 3 2k monitors and one 4k (Samsung TV). Previously I have been unable to get the 4k one detected at all, but it seems to be able to do so now. However, in order to get all monitors to display a proper image I have to lower their refresh rate to ~120Hz each, whereas they are all 165Hz monitors except for the 4k TV.
Sometimes I am able to put two of the three 2k monitors to 165Hz with no issues, but increasing the third above 100Hz will make it flicker at a very high rate, almost looking like it's at half brightness due to being off/showing black half the time, but the flicker itself is also noticeable.
It seems completely random to me which of the 3 2k monitors that happen to be the one that wants to flicker on each reboot.
Furthermore, even though I am able to run the monitors at 120Hz this is not what I see at all, I perceive something much closer to 30-60Hz at most. It is very noticeably choppy and laggy, also very obvious upon scrolling or with animations.
Result of
niri msg outputs
: niri-msg-outputs.txtMy outputs configuration: niri-output-config.txt
System Information
The text was updated successfully, but these errors were encountered: