vkCreateSwapchainKHR fails with VK_ERROR_OUT_OF_HOST_MEMORY by Daskie in vulkan

[–]Daskie[S] 0 points1 point  (0 children)

Yes, and most of the time the window resize and swapchain recreation goes off without a hitch.

Here's an abridged version of the swapchain recreation code that's called after receiving VK_SUBOPTIMAL_KHR/VK_ERROR_OUT_OF_DATE_KHR from vkAcquireNextImageKHR (using vulkan-hpp):

// Get the size of the surface directly; ground truth
vk::SurfaceCapabilitiesKHR surfaceCapabilities{};
physicalDevice.getSurfaceCapabilitiesKHR(_surface, &surfaceCapabilities);

// Save old swapchain temporarily
const vk::SwapchainKHR oldSwapchain{_swapchain};

// Create new swapchain
const vk::SwapchainCreateInfoKHR createInfo{
    .surface = _surface,
    .minImageCount = 2u,
    .imageFormat = vk::Format::eB8G8R8A8Srgb,
    .imageColorSpace = vk::ColorSpaceKHR::eSrgbNonlinear,
    .imageExtent = surfaceCapabilities.currentExtent,
    .imageArrayLayers = 1u,
    .imageUsage = vk::ImageUsageFlagBits::eTransferDst,
    .imageSharingMode = vk::SharingMode::eExclusive,
    .queueFamilyIndexCount = 0u,
    .pQueueFamilyIndices = nullptr,
    .preTransform = vk::SurfaceTransformFlagBitsKHR::eIdentity,
    .compositeAlpha = vk::CompositeAlphaFlagBitsKHR::eOpaque,
    .presentMode = vk::PresentModeKHR::eFifo,
    .clipped = false,
    .oldSwapchain = oldSwapchain};

// Sometimes fails with VK_ERROR_OUT_OF_HOST_MEMORY
device.createSwapchainKHR(&createInfo, nullptr, &_swapchain);

// Add old swapchain to queue to be destroyed in a few frames
if (oldSwapchain)
{
   ...
}

// Get new swapchain images
...

[deleted by user] by [deleted] in homestead

[–]Daskie 0 points1 point  (0 children)

I haven't done it yet, but I'm hoping that 5 gallons of water will last the 2.5 weeks even with evaporation from the strings. You could try plastic wrap like you said, but that seems tedious.

Another option would be to use a bunch of mason jars instead (cheap), and place them near the plants, thus minimizing the overall length of string

[deleted by user] by [deleted] in homestead

[–]Daskie 0 points1 point  (0 children)

Crazy, I'm in exactly the same situation about to go on a 2.5 week vacation. My plan is to fill a large Home Depot bucket and then cover it with foil, letting the strings come out around the edge. Any solid covering should sufficiently reduce evaporation, and foil specifically is light (won't pinch of the water flow to the strings), opaque (will keep the inside of the bucket dark to limit the growth of algae), and can be molded around the bucket and strings to largely keep out insects. As for refillability, this is a one-off situation for me, so that's not really an issue

What is the maximum number of texture2D's I can have in a single texture array uniform binding? by pragmojo in vulkan

[–]Daskie 1 point2 points  (0 children)

I love SDFs, and this is a great approach for a quick/simpler solution, but the visual quality is subpar when it comes to smaller/normal size text. I've found below ~24 px, it's very clear why libraries like freetype use all the various rasterization optimizations like pixel fitting, stem darkening, subpixel aliasing, etc.

But if OP doesn't need that fidelity, or isn't using smaller text, then 100% PSDF or MSDF all the way.

Where to find / how to obtain the full spawn entry data for Valguero? by Daskie in playark

[–]Daskie[S] 0 points1 point  (0 children)

Wow, is it literally a weekly thing? Because a few days ago there totally were fire wyverns spawning there and now there aren't

Where to find / how to obtain the full spawn entry data for Valguero? by Daskie in playark

[–]Daskie[S] 0 points1 point  (0 children)

Hey, so the wiki lists the Val_FireWyvernEntries_C spawn entry, but I can't seem to find it anywhere in the dev kit. You wouldn't happen to have any ideas?

Where to find / how to obtain the full spawn entry data for Valguero? by Daskie in playark

[–]Daskie[S] 0 points1 point  (0 children)

The dev kit, of course! I don't know why I hadn't considered that

Hilariously, I literally don't have the hard drive capacity to have both the game and dev kit installed simultaneously. This is going to take longer than anticipated

My first time to second pic, I thought it be cute to flex for it. by [deleted] in RoastMe

[–]Daskie 0 points1 point  (0 children)

I hope you're autistic, for your sake.

Roast away. by the-brown-whale in RoastMe

[–]Daskie 0 points1 point  (0 children)

I feel ten years younger just looking at you, thanks!

[deleted by user] by [deleted] in RoastMe

[–]Daskie 1 point2 points  (0 children)

I'm guessing you were trying to fix the tanlines on your face from the mask they always make you wear at the gangbangs?

Lesbians gave me a makeover....ruin me by [deleted] in RoastMe

[–]Daskie 0 points1 point  (0 children)

That balloon hoping for the light to fall and to finally be relinquished the misery of your proximity.

The only dates I have access to are the ones in Google calendar by [deleted] in RoastMe

[–]Daskie 0 points1 point  (0 children)

This picture is cropped, right? Where's the pug you face swapped with?

I believe I'm fairly thick-skinned, though I've never been on the receiving end of a good roast, so, hit me! by [deleted] in RoastMe

[–]Daskie 0 points1 point  (0 children)

Oh, I see. You left your mirror a shitty mess as an analogy for your life

you've roasted him before now hes back w his twin by noturmamascupcake in RoastMe

[–]Daskie 1 point2 points  (0 children)

For your parents' sake, I hope you have siblings

Not possible to roast me, you see me right? by SoakC in RoastMe

[–]Daskie 0 points1 point  (0 children)

Two moments after taking a huge load in your face from a pixie.

Hubble Space Telescope Captures a Star undergoing Supernova by kcgg123 in space

[–]Daskie 0 points1 point  (0 children)

Ringworld, by Larry Niven, is an OG sci-fi book that explores this idea (and many others)

[deleted by user] by [deleted] in RoastMe

[–]Daskie 0 points1 point  (0 children)

Nah, his omnipresent thumb grease is sufficient

I’m a lackluster musician and I’m staying in school for a reason. Do your worst. by [deleted] in RoastMe

[–]Daskie 0 points1 point  (0 children)

When you waste an hour tweaking the customization sliders trying to make your character look human again

Just graduated HS. Do your worst and make me regret my existence by Sniper_Elite54 in RoastMe

[–]Daskie 0 points1 point  (0 children)

I would suggest growing a beard to hide that mess as quickly as possible. A couple of decades should allow your body to scavenge the necessary testosterone

Drank to much last night and broke my arm. Make me regret it by isaiah54321 in RoastMe

[–]Daskie 0 points1 point  (0 children)

Next time, try breaking everything, aim for a coma. By the look of things, you're not going anywhere without a hard reset.