Toolgate Video memory: is it limited by 256MB?

Discussion in 'Linux Virtual Machine' started by (GalaxyMaster), Apr 11, 2019.

Tags:
  1. (GalaxyMaster)

    (GalaxyMaster) Hunter

    Messages:
    119
    When I load pro_tg module it reports:
    Code:
    Apr 12 03:53:06 intruder.intranet kernel: Parallels Video ToolGate: memory physaddr b0000000, size 256Mb
    
    The Video Memory setting for this Linux VM is set at 512Mb, so I expected to see 512Mb passed to the VM. Is this a bug? Such a limit on the video memory does not play nice with the HiDPI screens, e.g. PRLVIDEO reports the following:
    Code:
    [     8.426] (II) PRLVIDEO(0): Total Memory: 4096 64KB banks (262144kB)
    [     8.427] (II) PRLVIDEO(0): Searching for matching VESA mode(s):
    [     8.427] (II) PRLVIDEO(0): Validating VESA modes (maxWidth=2560, maxHeight=1440, mapSize=262144Kb) . . .
    ...
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "2560x1440" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1920x1200" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1600x1200" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1680x1050" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1400x1050" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1280x1024" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1440x900" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1280x960" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Not using built-in mode "1280x800" (width too large for virtual size)
    [     8.427] (II) PRLVIDEO(0): Found 3 valid VESA modes
    [     8.427] (II) PRLVIDEO: Added initial display mode 1024x768
    [     8.427] (II) PRLVIDEO: Added initial display mode 800x600
    [     8.427] (II) PRLVIDEO: Added initial display mode 640x480
    [     8.427] (II) PRLVIDEO(0): Virtual size is 1024x768 (pitch 1024)
    
    As the consequence, this results in CRTC being set to "1024x768", when Retina resolution comes in my window manager goes crazy and complains:
    Code:
    (xfwm4:1527): xfwm4-WARNING **: 16:39:34.584: output size (1680x1050) and logical screen size (1024x768) do not match
    
    Is there a way to respect the VM setting on the video memory? My analysis shows that the problem is on the Host side and not within the VM, since the pro_tg driver quires VESA interface and is getting 256Mb of video RAM there.
     

Share This Page