It's not OBS' fault. But I need to share this.

Blint324

New Member
To get things started, I am on Debian 13 with an GeForce GTX 1660 Ti.
I have used Linux in the past, with Intel IGPUs.
I had ZERO problems, until now.
I love Linux and I sincerely think it is truly the best operating system/kernel, but this just breaks my heart.
The drivers. The drivers are what break my heart and hurt my soul to an unimaginable level.
I do not shut down my system, I suspend it.
The NVIDIA drivers, really, really, REALLY do not want me to suspend my system.
When I suspend my system and try to use OBS, NVIDIA gives a variety of miscellaneous errors, such as:
init_cuda_ctx: CUDA call "cu->cuInit(0)" failed with CUDA_ERROR_UNKNOWN (999): unknown error
or
init_cuda_ctx: CUDA call "cu->cuCtxCreate(&enc->cu_ctx, 0, device)" failed with CUDA_ERROR_UNKNOWN (999): unknown error.
I want to state that this is ENTIRELY NVIDIA's fault, and not OBS'. I am NOT critiquing, to any level, OBS studio.
This rabbit hole was way deeper than I would have liked it to be.
It turns out, NVIDIA's proprietary 570 drivers, are horrible.
They do not interact with my 6.12 kernel well AT ALL. And cause CUDA errors such as that incredibly often.
This makes recording an absolute pain in the ass, I have to restart EVERY. SINGLE. TIME I want to record after suspending my system.
Not only that, NVIDIA's driver ALSO doesn't interact with Firefox well, at all.
I had to manually teach the driver to use hardware encoding & hardware acceleration properly for YouTube to run at any reasonable speed.
I am so fed up with gigantic multi-trillion dollar tech monopolies actively ignoring massive issues in their MAIN driver that tens of millions of people use, and then milking the dying cash cow of AI further until we strip the earth of all of it's resources and we all die a horrible death.
All to turn a profit.
NVIDIA, more people use this driver than some entire countries' population, for a 3 trillion dollar company, it surely cannot be that hard to fix this issue.
If anyone else has found a reliable workaround (short of rebooting), I’d love to hear it. So far I’ve tried persistence mode, NVIDIA’s systemd resume units, and even custom hooks, but nothing survives suspend/resume.

I will attach my full system logs here, thank you very much dear OBS team.

- Blint
 

Attachments

  • log.txt
    124.7 KB · Views: 7
NVIDIA has been extremely hit and miss for me on Linux. On the one hand, I'm really impressed with some of the features that I have been able to get running. On the other hand, there are basic stability issues that NVIDIA have been able to replicate, but they never released a fix.

I'm planning on going AMDGPU with my next system; most seem to agree this is the way to go for Linux desktops.
 
Top