Closed mcoffin closed 4 years ago
This might be a duplicate of https://github.com/swaywm/wlroots/issues/2216
This might be a duplicate of swaywm/wlroots#2216
I don't think so, as I can now confirm that the issue is still present after disable
'ing the secondary monitor.
Okay. Since there are a bunch of these:
00:07:23.772 [ERROR] [backend/drm/atomic.c:36] DVI-D-1: Atomic commit failed (pageflip): Invalid argument
Could you get DRM debug logs too? See https://github.com/swaywm/wlroots/wiki/DRM-Debugging
@emersion with your patch to amdgpu
applied, this is now resolved. I'll close.
With
adaptive_sync
on, at least with Assetto Corsa Competizione, running a game in fullscreen mode seems to cause cursor rendering to hang up and freeze for long periods of time. Everything else still looks buttery-smooth, and moving the cursor "works" as in the game gets the mouse events, but the actual drawn cursor on the screen doesn't update and freezes for ~10s.I'll test with more games to add more detail, but I wanted to get this submitted so others can take a look.
When just on a regular screen, everything appears to work fine, mouse movement and all, and I can confirm the refresh rate is updating via a monitor-native overlay.
Boilerplate info
sway version 1.4-c632d47b (May 24 2020, branch 'master')
0.10.0.r146.g5c942bd5-1
amd-staging-drm-next
at commitc9ad8605d83f
Notes about my config
I am using two cards (one for each monitor, but all rendering done on primary card (duh)). Launched with
WLR_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
.In the log file above,
DP-3
is the VRR monitor, andDVI-D-1
is a secondary non-vrr monitorplaceholder for info about what happened when I tried with the secondary monitor disconnected
Observations
Log file has a bunch of this, which is most certainly related.