Commit Graph

774 Commits

Author SHA1 Message Date
K900
0f02ea5cd5 mesa: 25.0.3 -> 25.0.4
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-25.0.3...mesa-25.0.4

Changelog: https://docs.mesa3d.org/relnotes/25.0.4.html
2025-04-17 08:11:40 +03:00
K900
6bad24f436 mesa: 25.0.2 -> 25.0.3
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-25.0.2...mesa-25.0.3

Changelog: https://docs.mesa3d.org/relnotes/25.0.3.html
2025-04-03 00:16:40 +03:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Thibault Gagnaux
a9df43c429 mesa: reenable XA for now 2025-03-31 10:16:58 +03:00
K900
f9691c4d68 mesa: drop clover
It's officially deprecated now, and Rusticl is both faster and more compatible.
2025-03-21 09:41:05 +03:00
K900
9c024b01ae mesa: 25.0.1 -> 25.0.2
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-25.0.1...mesa-25.0.2

Changelog: https://docs.mesa3d.org/relnotes/25.0.2.html
2025-03-20 19:30:36 +03:00
Vladimír Čunát
027c44209b mesa: Backport graphical corruption fix (#389451) 2025-03-15 09:19:27 +01:00
Sigmanificient
670aba9a64 treewide: remove unused arguments 2025-03-13 18:00:11 +01:00
Charlotte 🦝 Deleńkec
e40d29d428 mesa: Backport graphical corruption fix
This fixes a graphical corruption bug in Final Fantasy XIV where tiny
colored rectangles appear over some geometry.
2025-03-13 15:30:09 +01:00
K900
70ae8dcec8 mesa-gl-headers: add DRI header 2025-03-11 22:16:23 +03:00
K900
5da892d21c mesa: output cleanup, part 2
- build with out-of-tree libgbm
- $drivers -> $out, since $out is basically empty now
2025-03-11 22:16:23 +03:00
nixpkgs-ci[bot]
4f58dec3fd Merge master into staging-next 2025-03-09 06:04:26 +00:00
Colin
6bf3337ff5 mesa: fix cross compilation
starting with 25.0.0, mesa no longer builds CLC executables when cross compiling:
it finds the `mesa-clc` & others we explicitly provide it, decides
there's no reason to build new versions of those components, and
so cross-compiled mesa no longer produces any `cross_tools` output.

excerpted from upstream src/compiler/clc/meson.build:

```meson
if get_option('mesa-clc') != 'system' and (with_gallium_asahi or \
                                           with_asahi_vk or \
                                           with_intel_vk or \
                                           with_gallium_iris or \
                                           get_option('install-mesa-clc'))
  prog_mesa_clc = executable(
    'mesa_clc',
    ['mesa_clc.c'],
    include_directories : [inc_include, inc_src],
    c_args : [pre_args, no_override_init_args],
    link_args : [ld_args_build_id],
    dependencies : [idep_mesaclc, dep_llvm, dep_spirv_tools, idep_getopt],
    # If we can run host binaries directly, just build mesa_clc for the host.
    # Most commonly this happens when doing a cross compile from an x86_64 build
    # machine to an x86 host
    native : not meson.can_run_host_binaries(),
    install : get_option('install-mesa-clc'),
  )
endif
```
2025-03-09 00:07:55 +00:00
K900
7439d1c3ba libgbm: 24.3.4 -> 25.0.1, add small patch for The Future 2025-03-06 12:05:11 +03:00
K900
afe2ba39e4 mesa: output cleanup, part 1
- add sanity check for mesa-gl-headers
- drop osmesa, gallium-nine, xatracker from default build
- move teflon to $drivers
- rename $driversdev to $cross_tools to reflect its real use
2025-03-06 09:09:52 +03:00
K900
0c746c8c0a mesa-gl-headers: init at 25.0.1 2025-03-06 09:09:51 +03:00
K900
4e009205b7 mesa: 24.3.4 -> 25.0.1
Avoid moving pipe_* to $opencl, because pipe-loader is linked everywhere now
2025-03-06 09:09:08 +03:00
Vladimír Čunát
6a0ba68039 Revert "Fix Xf86videointel driver immediate crash on NixOS (Mesa Patch Backport)" 2025-02-27 08:06:41 +01:00
Vladimír Čunát
2092d80644 fix xf86videointel driver (#378393) 2025-02-27 08:04:59 +01:00
tjk918
4958f38b38 Add fetchpatch dependency 2025-02-06 18:34:08 -06:00
Tim Keller
dd1d577ac3 mesa: backport dril patch that fixes xf86videointel 2025-02-02 11:03:16 -06:00
K900
3e3c1f8f39 libgbm: 24.3.3 -> 24.3.4
Don't revert to common src, because this makes tracking future updates easier.
2025-01-23 11:58:50 +03:00
K900
bcad4f36b9 mesa: 24.3.3 -> 24.3.4 2025-01-23 10:30:10 +03:00
K900
79615b0748 libgbm: pin to 24.3.3 2025-01-23 10:24:29 +03:00
K900
cce7fa4032 libgbm: 24.3.2 -> 24.3.3 2025-01-03 22:18:42 +03:00
K900
22ed6be325 mesa: 24.3.2 -> 24.3.3 2025-01-03 21:37:42 +03:00
Colin
302f5b5488 mesa: fix cross compilation
this follows the same pattern as used for mesa's `intel-clc` build helper:

1. build `mesa-clc` for the build machine.
2. provide the native `mesa-clc` when cross-compiling mesa.

the meson changes for this have been upstreamed into the next release:

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32719
2024-12-30 06:43:37 +00:00
K900
1337b7d777 mesa: fix broken vaapi/vdpau symlinks 2024-12-26 10:00:36 +03:00
K900
e63683d14c mesa: source Darwin patches from upstream 2024-12-20 10:44:14 +03:00
K900
e864bcec29 mesa: 24.3.1 -> 24.3.2
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-24.3.1...mesa-24.3.2

Changelog: https://docs.mesa3d.org/relnotes/24.3.2.html
2024-12-20 10:34:52 +03:00
Silvan Mosberger
84d4f874c2 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Reno Dakota
bc659ea359 mesa: fix darwin eval with bad platforms
fixes eval of dri-pkgconfig-stub (fa8d4bd3d5)
2024-12-08 15:44:49 -08:00
K900
844b566ebd libgbm: init at 24.3.1 2024-12-05 12:37:39 +03:00
K900
09cbcd6475 mesa: 24.2.8 -> 24.3.1 2024-12-05 12:37:25 +03:00
György Kurucz
5931ac4ea9 mesa: enable all freedreno kernel mode driver
`virtio` is used with a virtio-gpu device supporting drm native context.
I don't know the use-cases for `wsl` and `kgsl`, but let's just enable
them too.
2024-12-02 09:34:23 +01:00
K900
59f9910870 mesa: 24.2.7 -> 24.2.8
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-24.2.7...mesa-24.2.8

Changelog: https://docs.mesa3d.org/relnotes/24.2.8.html
2024-11-28 10:18:09 +03:00
K900
459a925026 mesa: 24.2.6 -> 24.2.7
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-24.2.6...mesa-24.2.7

Changelog: https://docs.mesa3d.org/relnotes/24.2.7.html
2024-11-14 10:40:56 +03:00
github-actions[bot]
3533282a88 Merge master into staging-next 2024-11-07 20:49:24 +00:00
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
K900
dc697d618e mesa: 24.2.5 -> 24.2.6
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-24.2.5...mesa-24.2.6

Changelog: https://docs.mesa3d.org/relnotes/24.2.6.html
2024-11-07 10:13:29 +03:00
K900
09de22541f mesa: 24.2.4 -> 24.2.5
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-24.2.4...mesa-24.2.5

Changelog: https://docs.mesa3d.org/relnotes/24.2.5.html
2024-10-16 22:17:35 +03:00
K900
ca30ae374a mesa: 24.2.3 -> 24.2.4 2024-10-03 23:25:26 +03:00
github-actions[bot]
09f18b89af Merge master into staging-next 2024-09-30 00:14:50 +00:00
Artturin
cc705b79cb mesa: Don't error: attribute 'driversdev' missing
`legacyPackages.aarch64-darwin.pkgsCross.aarch64-multiplatform.mesa.nativeBuildInputs`

Missing attribute errors can't be caught
2024-09-27 23:17:49 +03:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
github-actions[bot]
f8ad48a5a2 Merge staging-next into staging 2024-09-19 00:14:04 +00:00
K900
9967b3b358 mesa: fix changelog URL, add myself as maintainer 2024-09-18 21:26:48 +03:00
K900
7228a7147b mesa: 24.2.2 -> 24.2.3
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-24.2.2...mesa-24.2.3

Changelog: https://www.mesa3d.org/relnotes/24.2.3.html
2024-09-18 21:11:14 +03:00
K900
6efb622aca mesa: 24.2.1 -> 24.2.2 2024-09-06 08:24:55 +03:00