Re: [Qemu-devel] Adding resolutions to the VGA driver
On Sep 17, 2016, at 3:59 AM, Michael Tokarev wrote: 16.09.2016 11:37, Michael Fritscher wrote: Am 15.09.2016 um 19:21 schrieb Programmingkid: Following resolutions are also quite common: 1280x960 1280x1024 (Most LCD-Monitors in the 15-17 zoll range had this for a long time, also a standard VESA Resolution) 1400x1050 1600x1200 (Many LCD-Monitors in the 20-21 zoll range had this for a long time, rather "common" resolution) 1920x1080 (the standard full HD resolution) 2560x1440 (the common "next step" after 1920x1080) 3840×2160 (the standard 4k resolution, also known as 2160(p) or UHDTV) 7680x4320 (the standard 8k resolution, also known as 4320p, is also defined as UHDTV) Please note that resolutions those pixel counts don't divide to 8 wont work with qemu. In the past that was lead to crashes, now just garbled guest display. Or maybe even 16, memory is failing. /mjt Thank you very much for the info. This would explain why 1366x768 was all messed up in Mac OS X.
Re: [Qemu-devel] Adding resolutions to the VGA driver
16.09.2016 11:37, Michael Fritscher wrote: Am 15.09.2016 um 19:21 schrieb Programmingkid: Following resolutions are also quite common: 1280x960 1280x1024 (Most LCD-Monitors in the 15-17 zoll range had this for a long time, also a standard VESA Resolution) 1400x1050 1600x1200 (Many LCD-Monitors in the 20-21 zoll range had this for a long time, rather "common" resolution) 1920x1080 (the standard full HD resolution) 2560x1440 (the common "next step" after 1920x1080) 3840×2160 (the standard 4k resolution, also known as 2160(p) or UHDTV) 7680x4320 (the standard 8k resolution, also known as 4320p, is also defined as UHDTV) Please note that resolutions those pixel counts don't divide to 8 wont work with qemu. In the past that was lead to crashes, now just garbled guest display. Or maybe even 16, memory is failing. /mjt
Re: [Qemu-devel] Adding resolutions to the VGA driver
On Fri, 2016-09-16 at 12:58 +0200, Gerd Hoffmann wrote: > On Fr, 2016-09-16 at 08:06 +1000, Benjamin Herrenschmidt wrote: > > > > On Thu, 2016-09-15 at 13:21 -0400, Programmingkid wrote: > > > > > > There has been talk about what resolutions to add support for in the > > > VGA driver. What do you think of this list: > > Which driver? The MacOS 9 guest driver I put together for qemu vga ;-) Cheers, Ben.
Re: [Qemu-devel] Adding resolutions to the VGA driver
On Fri, 2016-09-16 at 12:13 +0200, Michael Fritscher wrote: > at least in Windows, the GUI doesn't display the CGA/EGA resolution, but > the driver supports them and can be accessed via API. Some (rather old) > games used that for example. For MacOS I wouldn't fret it. A lot of Apple monitors had a very limited set of resolutions when they weren't single-sync to begin with, so SW had adapted. Cheers, Ben.
Re: [Qemu-devel] Adding resolutions to the VGA driver
On 9/16/16 4:37 AM, Michael Fritscher wrote: Am 15.09.2016 um 19:21 schrieb Programmingkid: There has been talk about what resolutions to add support for in the VGA driver. What do you think of this list: 512x342 640x400 640x480 800x600 1024x600 1024x640 1152x864 1200x700 1280x720 1280x768 1280x800 1366x768 1440x900 1920x1200 2304x1440 2560x1080 2560x1600 2880x1800 4096x2304 4096x3072 8192x4608 From MacPlus size to 8k. This is a list of all common resolutions: https://en.wikipedia.org/wiki/List_of_common_resolutions Hi, Following resolutions are also quite common: 1280x960 1280x1024 (Most LCD-Monitors in the 15-17 zoll range had this for a long time, also a standard VESA Resolution) 1400x1050 1600x1200 (Many LCD-Monitors in the 20-21 zoll range had this for a long time, rather "common" resolution) 1920x1080 (the standard full HD resolution) 2560x1440 (the common "next step" after 1920x1080) 3840×2160 (the standard 4k resolution, also known as 2160(p) or UHDTV) 7680x4320 (the standard 8k resolution, also known as 4320p, is also defined as UHDTV) I assume that you left out the common CGA/EGA resolution intentionally? Thank you for the additional resolutions. The VGA driver we are talking about is going to work on qemu-system-ppc. CGA/EGA resolutions are more PC. But is a possibility.
Re: [Qemu-devel] Adding resolutions to the VGA driver
On Fr, 2016-09-16 at 08:06 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2016-09-15 at 13:21 -0400, Programmingkid wrote: > > There has been talk about what resolutions to add support for in the > > VGA driver. What do you think of this list: Which driver? Linux kernel driver just uses the kernel's internal mode database, beside that you can add anything you want (for example via xrandr). > We should add check for the vram amount. There's only 16M emulated > iirc, we need to check the combination resolution/depth fits. Yes, vram size should be checked, at runtime. 16M is just the default, you can have anything from 1M to 256M. cheers, Gerd
Re: [Qemu-devel] Adding resolutions to the VGA driver
Am 16.09.2016 um 10:56 schrieb Benjamin Herrenschmidt: On Fri, 2016-09-16 at 10:37 +0200, Michael Fritscher wrote: I assume that you left out the common CGA/EGA resolution intentionally? It's not because a resolution exists somewhere that we need it in the driver's menu :-) Cheers, Ben. Hi, at least in Windows, the GUI doesn't display the CGA/EGA resolution, but the driver supports them and can be accessed via API. Some (rather old) games used that for example. Best regards, Michael -- ZfT - Zentrum für Telematik e.V. Michael Fritscher Magdalene-Schoch-Straße 5 97074 Würzburg Tel: +49 (931) 615 633 - 57 Fax: +49 (931) 615 633 - 11 Email: michael.fritsc...@telematik-zentrum.de Web: http://www.telematik-zentrum.de Vorstand: Prof. Dr. Klaus Schilling, Hans-Joachim Leistner Sitz: Gerbrunn USt.-ID Nr.: DE 257 244 580, Steuer-Nr.: 257/111/70203 Amtsgericht Würzburg, Vereinsregister-Nr.: VR 200 167 <> smime.p7s Description: S/MIME Cryptographic Signature
Re: [Qemu-devel] Adding resolutions to the VGA driver
On Fri, 2016-09-16 at 10:37 +0200, Michael Fritscher wrote: > > I assume that you left out the common CGA/EGA resolution > intentionally? It's not because a resolution exists somewhere that we need it in the driver's menu :-) Cheers, Ben.
Re: [Qemu-devel] Adding resolutions to the VGA driver
Am 15.09.2016 um 19:21 schrieb Programmingkid: There has been talk about what resolutions to add support for in the VGA driver. What do you think of this list: 512x342 640x400 640x480 800x600 1024x600 1024x640 1152x864 1200x700 1280x720 1280x768 1280x800 1366x768 1440x900 1920x1200 2304x1440 2560x1080 2560x1600 2880x1800 4096x2304 4096x3072 8192x4608 From MacPlus size to 8k. This is a list of all common resolutions: https://en.wikipedia.org/wiki/List_of_common_resolutions Hi, Following resolutions are also quite common: 1280x960 1280x1024 (Most LCD-Monitors in the 15-17 zoll range had this for a long time, also a standard VESA Resolution) 1400x1050 1600x1200 (Many LCD-Monitors in the 20-21 zoll range had this for a long time, rather "common" resolution) 1920x1080 (the standard full HD resolution) 2560x1440 (the common "next step" after 1920x1080) 3840×2160 (the standard 4k resolution, also known as 2160(p) or UHDTV) 7680x4320 (the standard 8k resolution, also known as 4320p, is also defined as UHDTV) I assume that you left out the common CGA/EGA resolution intentionally? Best regards, Michael Fritscher -- ZfT - Zentrum für Telematik e.V. Michael Fritscher Magdalene-Schoch-Straße 5 97074 Würzburg Tel: +49 (931) 615 633 - 57 Fax: +49 (931) 615 633 - 11 Email: michael.fritsc...@telematik-zentrum.de Web: http://www.telematik-zentrum.de Vorstand: Prof. Dr. Klaus Schilling, Hans-Joachim Leistner Sitz: Gerbrunn USt.-ID Nr.: DE 257 244 580, Steuer-Nr.: 257/111/70203 Amtsgericht Würzburg, Vereinsregister-Nr.: VR 200 167 <> smime.p7s Description: S/MIME Cryptographic Signature
Re: [Qemu-devel] Adding resolutions to the VGA driver
On Thu, 2016-09-15 at 13:21 -0400, Programmingkid wrote: > There has been talk about what resolutions to add support for in the > VGA driver. What do you think of this list: We should add check for the vram amount. There's only 16M emulated iirc, we need to check the combination resolution/depth fits. > 512x342 > 640x400 > 640x480 > 800x600 > 1024x600 > 1024x640 > 1152x864 > 1200x700 > 1280x720 > 1280x768 > 1280x800 > 1366x768 > 1440x900 > 1920x1200 > 2304x1440 > 2560x1080 > 2560x1600 > 2880x1800 > 4096x2304 > 4096x3072 > 8192x4608 > > From MacPlus size to 8k. > > This is a list of all common resolutions: https://en.wikipedia.org/wi > ki/List_of_common_resolutions
[Qemu-devel] Adding resolutions to the VGA driver
There has been talk about what resolutions to add support for in the VGA driver. What do you think of this list: 512x342 640x400 640x480 800x600 1024x600 1024x640 1152x864 1200x700 1280x720 1280x768 1280x800 1366x768 1440x900 1920x1200 2304x1440 2560x1080 2560x1600 2880x1800 4096x2304 4096x3072 8192x4608 From MacPlus size to 8k. This is a list of all common resolutions: https://en.wikipedia.org/wiki/List_of_common_resolutions