View previous topic :: View next topic |
Author |
Message |
Tractor Girl Apprentice
Joined: 16 May 2013 Posts: 159
|
Posted: Sat Dec 21, 2013 12:57 am Post subject: [SOLVED] Qemu-kvm guest resolution |
|
|
I have problem with higher resolutions in qemu. I tried two linux guests (Debian and Fedora) and both are only in 1280x768 (host resolution is 1920x1080).
I start virtual machine with:
Code: | qemu-kvm -hda /home/tractor_girl/kvm/debian.img -m 1024 -boot menu=on -name Debian -vga std -enable-kvm -full-screen |
xrandr command in both Debian and Fedora says that 1280x768 is the higher resolution available.
It would be nice to have guest systems in native host resolution...
Last edited by Tractor Girl on Sat Dec 21, 2013 10:29 pm; edited 1 time in total |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Sat Dec 21, 2013 8:40 am Post subject: |
|
|
How about changing to other video cards in -vga? _________________ My blog |
|
Back to top |
|
|
Tractor Girl Apprentice
Joined: 16 May 2013 Posts: 159
|
Posted: Sat Dec 21, 2013 10:28 pm Post subject: |
|
|
Ok it's working. The trick was to add /etc/X11/xorg.conf to guest system.
This one works for me:
Code: | Section "Device"
Identifier "device"
Driver "vesa"
EndSection
Section "Screen"
Identifier "screen"
Device "device"
Monitor "monitor"
DefaultDepth 16
SubSection "Display"
Modes "1920x1080" "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
Section "Monitor"
Identifier "monitor"
HorizSync 20.0 - 50.0
VertRefresh 40.0 - 80.0
Option "DPMS"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen "screen"
EndSection |
|
|
Back to top |
|
|
|