Hi,
So i have a Jetson Orin AGX 32GB developer kit emulated as the NX orin 8GB.
I am working with Deepstream 6.2, and i have a pipeline that uses nvdrmvideosink. In order to run it, i have to stop the graphical interface using sudo systemctl start multi-user.target and run sudo modprobe nvidia-drm modeset=1 and the pipeline does start, however, i am having trouble restarting the graphical interface again after my pipeline is done. Normally on the Xavier AGX, i would run sudo systemctl start graphical.target and it works but with the Orin, it doesn’t.
A side note: the command sudo systemctl start multi-user.target followed by sudo systemctl start graphical.target does start the graphical interface again, but running sudo modprobe nvidia-drm modeset=1 and my pipeline in between renders sudo systemctl start graphical.target useless.
So my question is, how can i restart the graphical interface after running my pipeline?
One thing to note is that if i disbale the ubuntu desktop with the commands you mentioned above and i don’t include the line sudo modprobe nvidia-drm modeset=1, using sudo systemctl start gdm actually gets the desktop back up.
So the issue really is with the command sudo modprobe nvidia-drm modeset=1 which unfortunately is needed for the nvdrmvideosink.
I am not 100% sure what it does, but do i have to undo it somehow before starting the gdm service again?