You are not logged in.

#1 2012-11-23 21:03:25

cyker
Member
Registered: 2009-05-30
Posts: 86

qemu-kvm screen resolution

qemu-kvm by default only allows a maximum resolution of 1024x768.

Is it possible to make it support 1600x900, 1920x1080, or any size we want?

I tried with -vga vmware, but qemu-kvm crashed (segmentation fault) after logging in. The host is Arch x86_64, and the guest is Ubuntu 12.04 LTS i386.

The weird thing is that it doesn't crash after X starts, but after logging in (i.e. the login manager works well)...


.

Offline

#2 2012-11-24 08:45:16

demaio
Member
From: Germany
Registered: 2012-09-02
Posts: 101
Website

Re: qemu-kvm screen resolution

Not really a solution but maybe a hint:

I use

-vga std

in qemu-kvm on Arch x86_64 and have set 1440x900 and higher resolutions in Windows XP and 7 guests. Works fine. I remember having problems with resolution in Ubuntu guests but that was more than a year ago. I guess I would try to setup an Arch Linux guest nowadays to see if higher resolutions still cause problems with automatic Xorg configuration on a modern X server in the guest.

Offline

#3 2012-11-25 12:32:13

jordi
Member
Registered: 2006-12-16
Posts: 103
Website

Re: qemu-kvm screen resolution

You might also want to take a look at spice

http://www.linux-kvm.org/page/SPICE

Offline

#4 2012-11-26 10:28:59

athanasios
Member
Registered: 2012-11-26
Posts: 1

Re: qemu-kvm screen resolution

Same here. Crashes right after login. Host arch x86_64, guest ubuntu LTS latest.

Offline

#5 2014-10-13 09:23:12

segrids
Member
Registered: 2014-10-13
Posts: 1
Website

Re: qemu-kvm screen resolution

My workaround (applicable for linux hosts) is as follows: I start the guest (without any -vga option). I log into the guest from the host using ssh -X. Then I can start any graphical program on the guest via the ssh shell and it is displayed within the host X windows system and the host screen configuration applies.

Offline

#6 2014-10-13 13:33:07

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: qemu-kvm screen resolution

To add support for 1600x900:

Apply this SVGA patch, listing the resolution wanted.

Compile the BIOS too:

ARFLAGS=rv make V=1 &&
make -C roms seavgabios

And start qemu with:

-display sdl -vga std

Last edited by brebs (2014-10-13 14:03:04)

Offline

Board footer

Powered by FluxBB