VirtualBox 5.2.0 VM screen cropped

Discussions related to using the OSE version of VirtualBox.
Post Reply
davidhs
Posts: 6
Joined: 13. Nov 2017, 11:48

VirtualBox 5.2.0 VM screen cropped

Post by davidhs »

Hi, I have compiled VirtualBox 5.2.0 from source code using instructions from viewtopic.php?f=10&t=83521, and when I try to run my Windows 98 SE VM it gives me something like zoomed display but the display is cropped. I didn't make any changes to the source code tree except configure file that I followed through the linked thread. The VM is fine when I run using the prebuilt VirtualBox in the Downloads page.

The screenshot is attached below. The screenshot took from a MacBook Pro Retina Mid-2015, running Mac OS X 10.12.2 Sierra.
Attachments
win98se.jpeg.zip
Screenshot (sorry had to zip it, the file is too large)
(118.81 KiB) Downloaded 76 times
Last edited by socratis on 17. Nov 2017, 19:22, edited 1 time in total.
Reason: Fixed obfuscated URLs.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 5.2.0 VM screen cropped

Post by mpack »

Have you any evidence that the same VM looks right when using the official release of VirtualBox for OS X hosts?

To me it just looks like an incorrect 16-color VESA video mode has been selected in the guest OS. What display drivers did you install in the latter? Typically you have to install either the BearWindows or SciTech drivers, as the default VGA driver is not much good if you want to go above 800x600 (if it even supports that - it may be 640x480).
davidhs
Posts: 6
Joined: 13. Nov 2017, 11:48

Re: VirtualBox 5.2.0 VM screen cropped

Post by davidhs »

Yes, attached one here below is the screenshot from the prebuilt version of VirtualBox 5.2.0. Same VM, no driver changes or anything.

EDIT: No display drivers installed in the VM.
Attachments
win98se_prebuiltvbox.jpeg.zip
Screenshot from prebuilt VirtualBox
(249.54 KiB) Downloaded 55 times
Last edited by socratis on 17. Nov 2017, 19:23, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 5.2.0 VM screen cropped

Post by mpack »

Please provide a VM log file. With the VM fully shut down, right click it in the GUI. Select "Show Log" and save "VBox.log" (ONLY) to a zip file. Attach the zip here.
davidhs
Posts: 6
Joined: 13. Nov 2017, 11:48

Re: VirtualBox 5.2.0 VM screen cropped

Post by davidhs »

Here are the log files for the 2 different versions. I also added another screenshot as a preview what the display looks like.
Attachments
win98se_ose.jpeg.zip
Screenshot
(46.49 KiB) Downloaded 37 times
Win98SE-2017-11-14-17-32-26-ose.log.zip
VirtualBox 5.2.0 ose version compiled
(20.72 KiB) Downloaded 50 times
Win98SE-2017-11-14-17-29-24-prebuilt.log.zip
VirtualBox 5.2.0 prebuilt version
(20.85 KiB) Downloaded 42 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 5.2.0 VM screen cropped

Post by mpack »

I don't see any important difference in the VMs, so I have to fall back on my previous assessment: it simply looks as if you have an incorrect display size selected in one VM. I don't know why that would be. Presumably it's because of some virtual hardware difference in the default VM in your build.

BTW, you should go ahead and install the BearWindows VESA driver discussed in the tutorials. I don't see any point it crippling performance even more by using a 16 color dsplay mode on a 32bpp host.
davidhs
Posts: 6
Joined: 13. Nov 2017, 11:48

Re: VirtualBox 5.2.0 VM screen cropped

Post by davidhs »

I have installed SciTech Display Doctor 7 and changed the screen resolution to 1024x768 at 32 bpp. And the problem still appear on the self-compiled version of VirtualBox.
Attachments
Screen Shot 2017-11-15 at 2.42.00 PM.jpg.zip
Screenshot of self-compiled VM
(109.07 KiB) Downloaded 45 times
Win98SE-2017-11-15-14-50-23.log.zip
Self-compiled VM log file
(25.7 KiB) Downloaded 41 times
Win98SE-2017-11-15-14-56-12-prebuilt.log.zip
Prebuilt VM log file
(21.34 KiB) Downloaded 45 times
davidhs
Posts: 6
Joined: 13. Nov 2017, 11:48

Re: VirtualBox 5.2.0 VM screen cropped

Post by davidhs »

And here is the screenshot for the prebuilt VM.
Attachments
Screen Shot 2017-11-15 at 2.55.15 PM.jpg.zip
Screenshot
(200.13 KiB) Downloaded 58 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 5.2.0 VM screen cropped

Post by mpack »

I should better point out that if you choose to recompile the sources then you're technically on your own. Only the prebuilt versions are supported.

That said, looking at the screenshot I see repeated lines, and possibly there is repeated pixels on a line. I'd be looking at build options in the display adapter, particularly regarding default bpp values and timing.

Additional note: the desktop background appears to be dithered, most peculiar in a 32bpp image. It's hard to tell when JPEG has been used, but the pattern seems to be 2x2 tiles, possibly supporting the idea that pixels are being double. I would hope that scale mode in the VM is disabled?
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: VirtualBox 5.2.0 VM screen cropped

Post by mhanor »

It might be related to the Qt library that the OSE version was built with.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VirtualBox 5.2.0 VM screen cropped

Post by mpack »

Perhaps, though I don't see how Qt can influence the contents of a guest desktop, unless perhaps scale mode is enabled.
davidhs
Posts: 6
Joined: 13. Nov 2017, 11:48

Re: VirtualBox 5.2.0 VM screen cropped

Post by davidhs »

mpack wrote:I should better point out that if you choose to recompile the sources then you're technically on your own. Only the prebuilt versions are supported.

That said, looking at the screenshot I see repeated lines, and possibly there is repeated pixels on a line. I'd be looking at build options in the display adapter, particularly regarding default bpp values and timing.

Additional note: the desktop background appears to be dithered, most peculiar in a 32bpp image. It's hard to tell when JPEG has been used, but the pattern seems to be 2x2 tiles, possibly supporting the idea that pixels are being double. I would hope that scale mode in the VM is disabled?
Yes, scale mode is disabled in the VM.
Post Reply