How do I change the monitor resolution to 1920x1080 in Jetson Nano console mode?

How do I change the monitor resolution to 1920x1080 in Jetson Nano console mode?

Hello @chamtech,

For displaying all the video outputs please type

xrandr

Select the name of the output you would like to change the resolution and please type

xrandr --output <OUTPUT> --mode 1024x768

like

xrandr --output HDMI-0 --mode 1024x768

Regards.

1 Like

thank you.

The question inquired about how to change the resolution in console mode.
xrandr is how to change in graphics mode.

You can try to change the fb mode inside /sys/class/graphics/fbX/mode and the supported mode is in “modes”.

The above method does not apply.

I want to set it to 1920x1080p-60 when booting.
Please tell me how.

Maybe you can share why it does not apply.

After modifying /sys/class/graphics/fbX/mode and rebooting, the original state is changed.
but. A file called mode~ is automatically created in /home/my.

So does changing the mode in `/sys/class/graphics/fbX take effect or not?

I mean no reboot case.

Not applicable.
After booting it reverts to 3840x1080p-30.

Are you able to understand my question?

I mean no reboot case and you tell me again that you reboot the device.

Any way to set it to 1920x1080p-60 at boot time?

No, this is a low level API. It does not make sense to do that either.

You won’t expect it is always a 1080p monitor connected. If you want to do that, you can just write a script and do that work in each reboot.

Find a way to always lock in 1080p mode.

I followed the Ubuntu manual, but it didn’t work.

1 Like

I followed the Ubuntu manual, but it didn’t work.

$ sudo vi /etc/default/grub 
GRUB_GFXMODE=1920x1080x60
GRUB_GFXPAYLOAD=1920x1080x60
$ sudo vi /etc/grub.d/00_header
...
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1920x1080x60 ; fi
if [ "x${GRUB_GFXPAYLOAD}" = "x" ] ; then GRUB_GFXPAYLOAD=1920x1080x60 ; fi
...
set gfxmode=${GRUB_GFXMODE}
set gfxpayload=${GRUB_GFXPAYLOAD}
...
$ sudo apt install grub2-common
$ sudo update-grub2 
$

Yes, it won’t work, because there is no GRUB on tegra at all…

“No signal”
Modifying the “mode” file will result in a “no signal” state.

What did you modify to it?
Didn’t you say this issue is resolved?

not resolved.

$ sudo vi /sys/class/graphics/fb0/mode
U:1920x1080p-24
or
D:1920x1080p-60 No Signal
S:1920x1080p-60 No Signal
U:1920x1080p-50 No Signal
U:1920x1080p-24 No Signal
S:1920x1080p-60 No Signal
U:1920x1080p-24 No Signal

default
U:3840x2160p-30

D:3840x2160p-30
U:3840x2160p-30
U:3840x2160p-25
U:3840x2160p-24
U:3840x2160p-30
U:3840x2160p-25
U:3840x2160p-24
U:3840x2160p-50
U:3840x2160p-60
U:3840x2160p-30
U:3840x2160p-24
U:3840x2160p-30
U:3840x2160p-24
U:3840x2160p-60

You could possibly add this in “/etc/rc.local” as a script to echo to the right file.

$ sudo vi /etc/rc.local
#!/bin/bash

cat /sys/class/graphics/fb0/mode > /home/pi/boot.log
sudo echo “D:1920x1080p-60” > /sys/class/graphics/fb0/mode
cat /sys/class/graphics/fb0/mode >> /home/pi/boot.log

$ sudo systemctl enable rc-local
$ sudo systemctl start rc-local
$ sudo systemctl status rc-local

Monitor : No Signal

$ sudo reboot
booting…
2160p

Monitor : No Signal