GUI not showing up

I have been working on Jetson TX2. I know there is openCV for python2 but I was trying to install opencv 4.0.0 for python3. The build folder was large and during the make, it said the disk place is full and killed the progress.
Then I can’t open the file browser. I delete some files to free up some space and Then I reboot it and it goes straight to text mode(bash mode).
I check the edid and paste it to http://www.edidreader.com/.
$ sudo cat /sys/kernel/debug/tegradc.0/edid

00 FF FF FF FF FF FF 00 10 AC 33 D0 53 57 39 30
25 13 01 03 80 33 1D 78 EE EE 95 A3 54 4C 99 26
0F 50 54 A5 4B 00 71 4F 81 80 D1 C0 01 01 01 01
01 01 01 01 01 01 02 3A 80 18 71 38 2D 40 58 2C
45 00 FE 1F 11 00 00 1E 00 00 00 FF 00 44 36 30
36 52 39 39 41 30 39 57 53 0A 00 00 00 FC 00 44
45 4C 4C 20 45 32 33 31 30 48 0A 20 00 00 00 FD
00 32 4C 1E 53 11 00 0A 20 20 20 20 20 20 00 BD

I think monitor is fine as it worked before. The GUI things should be properly installed as it works fine before I took most disk space for installing openCV. Is is the problem of full disk space?
Any advice would be appreciated.
Also, in console, lspci | grep VGA gives nothing(no output). Maybe I accidentally deleted the graphic card or something?

Hi jchen446,

As you mentioned - “it said the disk place is full and killed the progress.”, that’s the possible cause due to it was normal before.

Thanks.

FYI, the GPU is directly wired to the memory controller and is not PCI. Disk is full, you need to do some deleting. Some processes need temporary files, and if the disk is full, then they can’t function…one of those is X login.

Hi friends,

The total disk space is 28G. I have already free up 10G and there is now 12G left(55% used). But still after I reboot the GUI doesn’t shows up and got into text mode. Any suggestions about how to check what’s wrong?

Thank you

Hi friends,

The total disk space is 28G. I have already free up 10G and there is now 12G left(55% used). But still after I reboot the GUI doesn’t shows up and got into text mode. Any suggestions about how to check what’s wrong?

Thank you

Since you can get to a console, then after boot save a copy of “/var/log/Xorg.0.log” and post it here (you might need to rename it with a “.txt” suffix). If you hover your mouse over the quote icon in the upper right corner other icons will show up…the paper clip icon allows attaching to an existing post.

I’ll paste it now. Please check.
Thank you.

Since it keeps scanning… I’ll also paste the content here.

[ 10.278]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 10.278] X Protocol Version 11, Revision 0
[ 10.278] Build Operating System: Linux 4.4.0-97-generic aarch64 Ubuntu
[ 10.278] Current Operating System: Linux tegra-ubuntu 4.4.38-tegra #1 SMP PREEMPT Thu May 17 00:15:19 PDT 2018 aarch64
[ 10.278] Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2772e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1 androidboot.serialno=0423418003585 bl_prof_dataptr=0x10000@0x277040000 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
[ 10.278] Build Date: 13 October 2017 01:58:44PM
[ 10.278] xorg-server 2:1.18.4-0ubuntu0.7 (For technical support please see http://www.ubuntu.com/support)
[ 10.278] Current version of pixman: 0.33.6
[ 10.278] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10.279] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10.279] (==) Log file: “/var/log/Xorg.0.log”, Time: Sat Mar 9 17:02:08 2019
[ 10.279] (==) Using config file: “/etc/X11/xorg.conf”
[ 10.279] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 10.279] (==) No Layout section. Using the first Screen section.
[ 10.279] (==) No screen section available. Using defaults.
[ 10.279] (
) |–>Screen “Default Screen Section” (0)
[ 10.279] () | |–>Monitor “”
[ 10.280] (==) No device specified for screen “Default Screen Section”.
Using the first device section listed.
[ 10.280] (
) | |–>Device “Tegra0”
[ 10.280] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 10.280] (==) Automatically adding devices
[ 10.280] (==) Automatically enabling devices
[ 10.280] (==) Automatically adding GPU devices
[ 10.280] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10.280] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 10.280] (==) ModulePath set to “/usr/lib/aarch64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules”
[ 10.280] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10.280] (II) Loader magic: 0x555e903d80
[ 10.280] (II) Module ABI versions:
[ 10.280] X.Org ANSI C Emulation: 0.4
[ 10.280] X.Org Video Driver: 20.0
[ 10.280] X.Org XInput driver : 22.1
[ 10.280] X.Org Server Extension : 9.0
[ 10.281] (++) using VT number 7

