Re: [vbox-dev] Dynamic linking of OpenGL drivers

2017-05-17 Thread Frank Mehnert
Hi Benji, On Sonntag, 14. Mai 2017 00:43:20 CEST Benji Wiebe wrote: > I have been running the latest trunk of Mesa for a few days now, and > when I wanted to start up VirtualBox I got the following errors: (the > other info is from setting LIBGL_DEBUG=verbose) > > libGL: OpenDriver: trying

Re: [vbox-dev] Kernel v4.12 API changes

2017-05-17 Thread Frank Mehnert
Hi Larry, On Montag, 15. Mai 2017 16:35:30 CEST Larry Finger wrote: > Has anyone found the magic elixir to allow VB to run with kernel 4.12-rc1? > > Adding #include to vboxdrv/r0drv/linux/alloc-r0drv-linux.c > is > trivial; however, I'm having trouble with changes in the page table walk code

[vbox-dev] guest-ad install bug causing: "sf_read_super_aux error=-22" errors on Linux + fix

2017-05-17 Thread Hans de Goede
Hi, I could not get manual mounting of vboxsf mounts to work under Linux (Fedora) the problem turned out to be that the guest-additions installer (the .run file) creates a /sbin/mount.vboxsf symlink to /opt/VBox.../other/mount.vboxsf which does not exist correcting this to point to:

[vbox-dev] [PATCH 3/3] additions/linux/drm: Remove dependency on iprt/cdefs, stdarg, stdint and types.h

2017-05-17 Thread Hans de Goede
Signed-off-by: Hans de Goede --- src/VBox/Additions/linux/drm/VBoxVideoIPRT.h | 28 +++- src/VBox/Additions/linux/drm/files_vboxvideo_drv | 4 2 files changed, 23 insertions(+), 9 deletions(-) diff --git

[vbox-dev] [PATCH 1/3] additions/linux/drm: Replace HGSMICommon.c and HGSMIMalloc.c with kernel functions

2017-05-17 Thread Hans de Goede
Use the functions from linux/genalloc.h instead of the vbox custom HGSMIMalloc implementation. Signed-off-by: Hans de Goede --- src/VBox/Additions/common/VBoxVideo/HGSMIGuest.cpp | 5 + src/VBox/Additions/linux/drm/HGSMIBuffers.h| 54 ++

[vbox-dev] [PATCH 0/3] additions/linux/drm: Drop dependency on HGSMICommon.c HGSMIMemMalloc.c and iprt/*.h

2017-05-17 Thread Hans de Goede
Hi All, Here is a set of patches further cleaning up the vboxvideo driver in preparation for upstream submission. Total line-count of files needed to build the vboxvideo driver before these changes: 16763, after: 7837 :) You hereby have my and Red Hat's permission to use these patches under the

[vbox-dev] [PATCH 2/3] additions/linux/drm: Remove unnecessary wrapping of guest_pool in a struct

2017-05-17 Thread Hans de Goede
Signed-off-by: Hans de Goede --- src/VBox/Additions/linux/drm/HGSMIBuffers.h | 10 -- src/VBox/Additions/linux/drm/vbox_drv.h | 2 +- src/VBox/Additions/linux/drm/vbox_irq.c | 4 ++-- src/VBox/Additions/linux/drm/vbox_main.c| 26

Re: [vbox-dev] wrong error message with gcc-7

2017-05-17 Thread Gianfranco Costamagna
Hello Frank >but this changeset was not yet backported to 5.1. Done now. Regarding the >'gcc-7 -dumpversion' problem: See > > https://www.virtualbox.org/changeset/66931/vbox thanks! it is clear now :) G. ___ vbox-dev mailing list

[vbox-dev] [PATCH 0/1] additons/linux/drm: Fix NULL pointer dereference kernel oops

2017-05-17 Thread Hans de Goede
Hi All, Here is a small bugfix for the vboxvideo drm driver. You hereby have my and Red Hat's permission to use this patch under the MIT license. Regards, Hans ___ vbox-dev mailing list vbox-dev@virtualbox.org

[vbox-dev] [PATCH] additons/linux/drm: Fix NULL pointer dereference kernel oops on kernel 4.10+

2017-05-17 Thread Hans de Goede
The vboxvideo causes a NULL pointer dereference inside the kernel on kernel 4.10+ when ttm needs to make room in the video memory and tries to evict things. This is caused by upstream kernel commit a2ab19fed9d1 ("drm/ttm: make eviction decision a driver callback v2") introducing a new

Re: [vbox-dev] wrong error message with gcc-7

2017-05-17 Thread Frank Mehnert
Hi Gianfranco, On Mittwoch, 17. Mai 2017 09:06:22 CEST Gianfranco Costamagna wrote: > configure: > > -log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x, gcc 5.x or > gcc 6.x" > > +log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x, gcc 5.x or > gcc 7.x" > > BTW

[vbox-dev] wrong error message with gcc-7

2017-05-17 Thread Gianfranco Costamagna
Hello list, configure: -log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x, gcc 5.x or gcc 6.x" +log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x, gcc 5.x or gcc 7.x" BTW gcc -dumpversion in debian experimental returns "7" and no minor version, so the cc_min