Slow RolloutFloater Movement on Windows 10

Slow RolloutFloater Movement on Windows 10

sandbergGJZSN
Enthusiast Enthusiast
2,466 Views
14 Replies
Message 1 of 15

Slow RolloutFloater Movement on Windows 10

sandbergGJZSN
Enthusiast
Enthusiast

I have been annoyed by that moving RolloutFloater windows is performing so bad for a while now. The draging of the windows are delayed and almost in slow-motion and is very frustrating.

I didn't recall them being so slow as about a year ago, so i tried a couple of things to figure out what was causing it.

 

I tried this script on multiple computers.

I tried it on 3dsmax 2017, 2019 and 2021, all on windows 10.

I tried it on 3dsmax 2013 on windows 7.

 

It performed awful on all windows 10 computers, and on the windows 7 computer it is fast as lightning to move the window around. I have a vague memory of there being an update to windows 10 about a year ago that introduced this issue.

 

Anyone know if there is a workaround for this, example any windows 10 setting to better the performance of the rolloutsFloaters in 3dsmax or anything?

 

Here is the code so you can test it yourself:

(Note that it is only the dragging around of the window that i have an issue with. The creation of the rollout is slow too, but not the issue, just me putting together a fast code example)

 

TestRolloutFloater
if TestRolloutFloater != undefined then (closerolloutfloater TestRolloutFloater) 
TestRolloutFloater = newrolloutfloater   "test" 650 730
function CreateSubrollouts inputNum = (
	local NewSubrollout
	local localNewString = ""
	localNewString += "(rollout sRol \"SubRollout"+inputNum as string+"\" (\n"
	for iB = 1 to 4 do ( for i = 1 to 100 do (
		localNewString += " checkbutton chk_" + i as string + "_" + iB as string + " \"aaa\" pos: ["+(i*5) as string+", "+(iB*5) as string+"] \n "
	))
	localNewString +=  "))"
	NewSubrollout = execute (localNewString)
	addrollout  NewSubrollout  TestRolloutFloater
)
for i = 1 to 10 do (CreateSubrollouts i) 

 

 

0 Likes
2,467 Views
14 Replies
Replies (14)
Message 2 of 15

miauuuu
Collaborator
Collaborator

I don't have this problem. Video(Windows 10 + Max2021):

 

https://drive.google.com/file/d/1FetSl9Y4PjXS2MKoT_Tqd2OaUXOQekCN/view?usp=sharing

https://miauu-maxscript.com/
Message 3 of 15

sandbergGJZSN
Enthusiast
Enthusiast

Wow, i wish it looked like that for me 😞

 

I havent tried it on 2020 since that isnt a version we have installed at work but it looks great in your video. That speed when moving the rolloutFloater around is what i expect, but when i move it around it is slow and delayed. The delay gets worse the longer i move it around... it is  really weird. Wish i knew what the issue was.

 

The reason why i thought it was caused by Windows 10 and not a version of 3dsmax is that i never had this issue on older maxes, but at some time the issue appeared on all versions of 3dsmax over night.

0 Likes
Message 4 of 15

sandbergGJZSN
Enthusiast
Enthusiast

Here is a better explanation of what the problem is... a video!

 

As you can imagine, it is kinda annoying.

0 Likes
Message 5 of 15

miauuuu
Collaborator
Collaborator

The same PC, max2019:

 

https://drive.google.com/file/d/18EhiFpUMKaVkpSCQ5DkYIBDpDxCifIxS/view?usp=sharing

 

The rollout freezes only when it has to redraw some of its controls. If I keep it away of the screen edges there is no lag.

https://miauu-maxscript.com/
Message 6 of 15

sandbergGJZSN
Enthusiast
Enthusiast

First of all, thanks for posting your videos, makes me hopeful that there is a sollution to this problem. 😃

 

