Skip to content

Commit

Permalink
graphics/vulkan-tools: unbreak vkcube-wayland on non-tiling compositors
Browse files Browse the repository at this point in the history
Affects at least wayfire, labwc, plasma5-kwin.

$ vkcube-wayland
Segmentation fault
(lldb) bt
* thread #1, name = 'vkcube-wayland', stop reason = signal SIGSEGV: invalid address (fault address: 0x128000)
  * frame #0: 0x00000008004811f3 libc.so.7`memcpy at memmove.S:314
    frame #1: 0x00000000002097f4 vkcube-wayland`demo_update_data_buffer(demo=0x00007fffffffd258) at cube.c:894:5
    frame #2: 0x0000000000213e4f vkcube-wayland`demo_draw(demo=0x00007fffffffd258) at cube.c:1043:5
    frame #3: 0x000000000020c3fc vkcube-wayland`demo_run(demo=0x00007fffffffd258) at cube.c:2757:13
    frame #4: 0x000000000020aa16 vkcube-wayland`main(argc=1, argv=0x00007fffffffe038) at cube.c:4267:5
    frame #5: 0x0000000000208340 vkcube-wayland`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1_c.c:75:7
  • Loading branch information
jbeich committed May 15, 2021
1 parent 2482385 commit d7da60f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion graphics/vulkan-tools/Makefile
@@ -1,6 +1,7 @@
PORTNAME= vulkan-tools
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.178
PORTREVISION= 1
CATEGORIES= graphics

MAINTAINER= jbeich@FreeBSD.org
Expand All @@ -25,7 +26,7 @@ OPTIONS_SLAVE= DISPLAY
OPTIONS_SUB= yes

WAYLAND_PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
WAYLAND_PATCHFILES= ea2e75bea224.patch:-p1 # https://github.com/KhronosGroup/Vulkan-Tools/issues/469
WAYLAND_PATCHFILES= c6adbf0af27e.patch:-p1 # https://github.com/KhronosGroup/Vulkan-Tools/issues/469
WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \
wayland-protocols>0:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
Expand Down
4 changes: 2 additions & 2 deletions graphics/vulkan-tools/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1620769662
SHA256 (KhronosGroup-Vulkan-Tools-v1.2.178_GH0.tar.gz) = 70e79d64ef5c5c77b2c85adbb60e1850044f4f56a0549fcc4837404c8e2a7066
SIZE (KhronosGroup-Vulkan-Tools-v1.2.178_GH0.tar.gz) = 843250
SHA256 (ea2e75bea224.patch) = 1a2550804a1bd7e66f5d19043dc540ffadc55a1bfe6b8734c353c0bd3a1090d1
SIZE (ea2e75bea224.patch) = 22460
SHA256 (c6adbf0af27e.patch) = 2df8225f1cae788347c49afb91b44bf90c154adf4c4f738ad5fa0e15c71b9b9f
SIZE (c6adbf0af27e.patch) = 22898

0 comments on commit d7da60f

Please sign in to comment.