Skip to content

Update Mesa 3D from 17.1.6 to 17.1.7 and add demo programs #466

Merged

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Aug 23, 2017

Tested on keineahnung with glxinfo and glxgears.

Bug fixes in Mesa 17.1.7 [1].

> *   Bug 101334 - AMD SI cards: Some vulkan apps freeze the system
> *   Bug 101766 - Assertion `!"invalid type"' failed when constant
>     expression involves literal of different type
> *   Bug 102024 - FORMAT_FEATURE_SAMPLED_IMAGE_BIT not supported for
>     D16_UNORM and D32_SFLOAT
> *   Bug 102148 - Crash when running qopenglwidget example on mesa
>     llvmpipe win32
> *   Bug 102241 - gallium/wgl: SwapBuffers freezing regularly with swap
>     interval enabled

[1] https://www.mesa3d.org/relnotes/17.1.7.html
The patch from the BLFS book [1] breaks building out of the source
directory, so remove it, and build the demo programs in a separate
package. The directory `xdemos` would probably need to be added to
`Makefile.am`.

```
[BEE] make -j64 -C xdemos DEMOS_PREFIX=/usr
make: *** xdemos: No such file or directory.  Stop.
```

[1] http://www.linuxfromscratch.org/blfs/view/svn/x/mesa.html
Description [1]:

> The Mesa Demos package contains a large number of OpenGL demonstration
> and test programs.
>
> These programs were previously distributed as the MesaDemos-x.y.z.tar.gz
> package released in conjunction with the MesaLib-x.y.z.tar.gz package.
> The demos are separated now since they don't change often and
> aren't tied to a particular version of Mesa.
>
> Note that the Mesa demos should be usable with any OpenGL
> implementation; not just Mesa.

Version 8.3.0 was released on December 9th, 2015.

Instead of patching the Mesa 3D source code as documented in the BLFS
book [2], build a separate package for the Mesa 3D demo programs.

Create the versionless bee file with the commands below.

```
$ bee init https://mesa.freedesktop.org/archive/demos/8.3.0/mesa-demos-8.3.0.tar.bz2
creating mesa-demos-8.3.0-0.bee from template '/etc/default/bee/templates/fallback'
$ git add mesa-demos-8.3.0-0.bee
$ git mv mesa-demos-8.3.0-0.bee mesa-demos.bee
$ vim mesa-demos.bee
$ git add $_
```

[1] https://cgit.freedesktop.org/mesa/demos/tree/index.html
[2] http://www.linuxfromscratch.org/blfs/view/svn/x/mesa.html
@thomas thomas merged commit 2ef51fd into master Aug 23, 2017
@donald donald deleted the update-mesa-from-17.1.6-to-17.1.7-and-add-demo-programs branch October 9, 2017 11:13
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants