Artificial Intelligence Computing Leadership from NVIDIA
XenDesktop 7.6 - Autocad mouse issues
Hi We are running a series of POC's for customers who use Autocad 2015. The POC hardware is a supermicro server with 2 K2's. We have applied the policies shared by Jason (thx btw), and all Nvidia demos are working perfectly through HDX 3D pro. The VDI machines are running Windows 7 64 Bit, latest VDA hotfixes. Our issue, and showstopper, is with Autocad. What we experience is mouse lag and cursor problems. Sometimes the Windows cursor sits ontop of the acad cursor. Sometimes the cursor changes to a random Windows cursor, the problem is "solved" by moving the pointer out of the drawing area and then back. Autocad gives a warning at first startup regarding the hardware acceleration but sees the grafx Card and shows DirectX 11 is used. We are aware that GRID is not on the Acad 2015 hardware compatibility list. We have been experimenting with Acad 2016 to see if the problem is solved. But it is exactly the same. GRID not on the hw compatibility list here as well. If anyone has an idea to how this problem can be fixed or know someone who does, tell me! :)
Hi

We are running a series of POC's for customers who use Autocad 2015.

The POC hardware is a supermicro server with 2 K2's.

We have applied the policies shared by Jason (thx btw), and all Nvidia demos are working perfectly through HDX 3D pro.

The VDI machines are running Windows 7 64 Bit, latest VDA hotfixes.

Our issue, and showstopper, is with Autocad. What we experience is mouse lag and cursor problems. Sometimes the Windows cursor sits ontop of the acad cursor. Sometimes the cursor changes to a random Windows cursor, the problem is "solved" by moving the pointer out of the drawing area and then back.

Autocad gives a warning at first startup regarding the hardware acceleration but sees the grafx Card and shows DirectX 11 is used.

We are aware that GRID is not on the Acad 2015 hardware compatibility list.

We have been experimenting with Acad 2016 to see if the problem is solved. But it is exactly the same. GRID not on the hw compatibility list here as well.

If anyone has an idea to how this problem can be fixed or know someone who does, tell me! :)

#1
Posted 03/26/2015 11:05 PM   
The cursor lag is as a result of the remoting protocols, and is compounded by the network conditions (ICA latency in particular). I'd suggest optimising the network to stabilise latency, ramping up the framerate, working with Citrix on the best way to improve this. (possible mouse timer tweaks in the registry for example.)
The cursor lag is as a result of the remoting protocols, and is compounded by the network conditions (ICA latency in particular).

I'd suggest optimising the network to stabilise latency, ramping up the framerate, working with Citrix on the best way to improve this. (possible mouse timer tweaks in the registry for example.)

Jason Southern, Regional Lead for ProVis Sales - EMEA: NVIDIA Ltd.

#2
Posted 03/30/2015 04:59 PM   
try giving acad.exe his own core, and ctxcfg.exe another. also howmany vCPU's does the machine have? AutoCAD can only use 1 core normally if it has to share it with OS and ctxcfg.exe (Citrix' compressor) it will be sluggish.
try giving acad.exe his own core, and ctxcfg.exe another. also howmany vCPU's does the machine have?

