Skip to content

Instantly share code, notes, and snippets.

@philipl
philipl / gist:2be114e9699b38367725080fbe36fdda
Created March 14, 2022 04:58
Validation error with Intel ANV
[vo/gpu-next/vulkan/libplacebo] vk Validation Error: [ VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251 ] Object 0: handle = 0x7fca207f6ec0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xbebcae79 | vkCreateImage(): Format VK_FORMAT_R16_UNORM is not supported for this combination of parameters and VkGetPhysicalDeviceImageFormatProperties returned back VK_ERROR_FORMAT_NOT_SUPPORTED. The Vulkan spec states: Each of the following values (as described in Image Creation Limits) must not be undefined : imageCreateMaxMipLevels, imageCreateMaxArrayLayers, imageCreateMaxExtent, and imageCreateSampleCounts (https://vulkan.lunarg.com/doc/view/1.3.204.1/linux/1.3-extensions/vkspec.html#VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251)
[vo/gpu-next/vulkan/libplacebo] using VkDevice: anon (0x7fca207f6ec0)
[vo/gpu-next/vulkan/libplacebo] Backtrace:
[vo/gpu-next/vulkan/libplacebo] #0 0x00007fca70bfbcda in vk_dbg_utils_cb+0x2cc at /mnt/ssd/usr/lib/libplacebo.so.200+0x73cda
[vo/gpu-next/vulkan/libplacebo]
Spatial references:
prefs3
prefs
x
mrefs
mrefs3
@philipl
philipl / benchmark.conf
Created June 2, 2019 18:25
mpv profile for benchmarks
[bench]
audio=no
untimed=yes
video-sync=display-desync
vulkan-swap-mode=immediate
opengl-swapinterval=0
osd-msg1="FPS: ${estimated-display-fps}"
@philipl
philipl / terraform.output
Created May 16, 2017 00:06
Terraform output when adding an ipv6 cidr block to a subnet
Error applying plan:
12 error(s) occurred:
* module.networking.aws_subnet.public_subnet[0]: 1 error(s) occurred:
* aws_subnet.public_subnet.0: InvalidSubnetCidrBlockAssociationId.Malformed: The subnet CIDR block with association ID is malformed
status code: 400, request id: b8b183e2-8806-4580-8081-8406fa8e6cd9
* module.networking.aws_subnet.restricted_subnet[1]: 1 error(s) occurred:
@philipl
philipl / output.txt
Created April 12, 2017 19:35
Terraform output
module.networking.aws_route.public_igw_route: Creating...
destination_cidr_block: "" => "0.0.0.0/0"
destination_prefix_list_id: "" => "<computed>"
egress_only_gateway_id: "" => "<computed>"
gateway_id: "" => "igw-17625a72"
instance_id: "" => "<computed>"
instance_owner_id: "" => "<computed>"
nat_gateway_id: "" => "<computed>"
network_interface_id: "" => "<computed>"
origin: "" => "<computed>"
@philipl
philipl / crash.log
Created March 21, 2017 16:50
Terraform Crash in archive_file
2017/03/21 09:25:45 [INFO] Terraform version: 0.9.1 7c25ef851bd26f720e749983597b36b17061e3ca
2017/03/21 09:25:45 [INFO] Go runtime version: go1.8
2017/03/21 09:25:45 [INFO] CLI args: []string{"/home/philipl/.local/bin/terraform", "internal-plugin", "provider", "archive"}
2017/03/21 09:25:45 [DEBUG] Detected home directory from env var: /home/philipl
2017/03/21 09:25:45 [DEBUG] Detected home directory from env var: /home/philipl
2017/03/21 09:25:45 [DEBUG] Attempting to open CLI config file: /home/philipl/.terraformrc
2017/03/21 09:25:45 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/03/21 09:25:45 [INFO] CLI command args: []string{"internal-plugin", "provider", "archive"}
archive-provider (internal) 2017/03/21 09:25:45 [INFO] Starting provider plugin archive
archive-provider (internal) 2017/03/21 09:25:45 [DEBUG] Detected home directory from env var: /home/philipl
@philipl
philipl / vdpau-wishlist.md
Last active November 8, 2019 15:37
VDPAU wishlist
  • Fix GetBitsYCbCr for HEVC VideoSurfaces
  • Diagnose and fix the remaining HEVC conformance failures (shows up in both ffmpeg and nvidia reference player)
  • Make H.264 high444p decoding usable (Decoder exists but there is no 444 video surface support - only 420)
  • Expose VP9 decoder
  • HEVC Main10 within existing 8bit code path
  • Full 10bit code path
  • Expose VP8 and JPEG decoders (for completeness)
  • Make GL_VDPAU_interop available when using OpenGL through EGL
  • VDPAU interop story when not using X11 (eg: Wayland. Pure EGL interop?)