<div dir="ltr">Hi Michael.<br><br>> On 6 September 2016 at 11:13, Michael Thayer <<a href="mailto:michael.thayer@oracle.com">michael.thayer@oracle.com</a>> wrote:<br>> ><br>> > Hello Jan,<br>> ><br>> > I think you asked about this on IRC yesterday.  The first file that you mention is part of the Linux drm driver (the rest is the other files in that folder).  I wrote the driver, based on in-kernel ones, but I am not an expert in the kernel drm subsystem, and in particular I only use the basic kernel fbdev translation functions to provide the framebuffer driver.  You would probably be better asking on the dri-devel list<1> about what to change to get one fbdev device per head.  You might be in luck and there might be a simple solution.<br>> ><br>><div><br></div><div>I just get some patches which adds to the linux vboxvideo.ko support for multiframebuffer (one framebuffer per display).<br>But I have some very strange trouble with it.<br><br>When started, only the first framebuffer is working (and so only one graphical display is enabled).<br>Then I enable second FB by entering "fbset -ifb /dev/fb1 -accel 1".<br>An that moment, I get the virtual machine freezed. Now if I try to send [ENTER] or any other key,<br>I don't see cursor or any ather activities on the command line (on guest Linux system).<br><br>The strangeness is that if I click on close button of guest console window (so the popup menu starts<br>with option of save, shutdown or power-off), the windows title changed to "paused" and only now I can see</div><div>the previously entered keys showed on guest console. It looks like console lock is released when</div><div>popup windows started and again acquired if I cancel popup.<br><br>It looks like the guest console (fbcon?) gets freezed (so locked) by some initialization task inside<br>the modified vboxvideo driver.<br><br>Configuration:<br><br>Host system: Fedora 24 desktop with kernel 4.6.7, but my colleague tries that on Windows 7, the issue is the same,<br>so I guess it is host system independetend issue<br>Guest: I tried two distros, both have installed minimal packages and no Xwin<br>Guest1: Fedora 24 desktop, kernel 4.6.7<br>Guest2: Arch latest, kernel 4.7.2<br><br>Do you have any idea how to debug such console freeze?<br><br>/Jan<br></div><div><br>> Yes, I was asking on irc, but I think I fallen in lunch mode there, so only silence :)<br>> That is why I asked here again.<br>><br>> Anyway, thanks for the hints! I definitely will have a try with drm.<br>><br>> But it's good that the author of driver is reachable.<br>> So more questions can come later ;)<br>><br>> CU<br>> /Jan<br>><br>><br>> > Regards,<br>> ><br>> > Michael<br>> ><br>> > <1> <a href="https://lists.freedesktop.org/mailman/listinfo/dri-devel">https://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>> ><br>> ><br>> > On 05.09.2016 17:42, Jan Petrouš wrote:<br>> >><br>> >> Hi,<br>> >><br>> >> as VirtualBox supports dual head config I was trying to start two<br>> >> framebuffers on it.<br>> >> But unsucessfull.<br>> >><br>> >> The main constraint is that guest Linux is very tiny and has no<br>> >> X-Windows inside.<br>> >> The application requires only the framebuffer devices.<br>> >><br>> >> I did many hours googling to find solution but I found only solution for<br>> >> xwin environment.<br>> >><br>> >> Is it even possible to enable two FB devices on dualhead configuration?<br>> >><br>> >> If the answer is NO, can you show me where I should start to look inside<br>> >> the sources?<br>> >><br>> >> I found the VB Additions subversion repo where are at least two video<br>> >> drivers:<br>> >><br>> >> 1,<br>> >> <a href="http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/linux/drm/vbox_fb.c">http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/linux/drm/vbox_fb.c</a><br>> >> 2,<br>> >> <a href="http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c">http://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c</a><br>> >><br>> >> I guess that the driver for my non-x11 environment is the first one. Is<br>> >> it true?<br>> >><br>> >> I'm rather linux video driver noob, but I would like to get some good<br>> >> start point<br>> >> where I can at least try to start with.<br>> >><br>> >> BR.<br>> >> /Jan<br>> >><br>> >> PS: Installed Fedora Server 24 Minimal config, so kernel is 4.6.7<br>> >><br>> >><br>> >> _______________________________________________<br>> >> vbox-dev mailing list<br>> >> <a href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>> >> <a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>> >><br>> ><br>> > --<br>> > Michael Thayer | VirtualBox engineer<br>> > ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt<br>> ><br>> > ORACLE Deutschland B.V. & Co. KG<br>> > Hauptverwaltung: Riesstraße 25, D-80992 München<br>> > Registergericht: Amtsgericht München, HRA 95603<br>> ><br>> > Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>> > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697<br>> > Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher</div></div>