VirtualBox

Opened 13 years ago

Closed 11 years ago

#9536 closed defect (fixed)

Screen corruption when switching to full screen mode => Fixed in SVN — at Version 13

Reported by: srd Owned by:
Component: other Version: VirtualBox 4.1.2
Keywords: Cc:
Guest type: X11 Host type: Mac OS X

Description (last modified by Frank Mehnert)

When switching a guest to full screen mode, I have a 1 in 3 chance of the guest screen becoming corrupted. Switching back to windowed mode, clicking on maximize and switching to fullscreen mode again is needed to fix the corruption (although very annoying as a workaround because the window positions in the guest are all moved together, requiring a manual 'cleanup').

Host is MacOS X SnowLeopard Guest Ubuntu 11.04 (also happened with 10.10)

This has also happened with the 4.0.x releases of virtualbox.

This happens with 3D acceleration both enabled and disabled.

Auto-resize Guest display is enabled.

Change History (18)

comment:1 by Michael Thayer, 13 years ago

Could you please attach a log file from the host and a screenshot of a corrupt screen?

comment:2 by srd, 13 years ago

Hi, the corruption in the screenshot happened within 2 minutes of my saving the logfile.

comment:3 by Michael Thayer, 13 years ago

Sorry that I left this for a while. I was unable to see much in the log file, so I uploaded two debug builds of the X.Org video driver to virtualbox.org that you might like to try out. They should work on Ubuntu 11.04 and 11.10 guests and will print out a lot more information to /var/log/Xorg.0.log (on the guest) than the standard builds do. You can download them as

https://www.virtualbox.org/download/testcase/vboxvideo_110_32bit_20111004.zip
https://www.virtualbox.org/download/testcase/vboxvideo_110_64bit_20111004.zip

for 32bit and 64bit guests. Just replace the existing X.Org video driver (in /opt/VBoxGuestAdditions*/lib/VBoxGuestAdditions) with the right one and upload the resulting Xorg.0.log along with the matching VM log. Thanks.

comment:5 by Thomas Lundqvist, 13 years ago

Just for completeness - I posted a duplicate of this: #9690 (which is now closed). I have the same problem for windows hosts... I will try out the debug drivers...

by Thomas Lundqvist, 13 years ago

Attachment: Xorg.0.log.before added

Xorg just after start up of X before hitting ctrl-f

by Thomas Lundqvist, 13 years ago

Attachment: Xorg.0.log.after added

Xorg after hitting ctrl-f 6 times. Garbled screen after 5th ctrl-f (third fullscreen entry).

comment:6 by Thomas Lundqvist, 13 years ago

I added a debug-Xorg.log. The after-file includes a garbled screen. It behaved a bit differently now. Normally, screen gets garbled every second entry to fullscreen. Now, I had 2 fullscreen looking ok (4 ctrl-f presses) but the third one (5th ctrl-f press) becoming garbled. I also exited fullscreen by ctrl-f (6th press) before copying the Xorg.log-file. The exit after a screen garble takes a bit longer time and then window becomes maximized.

by srd, 13 years ago

Attachment: Xorg.0.log added

comment:7 by srd, 13 years ago

Added my Xorg.0.log file.

Booted up in windowed mode, logged in in windowed mode and then toggled full screen until screen corruption occurred (when entering the fullscreen mode the 3rd time). Left fullscreen mode to restore the screen by maximizing.

This is on the 64bit ubuntu 11.04 running virtualbox 4.1.2.

comment:8 by Michael Thayer, 13 years ago

I think that I have fixed this problem, but in the host code, not the Guest Additions. Here is a test build which contains the fixes for Mac OS X host, in case you would like to give it a try. Be aware that this is a snapshot of VirtualBox development code, so please do not use it for anything mission-critical!

https://www.virtualbox.org/download/testcase/VirtualBox-2011-10-21-16-23-38-mac2-rel-4.1.51-r74506.dmg

comment:10 by Thomas Lundqvist, 13 years ago

I installed the windows version now and tried ctrl-f a couple of times. Seems to be solved. Works perfectly! I will continue to use this version for a while and report if any problems arise.

I'm a bit suprised it was the host code. What was the problem? Well, I can maybe read the patch sometimes in the future...

comment:11 by Frank Mehnert, 12 years ago

Summary: Screen corruption when switching to full screen modeScreen corruption when switching to full screen mode => Fixed in SVN

This fix will be included in the next minor release.

comment:12 by Frank Mehnert, 12 years ago

Sorry, my fault. The fixes will not go yet into 4.1.6.

comment:13 by Frank Mehnert, 11 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use