Bug 245701 - emulators/virtualbox-ose: severe graphics distortion
Summary: emulators/virtualbox-ose: severe graphics distortion
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Virtualbox Team (Nobody)
Depends on:
Reported: 2020-04-17 15:03 UTC by Martin Birgmeier
Modified: 2020-08-02 11:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (vbox)

example for distorted virtualbox main window (252.65 KB, image/png)
2020-04-17 15:03 UTC, Martin Birgmeier
no flags Details
distortions when running a Windows XP client (380.60 KB, image/jpeg)
2020-04-17 15:22 UTC, Martin Birgmeier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2020-04-17 15:03:20 UTC
Created attachment 213498 [details]
example for distorted virtualbox main window

- running virtualbox on FreeBSD 12.1-RELEASE-p2 amd64 host
- nvidia quadro 1000m graphics card
- latest ports
- virtualbox-ose has been updated to ports r531736 (switch to clang for compiling)

- The Virtualbox main window has severe graphics artifacts - it is not displayed correctly (see attachment - the right part of the window is entirely unrelated to the rest; there can also be scrolling artifacts)

Scenario (continued):
- Starting a client running Windows 10 or Linux

Result (continued):
- The Virtualbox client windows have severe graphics artifacts - they are not displayed correctly
- Updates to the window contents by the respective clients are distorted/partial/misplaced
Comment 1 Martin Birgmeier 2020-04-17 15:22:36 UTC
Created attachment 213499 [details]
distortions when running a Windows XP client
Comment 2 Martin Birgmeier 2020-04-27 12:13:02 UTC
Minimizing and re-displaying the windows removes the distortions... up to the next drawing. So maybe this is instead caused by something else (compositing)?

I tried going back to virtualbox-ose-5.2.34_2, to no avail (exactly the same refresh issues).

Any ideas are appreciated...

-- Martin
Comment 3 Martin Birgmeier 2020-08-02 11:38:18 UTC
Very interesting news:

The graphics refresh problem happens if DISPLAY is set to <hostname>:0 (i.e., TCP socket connection).

The graphics refresh problem does not happen if DISPLAY is set to :0 (i.e., local UNIX socket).

So there seems to be an issue only when using a remote DISPLAY.

The question is, which library handles this in VirtualBox?

-- Martin