You are not logged in.

#1 2011-10-23 04:29:10

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Qemu-KVM obtaining a higher resolution than 1024x768

I recently installed qemu-kvm 0.15.0-2  on my x86_64 and I am problems getting any distros to recognize any resolution above 1024x768. I have the kvm module loaded, Intel VT-E enabled in my bios, 16gb ram (2gb for the VM), 1gb ATI card , xmonad WM, and I running the VM on my 3rd 1600x900 monitor. 

I am launching the VM with:

 qemu-kvm -drive file=fedora.img,if=virtio,boot=on

Here are the versions of the Catalyst driver and xorg that I am using:

╔═ comhack@Cerberus 11:22 PM 
╚═══ ~-> pacman -Qi xorg-server | grep Version
Version        : 1.10.4-1
╔═ comhack@Cerberus 11:23 PM 
╚═══ ~-> pacman -Qi catalyst-total | grep Version
Version        : 11.9-1
╔═ comhack@Cerberus 11:24 PM 
╚═══ ~-> glxinfo | grep rendering
direct rendering: Yes

and also:

╔═ comhack@Cerberus 11:24 PM 
╚═══ ~-> lsmod | grep kvm
kvm_intel              53373  3 
kvm                   328912  1 kvm_intel

I checked  the wiki entries for KVM and QEMU when setting Qemu up and I could not find any information on getting a higher resolution. Does anyone have a link or any information thar I can read up on enabling a higher resolution with Qemu-KVM?

Thanks

Last edited by securitybreach (2011-10-23 04:33:21)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#2 2011-10-23 16:50:55

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Qemu-KVM obtaining a higher resolution than 1024x768

I also tried adding the -vga std option when launching the VM but I still can only get 1024x768 resolution. Any ideas?


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#3 2011-10-23 22:15:09

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Qemu-KVM obtaining a higher resolution than 1024x768

Use vmware drivers:

cur_work$ cat ~/temp/vm-start 
#!/bin/bash

qemu-kvm -hda $1 -net nic,model=virtio \
	-net user,hostfwd=tcp:127.0.0.1:15000-:22 -vga vmware \
	-usbdevice tablet -device intel-hda -device hda-duplex -m 512

But be sure that appropriate drivers are present in the guest OS.

EDIT: Off-topic: Out of curiosity, how many threads does qemu-kvm create when running with virtio_blk? For me it's ~150, which I hits my ulimit settings...

Last edited by Leonid.I (2011-10-23 22:18:20)


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#4 2011-10-23 22:36:21

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Qemu-KVM obtaining a higher resolution than 1024x768

Thanks for the information 

As far as the threads:

╔═ comhack@Cerberus 05:34 PM 
╚═══ ~-> ps -a | grep qemu-kvm
 6990 pts/13   00:00:13 qemu-kvm


╔═ comhack@Cerberus 05:35 PM 
╚═══ ~-> ps uH p 6990 | wc -l
3

Last edited by securitybreach (2011-10-23 22:36:36)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#5 2011-10-23 22:40:40

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Qemu-KVM obtaining a higher resolution than 1024x768

-vga vmware worked beautifully

Thanks again


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#6 2011-10-24 00:04:42

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Qemu-KVM obtaining a higher resolution than 1024x768

vga-vmware is slow compared to cirrus and sometimes crashes (maybe in recent versions this works better)

Just add correct modelines, thats all.

https://wiki.archlinux.org/index.php/Us … s_for_Xorg

Offline

#7 2011-10-24 01:36:43

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Qemu-KVM obtaining a higher resolution than 1024x768

Thanks Djgera, I am checking it now. :-)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

Board footer

Powered by FluxBB