Closed RononDex closed 1 year ago
I need to know your Linux distribution. Also, please paste the output of 2 commands:
wlr-randr
hyprctl -j monitors
I am on Arch Linux
wlr-randr:
❯ wlr-randr
DP-7 "HP Inc. HP Z24n G2 6CM8201WNG (DP-7)"
Make: HP Inc.
Model: HP Z24n G2
Serial: 6CM8201WNG
Physical size: 520x320 mm
Enabled: yes
Modes:
1920x1200 px, 59.950001 Hz (preferred, current)
1920x1200 px, 74.939003 Hz
1920x1080 px, 60.000000 Hz
1920x1080 px, 60.000000 Hz
1920x1080 px, 59.939999 Hz
1920x1080 px, 50.000000 Hz
1920x1080 px, 50.000000 Hz
1600x1200 px, 60.000000 Hz
1680x1050 px, 59.953999 Hz
1600x900 px, 60.000000 Hz
1280x1024 px, 75.025002 Hz
1280x1024 px, 60.020000 Hz
1440x900 px, 59.887001 Hz
1280x800 px, 59.810001 Hz
1280x720 px, 60.000000 Hz
1280x720 px, 60.000000 Hz
1280x720 px, 59.939999 Hz
1280x720 px, 50.000000 Hz
1024x768 px, 75.028999 Hz
1024x768 px, 60.004002 Hz
800x600 px, 75.000000 Hz
800x600 px, 60.317001 Hz
720x576 px, 50.000000 Hz
720x576 px, 50.000000 Hz
720x480 px, 60.000000 Hz
720x480 px, 60.000000 Hz
720x480 px, 59.939999 Hz
720x480 px, 59.939999 Hz
640x480 px, 75.000000 Hz
640x480 px, 60.000000 Hz
640x480 px, 59.939999 Hz
640x480 px, 59.939999 Hz
720x400 px, 70.082001 Hz
Position: 0,0
Transform: normal
Scale: 1.000000
Adaptive Sync: disabled
DP-5 "HP Inc. HP Z24n G2 6CM8201WYD (DP-5)"
Make: HP Inc.
Model: HP Z24n G2
Serial: 6CM8201WYD
Physical size: 520x320 mm
Enabled: yes
Modes:
1920x1200 px, 59.950001 Hz (preferred, current)
1920x1200 px, 74.939003 Hz
1920x1080 px, 60.000000 Hz
1920x1080 px, 60.000000 Hz
1920x1080 px, 59.939999 Hz
1920x1080 px, 50.000000 Hz
1920x1080 px, 50.000000 Hz
1600x1200 px, 60.000000 Hz
1680x1050 px, 59.953999 Hz
1600x900 px, 60.000000 Hz
1280x1024 px, 75.025002 Hz
1280x1024 px, 60.020000 Hz
1440x900 px, 59.887001 Hz
1280x800 px, 59.810001 Hz
1280x720 px, 60.000000 Hz
1280x720 px, 60.000000 Hz
1280x720 px, 59.939999 Hz
1280x720 px, 50.000000 Hz
1024x768 px, 75.028999 Hz
1024x768 px, 60.004002 Hz
800x600 px, 75.000000 Hz
800x600 px, 60.317001 Hz
720x576 px, 50.000000 Hz
720x576 px, 50.000000 Hz
720x480 px, 60.000000 Hz
720x480 px, 60.000000 Hz
720x480 px, 59.939999 Hz
720x480 px, 59.939999 Hz
640x480 px, 75.000000 Hz
640x480 px, 60.000000 Hz
640x480 px, 59.939999 Hz
640x480 px, 59.939999 Hz
720x400 px, 70.082001 Hz
Position: 1920,0
Transform: normal
Scale: 1.000000
Adaptive Sync: disabled
eDP-1 "LG Display 0x06CE (eDP-1)"
Make: LG Display
Model: 0x06CE
Serial: (null)
Physical size: 290x180 mm
Enabled: yes
Modes:
1920x1200 px, 59.950001 Hz (preferred, current)
Position: 0,0
Transform: normal
Scale: 1.199219
Adaptive Sync: disabled
hypprctl -j monitors:
❯ hyprctl -j monitors
[{
"id": 0,
"name": "eDP-1",
"description": "LG Display 0x06CE (eDP-1)",
"make": "LG Display",
"model": "0x06CE",
"serial": "",
"width": 1920,
"height": 1200,
"refreshRate": 59.950001,
"x": 0,
"y": 0,
"activeWorkspace": {
"id": 1,
"name": "1"
},
"reserved": [0, 22, 0, 37],
"scale": 1.20,
"transform": 0,
"focused": true,
"dpmsStatus": true,
"vrr": false
},{
"id": 1,
"name": "DP-5",
"description": "HP Inc. HP Z24n G2 6CM8201WYD (DP-5)",
"make": "HP Inc.",
"model": "HP Z24n G2",
"serial": "6CM8201WYD",
"width": 1920,
"height": 1200,
"refreshRate": 59.950001,
"x": 1920,
"y": 0,
"activeWorkspace": {
"id": 2,
"name": "2"
},
"reserved": [0, 0, 0, 0],
"scale": 1.00,
"transform": 0,
"focused": false,
"dpmsStatus": true,
"vrr": false
}]
In the latest update I turned off reading Adaptive Sync status from the wlr-randr
output and started grabbing it from hyprctl
instead, since wlr-randr
on Slackware Linux does not return the value. Meanwhile, on your setup, for some mysterious reason, hyprctl -j monitors
only sees two monitors, so we have no adaptive_sync_status
value for DP-7
. Are you on Thunderbolt or something like this?
I'll modify the code to use hyprctl only for adaptive_sync_status
values missing from wlr-randr
output.
In the latest update I turned off reading Adaptive Sync status from the
wlr-randr
output and started grabbing it fromhyprctl
instead, sincewlr-randr
on Slackware Linux does not return the value. Meanwhile, on your setup, for some mysterious reason,hyprctl -j monitors
only sees two monitors, so we have noadaptive_sync_status
value forDP-7
. Are you on Thunderbolt or something like this?I'll modify the code to use hyprctl only for
adaptive_sync_status
values missing fromwlr-randr
output.
I think the reason why it only sees 2 monitors is because DP-7 is set to mirror eDP-1.
EDIT: Regarding your Thunderbolt question. I am connected to a docking station using USB-C, both DP screens are connected to that docking station
Wish I had every possible hardware configuration to test my stuff on. ;)
Anyway, we know whats wrong on your side. While lazying in the office I'm adding a more flexible code to get adaptive_sync_status
. Will release v0.3.6 tonight, when I'm home.
Thanks for your awesome and fast support :)
Haha! It's because of the holidays. I've been sitting in the office for 3 hours now and I haven't had anything to do yet.
Did you already fix it? just updated my pacakges and it works again now :D
On the master branch only, no release, no packages yet. Maybe your hyprctl this time returned what it should.
Released, published in AUR.
After updating my packages, nwg-disüpplays will not start anymore: