Main virtualbox window resizes itself 3 or 4 times - then no desktop start

Bug #1666059 reported by Kev Bowring
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Confirmed
Undecided
Unassigned
virtualbox (Ubuntu)
Confirmed
Critical
Unassigned
xorg-server (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Install virtualbox from repo's.

Install Xubuntu or Ubuntu

Install virtulabox-guest-utils

Reboot - virtual installation starts.

Install virtualbox-guest-x11

Reboot

Virtual installation starts, see disk clean notice, window then resizes itself a few times - then cursor flashing but no login screen appears

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: virtualbox-guest-x11 5.1.14-dfsg-2
ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5
Uname: Linux 4.9.0-15-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Sun Feb 19 20:34:16 2017
InstallationDate: Installed on 2017-02-19 (0 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170219)
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kev Bowring (flocculant) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

It happened yesterday to me, I can confirm.
Probably some xorg changes? some qt issue?
I would say this isn't a vbox fault

Changed in virtualbox (Ubuntu):
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

not sure if mesa has something to do here, because we are using ld to override the ld.so.conf.d EGL and GL configuration files

Changed in mesa (Ubuntu):
status: New → Invalid
status: Invalid → New
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

putting xorg developers in the loop

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

mesa has been at 13.0.x for a while now.. xserver hasn't changed either

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

and no logs saying otherwise

Kev Bowring (flocculant)
summary: - Main virtualbox window resizes itself 4 or 4 times - then no start
+ Main virtualbox window resizes itself 3 or 4 times - then no desktop
+ start
Revision history for this message
Kev Bowring (flocculant) wrote :

attached xorg log after installing xdiagnose

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

well, sounds like a vbox issue to me:

[ 18.775] (EE) Failed to load module "vboxvideo" (module does not exist, 0)

which then results in:

[ 18.790] (EE) modeset(0): eglInitialize() failed
[ 18.790] (EE) modeset(0): glamor initialization failed

which probably causes the DM to fail, not sure. There is no crash at least, looks like the server just exits normally because the client fails to run.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

vboxvideo_drv was removed on purpose it seems, but seems that the modeset driver can't enable glamor because of the separate EGL/GL libs?

btw, you probably can drop Provides: xorg-driver-video

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

that vboxvideo has been dropped upstream, I also tried an rm on my zesty vm of that file but it didn't change the boot issue.

I don't understand your modeset sentence, because actually I don't understand
what vboxvideo does (kernel module)
what the driver is supposed to do, and what/how that vbox*GL* libs can replace the vboxvideo_drv

I mostly do what upstream does here:
https://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/tree/src/VBox/Additions/linux/installer/vboxadd.sh#n223

but there is one difference, installing the guest additions works, the my approach worked in Debian and works in Debian, and worked in Ubuntu before zesty.

Zesty changed something I can't understand (and breaks only my build, not the upstream install script)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

test with ppa:canonical-x/x-staging, which has 1.19.2

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

it is not helping... I did test with a vbox custom on my ppa:costamagnagianfranco/locutusofborg-ppa

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Timo, you rock!
it works with that patch, uploaded in Ubuntu

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
Changed in xorg-server (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.