Vulkan errors report - Printable Version +- EmuNewz Network (https://www.emunewz.net/forum) +-- Forum: Official Boards for Emunews Affiliated Emu Projects (https://www.emunewz.net/forum/forumdisplay.php?fid=47) +--- Forum: Official RPCS3 Forum [archive] (https://www.emunewz.net/forum/forumdisplay.php?fid=172) +---- Forum: RPCS3 - Support & Issue Reporting (https://www.emunewz.net/forum/forumdisplay.php?fid=163) +---- Thread: Vulkan errors report (/showthread.php?tid=174359) |
RE: Vulkan errors report - vlj - 03-17-2016 Actually the spec allows this for linear tiling : Quote:Images created with tiling equal to VK_IMAGE_TILING_LINEAR have further restrictions on their limits and capabilities compared to images created with tiling equal to VK_IMAGE_TILING_OPTIMAL. Creation of images with tiling VK_IMAGE_TILING_LINEAR may not be supported unless other parameters meet all of the constraints: In my case the driver reports linear tiling support for VK_IMAGE_USAGE_SAMPLED_BIT for RGBA8 format. Unfortunatly the mipLevel constraint applies. The backend should not only check for VkFormatProperties::linearTilingFeatures bits but also calls vkGetPhysicalDeviceImageFormatProperties (https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkGetPhysicalDeviceImageFormatProperties ). I tried to enforce optimal tiling for sampled image here : https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/VK/VKTexture.cpp#L226 but then it crashes in this block: https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/VK/VKTexture.cpp#L375 RE: Vulkan errors report - kd-11 - 03-17-2016 (03-17-2016, 06:11 PM)vlj Wrote: Actually the spec allows this for linear tiling : Its odd that it crashed; even with optimal tiling, writing data usually goes okay on radeon, just that textures display as garbage. Memory layout issues maybe? To use mipmaps, it seems every layer will have to be uploaded individually, so the staging texture should have only one mipmap level in cases where linear tiling is limited to 1 mipmap level. The resulting allocated block with linear tiling may be too small to actually fit all the miplevels since the texture is only allowed one level. You could try forcing the texture upload functions to only deal with one mipmap level and see if it works ok. RE: Vulkan errors report - AlexVS - 03-24-2016 Hey All! I tryed new builds and 74affbbf there is a crash the entire system (full reset PC) when working on the emulator api Vulkan. Builds on earlier does not. Checked several times - crash stable. --- Spec: Intel i3-3240, gtx 750ti, 8Gb ram, win7 x64 and win10 x64 pro, driver Nvidia 364.51 with Vulkan support RE: Vulkan errors report - tambre - 03-24-2016 (03-24-2016, 12:32 PM)AlexVS Wrote: Hey All! There are known problems with the given PR. You should only use the latest master build for testing. RE: Vulkan errors report - AlexVS - 03-24-2016 (03-24-2016, 01:08 PM)tambre Wrote: There are known problems with the given PR. You should only use the latest master build for testing.Thanks! --- Update Oops. Last Master build It does not start nothing, both vulkan and opengl. That the best (for me at least) is build 779a30aa Fixed RE: Vulkan errors report - AlexVS - 03-25-2016 I see improvement of the work of the Vulkan api, but still only half of the screen Bomberman RE: Vulkan errors report - vlj - 03-31-2016 BTW the big issue with Vulkan (the API not the backend) is that it lacks feature level equivalent. If some Vulkan code works on a specific gpu there is virtually no way to ensure that it will also work on another one even from the same ihv and generation. The debug layers only check limits for the currently running device. This means it's very important to check Vulkan backend as often as possible on as much gpus as possible. |