[ 10.281] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10.282] (II) no primary bus or device found
[ 10.282] (WW) “dri” will not be loaded unless you’ve specified it to be loaded elsewhere.
[ 10.282] (II) “glx” will be loaded by default.
[ 10.282] (II) LoadModule: “extmod”
[ 10.282] (II) Module “extmod” already built-in
[ 10.282] (II) LoadModule: “glx”
[ 10.282] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10.297] (II) Module glx: vendor=“NVIDIA Corporation”
[ 10.297] compiled for 4.0.2, module version = 1.0.0
[ 10.297] Module class: X.Org Server Extension
[ 10.297] (II) NVIDIA GLX Module 28.2.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-773) Thu May 17 00:15:24 PDT 2018
[ 10.298] (II) LoadModule: “nvidia”
[ 10.298] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 10.298] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 10.298] compiled for 4.0.2, module version = 1.0.0
[ 10.298] Module class: X.Org Video Driver
[ 10.299] (II) NVIDIA dlloader X Driver 28.2.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-773) Thu May 17 00:16:09 PDT 2018
[ 10.299] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 10.299] (WW) Falling back to old probe method for NVIDIA
[ 10.299] (II) Loading sub module “fb”
[ 10.299] (II) LoadModule: “fb”
[ 10.299] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 10.299] (II) Module fb: vendor=“X.Org Foundation”
[ 10.299] compiled for 1.18.4, module version = 1.0.0
[ 10.299] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.299] (II) Loading sub module “wfb”
[ 10.299] (II) LoadModule: “wfb”
[ 10.299] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 10.300] (II) Module wfb: vendor=“X.Org Foundation”
[ 10.300] compiled for 1.18.4, module version = 1.0.0
[ 10.300] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.300] (II) Loading sub module “ramdac”
[ 10.300] (II) LoadModule: “ramdac”
[ 10.300] (II) Module “ramdac” already built-in
[ 10.300] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 10.301] (II) NVIDIA(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 10.301] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 10.301] (==) NVIDIA(0): RGB weight 888
[ 10.301] (==) NVIDIA(0): Default visual is TrueColor
[ 10.301] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 10.301] () NVIDIA(0): Option “AllowEmptyInitialConfiguration” “true”
[ 10.301] (
) NVIDIA(0): Enabling 2D acceleration
[ 10.301] (–) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[ 10.302] (–) NVIDIA(0): DFP-0
[ 10.302] (II) NVIDIA(0): NVIDIA GPU NVIDIA Tegra X2 (nvgpu) (GP10B) at SoC (GPU-0)
[ 10.302] (–) NVIDIA(0): Memory: 8042776 kBytes
[ 10.302] (–) NVIDIA(0): VideoBIOS:
[ 10.302] (==) NVIDIA(0):
[ 10.302] (==) NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
[ 10.302] (==) NVIDIA(0): will be used as the requested mode.
[ 10.302] (==) NVIDIA(0):
[ 10.302] (–) NVIDIA(0): No enabled display devices found; starting anyway because
[ 10.302] (–) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 10.302] (II) NVIDIA(0): Validated MetaModes:
[ 10.302] (II) NVIDIA(0): “NULL”
[ 10.302] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 10.302] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 10.302] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 10.302] (–) Depth 24 pixmap format is 32 bpp
[ 10.303] (II) NVIDIA: Reserving 49152.00 MB of virtual memory for indirect memory
[ 10.303] (II) NVIDIA: access.
[ 10.306] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
[ 10.306] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 10.306] (II) NVIDIA(0): may not be running or the “AcpidSocketPath” X
[ 10.306] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 10.306] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 10.306] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 10.306] (II) NVIDIA(0): details, please see the “ConnectToAcpid” and
[ 10.306] (II) NVIDIA(0): “AcpidSocketPath” X configuration options in Appendix B: X
[ 10.306] (II) NVIDIA(0): Config Options in the README.
[ 10.333] (II) NVIDIA(0): Setting mode “NULL”
[ 10.342] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 10.342] (==) NVIDIA(0): Backing store enabled
[ 10.342] (==) NVIDIA(0): Silken mouse enabled
[ 10.343] (==) NVIDIA(0): DPMS enabled
[ 10.343] (II) Loading sub module “dri2”
[ 10.343] (II) LoadModule: “dri2”
[ 10.343] (II) Module “dri2” already built-in
[ 10.343] (II) NVIDIA(0): [DRI2] Setup complete
[ 10.343] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 10.343] (–) RandR disabled
[ 10.352] (II) SELinux: Disabled on system
[ 10.353] (II) Initializing extension GLX
[ 10.353] (II) Indirect GLX disabled.
[ 10.441] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=3 (/dev/input/event0)
[ 10.442] (II) No input driver specified, ignoring this device.
[ 10.442] (II) This device may have been added with another device file.
[ 10.442] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=7 (/dev/input/event1)
[ 10.442] (II) No input driver specified, ignoring this device.
[ 10.442] (II) This device may have been added with another device file.
[ 10.443] (II) config/udev: Adding input device gpio-keys (/dev/input/event3)
[ 10.443] () gpio-keys: Applying InputClass “evdev keyboard catchall”
[ 10.443] (II) LoadModule: “evdev”
[ 10.443] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 10.444] (II) Module evdev: vendor=“X.Org Foundation”
[ 10.444] compiled for 1.18.1, module version = 2.10.1
[ 10.444] Module class: X.Org XInput Driver
[ 10.444] ABI class: X.Org XInput driver, version 22.1
[ 10.444] (II) Using input driver ‘evdev’ for ‘gpio-keys’
[ 10.444] (
) gpio-keys: always reports core events
[ 10.444] () evdev: gpio-keys: Device: “/dev/input/event3”
[ 10.444] (–) evdev: gpio-keys: Vendor 0x1 Product 0x1
[ 10.444] (–) evdev: gpio-keys: Found keys
[ 10.444] (II) evdev: gpio-keys: Configuring as keyboard
[ 10.444] (
) Option “config_info” “udev:/sys/devices/gpio-keys/input/input3/event3”
[ 10.444] (II) XINPUT: Adding extended input device “gpio-keys” (type: KEYBOARD, id 6)
[ 10.444] () Option “xkb_rules” “evdev”
[ 10.444] (
) Option “xkb_model” “pc105”
[ 10.444] () Option “xkb_layout” “us”
[ 10.506] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event4)
[ 10.507] (
) USB Optical Mouse: Applying InputClass “evdev pointer catchall”
[ 10.507] (II) Using input driver ‘evdev’ for ‘USB Optical Mouse’
[ 10.507] () USB Optical Mouse: always reports core events
[ 10.507] (
) evdev: USB Optical Mouse: Device: “/dev/input/event4”
[ 10.560] (–) evdev: USB Optical Mouse: Vendor 0x461 Product 0x4d15
[ 10.560] (–) evdev: USB Optical Mouse: Found 3 mouse buttons
[ 10.560] (–) evdev: USB Optical Mouse: Found scroll wheel(s)
[ 10.560] (–) evdev: USB Optical Mouse: Found relative axes
[ 10.560] (–) evdev: USB Optical Mouse: Found x and y relative axes
[ 10.560] (II) evdev: USB Optical Mouse: Configuring as mouse
[ 10.560] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[ 10.560] () evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 10.560] (
) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 10.560] () Option “config_info” “udev:/sys/devices/3530000.xhci/usb1/1-2/1-2.3/1-2.3:1.0/0003:0461:4D15.0001/input/input4/event4”
[ 10.560] (II) XINPUT: Adding extended input device “USB Optical Mouse” (type: MOUSE, id 7)
[ 10.560] (II) evdev: USB Optical Mouse: initialized for relative axes.
[ 10.560] (
) USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 10.560] () USB Optical Mouse: (accel) acceleration profile 0
[ 10.560] (
) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 10.561] () USB Optical Mouse: (accel) acceleration threshold: 4
[ 10.909] (II) config/udev: Adding input device tegra-snd-t186ref-mobile-rt565x Headphone Jack (/dev/input/event2)
[ 10.909] (
) tegra-snd-t186ref-mobile-rt565x Headphone Jack: Applying InputClass “evdev keyboard catchall”
[ 10.909] (II) Using input driver ‘evdev’ for ‘tegra-snd-t186ref-mobile-rt565x Headphone Jack’
[ 10.910] () tegra-snd-t186ref-mobile-rt565x Headphone Jack: always reports core events
[ 10.910] (
) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Device: “/dev/input/event2”
[ 10.910] (–) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Vendor 0 Product 0
[ 10.910] (–) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Found keys
[ 10.910] (II) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Configuring as keyboard
[ 10.910] () Option “config_info” “udev:/sys/devices/sound/sound/card1/input2/event2”
[ 10.910] (II) XINPUT: Adding extended input device “tegra-snd-t186ref-mobile-rt565x Headphone Jack” (type: KEYBOARD, id 8)
[ 10.910] (
) Option “xkb_rules” “evdev”
[ 10.910] () Option “xkb_model” “pc105”
[ 10.910] (
) Option “xkb_layout” “us”
[ 10.910] (WW) Option “xkb_variant” requires a string value
[ 10.910] (WW) Option “xkb_options” requires a string value
[ 13.429] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event5)
[ 13.430] () Dell Dell USB Keyboard: Applying InputClass “evdev keyboard catchall”
[ 13.430] (II) Using input driver ‘evdev’ for ‘Dell Dell USB Keyboard’
[ 13.430] (
) Dell Dell USB Keyboard: always reports core events
[ 13.430] () evdev: Dell Dell USB Keyboard: Device: “/dev/input/event5”
[ 13.430] (–) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2105
[ 13.430] (–) evdev: Dell Dell USB Keyboard: Found keys
[ 13.430] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[ 13.430] (
) Option “config_info” “udev:/sys/devices/3530000.xhci/usb1/1-2/1-2.4/1-2.4:1.0/0003:413C:2105.0002/input/input5/event5”
[ 13.430] (II) XINPUT: Adding extended input device “Dell Dell USB Keyboard” (type: KEYBOARD, id 9)
[ 13.430] () Option “xkb_rules” “evdev”
[ 13.430] (
) Option “xkb_model” “pc105”
[ 13.430] (**) Option “xkb_layout” “us”
[ 13.430] (WW) Option “xkb_variant” requires a string value
[ 13.430] (WW) Option “xkb_options” requires a string value
[ 24.982] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): connected
[ 24.982] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): External TMDS
[ 24.985] (II) NVIDIA(0): Setting mode “NULL”
[ 25.115] (II) NVIDIA(0): Setting mode “HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
[ 544.463] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): connected
[ 544.463] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): External TMDS
[ 8096.542] (II) evdev: Dell Dell USB Keyboard: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.572] (II) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.572] (II) evdev: USB Optical Mouse: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.572] (II) evdev: gpio-keys: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.864] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 8097.983] (II) Server terminated successfully (0). Closing log file.

Xorg.0.txt (15.1 KB)

Some interesting log lines (and this is after you’ve cleared up some disk space):

[ 10.302] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 10.302] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 10.302] (II) NVIDIA(0): Validated MetaModes:
[ 10.302] (II) NVIDIA(0): "NULL"

Then it goes on to pick 640x480 as a fallback default, but the EDID says the monitor doesn’t support 640x480, and so it doesn’t work. The monitor does have a 1920x1080@60Hz mode, and I would think that might work.

You might put this in the “/etc/X11/xorg.conf” file ‘Section “Device”’ and reboot and send another log:

Option      "ModeDebug"

…it would be interesting to know why 1920x1080@60Hz is not valid and in theory ModeDebug would add that comment.

(Later on I see " 25.115] (II) NVIDIA(0): Setting mode “HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”, but the earlier logs I think should acknowledge a monitor)

Why it picked 640x480? Is some files not detected forced it to?
I changes to another display screen and it still shows the text mode. The log after adding the ModeDebug is pasted.
BTW when the system is starting(or rebooting) some failure showed up.

[FAILED]Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
See ‘systemctl status dnsmasq.service’ for details.
[DEPEND]Dependency failed for Host and Network Name Lookups
I don’t know if this is gonna effect the display but seems more like wireless thing to me because I cannot connect to internet now.
Xorg.0.txt (15.1 KB)

[ 10.278]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 10.278] X Protocol Version 11, Revision 0
[ 10.278] Build Operating System: Linux 4.4.0-97-generic aarch64 Ubuntu
[ 10.278] Current Operating System: Linux tegra-ubuntu 4.4.38-tegra #1 SMP PREEMPT Thu May 17 00:15:19 PDT 2018 aarch64
[ 10.278] Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2772e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2.1 androidboot.serialno=0423418003585 bl_prof_dataptr=0x10000@0x277040000 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
[ 10.278] Build Date: 13 October 2017 01:58:44PM
[ 10.278] xorg-server 2:1.18.4-0ubuntu0.7 (For technical support please see http://www.ubuntu.com/support)
[ 10.278] Current version of pixman: 0.33.6
[ 10.278] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10.279] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10.279] (==) Log file: “/var/log/Xorg.0.log”, Time: Sat Mar 9 17:02:08 2019
[ 10.279] (==) Using config file: “/etc/X11/xorg.conf”
[ 10.279] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 10.279] (==) No Layout section. Using the first Screen section.
[ 10.279] (==) No screen section available. Using defaults.
[ 10.279] (
) |–>Screen “Default Screen Section” (0)
[ 10.279] () | |–>Monitor “”
[ 10.280] (==) No device specified for screen “Default Screen Section”.
Using the first device section listed.
[ 10.280] (
) | |–>Device “Tegra0”
[ 10.280] (==) No monitor specified for screen “Default Screen Section”.
Using a default monitor configuration.
[ 10.280] (==) Automatically adding devices
[ 10.280] (==) Automatically enabling devices
[ 10.280] (==) Automatically adding GPU devices
[ 10.280] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10.280] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 10.280] Entry deleted from font path.
[ 10.280] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 10.280] (==) ModulePath set to “/usr/lib/aarch64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules”
[ 10.280] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10.280] (II) Loader magic: 0x555e903d80
[ 10.280] (II) Module ABI versions:
[ 10.280] X.Org ANSI C Emulation: 0.4
[ 10.280] X.Org Video Driver: 20.0
[ 10.280] X.Org XInput driver : 22.1
[ 10.280] X.Org Server Extension : 9.0
[ 10.281] (++) using VT number 7

[ 10.281] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10.282] (II) no primary bus or device found
[ 10.282] (WW) “dri” will not be loaded unless you’ve specified it to be loaded elsewhere.
[ 10.282] (II) “glx” will be loaded by default.
[ 10.282] (II) LoadModule: “extmod”
[ 10.282] (II) Module “extmod” already built-in
[ 10.282] (II) LoadModule: “glx”
[ 10.282] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10.297] (II) Module glx: vendor=“NVIDIA Corporation”
[ 10.297] compiled for 4.0.2, module version = 1.0.0
[ 10.297] Module class: X.Org Server Extension
[ 10.297] (II) NVIDIA GLX Module 28.2.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-773) Thu May 17 00:15:24 PDT 2018
[ 10.298] (II) LoadModule: “nvidia”
[ 10.298] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 10.298] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 10.298] compiled for 4.0.2, module version = 1.0.0
[ 10.298] Module class: X.Org Video Driver
[ 10.299] (II) NVIDIA dlloader X Driver 28.2.1 Release Build (integ_stage_rel) (buildbrain@mobile-u64-773) Thu May 17 00:16:09 PDT 2018
[ 10.299] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 10.299] (WW) Falling back to old probe method for NVIDIA
[ 10.299] (II) Loading sub module “fb”
[ 10.299] (II) LoadModule: “fb”
[ 10.299] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 10.299] (II) Module fb: vendor=“X.Org Foundation”
[ 10.299] compiled for 1.18.4, module version = 1.0.0
[ 10.299] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.299] (II) Loading sub module “wfb”
[ 10.299] (II) LoadModule: “wfb”
[ 10.299] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 10.300] (II) Module wfb: vendor=“X.Org Foundation”
[ 10.300] compiled for 1.18.4, module version = 1.0.0
[ 10.300] ABI class: X.Org ANSI C Emulation, version 0.4
[ 10.300] (II) Loading sub module “ramdac”
[ 10.300] (II) LoadModule: “ramdac”
[ 10.300] (II) Module “ramdac” already built-in
[ 10.300] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 10.301] (II) NVIDIA(0): Creating default Display subsection in Screen section
“Default Screen Section” for depth/fbbpp 24/32
[ 10.301] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 10.301] (==) NVIDIA(0): RGB weight 888
[ 10.301] (==) NVIDIA(0): Default visual is TrueColor
[ 10.301] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 10.301] () NVIDIA(0): Option “AllowEmptyInitialConfiguration” “true”
[ 10.301] (
) NVIDIA(0): Enabling 2D acceleration
[ 10.301] (–) NVIDIA(0): Valid display device(s) on GPU-0 at SoC
[ 10.302] (–) NVIDIA(0): DFP-0
[ 10.302] (II) NVIDIA(0): NVIDIA GPU NVIDIA Tegra X2 (nvgpu) (GP10B) at SoC (GPU-0)
[ 10.302] (–) NVIDIA(0): Memory: 8042776 kBytes
[ 10.302] (–) NVIDIA(0): VideoBIOS:
[ 10.302] (==) NVIDIA(0):
[ 10.302] (==) NVIDIA(0): No modes were requested; the default mode “nvidia-auto-select”
[ 10.302] (==) NVIDIA(0): will be used as the requested mode.
[ 10.302] (==) NVIDIA(0):
[ 10.302] (–) NVIDIA(0): No enabled display devices found; starting anyway because
[ 10.302] (–) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 10.302] (II) NVIDIA(0): Validated MetaModes:
[ 10.302] (II) NVIDIA(0): “NULL”
[ 10.302] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 10.302] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 10.302] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 10.302] (–) Depth 24 pixmap format is 32 bpp
[ 10.303] (II) NVIDIA: Reserving 49152.00 MB of virtual memory for indirect memory
[ 10.303] (II) NVIDIA: access.
[ 10.306] (EE) NVIDIA(0): Failed to allocate NVIDIA Error Handler
[ 10.306] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 10.306] (II) NVIDIA(0): may not be running or the “AcpidSocketPath” X
[ 10.306] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 10.306] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 10.306] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 10.306] (II) NVIDIA(0): details, please see the “ConnectToAcpid” and
[ 10.306] (II) NVIDIA(0): “AcpidSocketPath” X configuration options in Appendix B: X
[ 10.306] (II) NVIDIA(0): Config Options in the README.
[ 10.333] (II) NVIDIA(0): Setting mode “NULL”
[ 10.342] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 10.342] (==) NVIDIA(0): Backing store enabled
[ 10.342] (==) NVIDIA(0): Silken mouse enabled
[ 10.343] (==) NVIDIA(0): DPMS enabled
[ 10.343] (II) Loading sub module “dri2”
[ 10.343] (II) LoadModule: “dri2”
[ 10.343] (II) Module “dri2” already built-in
[ 10.343] (II) NVIDIA(0): [DRI2] Setup complete
[ 10.343] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 10.343] (–) RandR disabled
[ 10.352] (II) SELinux: Disabled on system
[ 10.353] (II) Initializing extension GLX
[ 10.353] (II) Indirect GLX disabled.
[ 10.441] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=3 (/dev/input/event0)
[ 10.442] (II) No input driver specified, ignoring this device.
[ 10.442] (II) This device may have been added with another device file.
[ 10.442] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=7 (/dev/input/event1)
[ 10.442] (II) No input driver specified, ignoring this device.
[ 10.442] (II) This device may have been added with another device file.
[ 10.443] (II) config/udev: Adding input device gpio-keys (/dev/input/event3)
[ 10.443] () gpio-keys: Applying InputClass “evdev keyboard catchall”
[ 10.443] (II) LoadModule: “evdev”
[ 10.443] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 10.444] (II) Module evdev: vendor=“X.Org Foundation”
[ 10.444] compiled for 1.18.1, module version = 2.10.1
[ 10.444] Module class: X.Org XInput Driver
[ 10.444] ABI class: X.Org XInput driver, version 22.1
[ 10.444] (II) Using input driver ‘evdev’ for ‘gpio-keys’
[ 10.444] (
) gpio-keys: always reports core events
[ 10.444] () evdev: gpio-keys: Device: “/dev/input/event3”
[ 10.444] (–) evdev: gpio-keys: Vendor 0x1 Product 0x1
[ 10.444] (–) evdev: gpio-keys: Found keys
[ 10.444] (II) evdev: gpio-keys: Configuring as keyboard
[ 10.444] (
) Option “config_info” “udev:/sys/devices/gpio-keys/input/input3/event3”
[ 10.444] (II) XINPUT: Adding extended input device “gpio-keys” (type: KEYBOARD, id 6)
[ 10.444] () Option “xkb_rules” “evdev”
[ 10.444] (
) Option “xkb_model” “pc105”
[ 10.444] () Option “xkb_layout” “us”
[ 10.506] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event4)
[ 10.507] (
) USB Optical Mouse: Applying InputClass “evdev pointer catchall”
[ 10.507] (II) Using input driver ‘evdev’ for ‘USB Optical Mouse’
[ 10.507] () USB Optical Mouse: always reports core events
[ 10.507] (
) evdev: USB Optical Mouse: Device: “/dev/input/event4”
[ 10.560] (–) evdev: USB Optical Mouse: Vendor 0x461 Product 0x4d15
[ 10.560] (–) evdev: USB Optical Mouse: Found 3 mouse buttons
[ 10.560] (–) evdev: USB Optical Mouse: Found scroll wheel(s)
[ 10.560] (–) evdev: USB Optical Mouse: Found relative axes
[ 10.560] (–) evdev: USB Optical Mouse: Found x and y relative axes
[ 10.560] (II) evdev: USB Optical Mouse: Configuring as mouse
[ 10.560] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[ 10.560] () evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 10.560] (
) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 10.560] () Option “config_info” “udev:/sys/devices/3530000.xhci/usb1/1-2/1-2.3/1-2.3:1.0/0003:0461:4D15.0001/input/input4/event4”
[ 10.560] (II) XINPUT: Adding extended input device “USB Optical Mouse” (type: MOUSE, id 7)
[ 10.560] (II) evdev: USB Optical Mouse: initialized for relative axes.
[ 10.560] (
) USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 10.560] () USB Optical Mouse: (accel) acceleration profile 0
[ 10.560] (
) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 10.561] () USB Optical Mouse: (accel) acceleration threshold: 4
[ 10.909] (II) config/udev: Adding input device tegra-snd-t186ref-mobile-rt565x Headphone Jack (/dev/input/event2)
[ 10.909] (
) tegra-snd-t186ref-mobile-rt565x Headphone Jack: Applying InputClass “evdev keyboard catchall”
[ 10.909] (II) Using input driver ‘evdev’ for ‘tegra-snd-t186ref-mobile-rt565x Headphone Jack’
[ 10.910] () tegra-snd-t186ref-mobile-rt565x Headphone Jack: always reports core events
[ 10.910] (
) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Device: “/dev/input/event2”
[ 10.910] (–) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Vendor 0 Product 0
[ 10.910] (–) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Found keys
[ 10.910] (II) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Configuring as keyboard
[ 10.910] () Option “config_info” “udev:/sys/devices/sound/sound/card1/input2/event2”
[ 10.910] (II) XINPUT: Adding extended input device “tegra-snd-t186ref-mobile-rt565x Headphone Jack” (type: KEYBOARD, id 8)
[ 10.910] (
) Option “xkb_rules” “evdev”
[ 10.910] () Option “xkb_model” “pc105”
[ 10.910] (
) Option “xkb_layout” “us”
[ 10.910] (WW) Option “xkb_variant” requires a string value
[ 10.910] (WW) Option “xkb_options” requires a string value
[ 13.429] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event5)
[ 13.430] () Dell Dell USB Keyboard: Applying InputClass “evdev keyboard catchall”
[ 13.430] (II) Using input driver ‘evdev’ for ‘Dell Dell USB Keyboard’
[ 13.430] (
) Dell Dell USB Keyboard: always reports core events
[ 13.430] () evdev: Dell Dell USB Keyboard: Device: “/dev/input/event5”
[ 13.430] (–) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2105
[ 13.430] (–) evdev: Dell Dell USB Keyboard: Found keys
[ 13.430] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[ 13.430] (
) Option “config_info” “udev:/sys/devices/3530000.xhci/usb1/1-2/1-2.4/1-2.4:1.0/0003:413C:2105.0002/input/input5/event5”
[ 13.430] (II) XINPUT: Adding extended input device “Dell Dell USB Keyboard” (type: KEYBOARD, id 9)
[ 13.430] () Option “xkb_rules” “evdev”
[ 13.430] (
) Option “xkb_model” “pc105”
[ 13.430] (**) Option “xkb_layout” “us”
[ 13.430] (WW) Option “xkb_variant” requires a string value
[ 13.430] (WW) Option “xkb_options” requires a string value
[ 24.982] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): connected
[ 24.982] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): External TMDS
[ 24.985] (II) NVIDIA(0): Setting mode “NULL”
[ 25.115] (II) NVIDIA(0): Setting mode “HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}”
[ 544.463] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): connected
[ 544.463] (–) NVIDIA(GPU-0): DELL E2310H (DFP-0): External TMDS
[ 8096.542] (II) evdev: Dell Dell USB Keyboard: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.572] (II) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.572] (II) evdev: USB Optical Mouse: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.572] (II) evdev: gpio-keys: Close
[ 8096.572] (II) UnloadModule: “evdev”
[ 8096.864] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 8097.983] (II) Server terminated successfully (0). Closing log file.

FYI, 640x480 is because no monitor specs were detected and the driver picked a basic mode which many monitors support (but yours does not). The specs are not in a file (they were back in the days of 15-pin VGA cables)…they are in the monitor itself and are sent via the “DDC” wire in the HDMI cable. The EDID data you saw is from this wire after the driver submits a query (i2c protocol)…thus modes should be visible.

Normally logging won’t tell you about every mode, but with ModeDebug it should (this makes the driver chatty about every mode the EDID sends…not all modes sent are accepted, and this will elaborate on why a mode is or is not accepted…the log will be more verbose).

Unfortunately, I don’t see that ModeDebug was enabled in the most recent log. Be certain that ‘Option “ModeDebug”’ is in ‘Section “Device”’ of “/etc/X11/xorg.conf”, then reboot with the monitor attached, and the log should have the extra mode debugging text added.

As for the other messages you mention, in theory DNS masquerading failures won’t have any effect…but if some software was to be downloaded during use of JetPack, then perhaps it would have interfered. I can’t say for sure those errors are not an issue, but there is only a slight possibility that those issues or the reason for those issues would be involved.

I did put the Option “ModeDebug” under Section “Device”. But in Section “Device” there is also a line of

#Allow X server to be started even if no display devices are connected.
Option "AllowEmptyInitialConfiguration" "ture"

I don’t know if I should replace them with

Option "ModeDebug"

so I just put it above the two lines.
I’ll paste the log after deleting these two lines.

Xorg.0.txt (15.1 KB)

Odd…it looks like ModeDebug was not used. In the past, even when there were no modes, the existence of the ModeDebug option has been mentioned. If ModeDebug functionality was removed, then this would be something new.

Can you attach your “/etc/X11/xorg.conf” file? You might need to rename it something like “xorg.conf.txt”. Hover your mouse over the quote icon of an existing post and you’ll see a “paper clip” icon show up…use that to attach).

Copyright © 2011-2013 NVIDIA CORPORATION. All Rights Reserved.

This is the minimal configuration necessary to use the Tegra driver.

Please refer to the xorg.conf man page for more configuration

options provided by the X server, including display-related options

provided by RandR 1.2 and higher.

Disable extensions not useful on Tegra.

Section “Module”
Disable “dri”
SubSection “extmod”
Option “omit xfree86-dga”
EndSubSection
EndSection

Section “Device”
Identifier “Tegra0”
Driver “nvidia”
Option “ModeDebug”

Allow X server to be started even if no display devices are connected.

Option “AllowEmptyInitialConfiguration” “true”

EndSection

I added this line

Option      "ModeDebug"

and commented this line

#    Option      "AllowEmptyInitialConfiguration" "true"

.
FYI I didn’t comment it for the log file I posted yesterday(which you said you don’t see that ModeDebug was enabled)

Thank you!

xorg.conf.txt (721 Bytes)

I don’t know if the AllowEmptyConfiguration change is an issue or not, but can you try with this still in place? My understanding is that the driver won’t start if there is no monitor initially detected, and I could see the possibility that if the EDID query hasn’t completed yet at the time the server starts, then the start wouldn’t occur…and that might be needed to get the EDID query.

Note also that only EDID modes are allowed, and among those modes, only the modes in the predefined mode pool which match would be a possibility. Lacking AllowEmptyConfiguration could possibly be the same as don’t start in a fallback mode when no EDID matches (I’m not positive about that behavior…desktop PC drivers and embedded drivers differ somewhat in allowed modes and fallback behavior).

The reply I Posted 03/30/2019 09:14 PM is with AllowEmptyConfiguration still in place, with an additional line of ModeDebug.

Would Force Recovery Mode does any help in this situation? I am considering reflashing the whole system…

“force recovery” does not actually modify the TX2 unless the host PC driver package runs. Any type-B USB connector is for a “device” mode…and not for host mode. If device mode is achieved by putting the TX2 in recovery mode, then the driver package running on the host PC will understand this device. The driver can then flash the device, but if you were to go in and out of recovery mode without running the driver package, then nothing would happen.

You could reflash, but before you do that, what L4T version is installed? See “head -n 1 /etc/nv_tegra_release”. Also, see if that release has valid checksums…this command should report all “ok”:

sha1sum -c /etc/nv_tegra_release

“head -n 1 /etc/nv_tegra_release” gives

#R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, DATE: (neglect this)

for sha1sum -c /etc/nv_tegra_release, it gives “command not found”. If shalsum is embeded package I guess I accidentally deleted something.

“sha1sum” is standard content and is always installed. If you don’t see it with “ls /usr/bin/sha1sum”, then part of your file system is missing. How that would go missing I don’t know, but it does imply important parts of the system may be missing (including those for the GUI).