GithubHelp home page GithubHelp logo

mesa-git's People

Contributors

alou-s avatar duneathor avatar faalagorn avatar flightlessmango avatar gitbarnabedikartola avatar iroalexis avatar kprkpr avatar kylon avatar nutta-git avatar ptr1337 avatar redsql avatar smu1zel avatar tk-glitch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mesa-git's Issues

Mesa mirror on Github has out-of-date tags;Mesa gitlab speed is fast now

Hello,

So, I know y'all switched to https://github.com/mesa3d/mesa for the PKGBUILD because it was faster than the official gitlab. But, if you take a look at https://github.com/mesa3d/mesa/tags and https://gitlab.freedesktop.org/mesa/mesa/-/tags, you can see that the gitlab.freedesktop.org's tags are up to the current version.

Therefore, knowing this and that I was able to git clone the gitlab.freedesktop.org with the same speed as the github.com mirror, I think maybe that the PKGBUILD should default to gitlab.freedesktop.org

Thank you for reading!

util/macros.h: No such file or directory

Using the latest PKGBUILD, I get the following error:

[433/2605] Compiling C object src/vulkan/device-select-layer/libVkLayer_MESA_device_select.so.p/device_select_layer.c.o FAILED: src/vulkan/device-select-layer/libVkLayer_MESA_device_select.so.p/device_select_layer.c.o gcc -Isrc/vulkan/device-select-layer/libVkLayer_MESA_device_select.so.p -Isrc/vulkan/device-select-layer -I../mesa/src/vulkan/device-select-layer -Iinclude -I../mesa/include -Isrc/util -I../mesa/src/util -Isrc/vulkan/wsi -I../mesa/src/vulkan/wsi -Isrc/vulkan/util -I../mesa/src/vulkan/util -Isrc/egl/wayland/wayland-drm -I/usr/include/valgrind -I/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.0.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="11.0.0"' -DLLVM_IS_SHARED=1 -DUSE_LIBGLVND=1 -DHAVE_VALGRIND -DHAVE_LIBUNWIND -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread -Wno-override-init -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -MD -MQ src/vulkan/device-select-layer/libVkLayer_MESA_device_select.so.p/device_select_layer.c.o -MF src/vulkan/device-select-layer/libVkLayer_MESA_device_select.so.p/device_select_layer.c.o.d -o src/vulkan/device-select-layer/libVkLayer_MESA_device_select.so.p/device_select_layer.c.o -c ../mesa/src/vulkan/device-select-layer/device_select_layer.c In file included from ../mesa/src/vulkan/device-select-layer/device_select_layer.c:43: ../mesa/src/vulkan/util/vk_util.h:26:10: fatal error: util/macros.h: No such file or directory 26 | #include "util/macros.h" | ^~~~~~~~~~~~~~~ compilation terminated. [446/2605] Compiling C++ object src/imgui/libimgui_core.a.p/imgui_widgets.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... -> Cleanup done

I am on the latest version of Arch, kernel 5.9.11-96-tkg-cfs

Cflags get applied twice

I actually dont know it this is an error on my side. But it seems that the PKGBUILD apply the cflags twice. One from the system and another one from the config file.

      export CFLAGS="${CFLAGS} ${_custom_opt_flags}"
      export CPPFLAGS="${CPPFLAGS} ${_custom_opt_flags}"
      export CXXFLAGS="${CXXFLAGS} ${_custom_opt_flags}"

Anyway, this is how it looks on my end:

Using 'CC' from environment with value: 'gcc -m32'
Using 'CFLAGS' from environment with value: '-O2 -pipe -march=native -fstack-protector-strong -fno-plt -march=native -fno-tree-vectorize -O3'
Using 'LDFLAGS' from environment with value: '-Wl,-O2,--sort-common,--as-needed,-z,relro'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2 -march=native -fno-tree-vectorize -O3'
Using 'CXX' from environment with value: 'g++ -m32'
Using 'CXXFLAGS' from environment with value: '-O2 -pipe -march=native -fstack-protector-strong -fno-plt -march=native -fno-tree-vectorize -O3'
Using 'LDFLAGS' from environment with value: '-Wl,-O2,--sort-common,--as-needed,-z,relro'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2 -march=native -fno-tree-vectorize -O3'
Using 'CC' from environment with value: 'gcc -m32'
Using 'CFLAGS' from environment with value: '-O2 -pipe -march=native -fstack-protector-strong -fno-plt -march=native -fno-tree-vectorize -O3'
Using 'LDFLAGS' from environment with value: '-Wl,-O2,--sort-common,--as-needed,-z,relro'
Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2 -march=native -fno-tree-vectorize -O3'

I turned this now into:

      export CFLAGS=" ${_custom_opt_flags}"
      export CPPFLAGS=" ${_custom_opt_flags}"
      export CXXFLAGS=" ${_custom_opt_flags}"

And received:

Using 'CC' from environment with value: 'gcc -m32'
Using 'CFLAGS' from environment with value: '-march=native -fno-tree-vectorize -O3'
Using 'LDFLAGS' from environment with value: '-Wl,-O2,--sort-common,--as-needed,-z,relro'
Using 'CPPFLAGS' from environment with value: '-march=native -fno-tree-vectorize -O3'
Using 'CXX' from environment with value: 'g++ -m32'
Using 'CXXFLAGS' from environment with value: '-march=native -fno-tree-vectorize -O3'
Using 'LDFLAGS' from environment with value: '-Wl,-O2,--sort-common,--as-needed,-z,relro'
Using 'CPPFLAGS' from environment with value: '-march=native -fno-tree-vectorize -O3'
Using 'CC' from environment with value: 'gcc -m32'
Using 'CFLAGS' from environment with value: '-march=native -fno-tree-vectorize -O3'
Using 'LDFLAGS' from environment with value: '-Wl,-O2,--sort-common,--as-needed,-z,relro'
Using 'CPPFLAGS' from environment with value: '-march=native -fno-tree-vectorize -O3'

Even though ninja summary still looking wrong:

 Compiler options           Current Value                                                                         Possible Values                                               Description
  ----------------           -------------                                                                         ---------------                                               -----------
  c_args                     [-march=native, -fno-tree-vectorize, -O3, -march=native, -fno-tree-vectorize, -O3]                                                                  Extra arguments passed to the c compiler
  c_link_args                [-march=native, -fno-tree-vectorize, -O3, -Wl,-O2,--sort-common,--as-needed,-z,relro]                                                               Extra arguments passed to the c linker
  c_std                      c99                                                                                   [none, c89, c99, c11, c17, c18, gnu89, gnu99, gnu11, gnu17,   C language standard to use
                                                                                                                    gnu18]                                                       
  cpp_args                   [-march=native, -fno-tree-vectorize, -O3, -march=native, -fno-tree-vectorize, -O3]                                                                  Extra arguments passed to the cpp compiler
  cpp_debugstl               false                                                                                 [true, false]                                                 STL debug mode
  cpp_eh                     default                                                                               [none, default, a, s, sc]                                     C++ exception handling type.
  cpp_link_args              [-march=native, -fno-tree-vectorize, -O3, -Wl,-O2,--sort-common,--as-needed,-z,relro]        

So I dont know if thats intended. Maybe its also a bad idea to make -march=native the default system wide. On the other hand shouldnt be the intention of the config file to override my cflags?

Build with rusticl

is this possible?
I would really like to use rusticl and not have to use that crap show that is amd rocm (it doesn't work on 4000+ APUs that well)
and clover opencl is really bad and doesn't meet my requirements

cannot remove mesa-overlay-control.py: No such file or directory

It always worked but now this happens to me:

Installing /home/nico/building_stuff/mesa-git/src/_build64/src/gallium/frontends/xa/xa_tracker.h to /home/nico/building_stuff/mesa-git/pkg/mesa-tkg-git/usr/include
Installing /home/nico/building_stuff/mesa-git/src/_build64/meson-private/xatracker.pc to /home/nico/building_stuff/mesa-git/pkg/mesa-tkg-git/usr/lib/pkgconfig
Installing /home/nico/building_stuff/mesa-git/src/_build64/meson-private/d3d.pc to /home/nico/building_stuff/mesa-git/pkg/mesa-tkg-git/usr/lib/pkgconfig
Running custom install script '/usr/bin/python /home/nico/building_stuff/mesa-git/src/mesa/bin/install_megadrivers.py /home/nico/building_stuff/mesa-git/src/_build64/src/mesa/drivers/dri/libmesa_dri_drivers.so /usr/lib/dri i915_dri.so i965_dri.so radeon_dri.so r200_dri.so nouveau_vieux_dri.so'
Running custom install script '/usr/bin/python /home/nico/building_stuff/mesa-git/src/mesa/bin/install_megadrivers.py /home/nico/building_stuff/mesa-git/src/_build64/src/gallium/targets/dri/libgallium_dri.so /usr/lib/dri radeonsi_dri.so nouveau_dri.so swrast_dri.so kms_swrast_dri.so iris_dri.so r300_dri.so r600_dri.so vmwgfx_dri.so virtio_gpu_dri.so zink_dri.so'
Running custom install script '/usr/bin/python /home/nico/building_stuff/mesa-git/src/mesa/bin/install_megadrivers.py /home/nico/building_stuff/mesa-git/src/_build64/src/gallium/targets/vdpau/libvdpau_gallium.so.1.0.0 lib/vdpau libvdpau_r300.so.1.0.0 libvdpau_r600.so.1.0.0 libvdpau_radeonsi.so.1.0.0 libvdpau_nouveau.so.1.0.0'
Running custom install script '/usr/bin/python /home/nico/building_stuff/mesa-git/src/mesa/bin/install_megadrivers.py /home/nico/building_stuff/mesa-git/src/_build64/src/gallium/targets/va/libgallium_drv_video.so lib/dri r600_drv_video.so radeonsi_drv_video.so nouveau_drv_video.so'
rm: cannot remove '/home/nico/building_stuff/mesa-git/pkg/mesa-tkg-git/usr/bin/mesa-overlay-control.py': No such file or directory
==> ERROR: A failure occurred in package_mesa-tkg-git().
    Aborting...

I think these lines can safely be removed:
https://github.com/Frogging-Family/mesa-git/blob/master/PKGBUILD#L508-L510

I tried it and it builds fine after removing them

ERROR: Program 'glslangValidator' not found or not executable

Hi,

I have glslang installed, but mesa-git fails to compile.

Program glslangValidator found: NO

mesa/meson.build:556:17: ERROR: Program 'glslangValidator' not found or not executable

A full log can be found at /home/user/src/mesa-git/src/_build64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
  -> Cleanup done

meson-log.txt

Failure to compile src/gallium/drivers/softpipe/48c2f4b@@softpipe@sta/sp_tex_sample.c.o

My terminal spits out the following when it fails to compile.
[1890/2578] Compiling C object 'src/gallium/drivers/softpipe/48c2f4b@@softpipe@sta/sp_tex_sample.c.o' FAILED: src/gallium/drivers/softpipe/48c2f4b@@softpipe@sta/sp_tex_sample.c.o gcc -Isrc/gallium/drivers/softpipe/48c2f4b@@softpipe@sta -Isrc/gallium/drivers/softpipe -I../mesa/src/gallium/drivers/softpipe -Isrc/gallium/auxiliary -I../mesa/src/gallium/auxiliary -I../mesa/src/gallium/include -Iinclude -I../mesa/include -Isrc -I../mesa/src -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -Wl,--gc-sections -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="20.2.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="10.0.0"' -DUSE_LIBGLVND=1 -DHAVE_VALGRIND -DHAVE_LIBUNWIND -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -Werror=pointer-arith -Werror=vla -MD -MQ 'src/gallium/drivers/softpipe/48c2f4b@@softpipe@sta/sp_tex_sample.c.o' -MF 'src/gallium/drivers/softpipe/48c2f4b@@softpipe@sta/sp_tex_sample.c.o.d' -o 'src/gallium/drivers/softpipe/48c2f4b@@softpipe@sta/sp_tex_sample.c.o' -c ../mesa/src/gallium/drivers/softpipe/sp_tex_sample.c during IPA pass: fnsummary ../mesa/src/gallium/drivers/softpipe/sp_tex_sample.c: In function ‘sample_compare’: ../mesa/src/gallium/drivers/softpipe/sp_tex_sample.c:3862:1: internal compiler error: Segmentation fault 3862 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. [1903/2578] Compiling C++ object 'src/gallium/drivers/swr/3eb908b@@mesaswr@sta/meson-generated_.._rasterizer_core_backends_gen_rasterizer3.cpp.o' ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... -> Cleanup done

vulkan has stopped working after an update

im on pretty old hardware so it might be the cause, but it ran fine before an update so there has to be a way to fix it

Hardware:

OS:              EndeavourOS rolling rolling
Arch:            x86_64
Kernel:          5.19.10-269-tkg-cfs
Desktop:         GNOME
Display Server:  x11

[CPU]
Vendor:          GenuineIntel
Model:           Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz
Physical cores:  2
Logical cores:   4

[Memory]
RAM:             3.7 GB
Swap:            8.0 GB

[Graphics]
Vendor:          Intel
OpenGL Renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL Version:  4.2 (Compatibility Profile) Mesa 22.3.0-devel (git-35c40c64c8)
OpenGL Core:     4.2 (Core Profile) Mesa 22.3.0-devel (git-35c40c64c8)
OpenGL ES:       OpenGL ES 3.0 Mesa 22.3.0-devel (git-35c40c64c8)
Vulkan:          Not Supported

vulkaninfo:
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.3.226/vulkaninfo/vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

any suggestions ?

thanks

[Bug] Unknown options: "swr-arches"

Contents of src/_build64/meson-logs/meson-log.txt

Build started at 2021-12-09T14:50:37.483281
Main binary: /usr/bin/python
Build Options: -Db_lto=false -Db_pie=true -Db_ndebug=true -Dplatforms=x11,wayland -Ddri-drivers= -Dgallium-drivers=radeonsi,zink -Dvulkan-drivers=amd,intel -Dswr-arches=avx,avx2 -Ddri3=enabled -Degl=enabled -Dgallium-extra-hud=true -Dgallium-nine=true -Dgallium-omx=bellagio -Dgallium-opencl=icd -Dgallium-va=enabled -Dgallium-vdpau=enabled -Dgallium-xa=enabled -Dgallium-xvmc=disabled -Dgbm=enabled -Dgles1=disabled -Dgles2=enabled -Dglvnd=true -Dglx=dri -Dlibunwind=enabled -Dllvm=enabled -Dlmsensors=enabled -Dosmesa=true -Dshared-glapi=enabled -Dopengl=true -Dzstd=enabled -Dvalgrind=enabled -Dmicrosoft-clc=disabled -Dvulkan-layers=device-select,overlay -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=enabled -Dbuildtype=release -Dstrip=True -Dwrap_mode=nodownload
Python system: Linux
The Meson build system
Version: 0.60.2
Source dir: /home/username/builds/PKGBUILDS/mesa-git/src/mesa
Build dir: /home/username/builds/PKGBUILDS/mesa-git/src/_build64
Build type: native build
Program python3 found: YES (/usr/bin/python3)
Running command: /usr/bin/python3 bin/meson_get_version.py
--- stdout ---
22.0.0-devel
--- stderr ---



mesa/meson.build:21:0: ERROR: Unknown options: "swr-arches"

Contents of customization.cfg

# mesa-git-tkg config file


#### OPTIONS ####

# External config file to use - If the given file exists in path, it will override default config (customization.cfg) - Default is ~/.config/frogminer/mesa-git.cfg
_EXT_CONFIG_PATH=~/.config/frogminer/mesa-git.cfg

# Uncomment the MESA_WHICH_LLVM variable below to select which LLVM package tree to use by default to build mesa-git against.
# Note that if you're used to have that variable set in ~/.bashrc, you can leave it commented out here. It'll be respected by the PKGBUILD.
# Else, you'll get prompted about it at build time.
#
# 1: llvm-minimal-git (AUR)
# 2: llvm-git (AUR)
# 3: llvm-git from LordHeavy unofficial repo 
# 4  llvm (stable from extra) Default value
MESA_WHICH_LLVM=4

# Set to "false" to skip cleanups. Default "true" will enable housecleaning and sanity tasks.
_NUKR="true"

# Compiler to use - gcc or clang - gcc is default
_compiler="gcc"

# Custom GCC root dir - Leave empty to use system compilers.
# Example: CUSTOM_GCC_PATH="/home/frog/PKGBUILDS/mostlyportable-gcc/gcc-mostlyportable-9.2.0"
CUSTOM_GCC_PATH=""

# Enable lib32.
_lib32=true

# Use local glesv2.pc - This is provided by libglvnd as of ab9b5fcc3bf90064418f6915cf4259fa11ffe64b.
_localglesv2pc=false

# Use local egl.pc - This is provided by libglvnd as of ab9b5fcc3bf90064418f6915cf4259fa11ffe64b.
_localeglpc=false

# Which Gallium drivers to include in the build - default is "r300,r600,radeonsi,nouveau,svga,swrast,swr,virgl,iris,zink,crocus".
_gallium_drivers="radeonsi,zink"

# Which Vulkan drivers to include in the build - default is "amd,intel".
_vulkan_drivers="amd"

# Whether to build Gallium XA tracker - set to "false" to disable.
#_gallium_xa="false"

# Custom optimization flags - optional.
#_custom_opt_flags="-march=native -O3 -fno-tree-vectorize"

# Disable `-D b_lto=true` that Arch-meson passes by default - set to "false" to enable LTO.
_no_lto="true"

# Set optional additional flags for meson - Defaults are "--strip --buildtype release"
# Can be used for PGO'ing (you need to make a first build with "-Db_pgo=generate" added, then launch your apps/games to generate the gcda profiles in your src dir. Once you feel like you have covered all your desired usecases, replace "-Db_pgo=generate" with "-Db_pgo=use" then rebuild the same commit to get your optimized build).
# (coupling with _no_lto="false" is recommended for PGO builds)
# On legacy toolchains you might encounter coverage mismatch errors with "-Db_pgo=use", that you can workaround by adding "-Wno-coverage-mismatch"
_additional_meson_flags="--strip --buildtype release"

# Custom Mesa commit to pass to Git.
_mesa_commit=""

# Mesa branch to pass to Git (when not using a custom commit). Default is "main".
# Older mesa versions were using the master branch (up to May 5th 2021)
_mesa_branch="main"

# Use pending Mesa merge requests directly as userpatches with their PR ID, separated by space (example: "2421 3151 3273").
# https://gitlab.freedesktop.org/mesa/mesa/merge_requests

# Mesa source to use. Default is "https://gitlab.freedesktop.org/mesa/mesa.git"
_mesa_source="https://gitlab.freedesktop.org/mesa/mesa.git"

#### LEGACY ####

# Which DRI drivers to include in the build - default is "i915,i965,r100,r200,nouveau" - this doesn't affect the "main" (default) branch
_dri_drivers=""

#### USER PATCHES ####

# Community patches - add patches (separated by a space) of your choice by name from the community-patches dir.
# Example: _community_patches="intel_haswell_vk_workaround.mymesarevert VK_JOSH_depth_bias_info_header.mymesapatch VK_JOSH_depth_bias_info_radv.mymesapatch".
_community_patches=""

# You can use your own patches by putting them in the same folder as the PKGBUILD and giving them the .mymesapatch extension.
# You can also revert patches by putting them in the same folder as the PKGBUILD and giving them the .mymesarevert extension.

# Also, userpatches variable below must be set to true for the above to work.
_user_patches="true"

# Apply all user patches without confirmation - !!! NOT RECOMMENDED !!!
_user_patches_no_confirm="false"

ERROR: Problem encountered: rusticl requires bindgen 0.62 or newer

Hi,
I am encountering this issue while compiling with rusticl.
$ pacman -Qi rust-bindgen Name : rust-bindgen Version : 0.69.0-1.1 Description : Automatically generates Rust FFI bindings to C (and some C++) libraries Architecture : x86_64 URL : https://github.com/rust-lang/rust-bindgen Licenses : BSD Groups : None Provides : None Depends On : gcc-libs clang Optional Deps : None Required By : None Optional For : None Conflicts With : None Replaces : None Installed Size : 5.16 MiB Packager : ALHP x86-64-v3 <[email protected]> Build Date : Wed 01 Nov 2023 05:40:00 PM EDT Install Date : Thu 02 Nov 2023 11:38:47 AM EDT Install Reason : Explicitly installed Install Script : No Validated By : Signature

meson-log.txt
customization.txt

change customization.txt to customization.cfg

Vulkan performance regression

Sorry if this is the incorrect place to post this.. if so anyone in charge please forward this to the right place? Anyways. I'm on Manjaro KDE. My GPU is a Radeon RX 590. Seeing a humongous drop in vkmark score after building this repo and testing. Before on 22.2.4 (Manjaro Stable branch) I'd get an average score of 20000 whereas on this mesa-git I get 3500. What is going on? That's a shockingly low drop.

FroggingFamily_mesa-git.txt
Manjaro_Stable_22.2.4.txt

Add OSMesa toggle

OSMesa isn't used with only
radeonsi, swr, virgl, zink
Disable if swrast, etc are not selected

Recently I've been unable to compile

I'm on Arch Linux. It used to compile just fine and now I'm getting this error:

Dependency syn from subproject subprojects/syn-2.0.39 found: YES 2.0.15
mesa/src/nouveau/compiler/meson.build:46: WARNING: Project targets '>= 1.1.0' but uses feature introduced in '1.3.0': rust_abi arg in static_library.
Program bindgen found: YES (/usr/bin/bindgen)
mesa/src/nouveau/compiler/meson.build:100: WARNING: Project targets '>= 1.1.0' but uses feature introduced in '1.3.0': rust_abi arg in static_library.
mesa/src/nouveau/compiler/meson.build:107: WARNING: Project targets '>= 1.1.0' but uses feature introduced in '1.3.0': rust.proc_macro.
mesa/src/nouveau/compiler/meson.build:113: WARNING: Project targets '>= 1.1.0' but uses feature introduced in '1.3.0': rust_abi arg in static_library.
Compiler for C supports arguments -Wno-gnu-variable-sized-type-not-at-end: NO 
mesa/src/nouveau/nil/meson.build:7: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
Program cbindgen found: NO
Found CMake: /usr/bin/cmake (3.29.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency paste found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency paste because:
Use of fallback dependencies is disabled.

mesa/src/nouveau/nil/meson.build:17:12: ERROR: Dependency 'paste' is required but not found.

A full log can be found at /home/faugus/mesa-git/src/_build64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
  -> Cleanup done

Typos in PKGBUILD RE: vulkan layers

mesa-vulkan-layer
vulkan-mesa-layer
lib32-mesa-vulkan-layer
lib32-vulkan-mesa-layer

should be

mesa-vulkan-layers
vulkan-mesa-layers
lib32-mesa-vulkan-layers
lib32-vulkan-mesa-layers

Or did I change these values for nothing and they would've been replaced anyways? Was disabling opencl from being made and noticed this. In the arch repos the packages are layers not layer

intel vulkan and other options

i am trying to enable mesa fetures for my intel hardware. currently intel raytracing is disabled not sure how to fix this and enable other intel related flags and features. also here is the output when i detect my hardware if that helps mesa version current mesa on repositories for arch dont have many of the features disabled and cause graphic issues with gamescope so i am trying to see if the latest mesa builds will help thanks in advance .

lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
Subsystem: Lenovo CometLake-U GT2 [UHD Graphics]
Kernel driver in use: i915
Kernel modules: i915

ERROR: Unknown options: "gallium-xvmc"

Hi there

I tried today to compile mesa-tkg-git and got this error:
ERROR: Unknown options: "gallium-xvmc"

I removed two options in PKGBUILD:
-D gallium-xvmc=${_disabled_} \

And regenerated PKGBUILD with:
updpkgsums PKGBUILD
makepkg --printsrcinfo > .SRCINFO

This helped me out, but not sure if I'm on the right way

Thank you

Add fedora support

Since fedora is removing codec support from mesa in 36/37 anyway someone can add a script to build this mesa on fedora.
It would be the most useful thing and save fedora’s ass

vulkan-swrast

vulkan-swrast can be compiled with

_gallium_drivers="r300,r600,radeonsi,nouveau,svga,swrast,swr,virgl,iris,zink,crocus" in customization.cfg.

However, it can be installed again from the official repo without conflicting with mesa-tkg.

 pacman -Qs mesa-tkg 
local/lib32-mesa-tkg-git 21.3.0_devel.143158.86250c7251b-1
    an open-source implementation of the OpenGL specification, git version
local/mesa-tkg-git 21.3.0_devel.143158.86250c7251b-1
    an open-source implementation of the OpenGL specification, git version

sudo pacman -S vulkan-swrast 
[sudo] password for user: 
warning: vulkan-swrast-21.1.6-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)          Old Version  New Version  Net Change

extra/vulkan-swrast  21.1.6-1     21.1.6-1       0.00 MiB

Total Installed Size:  6.72 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                                [#######################################################################################] 100%
(1/1) checking package integrity                                                                                                              [#######################################################################################] 100%
(1/1) loading package files                                                                                                                   [#######################################################################################] 100%
(1/1) checking for file conflicts                                                                                                             [#######################################################################################] 100%
(1/1) checking available disk space                                                                                                           [#######################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling vulkan-swrast                                                                                                              [#######################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.