So, my next question is, how to properly reinstall GENGRADD under ArcaOS ?
I tried running s:\CID\SERVER\SNAP\SETUP.CMD GEN
I am not sure what you have done, but that will simply install SNAP, which isn't going to help.
No, that is not correct. SNAP installation is done with :
s:\CID\SERVER\SNAP\SETUP.CMD SNAP
How am I supposed to reinstall GENGRADD ?
I have also tried DSPINSTL, but there are many different GRADD and VGA GRADD options there, and when prompted to locate the files, I am not sure what path to point.
Just copy gengradd.dll from the OS/2 Additions to \OS2\DLL. Whether that will fix your problem(s) will depend on what else you have done. It would probably be easier to simply start over, to avoid missing something.
Start over as in, reinstall the entire VM ? No, thanks. I shouldn't have to do that to switch video drivers.
You misunderstand. 2048 is probably the disk size that you specified, or the virtual memory size (not clear from what you said). VIRTUALADDRESSLIMIT has nothing to do with either of them. 1536 was okay, 7 years ago. It is very marginal now (depending on what software you are running). The reason to not use 3072 is that video memory reduces the total memory that is available, and video can overwrite the top of memory, or, the top of memory can be used for something else, and overwrite the video memory. Neither one is good, so I suggest 2560, which is more than safe, yet it gives you more room in the virtual memory space that OS/2 provides, than the default of 1536.
I don't misunderstand, and I meant exactly what I wrote. 2048 MB is the amount of RAM selected in Virtualbox for my guest. It is not the disk size.
I don't believe VIRTUALADDRESSLIMIT is really impacting my problems here.
Not that I know about (and I could be wrong about 15 MB).
OK, because if it was documented somewhere, that would be helpful, as that would point to a bug in GENGRADD as opposed to a bug in the VBE BIOS for virtualbox. I guess it still needs to be determined where the bug is, then.
I don't think I ever saw video use more than that in OS/2. Higher screen resolutions may need to be balanced, by using a lower color depth to stay within the limits.
Yes, and if you read my post above, you know that I already tried to use 64K color modes, but I did not succeed with any video driver under ArcaOS. All of GENGRADD, SNAP and Panorama only show 16M color modes, even when I add some 64K color modes to the guest. By contrast, in ECS 2.0, GENGRADD and Panorama work with 64K color modes, and I was able to get 3840x2160x16 to work there with GENGRADD and Panorama, without OS/2 additions, but not with SNAP.
I find that unlikely, since SNAP, and Panorama, both use what gengradd tells them.
I'm only reporting the actual behavior I'm seeing on VM here when switching between the 3 video drivers. I have been banging my head on this ther last couple days. Don't call me a liar. And please lose the condescension.
Plus, all video is interfaced to the host video system, by gengradd, when using the gengradd.dll supplied by VBox additions (I doubt if SNAP or Panorama, ever get used). Gengradd simply shows the available modes, as described by the video BIOS, for VESA mode. Adding resolutions in VBox simply adds the resolution to the available list in BIOS. If gengradd can use it, it is listed in gengradd, SNAP, and Panorama. If it can't use it, for some reason, it isn't shown. Panorama is somewhat smarter about selecting resolutions though, and it should automatically choose the best one to fit the attached monitor (assuming that the monitor has the required smarts - I am not sure what support VBox has for that).
Well, that clearly isn't how it actually works in my ArcaOS VM. The Screen dialogs are showing very different modes available. It seems some modes are being filtered somehow.
Look in the guest in C:\var\log\vbe2grad.log and that should tell you what is available, if you can make any sense out if it.
Thanks, that is actually quite helpful. Yes, I can make sense of that. Will add that info once I edit the post as I'm posting this from my Win10 host and copy/paste doesn't seem to work between guest and host.
Edit:
Panorama v1.11 log for GID=0 started at 12.1.2019 14:46:54
This copy of Panorama is licensed to Julien Pierre #XXXXX
Profile setting for Shadow...Enabled
VESA version is 200
BIOS-supplied information
OemVendorNamePtr = C0007C7B
OemProductNamePtr = C0007C8E
VideoModePtr = 8F000022
TotalVramSize = 2100000
OemVendorName = Oracle Corporation
OemProductName = Oracle VM VirtualBox VBE Adapter
Custom resolution is disabled
VBE VRAM Base=E0000000 Size=2000000 (32768Kib) (rounded up)=2000000 (32768KiB)
Mode 0x100: 640x400x8bpp
Mode 0x101: 640x480x8bpp
Mode 0x102: 800x600x4bpp 4 1F
Mode 0x103: 800x600x8bpp
Mode 0x104: 1024x768x4bpp 4 1F
Mode 0x105: 1024x768x8bpp
Mode 0x106: 1280x1024x4bpp 4 1F
Mode 0x107: 1280x1024x8bpp
Mode 0x10D: 320x200x15bpp 1 9B
Mode 0x10E: 320x200x16bpp
Mode 0x10F: 320x200x24bpp 1 9B
Mode 0x110: 640x480x15bpp 1 9B
Mode 0x111: 640x480x16bpp
Mode 0x112: 640x480x24bpp 1 9B
Mode 0x113: 800x600x15bpp 1 9B
Mode 0x114: 800x600x16bpp
Mode 0x115: 800x600x24bpp 1 9B
Mode 0x116: 1024x768x15bpp 1 9B
Mode 0x117: 1024x768x16bpp
Mode 0x118: 1024x768x24bpp 1 9B
Mode 0x119: 1280x1024x15bpp 1 9B
Mode 0x11A: 1280x1024x16bpp
Mode 0x11B: 1280x1024x24bpp 1 9B
Mode 0x140: 320x200x32bpp
Mode 0x141: 640x400x32bpp
Mode 0x142: 640x480x32bpp
Mode 0x143: 800x600x32bpp
Mode 0x144: 1024x768x32bpp
Mode 0x145: 1280x1024x32bpp
Mode 0x146: 320x200x8bpp
Mode 0x147: 1600x1200x32bpp
Mode 0x148: 1152x864x8bpp
Mode 0x149: 1152x864x15bpp 1 9B
Mode 0x14A: 1152x864x16bpp
Mode 0x14B: 1152x864x24bpp 1 9B
Mode 0x14C: 1152x864x32bpp
Mode 0x160: 3840x2160x16bpp
Mode 0x161: 3840x2160x32bpp
Video Aperture: Base=0xE0000000 Size=0x2000000 Rounded=0x2000000
Attempt to allocate shadow buffer...Success
Shadow Buffer locked at 0x5BFE0000, Length 0x2000000 bytes
Failed to enable MTRR Write Combine caching.
PAT Write Combine caching enabled for Vram
PAT Write Combine caching enabled for VramRing0
Requested mode=160
This is with Panorama .
Looks like it sees all 32,768 KB of VRAM.
The Screen GUI is letting me select 3840x2160 resolution .
I now see that the drop-down for colors is dynamic. It depends on the resolution .
For example, at 1600x1200, the color drop-down is disabled.
But at 640x480, the color drop-down is enabled.
This is very subtle and hard to see when greyed out or not.
This is the opposite of what happened with some other OS/2 video drivers in the past, where you could always select the color depth, and then the dialog would update with the list of compatible resolutions.
When I found this, I was able to enable 3840x2160x16 bpp. It seems to work fine now with Panorama.
I still don't know why GENGRADD is messed up.
Will try again at 3840x2160x32bpp now since Panorama claims to see 32MB of VRAM, which should be enough for that mode.
Edit: looks like 3840x2160x32bpp now works. There is no major corruption like before, but still some, mostly related to the mouse pointer, which sometimes gets lost still. I will try to disable the comet pointer now.