VirtualBox

Ticket #4355 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

3.0.0 Solaris guest additions graphics broken with OpenSolaris 2009.06 -> fixed in 3.0.6 beta 1

Reported by: constantin Owned by:
Priority: critical Component: guest additions
Version: VirtualBox 3.0.0 Keywords: X.org X display dri vboxvideo
Cc: Guest type: Solaris
Host type: Mac OS X

Description

With OpenSolaris 2009.06, running on VirtualBox 3.0.0 running on Mac OS X "Leopard", guest additions installed, the display is garbled. Attached is a screenshot of the virtual machine window showing a broken login screen, as well as a copy of VBox.log.

This has been observed on VirtualBox 3.0.0B2 already, and there's also another case of a user who saw this effect with VirtualBox 3.0.0 on some flavour of Windows.

Looking at Xorg.0.log (attached), it seems that the VirtualBox display module can't connect to the dri device:

(==) VBoxVideo(0): Default visual is TrueColor drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: open result is -1, (No such device or address) drmOpenDevice: Open failed [drm] failed to load kernel module "vboxvideo" (EE) [drm] drmOpen failed. (EE) VBoxVideo(0): DRIScreenInit failed, disabling DRI.

I get the impression that the vboxvideo Xorg module works, but somehow can't connect to the kernel module through dri and therefore there is no negotiation between the host and the guest re: display resolution. Therefore, X.org seems to render graphics under wrong assumptions over display resolution etc., resulting in the garbled screen. This is just my personal feeling, no hard facts on this one.

Resizing the window doesn't change anything, nor does switching between full-screen and window mode. When resizing the window, the canvas stays the same and scrollbars appear, indicating that the window-resize doesn't work. Mouse pointer integration and the rest of the guest additions seem to work ok.

Workaround:

  • Kill the X Server through Ctrl-Alt-Delete.
  • Log in quickly through the Solaris console (may need to kill X again to complete console login.
  • "svcadm disable gdm" (This disables X and login completely, may need to kill X again to be able to type this).
  • "pfexec mv /etc/xorg.conf /etc/xorg.conf.vboxguest"
  • "svcadm enable gdm"
  • Wait for X to start again, then log in.
  • This effectively disables the display and mouse portions of the guest additions, but the rest will work.

This issue has already been reported in the Beta forums, but with no response. It has also been reported in an Sun internal mail thread.

Attachments

VBox3.0.0OS2009.06_brokenGA.png Download (31.5 KB) - added by constantin 5 years ago.
Screenshot of the broken login screen showing the effects of this bug.
VBox.log Download (50.2 KB) - added by constantin 5 years ago.
VirtualBox Logfile of the machine affected by the bug.
VBox.2.log Download (50.2 KB) - added by constantin 5 years ago.
VirtualBox Logfile of the machine affected by the bug.
Xorg.0.log.vboxguest Download (14.6 KB) - added by constantin 5 years ago.
X.org Logfile of the machine affected by the bug.

Change History

Changed 5 years ago by constantin

Screenshot of the broken login screen showing the effects of this bug.

Changed 5 years ago by constantin

VirtualBox Logfile of the machine affected by the bug.

Changed 5 years ago by constantin

VirtualBox Logfile of the machine affected by the bug.

Changed 5 years ago by constantin

X.org Logfile of the machine affected by the bug.

comment:1 Changed 5 years ago by constantin

Victor Castillo pointed me to a better workaround:

"The screen is unusable, but you can input your user name, press enter, input password, enter again and login as normal. Sometimes the screen stays unusable, but if you resize the window, it fixes itself."

This works well and I'm writing this from the fixed screen.

Still, this issue is confusing to unexperienced users at best and should be fixed soond.

comment:2 Changed 5 years ago by michael

  • Summary changed from 3.0.0 Solaris guest additions graphics broken with OpenSolaris 2009.06 to 3.0.0 Solaris guest additions graphics broken with OpenSolaris 2009.06 -> fixed in 3.0.6 beta 1

This should be fixed in version 3.0.6 beta 1.

comment:3 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use