Results 1 to 7 of 7

Thread: Cannot set higher display resolution on VMWare

  1. #1

    Default Cannot set higher display resolution on VMWare

    Hello everyone,


    I installed OpenSUSE Tumbleweed on a VMWare Fusion VM, on an M1 Macbook Pro. My desktop environment is KDE.


    After booting, the resolution is set to 1024x768. If I attempt to change the display size to 1920x1200, it briefly flashes the new resolution, and after about a second it reverts back to 1024x768.


    The issue is very similar to what was described here:
    https://forums.opensuse.org/showthre...e+display+size




    The vmtools service is running, version 11.3.5-1.4


    sudo service vmtools status
    * vmtoolsd.service - open-vm-tools: vmtoolsd service for virtual machines hosted on VMware
    Loaded: loaded (/usr/lib/systemd/system/vmtoolsd.service; enabled; vendor preset: enabled)
    Active: active (running) since Mon 2022-01-24 12:39:54 PST; 20h ago
    Docs: http://github.com/vmware/open-vm-tools
    Main PID: 32485 (vmtoolsd)
    Tasks: 4 (limit: 4655)
    CPU: 21.318s
    CGroup: /system.slice/vmtoolsd.service
    `-32485 /usr/bin/vmtoolsd


    sudo lspci | grep VGA
    00:0f.0 VGA compatible controller: VMware Device 0406


    I don't have an xorg.conf file, so maybe there might be the problem, but xrandr shows that the resolution I want is available:


    xrandr
    Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
    Virtual-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    1024x768 60.00*+ 60.00
    3840x2400 59.97
    3840x2160 59.97
    2880x1800 59.95
    2560x1600 59.99
    2560x1440 59.95
    1920x1440 60.00
    1856x1392 60.00
    1792x1344 60.00
    1920x1200 59.88

    Trying to use xrandr -s 1920x1200 has the same effect of briefly flashing the new resolution and then reverting back.


    The KDE info says that my graphics processor is llvmpipe.


    Any help would be greatly appreciated, thank you!

  2. #2

    Default Re: Cannot set higher display resolution on VMWare

    Adding my hwinfo for more context:

    hwinfo --gfxcard
    22: PCI 0f.0: 0300 VGA compatible controller (VGA)
    [Created at pci.386]
    Unique ID: _+Pw.lDsp_2ACqA9
    SysFS ID: /devices/platform/40000000.pcie/pci0000:00/0000:00:0f.0
    SysFS BusID: 0000:00:0f.0
    Hardware Class: graphics card
    Model: "VMware VGA compatible controller"
    Vendor: pci 0x15ad "VMware, Inc."
    Device: pci 0x0406
    SubVendor: pci 0x15ad "VMware, Inc."
    SubDevice: pci 0x0406
    Driver: "vmwgfx"
    Driver Modules: "vmwgfx"
    Memory Range: 0x3f400000-0x3f7fffff (rw,non-prefetchable)
    Memory Range: 0x78000000-0x7fffffff (ro,non-prefetchable)
    Module Alias: "pci:v000015ADd00000406sv000015ADsd00000406bc03sc00i00"
    Driver Info #0:
    Driver Status: vmwgfx is active
    Driver Activation Cmd: "modprobe vmwgfx"
    Config Status: cfg=new, avail=yes, need=no, active=unknown

  3. #3

    Default Re: Cannot set higher display resolution on VMWare

    Sorry for keeping on posting - I could not find how to edit my original post

    Here is the output of inxi -Fxxx

    Graphics: Device-1: VMware driver: vmwgfx v: 2.19.0.0 bus-ID: 00:0f.0 chip-ID: 15ad:0406 class-ID: 0300
    Display: x11 server: X.org 1.21.1.3 compositor: kwin_x11 driver: loaded: modesetting
    unloaded: fbdev alternate: vmware resolution: <missing: xdpyinfo>
    OpenGL: renderer: llvmpipe (LLVM 13.0.0 128 bits) v: 4.5 Mesa 21.3.4 direct render: Yes


    Note the vmware resolution: <missing xdpyinfo>

    Thanks!

  4. #4
    Join Date
    Apr 2016
    Location
    Cambridge, UK
    Posts
    297

    Default Re: Cannot set higher display resolution on VMWare

    Not sure if it is of any help but I am running a vanilla install of TW on VMware Workstation on a Win10 box and I can set pretty much any resolution I want in a Gnome environment by either selecting one from the display settings in Gnome or by resizing the VM's window. Thinking of the obvious one, do you have enough memory allocated? Here are my comparable outputs:

    Code:
    localhost:/home/julian # lspci | grep VGA
    00:0f.0 VGA compatible controller: VMware SVGA II Adapter
    localhost:/home/julian #
    Code:
    localhost:/home/julian # inxi -Fxxx
    
    Graphics:
      Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.19.0.0
      bus-ID: 00:0f.0 chip-ID: 15ad:0405 class-ID: 0300
      Display: x11 server: X.org 1.21.1.2 compositor: gnome-shell driver:
      loaded: vmware unloaded: fbdev,modesetting,vesa
      resolution: <missing: xdpyinfo>
      OpenGL: renderer: SVGA3D; build: RELEASE; LLVM; v: 3.3 Mesa 21.3.1
      direct render: Yes
    Code:
    localhost:/home/julian # xrandr
    Screen 0: minimum 1 x 1, current 1024 x 768, maximum 16384 x 16384
    Virtual1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       800x600       60.00 +  60.32  
       3840x2400     59.97  
       3840x2160     59.97  
       2880x1800     59.95  
       2560x1600     59.99  
       2560x1440     59.95  
       1920x1440     60.00  
       1856x1392     60.00  
       1792x1344     60.00  
       1920x1200     59.88  
       1920x1080     59.96  
       1600x1200     60.00  
       1680x1050     59.95  
       1400x1050     59.98  
       1280x1024     60.02  
       1440x900      59.89  
       1280x960      60.00  
       1360x768      60.02  
       1280x800      59.81  
       1152x864      75.00  
       1280x768      59.87  
       1280x720      59.86  
       1024x768      60.00* 
       640x480       59.94  
    Virtual2 disconnected (normal left inverted right x axis y axis)
    Virtual3 disconnected (normal left inverted right x axis y axis)
    Virtual4 disconnected (normal left inverted right x axis y axis)
    Virtual5 disconnected (normal left inverted right x axis y axis)
    Virtual6 disconnected (normal left inverted right x axis y axis)
    Virtual7 disconnected (normal left inverted right x axis y axis)
    Virtual8 disconnected (normal left inverted right x axis y axis)
    localhost:/home/julian #
    Code:
    localhost:/home/julian # hwinfo --gfxcard
    26: PCI 0f.0: 0300 VGA compatible controller (VGA)              
      [Created at pci.386]
      Unique ID: _+Pw.jBKePf3JQB5
      SysFS ID: /devices/pci0000:00/0000:00:0f.0
      SysFS BusID: 0000:00:0f.0
      Hardware Class: graphics card
      Model: "VMware VMWARE0405"
      Vendor: pci 0x15ad "VMware, Inc."
      Device: pci 0x0405 "VMWARE0405"
      SubVendor: pci 0x15ad "VMware, Inc."
      SubDevice: pci 0x0405 
      Driver: "vmwgfx"
      Driver Modules: "vmwgfx"
      I/O Ports: 0x1070-0x107f (rw)
      Memory Range: 0xe8000000-0xefffffff (ro,non-prefetchable)
      Memory Range: 0xfe000000-0xfe7fffff (rw,non-prefetchable)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 16 (3861 events)
      I/O Ports: 0x3c0-0x3df (rw)
      Module Alias: "pci:v000015ADd00000405sv000015ADsd00000405bc03sc00i00"
      Driver Info #0:
        XFree86 v4 Server Module: vmware
      Config Status: cfg=new, avail=yes, need=no, active=unknown
    
    
    Primary display adapter: #26
    localhost:/home/julian #

  5. #5

    Default Re: Cannot set higher display resolution on VMWare

    Thank you for your answer!

    I found the solution in the VMWare forums: there is a current bug in KDE X11 (seems to be fixed in Wayland) that was there for a couple of years.

    The solution is to disable the KScreen2 background service in KDE, in voila! Everything works as expected.

    You can find the start of a rabbit hole here: https://communities.vmware.com/t5/Fu...8/td-p/2890609

    What you need to do is go to System Settings -> Startup and Shutdown -> Background Services, and disable KScreen 2.

    It seems that the bug is being worked on by the KDE team, but still unresolved for X11.

    Cheers,

  6. #6

    Default Re: Cannot set higher display resolution on VMWare

    Quote Originally Posted by AaronR View Post
    Thank you for your answer!

    I found the solution in the VMWare forums: there is a current bug in KDE X11 (seems to be fixed in Wayland) that was there for a couple of years.

    It seems that the bug is being worked on by the KDE team, but still unresolved for X11.
    This bug looks to be fixed in KDE Plasma 5.24.2.

  7. #7

    Default Re: Cannot set higher display resolution on VMWare

    Oh, not yet. I just tried with Plasma 5.24.3 and the issue is still there. Thanks for the info!

    Quote Originally Posted by PERockwell View Post
    This bug looks to be fixed in KDE Plasma 5.24.2.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •