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
Quoted 2 lines · Programmingkid
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.
Quoted 26 lines
512x342
640x400
640x480
800x600
1024x600
1024x640
1152x864
1200x700
1280x720
1280x768
1280x800
1366x768
1440x900
1920x1200
2304x1440
2560x1080
2560x1600
2880x1800
4096x2304
4096x3072
8192x4608From MacPlus size to 8k.
This is a list of all common resolutions: https://en.wikipedia.org/wi
ki/List_of_common_resolutions
Quoted 3 lines · Benjamin Herrenschmidt
Quoted 2 lines · Programmingkid
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).
Quoted 2 lines
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
Quoted 8 lines · Gerd Hoffmann
Quoted 5 lines · Benjamin Herrenschmidt
Quoted 3 lines · Programmingkid
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.
[Qemu-devel] VGA driver debug output
Is there a way to make the VGA driver print information? I tried building the debug settings in CodeWarrior but it ends with an error. I'm trying to add a feature to the driver that will allow the user to add resolutions via the command-line. With the debug output I can test this driver out.
Re: [Qemu-devel] VGA driver debug output
Quoted 5 lines · On Fri, 2016-09-16 at 22:53 -0400, G 3 wrote:
Is there a way to make the VGA driver print information? I tried building the debug settings in CodeWarrior but it ends with an error. I'm trying to add a feature to the driver that will allow the user to add resolutions via the command-line. With the debug output I can test this driver out.
Yes but you need a patch in qemu that implements the MOL OSI debug output, it's in my branch.
Then you should be able to build the debug target.
Cheers,
Ben.
Am 15.09.2016 um 19:21 schrieb Programmingkid:
Quoted 24 lines
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
Quoted 4 lines
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
Signature · 14 lines
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: [email protected] 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
begin:vcard
fn:Michael Fritscher
n:Fritscher;Michael org;quoted-printable:Zentrum f=C3=BCr Telematik adr:;;Allesgrundweg 12;Gerbrunn;Bayern;97218;Deutschland email;internet:[email protected] tel;work:+49 (931) 3 29 29 54 - 21
tel;fax:+49 (931) 3 29 29 54 - 11 url:http://www.telematik-zentrum.de
version:2.1
end:vcard
Quoted 3 lines · Michael Fritscher
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.
Am 16.09.2016 um 10:56 schrieb Benjamin Herrenschmidt:
Quoted 11 lines · Michael Fritscher
Quoted 3 lines
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
Signature · 14 lines
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: [email protected] 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
begin:vcard
fn:Michael Fritscher
n:Fritscher;Michael org;quoted-printable:Zentrum f=C3=BCr Telematik adr:;;Allesgrundweg 12;Gerbrunn;Bayern;97218;Deutschland email;internet:[email protected] tel;work:+49 (931) 3 29 29 54 - 21
tel;fax:+49 (931) 3 29 29 54 - 11 url:http://www.telematik-zentrum.de
version:2.1
end:vcard
Quoted 3 lines · Michael Fritscher
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.
Quoted 43 lines · Michael Fritscher
Am 15.09.2016 um 19:21 schrieb Programmingkid:
Quoted 24 lines
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
8192x4608Quoted 4 lines
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)
Quoted 1 line
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.
Quoted 14 lines · Michael Fritscher
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
Quoted 16 lines · Michael Tokarev
Quoted 14 lines · Michael Fritscher
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)
Quoted 7 lines
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.