Package: kvm
Version: 60+dfsg-1
Severity: wishlist
Tags: patch
kvm by default does not support resolutions wider then 1600.
In order to fix this for me, I applied the following patch, which you probably
don't want use literarely, but at least it allows me to have a working
kvm using the native resolution of my laptop. Not in 32bit, but in 24bit
mode only, but that was the be expected with only 8M of VRAM...
Thanks, Joost Damad
diff -ur kvm-60+dfsg/qemu/hw/vga_int.h kvm-60+dfsg.new/qemu/hw/vga_int.h
--- kvm-60+dfsg/qemu/hw/vga_int.h 2008-01-20 13:35:04.000000000 +0100
+++ kvm-60+dfsg.new/qemu/hw/vga_int.h 2008-02-01 21:01:20.000000000 +0100
@@ -30,7 +30,7 @@
/* bochs VBE support */
#define CONFIG_BOCHS_VBE
-#define VBE_DISPI_MAX_XRES 1600
+#define VBE_DISPI_MAX_XRES 1920
#define VBE_DISPI_MAX_YRES 1200
#define VBE_DISPI_MAX_BPP 32
diff -ur kvm-60+dfsg/vgabios/vbetables-gen.c
kvm-60+dfsg.new/vgabios/vbetables-gen.c
--- kvm-60+dfsg/vgabios/vbetables-gen.c 2008-01-20 13:35:04.000000000 +0100
+++ kvm-60+dfsg.new/vgabios/vbetables-gen.c 2008-02-01 21:00:39.000000000
+0100
@@ -65,8 +65,8 @@
{ 1440, 900, 32 , 0x185},
{ 1400, 1050, 24 , 0x186},
{ 1400, 1050, 32 , 0x187},
-{ 1680, 1050, 24 , 0x188},
-{ 1680, 1050, 32 , 0x189},
+{ 1920, 1200, 24 , 0x188},
+{ 1920, 1200, 32 , 0x189},
{ 0, },
};
-- Package-specific info:
selected information from lshal(1):
smbios.bios.release_date = '06/18/2007' (string)
smbios.bios.vendor = 'Dell Inc.' (string)
smbios.bios.version = 'A09' (string)
smbios.chassis.manufacturer = 'Dell Inc.' (string)
smbios.chassis.type = 'Portable' (string)
smbios.system.manufacturer = 'Dell Inc.' (string)
smbios.system.product = 'Precision M65' (string)
smbios.system.serial = '2PRGS2J' (string)
smbios.system.uuid = '44454C4C-5000-1052-8047-B2C04F53324A' (string)
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
stepping : 6
cpu MHz : 2167.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc
arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4331.04
clflush size : 64
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
stepping : 6
cpu MHz : 2167.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc
arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4327.55
clflush size : 64
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-s1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kvm depends on:
ii adduser 3.105 add and remove users and groups
ii bridge-utils 1.4-1 Utilities for configuring the Linu
ii iproute 20080108-1 Professional tools to control the
ii libasound2 1.0.15-3 ALSA library
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libgnutls13 2.0.4-1 the GNU TLS library - runtime libr
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer
ii vgabios 0.6a-3.0.1 VGA BIOS software for the Bochs an
ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime
Versions of packages kvm recommends:
ii kvm-sour 60+dfsg-1 Source for the KVM driver
ii linux-im 2.6.18.dfsg.1-12 Linux 2.6.18 image on PPro/Celeron
ii linux-im 2.6.21-6 Linux 2.6.21 image on PPro/Celeron
ii linux-im 2.6.22.1-s1-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.22.1-s2-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.23-rc1-git8-s2-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.23-rc1-s1-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.23-rc6-bt1-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.23-rc6-s1-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.23.1-s1-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.23.9-s1-10.00.Custom Linux kernel binary image for vers
ii linux-im 2.6.24-10.00.Custom Linux kernel binary image for vers
ii qemu 0.9.1-1 fast processor emulator
ii vde2 2.1.6+r154-1+b1 Virtual Distributed Ethernet
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]