linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.53k stars 735 forks source link

Window movement only renders at lower refresh rate between monitors. #6575

Open Aimela opened 7 years ago

Aimela commented 7 years ago

So I have two monitors: one is a 144Hz monitor, and the other is a 60Hz monitor. Everything is set up correctly and I properly get 144Hz output in games, other applications, and on the mouse cursor.

However, if I drag windows around on my 144Hz monitor, I'll notice that their movement is limited to 60fps. If I disable my 60Hz monitor, only then is the same behavior is rendered at 144fps.

Monitors: Acer XG270HU, Acer P215H GPU: GTX 1080 with proprietary drivers OS: Arch Linux 64-bit

char commented 7 years ago

Getting this also on Arch Linux with the nVidia proprietary drivers. (GTX 960)

char commented 7 years ago

I seemed to have fixed this by enabling the "force composition pipeline" setting in "X Server Display Configuration -> Advanced" in nvidia-settings, and saving it to the X configuration file by running nvidia-settings as root.

medzernik commented 7 years ago

The issue still persists, even with force composition pipeline enabled.

OS: Linux Mint 18.2, updated drivers to 382

icarter09 commented 4 years ago

@medzernik are you still experiencing this issue?

ghost commented 4 years ago

@icarter09 I still do. LM 19.2 Kernel: 4.15.0-70-generic x86_64 Cinnamon 4.2.4 NVIDIA RTX 2070 with proprietary driver 435.21

Testing with glxgears shows 60FPS while the 60Hz monitor is enabled and 144FPS if disabled. For disabling the monitor I set the resolution to off for the monitor in nvidia x server display configuration.

maliiiith commented 4 years ago

Hi, any news on this? I'm facing this issue and I went through few issues and post on Linux Mint forums and couldn't find a proper fix. This applies only for window movements. Cursor appears to be at 120fps. @icarter09 @pl1tt

Linux Mint: 19.3 Kernel: 5.3.0-53-generic x86_64 Desktop: Cinnamon 4.4.8 GPU: GeForce RTX 2080 Ti GPU driver version: 4.6.0 NVIDIA 440.59 Monitor 1: 3440x1440 @ 120 Monitor 2: 1920x1080 @ 60

dexterxx-pl commented 4 years ago

Also make sure you have disabled Cinnamon's sync composition setting (System settings -> Preferences -> General settings - first dropdown, select None/Disabled), not sure how it's named in english ;). Without forced composition in nvidia-settings you should see 144Hz renders, however on second display (with 60Hz) dynamic changes might be flickered/not vsynced...

maliiiith commented 4 years ago

@dexterxx-pl maaaaaan! That worked! Thanks!

dexterxx-pl commented 1 year ago

Bumping thread.

I've upgraded Debian 11 to Debian 12 and now I cannot locate setting, that I mentioned above.

Also I'm once again stuck on 60Fps on 144Hz screen...

(base) ➜ ~ glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 303 frames in 5.0 seconds = 60.487 FPS 300 frames in 5.0 seconds = 59.987 FPS

Disconnecting second screen for a moment of course resolves this issue...

System: Kernel: 6.1.0-9-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Cinnamon v: 5.6.8 tk: GTK v: 3.24.37 wm: muffin dm: GDM3 Distro: Debian GNU/Linux 12 (bookworm) ... Graphics: Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: Gigabyte driver: nvidia v: 525.105.17 arch: Turing pcie: speed: 5 GT/s lanes: 16 bus-ID: 0a:00.0 chip-ID: 10de:1f08 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X: loaded: nvidia unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia display-ID: :1 screens: 1 Screen-1: 0 s-res: 4480x1440 s-dpi: 96 Monitor-1: DP-2 pos: primary,left res: 2560x1440 dpi: 109 diag: 685mm (26.97") Monitor-2: HDMI-0 pos: right res: 1920x1080 dpi: 102 diag: 547mm (21.54") API: OpenGL v: 4.6.0 NVIDIA 525.105.17 renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 direct-render: Yes

iexavl commented 6 months ago

Same issue here. It's probably been happening ever since I made the switch from windows to linux around a month ago but I just took real notice of it.

Linux Mint 21.3 Cinnamon Cinnamon version: 6.0.4 kernel: 5.15.0-101-generic x86_64 GPU: RTX 3060 Driver: nvidia-driver-535 (proprietary) First monitor is 1080p 144hz Second monitor is 1080p 75hz

Blockguy24 commented 4 months ago

I am experiencing the same issue, but I am using an AMD gpu (6600xt), so I can confirm that this isn't an nvidia exclusive problem, though in my case applications seem to work at the correct framerate for each display, it's just cinnamon itself.

TenViki commented 3 months ago

Using Fedora 40 and RTX2060, I can confirm I have the same issue. I have two 144hz monitors and one 60hz. Everything together, the fps of the system is capped at 60. And as mentioned above when the 60hz monitor is disconnected, the system fps goes up to 144 too...