Skip to content
Snippets Groups Projects
  1. Feb 22, 2024
  2. Feb 07, 2024
  3. Jan 12, 2024
  4. Nov 22, 2023
  5. Sep 22, 2023
  6. Sep 18, 2023
  7. Sep 07, 2023
  8. Sep 05, 2023
    • Simon McVittie's avatar
      check-va-api: Don't claim to have provided a reference frame · 00260703
      Simon McVittie authored
      
      We're decoding a single frame, so there is no previous frame that we
      could possibly refer to; and our single frame is an i-frame (keyframe),
      so we don't need a reference anyway.
      
      When Mesa is compiled with assertions enabled, if num_ref_frames is
      greater than 0, it asserts that ReferenceFrames[0] up to
      ReferenceFrames[num_ref_frames-1] inclusive are valid handles to
      reference frames. In our case, that array is zero-filled, and 0 clearly
      can't be a valid handle to a previous frame because we don't have any
      previous frames at all, causing an assertion failure and crash.
      
      Closes: #117
      Thanks: David Rosca
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      00260703
  9. Aug 31, 2023
  10. Jun 19, 2023
  11. May 01, 2023
  12. Apr 27, 2023
    • Simon McVittie's avatar
      check-vulkan: Don't try to create two queues in the same family · 5ffc9ffe
      Simon McVittie authored
      
      It's possible (indeed quite likely) that we will choose the same
      queue family for the graphics queue (any family with the GRAPHICS_BIT)
      and the present queue (any family that supports presentation).
      Having more than one VkDeviceQueueCreateInfo for the same family is a
      Vulkan spec constraint violation, so we need to uniquify them and only
      do one per family. The Nvidia proprietary driver has some logic that
      relies on them being unique, leading to a null pointer dereference on
      some systems if not.
      
      In the original C++ version of check-vulkan, unique_queue_families was
      a std::set (hence its name), but it was wrongly converted into a plain
      array that doesn't do anything to ensure they're unique.
      
      steamrt/tasks#294
      
      Fixes: 22d7f70d "check-vulkan: Convert the file from C++ to C"
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      5ffc9ffe
  13. Mar 31, 2023
  14. Feb 27, 2023
  15. Feb 16, 2023
  16. Jan 05, 2023
  17. Jan 04, 2023
  18. Oct 27, 2022
  19. Jul 27, 2022
  20. Jul 04, 2022
  21. May 30, 2022
  22. Dec 07, 2021
  23. Dec 03, 2021
  24. Dec 02, 2021
  25. Dec 01, 2021
    • Simon McVittie's avatar
      build: Vendor our own copy of wflinfo · b0964a46
      Simon McVittie authored
      
      This was the last remaining third-party executable used for our
      diagnostic checks that needed its packaging to be forked to build a
      multiarch-qualified version. If we avoid needing that, then we can use
      dependencies from an ordinary Linux distribution, making development
      outside a Steam Runtime environment easier.
      
      The next step for this would be to switch helpers/check-gl.c to use
      libwaffle to create windows and contexts so that it can support more
      platforms than just X11/GLX, and incorporate the parts of wflinfo's
      functionality that we need into check-gl, so we only need to run one
      check program rather than two.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      b0964a46
  26. Oct 20, 2021
Loading