AutoCAD can only use 1 core normally if it has to share it with OS and ctxcfg.exe (Citrix' compressor) it will be sluggish.

#3
Posted 06/17/2015 12:57 PM   
[quote=""]Hi We are aware that GRID is not on the Acad 2015 hardware compatibility list. [/quote] K260Q is on the certified list http://usa.autodesk.com/adsk/servlet/syscert/card?siteID=123112&catID=18254205&id=18844534&product=106&os=8192&hw=343
said:Hi

We are aware that GRID is not on the Acad 2015 hardware compatibility list.



K260Q is on the certified list


http://usa.autodesk.com/adsk/servlet/syscert/card?siteID=123112&catID=18254205&id=18844534&product=106&os=8192&hw=343

Jason Southern, Regional Lead for ProVis Sales - EMEA: NVIDIA Ltd.

#4
Posted 06/17/2015 01:44 PM   
jaccow makes some very valid points. Recommendation is that you should have at leas 4vCPU's when delivering 3D workloads.
jaccow makes some very valid points. Recommendation is that you should have at leas 4vCPU's when delivering 3D workloads.

Jason Southern, Regional Lead for ProVis Sales - EMEA: NVIDIA Ltd.

#5
Posted 06/17/2015 01:46 PM   
oh Yes and for AutoCAD don't forget to update the client's drivers as well. I've found that a local old AMD card with a NVIDIA Grid in the XD sessions will give strange mouse issues.
oh Yes and for AutoCAD don't forget to update the client's drivers as well.

I've found that a local old AMD card with a NVIDIA Grid in the XD sessions will give strange mouse issues.

#6
Posted 06/26/2015 08:13 AM   
AutoCAD can be a server rendered cursor and you may find tweaking MouseTimer (as described here https://www.citrix.com/blogs/2015/04/09/performance-tip-disabling-mouse-shadow-for-xendesktop-and-xenapp/ ) helpful. If the lag is down to the network I'd try to investigate why, if limited bandwidth you might find thinwire+ added by Citrix in XD 7.6 FP3 helps https://www.citrix.com/blogs/2015/10/09/a-big-leap-in-ica-protocol-innovation-for-citrix/ (see the comments below the blog from AutoCAD / CAD users on build to lossless success). If you are on high latency >70ms then it might be worth tuning the TCP/IP window as described in: CTX125027 – How to Optimize HDX Bandwidth Over High Latency Connections https://support.citrix.com/article/CTX125027 Do let me know if anything helps and also if it doesn't! Rachel
AutoCAD can be a server rendered cursor and you may find tweaking MouseTimer (as described here https://www.citrix.com/blogs/2015/04/09/performance-tip-disabling-mouse-shadow-for-xendesktop-and-xenapp/ ) helpful.

If the lag is down to the network I'd try to investigate why, if limited bandwidth you might find thinwire+ added by Citrix in XD 7.6 FP3 helps https://www.citrix.com/blogs/2015/10/09/a-big-leap-in-ica-protocol-innovation-for-citrix/ (see the comments below the blog from AutoCAD / CAD users on build to lossless success).

If you are on high latency >70ms then it might be worth tuning the TCP/IP window as described in: CTX125027 – How to Optimize HDX Bandwidth Over High Latency Connections https://support.citrix.com/article/CTX125027


Do let me know if anything helps and also if it doesn't!
Rachel

#7
Posted 02/01/2016 11:00 AM   
The single largest performance boost I get with acad.exe is setting CPU affinity. So pin the exe to one CPU. You'll need to configure any shortcut the user launches the application from to do that, but the performance boost is very noticeable.
The single largest performance boost I get with acad.exe is setting CPU affinity. So pin the exe to one CPU. You'll need to configure any shortcut the user launches the application from to do that, but the performance boost is very noticeable.

#8
Posted 02/08/2016 07:47 PM   
Check out MouseTimer. It's a registry key on the client. Makes autocad feel much more like a local program when you have a little latency between the user and the server. I had a link, but it looks like Citrix took the page down during their last restructuring; bummer -- bet lots of my links are broken now. The reg key should be: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Mouse Since the artcile is down, I'm pulling from memory -- I think the default value is 100 (it's a *, but it translates to 100). It's a measurement in MS, so every 100ms all mouse actions will be collected and sent to the server. Drop this guy down to 30-40 ms, maybe a little more, and see if that makes a difference. I have no idea how much of an impact it will be fore you, but it will generate more bandwidth...
Check out MouseTimer. It's a registry key on the client. Makes autocad feel much more like a local program when you have a little latency between the user and the server.

I had a link, but it looks like Citrix took the page down during their last restructuring; bummer -- bet lots of my links are broken now. The reg key should be:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Mouse

Since the artcile is down, I'm pulling from memory -- I think the default value is 100 (it's a *, but it translates to 100). It's a measurement in MS, so every 100ms all mouse actions will be collected and sent to the server.

Drop this guy down to 30-40 ms, maybe a little more, and see if that makes a difference. I have no idea how much of an impact it will be fore you, but it will generate more bandwidth...

#9
Posted 11/23/2016 09:50 PM   
Hi Virge, Mousetimer default is 10, what you are doing is actually raising it - I wrote an explanation here: https://www.citrix.com/blogs/2015/04/09/performance-tip-disabling-mouse-shadow-for-xendesktop-and-xenapp/ You may also find this useful: https://www.citrix.com/blogs/2014/05/28/configuring-virtualised-autodesk-and-similar-applications-including-xenapp-gpu-sharing-and-tools-for-sanity-checking-directxopengl-usage/ AutoCAD is very CPU heavy relative to GPU so often the CPU GHz is important. Best wishes, Rachel
Hi Virge,

Mousetimer default is 10, what you are doing is actually raising it - I wrote an explanation here: https://www.citrix.com/blogs/2015/04/09/performance-tip-disabling-mouse-shadow-for-xendesktop-and-xenapp/


You may also find this useful: https://www.citrix.com/blogs/2014/05/28/configuring-virtualised-autodesk-and-similar-applications-including-xenapp-gpu-sharing-and-tools-for-sanity-checking-directxopengl-usage/

AutoCAD is very CPU heavy relative to GPU so often the CPU GHz is important.

Best wishes,
Rachel

#10
Posted 11/25/2016 06:23 PM   
Rachel, the whole legacy graphics vs DCR vs H264 vs codecs vs whatever else seems to be floating around is another one of the intricacies that just escapes me. Windows 7 - Which one do you like with AutoCAD Windows 10 - Which one do you like with AutoCAD Windows 7 - Which one do you like with Revit, SpaceGAss and Inventor Windows 10 - Which one do you like with Revit, SpaceGAss and Inventor So many conflicting opinions... and do i want to use DCR ? And which compression do you like with XenDesktop 7.11 ? Many thanks.
Rachel,

the whole legacy graphics vs DCR vs H264 vs codecs vs whatever else seems to be floating around is another one of the intricacies that just escapes me.

Windows 7 - Which one do you like with AutoCAD
Windows 10 - Which one do you like with AutoCAD

Windows 7 - Which one do you like with Revit, SpaceGAss and Inventor
Windows 10 - Which one do you like with Revit, SpaceGAss and Inventor

So many conflicting opinions... and do i want to use DCR ?

And which compression do you like with XenDesktop 7.11 ?

Many thanks.

#11
Posted 11/26/2016 03:56 AM   
Lastly - is the new "Relative Mouse" setting on the receiver an advantage ?
Lastly - is the new "Relative Mouse" setting on the receiver an advantage ?

#12
Posted 11/26/2016 05:55 AM   
Scratch that - the relative mouse is no good for AutoCAD.
Scratch that - the relative mouse is no good for AutoCAD.

#13
Posted 11/26/2016 07:58 AM   
Hi, we run serveral proof of concepts with main usecase autocad 2019/2020 with highly intensive, detailed files and drawings. I have seen multiple topics in front of Autocad Performance in Citrix Virtual Desktops, including this one, where some of you have suggested to use cpu affinity for better Performance (for autocad or ctxcfg.exe) Is it still necessary in 2020? Or is the behaviour better now with newer Autocad and Citrix Releases? What is your recommendation? We are not having much issues and the performance is okay in general. Mouse performance is always the major topic and some rendering and highly intensive tasks. Our most used config: Dell PowerEdge R740 2x Intel Xeon Gold 6146 CPU @ 3.20GHz (2x12 Cores) 4 NIVDIA Tesla T4 (TU104GL) with GRID T4-2Q Profile Round about 28-30 VMs per Server. - CVAD 1912 LTSR with Windows 10 1803/1909 - 4 vCPU and 16 GB RAM per VM on XenServer 8.1 with Citrix PVS Accelerator (2 GB Cache in RAM as vDisk Overflow Config) - Endpoints are Windows Fat Clients with Workspace App or Windows 10 IoT Thin Clients - using YUV444 (H.264) visually losless with 60 fps maximum with hardware encoding. - Autocad in Standard Confiugration with server-rendered cursor and without disabling any potential features/options. - all applications are using GPU-Acceleration as expected, CPU consumption is fine in general. I would be thankful about any contact or exchange about general sizing or best practices info in connection with Autocad, CPU, overall performance. (I am generally confirm about all things documented with MouseTimer, server-rendered cursor and so on. Also i'm aware of the several HDX-Policies and possibilities). Just want to have some impressions from others, also in connections with endpoints, used policies, potential tweaks or game changers. You also can send me some private message, for sure. Thanks in advance. Jens
Hi,

we run serveral proof of concepts with main usecase autocad 2019/2020 with highly intensive, detailed files and drawings.

I have seen multiple topics in front of Autocad Performance in Citrix Virtual Desktops, including this one, where some of you have suggested to use cpu affinity for better Performance (for autocad or ctxcfg.exe)

Is it still necessary in 2020? Or is the behaviour better now with newer Autocad and Citrix Releases? What is your recommendation?

We are not having much issues and the performance is okay in general. Mouse performance is always the major topic and some rendering and highly intensive tasks.

Our most used config:

Dell PowerEdge R740
2x Intel Xeon Gold 6146 CPU @ 3.20GHz (2x12 Cores)
4 NIVDIA Tesla T4 (TU104GL) with GRID T4-2Q Profile

Round about 28-30 VMs per Server.

- CVAD 1912 LTSR with Windows 10 1803/1909

- 4 vCPU and 16 GB RAM per VM on XenServer 8.1 with Citrix PVS Accelerator (2 GB Cache in RAM as vDisk Overflow Config)

- Endpoints are Windows Fat Clients with Workspace App or Windows 10 IoT Thin Clients

- using YUV444 (H.264) visually losless with 60 fps maximum with hardware encoding.

- Autocad in Standard Confiugration with server-rendered cursor and without disabling any potential features/options.

- all applications are using GPU-Acceleration as expected, CPU consumption is fine in general.

I would be thankful about any contact or exchange about general sizing or best practices info in connection with Autocad, CPU, overall performance. (I am generally confirm about all things documented with MouseTimer, server-rendered cursor and so on. Also i'm aware of the several HDX-Policies and possibilities). Just want to have some impressions from others, also in connections with endpoints, used policies, potential tweaks or game changers. You also can send me some private message, for sure.

Thanks in advance.

Jens

#14
Posted 03/10/2020 06:05 AM   
Hi Sounds like you've done everything correctly, and as you don't have any big issues it's difficult to make any recommendations for changes. But if I were going to make any changes, I'd start with your CPUs. Server CPUs are always a compromise between Cores vs Clock Speed because of the requirement for User Density. A 3.2Ghz CPU today is considered low-end to average by physical Workstation standards that are designed to cater for your workload, because for your workload you would trade Cores for increased Clock Speed and 4.0Ghz or above would be standard for AutoCAD in a [u]physical[/u] Workstation, but for a Server where you need those Cores to support additional Users 3.2GHz is a really good place to start. You mention you've run several POCs, so I'm assuming you're not in Production. With that in mind, Intel launched some updated CPU models that are a better choice than those you are currently running. Xeon Gold 6256 - 12 Cores @ 3.6GHz https://ark.intel.com/content/www/us/en/ark/products/198655/intel-xeon-gold-6256-processor-33m-cache-3-60-ghz.html Xeon Gold 6246R - 16 Cores @ 3.4GHz https://ark.intel.com/content/www/us/en/ark/products/199353/intel-xeon-gold-6246r-processor-35-75m-cache-3-40-ghz.html As for CPU affinity, I've never had to do this. What resolution are your monitors and how many do your users have? During the "[i]rendering and highly intensive tasks[/i]", which component becomes the bottleneck? Regards MG
Hi

Sounds like you've done everything correctly, and as you don't have any big issues it's difficult to make any recommendations for changes.

But if I were going to make any changes, I'd start with your CPUs. Server CPUs are always a compromise between Cores vs Clock Speed because of the requirement for User Density. A 3.2Ghz CPU today is considered low-end to average by physical Workstation standards that are designed to cater for your workload, because for your workload you would trade Cores for increased Clock Speed and 4.0Ghz or above would be standard for AutoCAD in a physical Workstation, but for a Server where you need those Cores to support additional Users 3.2GHz is a really good place to start.

You mention you've run several POCs, so I'm assuming you're not in Production. With that in mind, Intel launched some updated CPU models that are a better choice than those you are currently running.

Xeon Gold 6256 - 12 Cores @ 3.6GHz
https://ark.intel.com/content/www/us/en/ark/products/198655/intel-xeon-gold-6256-processor-33m-cache-3-60-ghz.html

Xeon Gold 6246R - 16 Cores @ 3.4GHz
https://ark.intel.com/content/www/us/en/ark/products/199353/intel-xeon-gold-6246r-processor-35-75m-cache-3-40-ghz.html

As for CPU affinity, I've never had to do this.

What resolution are your monitors and how many do your users have?

During the "rendering and highly intensive tasks", which component becomes the bottleneck?

Regards

MG

#15
Posted 03/10/2020 09:42 AM   
Scroll To Top

Add Reply