VMware vSphere

 View Only
  • 1.  In the VMWare Player 14, How to enable anti -aliasing for the graphs and pictures?

    Posted Jul 28, 2018 11:45 AM

    I am using a guest Arch Linux under host Windows 10. I am not able to view graphs generated by my analysis software or the ones I see on the firefox browser etc., properly. They are very jarred and bitmap pixelated.

    But, at the same time if I generate the graphs and store them as PDF and copy to host and open from WIndows 10, that looks nice without any jarring.

    Is there any setting which needs to be done which I am missing?



  • 2.  RE: In the VMWare Player 14, How to enable anti -aliasing for the graphs and pictures?

    Posted Jul 29, 2018 01:14 PM

    I don't know if this will make any difference with your situation with the Arch Linux VM. But you could try switching to OpenGL rendering. Shut down the VM and add the following lines to the VM vmx configuration file.

    mks.enableDX11Renderer = "FALSE"

    mks.enableGLRenderer = "TRUE"

    This is on the assumption that 3D Acceleration is already enabled for the VM, virtual hardware version 12 or 14 and the Windows 10 host has a discrete graphics card either from Nvidia or AMD with OpenGL 4.x drivers. These two lines are not recommended if you only have Intel integrated graphics.

    For a Windows 10 host with Nvidia, there are some key differences as seen from the vmware.log and in the Windows 10 guest VM supersampling capability as reported by OpenGL Viewer.

    Using GL Rendering

    | vmx| I125: SVGA3dCaps: guest, compatibility level: No-Clamping

    | vmx| I125:   cap[ 73]: 0x00000001 (SUPERSAMPLE)

    | vmx| I125:   cap[ 87]: 0x00000001 (LINE_AA)

    | vmx| I125:   cap[ 88]: 0x00000001 (LINE_STIPPLE)

    | vmx| I125:   cap[ 89]:  10.000000 (MAX_LINE_WIDTH)

    | vmx| I125:   cap[ 90]:  10.000000 (MAX_AA_LINE_WIDTH)

    Using DX11 Rendering

    | vmx| I125: SVGA3dCaps: guest, compatibility level: No-Clamping

    | vmx| I125:   cap[ 73]: 0x00000000 (SUPERSAMPLE)

    | vmx| I125:   cap[ 87]: 0x00000000 (LINE_AA)

    | vmx| I125:   cap[ 88]: 0x00000000 (LINE_STIPPLE)

    | vmx| I125:   cap[ 89]:   1.000000 (MAX_LINE_WIDTH)

    | vmx| I125:   cap[ 90]:   0.000000 (MAX_AA_LINE_WIDTH)



  • 3.  RE: In the VMWare Player 14, How to enable anti -aliasing for the graphs and pictures?

    Posted Jul 29, 2018 02:27 PM

    Thanks bluefirestorm

    Unfortunately, my Graphics Card is integrated Intel only.

    Nevertheless, I tried appending this instructions to the vmx file and tried:

    mks.enableDX11Renderer = "FALSE"

    mks.enableGLRenderer = "TRUE"

    But, this made no difference.

    Is there anything else I can try?



  • 4.  RE: In the VMWare Player 14, How to enable anti -aliasing for the graphs and pictures?

    Posted Jul 31, 2018 01:31 PM

    I am not aware of any other VMware related setting that can enable supersampling/antialiasing in VMware Player 12.x/14.x.

    I just checked the Windows 10 VMs that I have that has Chrome browser. The chrome://gpu used to show "Max MSAA samples" as 8 when OpenGL rendering is used but now show 0. I don't know whether it is Chrome version changed that capability or the changed of VMware SVGA 3D driver version changed it. I am leaning towards to suspect it is the Chrome browser because OpenGL Viewer still reports supersampling of 16.

    Other than the OpenGL rendering change in the vmx, you should also check Firefox settings. I don't know what these parameter values are for and whether it has any effect to your application

    about:config

    and search for msaa and you should find

    gl.msaa-level integer 2

    webgl.msaa-force boolean false

    Note these default values are the same on the host.



  • 5.  RE: In the VMWare Player 14, How to enable anti -aliasing for the graphs and pictures?

    Posted Jul 31, 2018 03:01 PM

    Thanks bluefirestorm

    In my Host , max MSAA samples = 16 and in the Linux VM max MSAA samples = 1

    In Firefox, this reads

    gl.msaa-level integer 2

    webgl.msaa-force boolean false

    in both VM and Host Windows 10.

    Why I suspect this is a VM specific thing?:

    - This behavior is across all applications - not only browsers, but also statistical software like Emacs, R etc., => This probably rules out browser or App specific issues, as the same apps in Host produce anti-aliased output nicely

    - I use Openbox. But tried with KDE, and other WMs as well, same result. => This probably rules out Openbox issue

    Please let me know if there is anything I am missing. Thanks for your help.