starting from this answer https://askubuntu.com/a/1229795/966305
I have a machine running ubuntu lts
whenever I run any program that is GPU comsumer like chrome or blender everything stops working {I mean mouse and keyboard and even display don't move}
this happend before but for all programs - and was solved by switching to open source graphic driver of NVidia and that was this question All Hardware do not respond except mouse - now only this two programs do that especially blender
I put a cpu graph applet in my panel and found that every time my device hangs the cpu is got to it's maximum usage
ofcourse blender uses GPU more than CPU and chrome do that when using webGL or many javascript excutions
>> inxi -G;                                                                                                      
Graphics:  Device-1: NVIDIA GT218 [GeForce 210] driver: nouveau v: kernel 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1200~60Hz 
           OpenGL: renderer: NVA8 v: 3.3 Mesa 21.2.6 
I have a solution in my mind
-- like swapfile is used for sitiuation where ram is overcame by any program
if something is used like a swapfile for gpu that would be helpful
the questions is how ?