Post Reply

Forums -> UltraMon™ -> Monitor Mirroring (UltraMon 3.1.0) - Lag on Secondary Monitor, System gets Slow
JTS000ID   2011-04-13 04:15
I downloaded your trial software and gave mirroring feature a try. I was able to execute your UMMirrorClient.exe to enable mirroring. Everything went OK. But the results are not very good. I can experience a lag of few milliseconds on the secondary monitor very easily. The whole system has become extremely slow and even my primary monitor has become flaky. The default refresh rate was 5 and then I increased it to 30 without luck. So I was wondering if you are aware of this and have any fix. If yes we may be interested in your product.

Your MirrorMon doesn't seem to work with 3.1.0. In fact it refers to an older version of Mirror executable. I changed it to UMMirrorClient.exe but still can't start the mirroring.

System Configuration:
Intel(R) Pentium(R) D CPU 3.0 GHz
3.50 RAM
AMD RADEON X600 256MB HyperMemory

Thanks :)

JTS000ID
Christian Studer   2011-04-13 07:21
One thing you can do to improve performance is to check the option 'use same resolution as source monitor for mirror monitor'.

What's the error message you got when trying MirrorMon? This works fine for me with UltraMon 3.1.0 installed.

Christian Studer - www.realtimesoft.com
JTS000ID   2011-04-13 07:57
That option is checked by default. It doesn't make a difference.

If you open MirrorMom script you will see the following code: Const MIRRORMON_EXE = "%ProgramFiles%\UltraMon\MirrorMon.exe" 'location of MirrorMon.exe

In your 3.1.0 version, you don't package MirrorMon.exe. So that's bug 1. I manually swapped that .exe to UMMirrorClient.exe and ran the script. But I keep on getting a dialog box (the one you get when you execute /?).

I believe you are using Windows 7 Connecting & Configuring Displays (CCD) API. If you don't have a fix for this, I'll have to do it myself :/

JTS000ID
Christian Studer   2011-04-13 08:16
Are you sure you have the right option? 'use same resolution as source monitor for mirror monitor' isn't checked by default, the only option selected by default for most mirror modes is 'shrink mirror image to fit onto monitor'.

MirrorMon is an add-on for UltraMon (download here), you can place it in a folder of your choice, doesn't need to be the UltraMon folder. You can run MirrorMon directly, or if you want to use the MirrorMon script, edit the MIRRORMON_EXE value to point to the location of MirrorMon.exe on your system.

Christian Studer - www.realtimesoft.com
JTS000ID   2011-04-14 01:14
OK, I was wondering if your implementation is tuned for Windows 7 OS; and if it delivers better performance on W7 as compared to XP.

So far I have not managed to get rid of this lag. It still exists and can easily be observed.

JTS000ID
JTS000ID   2011-04-14 07:12
I cannot get the scripting to work.

Here's what I did:

1. Install UltraMon 3.1.0
2. Download MirrorMon scripting from this page http://www.realtimesoft.com/ultramon/scripts/
3. Edit MirrorMon script to below:

Const MONITOR = 2 'number of the monitor that should be mirrored
Const MIRRORMON_EXE = "%ProgramFiles%\UltraMon\UMMirrorClient.exe" 'location of MirrorMon.exe
Const POSITION = "100,100" 'position (x and y coordinates) of the MirrorMon window
Const SIZE = "400,300" 'size (width and height) of the MirrorMon window
Const OPTIONS = "" 'options for MirrorMon window: m = maximized, f = fullscreen
Const ZOOM = "100" 'zoom factor in percent

Set sys = CreateObject("UltraMon.System")
Set sh = CreateObject("WScript.Shell")
Set mon = sys.Monitors(CLng(MONITOR) - 1)
cmd = """" & MIRRORMON_EXE & """ /s 1 " & mon.HMonitor & " /w " & POSITION & "," & SIZE & "," & OPTIONS & " /z " & ZOOM
sh.Run cmd

I also downloaded your MirrorMon.exe (used MirrorMon.exe instead of UMMirrorClient.exe) but that doesn't seem to run either. On run it says extract files.

What I'm trying to do? Enable/Disable mirroring between monitors programatically via script.

JTS000ID
Christian Studer   2011-04-14 07:52
You'll need to extract the files from MirrorMon_2.4.1_x32.exe to a folder of your choice, then run MirrorMon.exe from there.

If you only need to enable/disable mirroring, you can do this via command line arguments to UMMirrorClient.exe:

UMMirrorClient.exe /start lastmode
UMMirrorClient.exe /stop

Christian Studer - www.realtimesoft.com
JTS000ID   2011-04-15 01:50
Thanks for the answer. That did help. But I'm not getting the expected results. I though it would mirror the screens just like what UMMirrorClient.exe does. Currently, when I run MirrorMon.vbs it opens up a window which shows my desktop background. I don't understand this behavior. This is not mirroring. If you could please elaborate on what it is supposed to do and what are the expected results.

In regards to UMMirrorClient.exe, can I specifiy the number of screens to mirror.

My requirements are:
1. Enable/Disable mirroring via script - This seems to be possible with your script
2. I'll have three monitors in the worst case scenario and I must only mirror 1st and 2nd screens. The 3rd monitor will be left to play something else so no mirroring for the last one.

JTS000ID
Christian Studer   2011-04-15 09:54
Do you always need to mirror monitor 1 on monitor 2, and don't do anything with monitors 3, 4, etc?

If yes, all you need is the regular mirroring feature, just set it up to mirror monitor 1 on 2 via UltraMon menu > Mirroring > Settings, that should be all you need to do.

Christian Studer - www.realtimesoft.com
JTS000ID   2011-04-18 00:44
Thanks for the response. I can't manually click on the GUI and enable mirroring on 1 & 2 monitors. I need to do this via scripting.

BTW: I went inside the settings feature and I see "One or More Monitors". I get a feeling that if I have 5 monitors attached it will mirror all the monitors. I don't see an option where I could specify the index number of monitors to mirror.

Could you please provide a little tutorial on which script to use what parameters to provide, etc.?

Thanks

JTS000ID
Christian Studer   2011-04-18 09:46
You can configure this any way you like, with more than two monitors installed you'll get an additional screen where you can set this up, see Mirroring Feature for a screenshot.

The settings are stored in the registry under HKEY_CURRENT_USER\Software\Realtime Soft\UltraMon\<version>\Mirroring\Monitor, Mirror Monitors value. For example if monitor 3 should mirror monitor 1, and monitor 4 should mirror monitor 2, the value would be set to

3:1;4:2;

Christian Studer - www.realtimesoft.com
Forums -> UltraMon™ -> Monitor Mirroring (UltraMon 3.1.0) - Lag on Secondary Monitor, System gets Slow

Post Reply