Where do Display characteristics get determined?

dlfuller

New Member
Aug 20, 2020
3
0
1
83
I have two Ubuntu VMs, one originally cloned from the other. Somehow the display options became different.

Display on VMUbuntuDesktop-1 identified in Settings as "Unknown 10".
Code:
inxi -G
    Graphics:
    Device-1: Red Hat Virtio GPU driver: virtio-pci v: 1
    Display: x11 server: X.Org 1.20.9 driver: virtio-pci
    resolution: 1600x900~60Hz
    OpenGL: renderer: llvmpipe (LLVM 12.0.0 128 bits) v: 4.5 Mesa 21.0.3
xrandr -s 1280x960
    Size 1280x960 not found in available modes

Display on VMUbuntuDesktop-2 identified in Settings as "Red Hat, Inc. 13"
Code:
inxi -G
    Graphics:
    Device-1: Red Hat Virtio GPU driver: virtio-pci v: 1
    Display: x11 server: X.Org 1.20.11 driver: virtio-pci
    resolution: 1280x960~60Hz
    OpenGL: renderer: llvmpipe (LLVM 12.0.0 128 bits) v: 4.5 Mesa 21.0.3
xrandr -s 1600x900
    Size 1600x900 not found in available modes
How can I revise the settings and display names? At least to get them consistent for each Ubuntu VM.

Comments appreciated.
 
hi,

I have two Ubuntu VMs, one originally cloned from the other. Somehow the display options became different.
it seems you're on different package versions on these VMs? i'd make sure to update them both to be the same, as close as possible.

are the VM configurations from qm config VMID identical?
 
Thanks for the quick response @ogux.

Configuration VM103:
Code:
agent: 1
boot: cdn
bootdisk: scsi0
cores: 2
ide2: none,media=cdrom
memory: 2560
name: VMUbuntuDesktop-VPN
net0: virtio=EA:8D:5F:22:97:48,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-103-disk-0,size=64G
scsihw: virtio-scsi-pci
smbios1: uuid=223fcce2-290d-4c0e-a734-994c61233f07
sockets: 1
vga: virtio,memory=32
vmgenid: f88f9ca5-70ae-454f-acf9-c776a1b9b7c0
Configuration VM100:
Code:
agent: 1
bootdisk: scsi0
cores: 2
ide2: none,media=cdrom
memory: 2048
name: VMUbuntuDesktop-BASE
net0: virtio=F2:69:9C:12:7D:BE,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=9753db38-7b43-4ccd-a574-75ba93f02f6b
sockets: 1
vga: virtio,memory=32
vmgenid: c7d8b4f4-6854-46b8-90aa-73a08092c7e0

They seem to be the same except one did have its memory slightly increased. Of course name, net0, scsi0, vmgenid do differ between the specific VMs. But I noticed also that smbios1 was different which probably is expected.

The cloned VM 103 has a boot:cdn entry while the original does not for some reason. Both VMs have their Boot Orders set to (default) scsi0, any CD-ROM, any net.

Ran apt update and apt upgrade on both VMs. The X.org display servers versions now match. Checking the display data one difference is one has advanced graphics and one does not.

Display on VM103:
Code:
inxi -G --display
    Graphics:  Device-1: Red Hat Virtio GPU driver: virtio-pci v: 1
    Display: server: X.Org 1.20.11 driver: virtio-pci resolution: 1280x960~60Hz
    OpenGL: renderer: llvmpipe (LLVM 12.0.0 128 bits) v: 4.5 Mesa 21.0.3
Display on VM100:
Code:
inxi -G --display
    Graphics:  Device-1: Red Hat Virtio GPU driver: virtio-pci v: 1
    Display: server: X.org 1.20.11 driver: virtio-pci tty: 100x36
    Message: No advanced graphics data found on this system.
I don't know where the OpenGl stuff came from. Is that a clue?
I just want the monitor types and available display modes to be the same so multiple VMs will be viewed the same way.
 
I have no idea what finally worked, but now both Ubuntu VMs are identified as "Red Hat 13" with the same choices of display resolutions.

Steps taken were the total updating of each VM's packages, updating and rebooting the server (6.4-13), and rebooting the VMs.

But I'd still like to know where the identification of a "Red Hat 13" monitor is coming from.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!