Bug 197840

Summary: emulators/virtualbox-ose-additions: seamless mode don't work on FreeBSD Guest i386
Product: Ports & Packages Reporter: Otacílio de Araújo Ramos Neto <otaciliodearaujo>
Component: Individual Port(s)Assignee: Virtualbox Team (Nobody) <vbox>
Status: Open ---    
Severity: Affects Some People CC: grahamperrin, monochromec, otacilio.neto, otaciliodearaujo, rhs.message, w.schwarzenfeld
Priority: --- Keywords: needs-qa
Version: Latest   
Hardware: i386   
OS: Any   
URL: https://www.freshports.org/emulators/virtualbox-ose-additions/#message

Description Otacílio de Araújo Ramos Neto 2015-02-20 01:55:13 UTC

    
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-20 01:55:13 UTC
Auto-assigned to maintainer vbox@FreeBSD.org
Comment 2 Otacílio de Araújo Ramos Neto 2015-02-20 02:01:47 UTC
Seamless mode don't work on FreeBSD Guest i386 using virtualbox-ose-additions-4.3.22. The kernel continuously shows a message "vboxguest: VBoxGuestFreeBSDIOCtl: bad size 0; pArg=0xc7c63150 Cmd=3222296069." with a interval of about 1 second. If the process "/usr/local/bin/VBoxClient --seamless" is killed the message ends.

My guest system:

FreeBSD xareu 10.1-RELEASE-p5 FreeBSD 10.1-RELEASE-p5 #0: Tue Jan 27 08:52:50 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
Comment 3 Otacílio de Araújo Ramos Neto 2015-02-20 13:23:54 UTC
Seamless mode don't work on FreeBSD Guest i386 using virtualbox-ose-additions-4.3.22. The kernel continuously shows a message "vboxguest: VBoxGuestFreeBSDIOCtl: bad size 0; pArg=0xc7c63150 Cmd=3222296069." with a interval of about 1 second. If the process "/usr/local/bin/VBoxClient --seamless" is killed the message ends.

My guest system:

FreeBSD xareu 10.1-RELEASE-p5 FreeBSD 10.1-RELEASE-p5 #0: Tue Jan 27 08:52:50 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
Comment 4 rhs 2015-02-23 14:43:05 UTC
FreeBSD 10.1-STABLE #0 r278906: Tue Feb 17 19:09:13 UTC 2015     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Presently running FreeBSD 10.1 release natively with no problems. Trying to experiment with FreeBSD 10.1 stable using Vbox hosted on Win7. Following error is being repeatedly written into log "2015-02-22 10:06:23 "hostname" kernel vboxguest: VBoxGuestFreeBSDIOCtl: bad size 0; pArg=0xfffffe010f863a20 Cmd=3222296069". It appears as if either the ose-additions or VirtualBox is not accetpting the native resolution of my monitor which is 1366x768. The message posted below appears repeatedly in my Xorg log. Right now display is using Gallium pipe and Xrender, so I have no 3d support or openGL visuals. I gather that the shared folder and seamless mode are not working with a FreeBSD guest as well. At least mine are not. Mouse integration is "on" and I can not really differentiate between seamless mode and this quirk, i.e. no differance in operation. I can post a ton of stuff that I've already looked at but I'm hoping this problem is at the easy end of the spectrum and won't require that. Maybe some help with more verbose logging settings might help with finding this.


    [  7907.703] (II) VBoxVideo(0): Modeline "1366x768"x0.0   63.71  1366 1368 1370 1372  768 770 772 774 -hsync -vsync (46.4 kHz eP)
    [  7910.863] (II) VBoxVideo(0): EDID vendor "VBX", prod id 0
    [  7910.863] (II) VBoxVideo(0): DDCModeFromDetailedTiming: 1366x768 Warning: We only handle separate sync.
    [  7910.863] (II) VBoxVideo(0): Using hsync ranges from config file
Comment 5 monochromec 2016-04-18 16:12:39 UTC
I can confirm this issue on a 64 bit FreeBSD guest running VB 5.0.16 on a Win10 host. VBox additions is version 4.3.36 (as part of the ports) and the corresponding modifications as outlined in https://wiki.freebsd.org/VirtualBox#Installing_Guest_Additions_for_FreeBSD_guests have been implemented.

Gnome fails as part of the session initialisation process when /usr/local/bin/VBClient-all invokes /usr/local/bin/VBClient --seamless.

Foul play between the guest additions and the host VB instance in terms of protocol issues?
Comment 6 Walter Schwarzenfeld freebsd_triage 2018-01-13 06:26:11 UTC
We have vesion 5.2.4. I think this is overcome by events.
Comment 7 Walter Schwarzenfeld freebsd_triage 2018-01-17 07:43:53 UTC
We have version 5.2.6. Is this still a problem?
Comment 8 Otacílio de Araújo Ramos Neto 2018-01-17 13:31:41 UTC
Yes. Seamless mode is disabled in menus.
Comment 9 Graham Perrin freebsd_committer freebsd_triage 2023-08-18 06:16:50 UTC
> … i386

(In reply to monochromec from comment #5, 2016)

> … 64 bit …

(In reply to Otacílio de Araújo Ramos Neto from comment #8, 2018)

Reproducible with 6.1.46 on greater on FreeBSD 13.2-RELEASE?

The package message was improved in 2021; please ensure that the required virtual graphics controller is set before starting the guest.