Discussion:
[lfs-support] Framebuffer on Virtualbox
Ben Bellemans
2018-09-20 07:42:21 UTC
Permalink
I have installed LFS 8.2 on an old PC and on Virtualbox (5.2.16).
On the old PC, the console uses the framebuffer from the first boot.
On Virtualbox it does not, it only uses 80x25 text screen.
I suppose I have to look for a driver in het kernel menuconfig.

The host system for my setup of LFS is Lubuntu 18.
On Lubuntu, I can find following information:

lspci tells me:
VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter

dmesg tells me:
[ 9.857150] fbcon: vboxdrmfb (fb0) is primary device
[ 9.885507] Console: switching to colour frame buffer device 100x37
[ 9.888447] vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device
[ 9.895150] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0

This information does not help me to find what I have to include in de menuconfig.

I can get the framebuffer in LFS working when I include the following in menuconfig:

Device Drivers --->
Graphics support --->
Frame buffer Devices --->
<*> VGA 16-color graphics support

This works, but is extremely slow (and also rather limitd, I suppose).

I already tried any other drivers I can find in <Frame buffer Devices> in menuconfig,
but nothing seems to work.

Is an appropriate driver available in Menuconfig?
Where can I find is?

I suppose I have to get this working before I can start with X.org from BLFS.

-----------------------------------------------------
https://www.mail.be
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

htt
Thomas Trepl
2018-09-20 08:35:09 UTC
Permalink
Post by Ben Bellemans
I have installed LFS 8.2 on an old PC and on Virtualbox (5.2.16).
On the old PC, the console uses the framebuffer from the first boot.
On Virtualbox it does not, it only uses 80x25 text screen.
I suppose I have to look for a driver in het kernel menuconfig.
The host system for my setup of LFS is Lubuntu 18.
VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
[ 9.857150] fbcon: vboxdrmfb (fb0) is primary device
[ 9.885507] Console: switching to colour frame buffer device 100x37
[ 9.888447] vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device
[ 9.895150] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
This information does not help me to find what I have to include in de menuconfig.
Device Drivers --->
Graphics support --->
Frame buffer Devices --->
<*> VGA 16-color graphics support
This works, but is extremely slow (and also rather limitd, I suppose).
I already tried any other drivers I can find in <Frame buffer Devices> in menuconfig,
but nothing seems to work.
Is an appropriate driver available in Menuconfig?
Where can I find is?
I suppose I have to get this working before I can start with X.org from BLFS.
There is an option
Device drivers
--> Virtualization drivers
--> Virtual Box Guest integration support
I've checked this to <M> and
Device Drivers
--> Graphics support
--> Direct Rendering Manager (XFree86...)
checked to <*>

In order to build the vboxvideo driver in kernel, you have to enable
Device drivers
--> Staging drivers
and then
Device drivers
--> Staging drivers
--> Virtual Box Graphics Card

Note that staging drivers are not yet finalized, they might work, but might NOT work too!
Save way is to leave that staging stuff unchecked and install the VBox guest additions
afterwards using stuff provided by Oracle at https://download.virtualbox.org/virtualbox/5.2.16/VBoxGuestAdditions_5.2.16.iso.

--
Thomas
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Postin
Ben Bellemans
2018-09-20 14:22:16 UTC
Permalink
Thanks Thomas.

To start with the good news: the frammebuffer works.

I tried to things you mentioned in het kernel configuration,
except for ons of them:
in my menuconfig, Device drivers --> Virtualization drivers is an empty submenu.
I can include [*] Virtualization drivers,
but it contains nothing, so I cannot invlude Virtual Box Guest integration support as a module.
But it works, so there is no problem.

So it works with the staging drivers.

I did not try with the guest addions at this moment.
Maybe I can do that later, but I am not sure what to do exactly.
I can mount the isofile and run the install script.
But what is next ?
Do I just have to rebuild the kernel afterwards ?
Or does it add options to the menuconfig that I have to include before rebuilding ?
Or is it enough to just run the guest addiotions install script ?

Bart
Post by Ben Bellemans
----------------------------------------
Sent: Thu Sep 20 10:35:09 CEST 2018
Subject: Re: [lfs-support] Framebuffer on Virtualbox
There is an option
Device drivers
--> Virtualization drivers
--> Virtual Box Guest integration support
I've checked this to <M> and
Device Drivers
--> Graphics support
--> Direct Rendering Manager (XFree86...)
checked to <*>
In order to build the vboxvideo driver in kernel, you have to enable
Device drivers
--> Staging drivers
and then
Device drivers
--> Staging drivers
--> Virtual Box Graphics Card
Note that staging drivers are not yet finalized, they might work, but might NOT work too!
Save way is to leave that staging stuff unchecked and install the VBox guest additions
afterwards using stuff provided by Oracle at https://download.virtualbox.org/virtualbox/5.2.16/VBoxGuestAdditions_5.2.16.iso.
--
Thomas
-----------------------------------------------------
https://www.mail.be
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.
Loading...