Jump to content

Add custom resolution to Linux VM 2560*1440? (SOLVED)


pliu

Recommended Posts

Hi how to get the Linux guest display QHD (2560*1440) resolution. I can get it up to 4k or 2560*1600, but none match my QHD monitors native resolution?

 

I am using Manjaro Xfce. And here is the system information for the guest Linux VM:

 

System:
  Kernel: 5.10.83-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
  root=UUID=62577852-e55e-4ca4-96a2-50c056de9a17 rw quiet
  resume=UUID=15ff6072-019d-4143-9235-25ea2120d0b0 udev.log_priority=3
  Console: pty pts/1 DM: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Qemu System: QEMU product: Standard PC (Q35 + ICH9, 2009)
  v: pc-q35-5.1 serial: <superuser required> Chassis: type: 1 v: pc-q35-5.1
  serial: <superuser required>
  Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS
  v: rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org date: 04/01/2014
CPU:
  Info: Dual Core model: 11th Gen Intel Core i7-11700 bits: 64 type: MT MCP
  arch: Rocket Lake family: 6 model-id: A7 (167) stepping: 1 microcode: 3C
  cache: L1: 160 KiB L2: 1024 KiB L3: 16 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 19976
  Speed: 2496 MHz min/max: N/A Core speeds (MHz): 1: 2496 2: 2496 3: 2496
  4: 2496
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Red Hat QXL paravirtual graphic card driver: qxl v: kernel
  bus-ID: 00:01.0 chip-ID: 1b36:0100 class-ID: 0300
  Display: server: X.org 1.21.1.1 compositor: xfwm4 driver:
  loaded: modesetting alternate: fbdev,vesa tty: 142x123
  Message: Advanced graphics data unavailable in console. Try -G --display
Audio:
  Message: No device data found.
  Sound Server-1: JACK v: 1.9.19 running: no
  Sound Server-2: PulseAudio v: 15.0 running: yes
Network:
  Device-1: Red Hat Virtio network driver: virtio-pci v: 1 modules: virtio_pci
  port: N/A bus-ID: 01:00.0 chip-ID: 1af4:1041 class-ID: 0200
  IF-ID-1: enp1s0 state: up speed: -1 duplex: unknown mac: <filter>
Drives:
  Local Storage: total: 80 GiB used: 17.06 GiB (21.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/vda maj-min: 254:0 model: N/A size: 80 GiB block-size:
  physical: 512 B logical: 512 B speed: <unknown> type: N/A serial: N/A
  scheme: MBR
Partition:
  ID-1: / raw-size: 73.91 GiB size: 72.2 GiB (97.68%) used: 17.06 GiB (23.6%)
  fs: ext4 dev: /dev/vda1 maj-min: 254:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 6.09 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/vda2 maj-min: 254:2
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 182 Uptime: 13m wakeups: 0 Memory: 2.77 GiB
  used: 1.06 GiB (38.2%) Init: systemd v: 249 tool: systemctl Compilers:
  gcc: 11.1.0 Packages: pacman: 976 lib: 285 Shell: Bash v: 5.1.12
  running-in: pty pts/1 (SSH) inxi: 3.3.09

 

Edited by pliu
Mark as solved
Link to comment
7 hours ago, ghost82 said:

No idea, but I think it's not related to virtualization, I'm quite sure the qxl driver supports 2560x1440. It shouldn't also be a problem with the cable because you can get a higher resolution.

I would suggest to write to the manjaro forum too.

Thanks for the comment @ghost82, yes you are right, it's just standard procedure of modify Xorg configure file if the default monitor resolution is not show/detected.

 

I pretty much following instructions from  this well written article and got it working the first try!

  • Like 1
Link to comment
  • pliu changed the title to Add custom resolution to Linux VM 2560*1440? (SOLVED)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...