[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#851124: wiki: please provide information for Debian-as-guest




On 12/01/17 20:31, Gianfranco Costamagna wrote:
> control: reassign xorg-server
> control: found -1 2:1.19.0-3
> 
> Hello Daniel and Xorg maintainers,
> 
>> I wanted to test some things in stretch so I downloaded the 2017-01-12
>> daily build of the installer ISO, setup a VirtualBox guest and ran the
>> installer in that.  The host is running jessie.
>>
>> It worked immediately for text mode, but after doing
>>     apt-get install gnome
>>
>> the VM screen was flashing and no graphical login appeared.
>>
>> Installing xserver-xorg-legacy allowed me to log in at 1024x768
>> resolution but this was not ideal.
> 
> 
> yes, this is mostly normal
>> I then proceeded to remove xserver-xorg-legacy and install the following
>>
>>   apt-get install dkms linux-headers-amd64 virtualbox-guest-dkms
>> virtualbox-guest-utils virtualbox-guest-x11
>> I had to manually download the virtualbox-guest-* packages from sid,
>> everything else installed fine from stretch.
>>
>> After installing all of that and rebooting, I had X / GNOME working.
>>
>> Could you please clarify if this is the right procedure for running
> 
>> stretch as a VirtualBox guest and add the steps to the wiki?
> 
> seems that the video driver on Stretch is not capable of running in a rootless X server,
> while the virtualbox driver implementation is.
> 

OK, I also opened a bug report there:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851120

and I'll send a reply there linking to this discussion.

Could you add your own feedback there about what is expected to maximize
the chances that the display appears correctly on first boot into a
freshly built stretch system?  Or does it only depend on the patching of
Virtualbox and there is nothing that could be done in xorg or wayland to
work around this seamlessly?

In those cases where the display doesn't work, is there anything that
can be done to give more meaningful feedback?  The flashing screen isn't
great.

> Now, upstream (vbox) patched it and told me they were sending patches to the video
> driver too, but I'm unsure when and if it will eventually reach sid/Stretch.
> 
> So, installing guest-* stuff, makes everything works in both root-X and rootless-X.
> 
> your approach is quite correct, the solution should be to patch the Debian video driver,
> because vbox is already fine.
> 
> Would you mind updating the wiki with your findings?
> 
> this is probably the commit that fixed the xorg issue
> https://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/commit/?id=cc16e5049641855149fe9d6b091415bebcc58d3d
> 
> with this one for GL/EGL (3d graphics)
> 9b4eb6f74ca9bb1a289f2786585d4df606f78e1d
> 2b4cb0931d105892c39ca8b8d718e6ad59f9696a
> 
> and an xorg-1.19 fix
> 5a8a9ea13e7f555a7e27619078f41add2b635000
> 28a2557b358e9d29824dd8b643a30ce250862361
> 
> xorg maintainers, are you aware of such patch/video issue? I don't remember the exact package, but since
> lots of people run virtualbox it might be nice to have it working out-of-the-box, without having
> to install additional vbox drivers
> 
> what do you think?

Should those links go into bug reports against the relevant packages so
this can be followed through?

Regards,

Daniel


Reply to: