logoalt Hacker News

nickjjtoday at 11:18 AM1 replyview on HN

Swap doesn't help in this case.

It's GPU drivers freaking out when they run out of VRAM, but it might only be specific to NVIDIA cards since AMD seems to handle this better.

But, if it's driver specific that means it could be fixed at the kernel level I suppose, especially since Windows handles it seamlessly?


Replies

pbhjpbhjtoday at 11:46 AM

Can you explain a little more please. I thought that graphics processing would revert to CPU if the GPU is maxed out and so swap might ultimately help? Is there no general GPU-swap mechanism? If CPU threads are competing for GPU resource does the GPU getting paged-out?

I suppose this could be an historic thing, GPUs can have a type of DMA now, and disk access is much faster too, so paging perhaps makes sense when it didn't before?

show 1 reply