[Bug 1876882] Re: Backport packages for 18.04.5 HWE stack

Gianfranco Costamagna 1876882 at bugs.launchpad.net
Sat Jun 6 12:27:33 UTC 2020


Hello, this patch [1] based on https://gitlab.freedesktop.org/mesa/mesa/-/commit/3dd299c3d5b88114894ec30d1fac85fba688201f
did the trick.

I'll add as part of my ongoing SRU request.


[1]
--- virtualbox-5.2.42-dfsg.orig/include/VBox/HostServices/glxext.h
+++ virtualbox-5.2.42-dfsg/include/VBox/HostServices/glxext.h
@@ -573,7 +573,7 @@ typedef GLXFBConfigSGIX ( * PFNGLXGETFBC
 #ifdef GLX_GLXEXT_PROTOTYPES
 extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *);
 extern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX);
-extern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *);
+extern void glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *);
 extern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long);
 extern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *);
 #endif /* GLX_GLXEXT_PROTOTYPES */
--- virtualbox-5.2.42-dfsg.orig/src/VBox/Additions/common/crOpenGL/dri_glx.h
+++ virtualbox-5.2.42-dfsg/src/VBox/Additions/common/crOpenGL/dri_glx.h
@@ -111,7 +111,7 @@ extern DECLEXPORT(const char *) VBOXGLXT
 extern DECLEXPORT(GLXPbufferSGIX) VBOXGLXTAG(glXCreateGLXPbufferSGIX)
 (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);

-extern DECLEXPORT(int) VBOXGLXTAG(glXQueryGLXPbufferSGIX)
+extern DECLEXPORT(void) VBOXGLXTAG(glXQueryGLXPbufferSGIX)
 (Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value);

 extern DECLEXPORT(GLXFBConfigSGIX *) VBOXGLXTAG(glXChooseFBConfigSGIX)
--- virtualbox-5.2.42-dfsg.orig/src/VBox/Additions/common/crOpenGL/glx.c
+++ virtualbox-5.2.42-dfsg/src/VBox/Additions/common/crOpenGL/glx.c
@@ -763,7 +763,7 @@ DECLEXPORT(void) VBOXGLXTAG(glXGetSelect
     (void) mask;
 }

-DECLEXPORT(int) VBOXGLXTAG(glXQueryGLXPbufferSGIX)(Display *dpy, GLXPbuffer pbuf,
+DECLEXPORT(void) VBOXGLXTAG(glXQueryGLXPbufferSGIX)(Display *dpy, GLXPbuffer pbuf,
                                                    int attribute, unsigned int *value)
 {
     (void) dpy;
@@ -771,7 +771,7 @@ DECLEXPORT(int) VBOXGLXTAG(glXQueryGLXPb
     (void) attribute;
     (void) value;
     crWarning("glXQueryGLXPbufferSGIX not implemented by Chromium");
-    return 0;
+    return;
 }

 DECLEXPORT(int) VBOXGLXTAG(glXGetFBConfigAttribSGIX)(Display *dpy,
GLXFBConfig config,

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/1876882

Title:
  Backport packages for 18.04.5 HWE stack

Status in libclc package in Ubuntu:
  Invalid
Status in libdrm package in Ubuntu:
  Invalid
Status in llvm-toolchain-10 package in Ubuntu:
  Invalid
Status in mesa package in Ubuntu:
  Invalid
Status in xorg-server-hwe-18.04 package in Ubuntu:
  Invalid
Status in xserver-xorg-video-amdgpu-hwe-18.04 package in Ubuntu:
  Invalid
Status in xserver-xorg-video-ati-hwe-18.04 package in Ubuntu:
  Invalid
Status in libclc source package in Bionic:
  New
Status in libdrm source package in Bionic:
  Fix Committed
Status in llvm-toolchain-10 source package in Bionic:
  Fix Committed
Status in mesa source package in Bionic:
  Fix Committed
Status in xorg-server-hwe-18.04 source package in Bionic:
  Fix Committed
Status in xserver-xorg-video-amdgpu-hwe-18.04 source package in Bionic:
  Fix Committed
Status in xserver-xorg-video-ati-hwe-18.04 source package in Bionic:
  Fix Committed

Bug description:
  [Impact]

  These are needed for 18.04.5 images.

  [Test case]

  Boot a daily image, see that it still has the necessary stack
  installed and working.

  Check upgrade from stock bionic.

  [Regression potential]

  libdrm: very minimal chance for regressions

  llvm-10: a new package, no regression potential on it's own

  libclc: more or less just adds support for new llvm

  mesa: a new major release, but we'll pull the final stable release of
  20.0.x series, so there shouldn't be any regressions left at that
  point

  xserver: a new point-release

  xorg drivers: modest updates, if any

  [Other info]

  mesa and libclc will migrate to llvm-10 in a separate upload

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libclc/+bug/1876882/+subscriptions



More information about the foundations-bugs mailing list