Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Ultrawide monitor flickering at 120hz #433

Open
fraschm1998 opened this issue Jun 14, 2023 · 11 comments
Open

Ultrawide monitor flickering at 120hz #433

fraschm1998 opened this issue Jun 14, 2023 · 11 comments
Labels
A: bug Something isn't working

Comments

@fraschm1998
Copy link

fraschm1998 commented Jun 14, 2023

Info

dwl version:
wlroots version: gui-libs/wlroots-0.16.2-r1

Description

External monitor flickers when connected via USB-C port (it works fine via hdmi but caps at 75hz due to monitors hdmi limitations). If I downscale to 75hz via usb-c the monitor still flickers. This issue does not occur with hyprland.

Monitor specs: 3840x1600 144hz. Nvidia drivers are having issues so it only runs at 120hz.

Monitor.Flickering.mp4
@fraschm1998 fraschm1998 added the A: bug Something isn't working label Jun 14, 2023
@fraschm1998
Copy link
Author

Hyprland works without any issues at 144hz via usb-c

@apprehensions
Copy link

dwl/dwl.c

Line 946 in 68a17f9

wlr_output_enable_adaptive_sync(wlr_output, 1);

change the 1 in this line to 0, i believe your flickering is caused by VRR; i faced the same issue when using the monitorconfig patch, had to change adaptive to simply 0.

@fraschm1998
Copy link
Author

dwl/dwl.c

Line 946 in 68a17f9

wlr_output_enable_adaptive_sync(wlr_output, 1);

change the 1 in this line to 0, i believe your flickering is caused by VRR; i faced the same issue when using the monitorconfig patch, had to change adaptive to simply 0.

I tried that, also tried the monitor patch config and neither of them worked :/

@apprehensions
Copy link

Check your display is still non adaptive with wlr-randr.

@fraschm1998
Copy link
Author

Check your display is still non adaptive with wlr-randr.

I did, Adaptive Sync: disabled

@sevz17
Copy link
Collaborator

sevz17 commented Jun 27, 2023

@fraschm1998, can you give me the output of wlr-randr?

@fraschm1998
Copy link
Author

fraschm1998 commented Jul 14, 2023

@fraschm1998, can you give me the output of wlr-randr?

seems to be an issue with wlroots as it now also occurs on the latest release of Hyprland. I just created an issue here: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3687

@fraschm1998
Copy link
Author

@fraschm1998, can you give me the output of wlr-randr?

error log:
logs.txt

@fraschm1998
Copy link
Author

@sevz17 ^

@fraschm1998
Copy link
Author

fraschm1998 commented Jul 25, 2023

wlr-randr  
DP-1 "LG Electronics LG ULTRAWIDE 210NTNH7S559 (DP-1)"
  Make: LG Electronics
  Model: LG ULTRAWIDE
  Serial: 210NTNH7S559
  Physical size: 930x390 mm
  Enabled: yes
  Modes:
    5120x2160 px, 71.998001 Hz (current)
    5120x2160 px, 59.985001 Hz
    5120x2160 px, 50.000000 Hz
    5120x2160 px, 30.000000 Hz
    3440x1440 px, 72.000000 Hz
    1920x1080 px, 60.000000 Hz
    1920x1080 px, 59.938999 Hz
    1280x720 px, 59.943001 Hz
    1024x768 px, 60.004002 Hz
    800x600 px, 60.317001 Hz
    720x480 px, 59.939999 Hz
    640x480 px, 59.939999 Hz
    640x480 px, 59.929001 Hz
  Position: 0,0
  Transform: normal
  Scale: 1.000000
  Adaptive Sync: disabled
eDP-1 "Sharp Corporation LQ140M1JW46 (eDP-1)"
  Make: Sharp Corporation
  Model: LQ140M1JW46
  Serial: (null)
  Physical size: 310x170 mm
  Enabled: yes
  Modes:
    1920x1080 px, 120.002998 Hz (preferred, current)
    1920x1080 px, 60.004002 Hz
  Position: 5120,0
  Transform: normal
  Scale: 1.000000
  Adaptive Sync: disabled

@fraschm1998
Copy link
Author

@sevz17 This issue was fixed in the latest release of hyprland 0.28.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants