Monitor issue

i have a 5 inch screen and the screen seems doesn’t fit in the size, it only had appear a little part of the screen desktop.Can anyone help me fix this?

Which particular screen?
What is the resolution of the screen in lines/pixels?
How are you connecting it?
What Monitor settings are you using?
What does Xorg.log say about the monitor?

And what cabling is used…is it HDMI without any VGA adapter?

i use this screen HDMI 5 800x480 Display Backpack - With Resistive Touchscreen : ID 2260 : $74.95 : Adafruit Industries, Unique & fun DIY electronics and kits

What is the output from:

sudo cat /sys/kernel/debug/tegradc.1/edid

Also, you might want to add this in “/etc/X11/xorg.conf” within the 'Section ‘Device’" section:

Option    "ModeDebug"

…once this is in place reboot and post the content of “/var/log/Xorg.0.log”.

uhh…

480 lines is likely not enough to display a full desktop.

can you tell me the each two limit lines needed

The content of the edid file tells you if automatic configuration is possible. If automatic configuration is possible, then ModeDebug will tell you how that screen’s modes were treated (it’ll tell you every mode it knows of, and why a rejected mode is rejected).

thanks

I use it on my FHD TV monitor and it’s about 42 inches, but it didn’t let the problem solved,so is there any way to set something right?

What linuxdev gave you is not for solving the problem but a method for debugging.

Could you paste out the result?

00 ff ff ff ff ff ff 00 04 81 04 00 01 00 00 00
01 11 01 03 80 0f 0a 00 0a 00 00 00 00 00 00 00
00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 80 0c 20 80 30 e0 2d 10 28 30
d3 00 6c 44 00 00 00 18 00 00 00 10 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17

The EDID is valid, so autoconfiguration is possible and the query of the monitor is working as intended. One issue I can see right away is that the monitor is quite simple and supports only 800x480…this means there will be no fallback modes if this mode is not supported in the driver.

So the next question will be to find out what the driver thinks of this particular monitor. To answer this you must put this in the ‘Option “Device”’ section of “/etc/X11/xorg.conf”, and then post the log after rebooting:

Option    "ModeDebug"

(this option tells the driver to log information on all modes, including rejected modes…this log is “/var/log/Xorg.0.log”)

where is option device and /etc/X11/xorg.conf, i can’t find it ,where is it help me

Does this show something?

ls /etc/X11/xorg.conf

If so, then use sudo and your favorite editor to open this file on the running Jetson. Example (if you don’t have gedit perhaps you have “nano”):

sudo gedit /etc/X11/xorg.conf

Initially this excerpt will be the content of the “Device” section of xorg.conf:

Section "Device"
    Identifier  "Tegra0"
    Driver      "nvidia"
# Allow X server to be started even if no display devices are connected.
    Option      "AllowEmptyInitialConfiguration" "true"
EndSection

Here is how it would look after modification:

Section "Device"
    Identifier  "Tegra0"
    Driver      "nvidia"
# Allow X server to be started even if no display devices are connected.
    Option      "AllowEmptyInitialConfiguration" "true"
    <b>Option      "ModeDebug" "true"</b>
EndSection

thx,i follow your way and did it,but nothing change…when i use as “nvidia” to login the monitor still not fit.so is that my monitor’s problem?

when i use “ubuntu” to login it was fine

The purpose of that edit to xorg.conf is so that the log file can be posted to the forums and we can see what the video driver thinks of the monitor modes. It won’t change anything, but if we have that extra information it will help finding out why the problem exists.

Ok,thank you so much