Skip to content

Unable to add new custom resolution #4

@Alex1s

Description

@Alex1s

Hi,

I thought i could use your tool to add a new resolution to the default resolution list.
I am running qemu with virtio monitor and want to match the resolution to that of my display: 2560x1864.
Is adding new resolutions supported or not?

alexis@fedora:~$ displayconfig-mutter list
┌───────────┬────────┬──────────────┬────────────┬──────────────┬─────────┬─────┬─────┐
│ Connector │ Vendor │ Product name │ Resolution │ Refresh rate │ Scaling │ VRR │ HDR │
├───────────┼────────┼──────────────┼────────────┼──────────────┼─────────┼─────┼─────┤
│ Virtual-1 │ RHT    │ QEMU Monitor │ 2048x1152  │ 60           │ 100%    │ No  │ No  │
└───────────┴────────┴──────────────┴────────────┴──────────────┴─────────┴─────┴─────┘
alexis@fedora:~$ displayconfig-mutter list -c Virtual-1
┌───────────┬─────────────┬───────────────┬────────┐
│ Connector │ Resolutions │ Refresh rates │ Scales │
├───────────┼─────────────┼───────────────┼────────┤
│ Virtual-1 │ 5120x2160   │ 75            │ 100%   │
│           │ 4096x2160   │ 60            │ 125%   │
│           │ 3840x2160   │ 50            │ 150%   │
│           │ 2560x1080   │               │ 175%   │
│           │ 2048x1152   │               │ 200%   │
│           │ 1920x1440   │               │ 225%   │
│           │ 1920x1200   │               │ 250%   │
│           │ 1920x1080   │               │ 275%   │
│           │ 1856x1392   │               │ 300%   │
│           │ 1792x1344   │               │ 325%   │
│           │ 1680x1050   │               │ 350%   │
│           │ 1600x1200   │               │ 375%   │
│           │ 1440x900    │               │ 400%   │
│           │ 1400x1050   │               │        │
│           │ 1360x768    │               │        │
│           │ 1280x1024   │               │        │
│           │ 1280x960    │               │        │
│           │ 1280x800    │               │        │
│           │ 1280x768    │               │        │
│           │ 1024x768    │               │        │
│           │ 800x600     │               │        │
└───────────┴─────────────┴───────────────┴────────┘
alexis@fedora:~$ displayconfig-mutter set -c Virtual-1 -r 2560x1864
Error: could not find refresh rate for 2560x1864 resolution that is close to current one
alexis@fedora:~$ displayconfig-mutter list -c Virtual-1
┌───────────┬─────────────┬───────────────┬────────┐
│ Connector │ Resolutions │ Refresh rates │ Scales │
├───────────┼─────────────┼───────────────┼────────┤
│ Virtual-1 │ 5120x2160   │ 75            │ 100%   │
│           │ 4096x2160   │ 60            │ 125%   │
│           │ 3840x2160   │ 50            │ 150%   │
│           │ 2560x1080   │               │ 175%   │
│           │ 2048x1152   │               │ 200%   │
│           │ 1920x1440   │               │ 225%   │
│           │ 1920x1200   │               │ 250%   │
│           │ 1920x1080   │               │ 275%   │
│           │ 1856x1392   │               │ 300%   │
│           │ 1792x1344   │               │ 325%   │
│           │ 1680x1050   │               │ 350%   │
│           │ 1600x1200   │               │ 375%   │
│           │ 1440x900    │               │ 400%   │
│           │ 1400x1050   │               │        │
│           │ 1360x768    │               │        │
│           │ 1280x1024   │               │        │
│           │ 1280x960    │               │        │
│           │ 1280x800    │               │        │
│           │ 1280x768    │               │        │
│           │ 1024x768    │               │        │
│           │ 800x600     │               │        │
└───────────┴─────────────┴───────────────┴────────┘
alexis@fedora:~$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions