rsadowski
7ae0d8472c
Enable VA-API in xenocara
2024-07-19 14:42:33 +00:00
rsadowski
a638506c0d
Enable VA-API gallium frontend
2024-07-19 14:41:46 +00:00
rsadowski
931c5d8c01
Add gallium_drv_video (AMD VA-API supported driver)
...
With lot of help from martijn@
2024-07-19 14:40:46 +00:00
rsadowski
8d42fe99ac
Include DRI and DRM support in libgalliumvl
2024-07-19 14:40:43 +00:00
rsadowski
43c074dfa7
Enable VA-API gallium frontend
2024-07-19 14:40:39 +00:00
jsg
044beb4f3b
we need to unconditionally build libvtn now
...
sparc64 build error reported by deraadt@
2024-06-18 02:44:13 +00:00
jsg
be1ea71f8e
libvtn is now required where libmesa is used
...
Fixes missing symbols at runtime on macppc.
Reported and tested by Donovan Watteau.
2024-06-17 01:29:12 +00:00
jsg
d84de0f2ad
intel/dev: Add 0x56be and 0x56bf DG2 PCI IDs
...
From Jordan Justen
98f3d072b428f93d799d17ab4e56f963206c9a2f in mainline Mesa
2024-04-09 01:54:58 +00:00
jsg
7852424eb6
intel/dev: Add ATS-M PCI ID for Data Center GPU Flex 170G
...
From Jordan Justen
ce900dcbb133e2e9b8b2478fce8aa1c146d741bb in mainline Mesa
2024-04-09 01:51:24 +00:00
jsg
c768c2486f
intel/dev: Adjust device strings for ATS-M devices
...
From Jordan Justen
59e0c38427df012ded895229dbf3d955efb59362 in mainline Mesa
2024-04-09 01:49:12 +00:00
jsg
b6c6970126
intel/dev: update DG2 device names
...
2777a4c692c78bc373b89a74f76471c6aef7f7ff in mainline Mesa
2024-04-09 01:45:54 +00:00
jsg
df0b50e2ba
fix the build on archs where vulkan is not built
...
reported by deraadt@
2024-04-03 22:10:09 +00:00
kettenis
d230847f48
Enable PAC in addition to BTI on arm64 such that JIT code matches the
...
default branch protection provided by our base compiler.
ok jsg@
2024-04-03 21:47:30 +00:00
jsg
f3c1e4e9c8
Merge Mesa 23.3.6
2024-04-02 10:41:59 +00:00
jsg
874d2ba3aa
Import Mesa 23.3.6
2024-04-02 09:25:31 +00:00
kettenis
d127cc3546
Tell LLVM to generate code with BTI instructions.
...
"looks ok" jsg@, ok deraadt@
2024-03-18 00:15:10 +00:00
jsg
a4d4e6aac7
intel/dev: Add 2 additional ADL-N PCI ids
...
From Jordan Justen
62b72b6be9742c655d381348c6b161afc6b5396f in mainline Mesa
2024-02-29 10:15:05 +00:00
thfr
c1ff7e5473
Fix off-by-one in dlist allocation when checking whether to allocate a
...
new block. This fixes segfaults in dlist functions that occur on
applications making heavy use of display lists that exceed BLOCK_SIZE.
ok jsg@ and stsp@, who also both helped me track down the issue.
2024-02-09 13:17:54 +00:00
jsg
0eabb5c60c
r600/sfn: Don't try to re-use iterators when the set is made empty
...
From Gert Wollny
c13de0509c43f9b9764dc939aa64fe70c6a80870 in mainline Mesa
fixes games/xonotic crash on r600 reported by edd@ on bugs@
2023-12-01 07:56:04 +00:00
jsg
e200c394d8
meson: use llvm-config instead of cmake to fix linking errors with meson 1.2.1
...
From Marek Olsak
d11900d5e76922790de90ebfb89f918673759a88 in mainline Mesa
2023-11-10 03:59:40 +00:00
jsg
1580297f05
link libgbm with xrandr-xcb
...
fixes graphics/clutter/cogl build failure reported by tb@
2023-11-03 00:58:54 +00:00
jsg
3c32459578
don't warn when file descriptor equality is unknown
...
linux uses kcmp(2) with KCMP_FILE, we have no equivalent
2023-11-02 06:00:03 +00:00
jsg
4f0d84743f
Merge Mesa 23.1.9
2023-11-02 04:53:12 +00:00
jsg
60059fee64
Import Mesa 23.1.9
2023-11-02 04:31:01 +00:00
robert
3d7e94ce3a
search for the vulkan drivers in the system library path instead of
...
loading them with a full path to utilitze the ld.so cache so that we
can pre-load these libraries for mesa before calling unveil(2)
ok jsg@
2023-05-01 06:46:26 +00:00
robert
dac209564b
add the build id for libvulkan_radeon just like the intel* modules
...
this fixes an unveil issue where mesa was trying to stat the module
to build an UUID because the build id was not available
ok jsg@
2023-04-24 14:17:55 +00:00
jsg
5f7ec4d460
Merge Mesa 22.3.7
2023-04-06 10:23:42 +00:00
jsg
175bb70352
Import Mesa 22.3.7
2023-04-06 10:08:20 +00:00
jsg
fd832fbd7c
reorder libEGL Makefile so ${X11BASE}/lib is searched after obj dir
...
problem spotted by, feedback from, and ok naddy@
2023-03-19 10:24:26 +00:00
jsg
687ad7826d
revert upstream Mesa changes to remove non-TLS paths
...
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17814
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17213
Emulated TLS isn't enough when many shared libraries are involved.
This caused problems with some ports: kitty, calibre, qutebrowser.
reported by tb@ and others
2023-03-10 04:15:06 +00:00
jsg
70e55f99c0
build libmesa_util_sse41 on all archs
...
swrast_dri.so had an undefined reference to util_streaming_load_memcpy
on non-x86 archs.
Part of streaming-load-memcpy.c / libmesa_util_sse41.
When USE_SSE41 is not defined, memcpy() is used.
problem noticed at runtime on arm64 by mlarkin@
with and ok tb@
2023-03-03 06:32:18 +00:00
jsg
71bb296071
enable the Mesa shader cache
...
Mesa supports caching compiled shaders in ~/.cache/mesa_shader_cache/.
This was disabled on OpenBSD to reduce the amount of syscalls and files
the web browser sandboxes would need to deal with. The web browser
ports have now been updated to expect a shader cache.
Compared to GTK3, GTK4 makes heavy use of shaders. With cached shaders,
GNOME programs start noticeably quicker. Slow startup of GTK4 programs
on an Intel Alder Lake machine reported by aja@
ok matthieu@
2023-02-23 00:15:15 +00:00
jsg
146dd57114
intel/dev: Add another EHL pci id
...
f15f08c3de3d0eeca8abf208c8d2ddc0523b3c23 in mainline Mesa
2023-02-06 23:30:51 +00:00
jsg
b91c5a5e52
intel/dev: remove invalid EHL pci id
...
a23e04b67367ae90e6fee06e4506bee3f00e6ae6 in mainline Mesa
2023-02-06 23:28:50 +00:00
jsg
d559c33fb8
link against libpthread where libmesa_util_c11 is used
...
OpenBSD doesn't have c11 threads.h functions. Instead Mesa's
replacements are used.
fixes build of graphics/piglit reported by naddy@
2023-01-31 03:29:36 +00:00
jsg
286474af33
only link libmesa_util_sse41 when WITH_SSE41=yes
...
from deraadt@
2023-01-29 12:20:31 +00:00
jsg
60f4c250b1
only link libmesa_util_sse41 when WITH_SSE41=yes
...
build break on powerpc64 reported by deraadt@
2023-01-28 22:09:39 +00:00
jsg
b5d82fed48
Merge Mesa 22.3.4
2023-01-28 08:56:19 +00:00
jsg
5642995eea
Import Mesa 22.3.4
2023-01-28 08:09:28 +00:00
jsg
796f4ae493
iris: check i915 features after hw gen
...
when running recent Mesa on i855 (gen 2) without amber drivers:
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: iris
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.
libGL error: glx: failed to create dri2 screen
libGL error: failed to load driver: iris
move the i915 feature check to after the hardware generation check
which results in:
MESA: warning: Driver does not support the 0x3582 PCI ID.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: iris
MESA: warning: Driver does not support the 0x3582 PCI ID.
libGL error: glx: failed to create dri2 screen
libGL error: failed to load driver: iris
2022-09-13 10:04:23 +00:00
jsg
d85be2c4bf
match meson; build vulkan json with --api-version 1.3
2022-09-02 16:23:00 +00:00
jsg
47cc910ae0
intel/pci_ids: Add 0x468b ADL-S PCI-id
...
From Jordan Justen
f4c44444adfb93740363ba6f424ab5f9e673b470 in mainline Mesa
2022-09-02 10:27:01 +00:00
jsg
b535f6ba5d
intel/pci_ids: Update ADL-S strings
...
From Jordan Justen
6ca37aabfbb04a066d3d440aad3181c087fe3c6d in mainline Mesa
2022-09-02 10:25:18 +00:00
jsg
2e058c3cd9
Merge Mesa 22.1.7
2022-09-02 05:46:23 +00:00
jsg
4968d39257
Import Mesa 22.1.7
2022-09-02 05:12:48 +00:00
jsg
e65b7da5d2
don't build Mesa against llvm on 32-bit powerpc
...
gkoehler mentioned running glxgears with the Mesa LLVMpipe driver
on macppc triggers an LLVM error
tested by matthieu@ (with a proposed Mesa 22.1 update) on macppc G4/400
2022-08-23 04:15:02 +00:00
jsg
342c869574
intel/dev: add RPL-S pci ids from drm-intel-next
...
0cfc01fe835fe727e9ff7485fd6b5c8180bfd7b7 in mainline Mesa
2022-05-05 00:14:50 +00:00
jsg
c1f667132b
intel/dev: sync ADL-S pci ids with linux
...
0cfc01fe835fe727e9ff7485fd6b5c8180bfd7b7 in mainline Mesa
2022-05-05 00:12:43 +00:00
jsg
f2c66683c1
intel/dev: Add device info for RPL-P
...
From Jordan Justen
d257494ec4d826aec8841845479215820e612917 in mainline Mesa
2022-05-04 06:07:22 +00:00
jsg
c569ea33a6
intel/dev: Add device info for RPL
...
From Jordan Justen
4e0eca7dc34942759638ab00eb006ba40284a7c in mainline Mesa
2022-05-04 06:02:04 +00:00