It kinda feels like on my computers there are some hardware accelleration or setting in windows that makes it slower (or that you have some hardware acceleration that makes it faster, and I don't)... I'm not that learned in that area. 

 

As you can see i get two mouse-pointers when i move the rollouts, and you don't, so something is different in how the windows are handled. (However, the second pointer only appears after i release the mouse in "real-life". In the recorded video the second pointer is visible the whole time.)

 

If it is any help to figure out what the problem is: here is some specs of the computer i recorded the video:

 

Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz 3.00 GHz

128 GB (128 GB usable)

64-bit operating system, x64-based processor

Windows 10 Pro - version: 20H2 OS - build: 19042.867

Nvidia Quadro RTX 5000

Driver version 452.39

...Also i run with two monitors.

0 Likes
Message 7 of 15

miauuuu
Collaborator
Collaborator

The worst(maybe the fastest) way to fix the problem is to reinstall 3ds Max and/or Windows.

 

My PC:

AMD Ryzen 3600

32GB RAM

Windows 10 Enterprise; version - 1909; OS Build - 18363.1139

AMD Radeon RX570

NVidia GT440 (driver 388.13)

Two monitors connected to RX570. I use the GT440 only when some software needs CUDA.

 

https://miauu-maxscript.com/
Message 8 of 15

sandbergGJZSN
Enthusiast
Enthusiast

I will try to make a clean 2020 install (need to ask our tech guy next week to do it) and see if there is any difference. I can always hope that someone comes here with a "dude, you just need to enable super-hardware-UI-acceleration in windows 10" before that xP

0 Likes
Message 9 of 15

miauuuu
Collaborator
Collaborator

I doubt that this will solve your problem but you can try it: backup your ENU folder, delete the original ENU folder and start 3ds max. Almost all of your installed scripts/plugins will not work but at least you can see if this is a solution. It it is not - use the backup to restore the ENU folder and 3ds max will works as before this operation.

https://miauu-maxscript.com/
Message 10 of 15

sandbergGJZSN
Enthusiast
Enthusiast

Unfortunately it doesn't improve anything.

0 Likes
Message 11 of 15

istan
Advisor
Advisor

Is this only happening with your floaterwindow or with all standard 3dsmax (non- &) modal windows?

Drag e.g. the command panel out - does it also happen there?

Message 12 of 15

sandbergGJZSN
Enthusiast
Enthusiast

Hmm, nice idea to try that out.

 

I could at this time and day only try 3dsmax 2017 and on a half-descent laptop, but that actually turned out some interesting results.

 

I tried to move the command-panel like you said, but that is a dockable-UI, which actually stands still while you move the window and a blue "ghost window" is an indicator of where it will end up. (Can't remember if it is the same in later versions of 3dsmax xP). And that works without any issues, the blue ghost-window is following the mouse without any delay.

 

Screenshot of me moving the command panel for all to enjoy:

commandpaneldrag.jpg

This seems consistant through all windows that can be docked. However, i tried some non-dockable windows too like Environment and Effects, Schematic Views and even tried a Slate Material Editor and those worked fine.

 

Me moving some materials around... works fine:

materialsworkingfine.jpg

However... I found a couple of built-in windows that actually have the slow down effect.

Compact Material Editor and Render Setup

 

I have attached a video of it. It is not as obvious as my previous video as these windows arent as cluttered with UI elements as my code example, but if you pay attention to just before i release the window i have a pointer moving around besides the windows while the windows are still moving about.

 

 

 

I have actually never noticed that the built-in windows were also having this issue so good call on checking them out.

 

Now the mystery still remains, if there is a way to make them stop acting this way xD

 

0 Likes
Message 13 of 15

sandbergGJZSN
Enthusiast
Enthusiast

I just noticed i could try 2013 and 2017 on one computer at the same time. It seems that it is at least have to have the new UI look they did for this performance issue, as the 2013 works fine. Im still suspicious of windows 10 or maybe like an nVidia driver update or something like that, because i still vaguely recall it wasnt like this before, until one day it got like this on all our computers at work.

 

Attached a video, where 2013 is to the left and 2017 is to the right:

 

0 Likes
Message 14 of 15

sandbergGJZSN
Enthusiast
Enthusiast

I tried to plug in my wacom tablet and surprisingly when i move the rolloutFloater with the pen it actually performs really good. So it has something to do with how the mouse works?? I have tried a bunch of basic mouse settings too but nothing really seems to affect it. Anyone know about any more advanced settings you can do with the mouse?

 

I tried to uninstall the Wacom Tablet Properties thing, but that didnt improve anything.

 

I attached a video where i first move the rolloutFloater with the mouse two times, then i move the rolloutFloater with the wacom pen three times....ignore the state sets at the end... it was a while since i used that pen 😐

0 Likes
Message 15 of 15

Anonymous
Not applicable

Hey. Spending time on vacation book airport taxi transfers  in advance with the AtoB service https://atobtransfer.com/

0 Likes