How can I disable the graphical and the terminal?

Yes. But I don’t want to the terminal display when the machine starts and disable CONFIG_FRAMEBUFFER_CONSOLE is OK. But it will be error when I run the app.
Can I solve this promble?

I don’t think fb console is related to the issue. What is the exact error message here?

Maybe you doubt my app. So I show you the mmapi sample 08.

sudo ./video_dec_drm --disable-video
nvbuf_utils: Could not get EGL display connection
nvbuf_utils: ERROR getting proc addr of eglCreateImageKHR
nvbuf_utils: ERROR getting proc addr of eglDestroyImageKHR
Set governor to performance before enabling profiler
Using VT number 3
VT_WAITACTIVE failed, err=Input/output error

The screen just display a black background.
sample08 use drm. And it works well when I “sudo systemctl set-default multi-user.target”, if I enable CONFIG_FRAMEBUFFER_CONSOLE.

Do you remember to ublank the fb before running the app? Could you share me the command you are using to unblank?

I use the mmapi nvdrmrender.cpp. Maybe

drmModeSetCrtc(drm_fd, drm_crtc_id, -1, w_x, w_y, &drm_conn_id, 1, NULL);

Please follow the document here to unblank the monitor.

https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_08_video_decode_drm.html

Before all the operations, I do this first.

sudo systemctl set-default graphical.target

The same result.
If I disable CONFIG_FRAMEBUFFER_CONSOLE, not work.
If I enable CONFIG_FRAMEBUFFER_CONSOLE, works well.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.