Bug 211373

Summary: emulators/virtualbox-ose-additions 5.0.26: building with OpenGL support inhibits starting of X server
Product: Ports & Packages Reporter: Martin Birgmeier <d8zNeCFG>
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Only Me CC: jkim, otacilio.neto
Priority: --- Flags: bugzilla: maintainer-feedback? (vbox)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
diff between starting X server on client with/without OpenGL enabled none

Description Martin Birgmeier 2016-07-25 19:27:12 UTC
Created attachment 172978 [details]
diff between starting X server on client with/without OpenGL enabled

If virtualbox-ose-additions 5.0.26 is built with OpenGL support, the X server in the client cannot start.

The attached diff compares /var/log/Xorg.0.log (without OpenGL support) to /var/log/Xorg.0.log.old (with OpenGL support):

    diff =(sed 's/^\[..........\] //' /var/log/Xorg.0.log) =(sed 's/^\[..........\] //' /var/log/Xorg.0.log.old)

With the 4.3.38 version, enabling OpenGL support did not prevent starting of the X server.

Furthermore, with the 5.0.26 version, issuing the command

    VBoxManage controlvm 'FreeBSD 10 i386 (v905)' setvideomodehint 1728 972 32

is honored only after logging in to the client machine. If I remember correctly, the same command would already resize the login screen (KDE) with the 4.3.38 version.
Comment 1 Otacílio de Araújo Ramos Neto 2016-07-25 20:09:09 UTC
I think that this bug is related with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211320
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-07-25 22:35:04 UTC
A commit references this bug:

Author: jkim
Date: Mon Jul 25 22:34:21 UTC 2016
New revision: 419078
URL: https://svnweb.freebsd.org/changeset/ports/419078

Log:
  Do not load vboxvideo.ko from vboxguest script.  DRI support was removed
  from the X.Org vboxvideo driver.

  https://www.virtualbox.org/changeset/59194

  PR:		211373

Changes:
  head/emulators/virtualbox-ose-additions/Makefile
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2016-07-25 22:36:38 UTC
This problem should be fixed in r419078.
Comment 4 Martin Birgmeier 2016-07-26 18:35:49 UTC
Thank you.

-- Martin