I am trying to setup my TK1 for a dual display LVDS setup but I can’t setup the resolution in any way listed here: Display Output
If I run fbset I get this:
Please explain your HW setup in more details. How are displays connected?
tegrafb0 is preferred, to use LVDS in LXDE please remove line:
/usr/bin/xrandr --output LVDS-0 --off
from /etc/xdg/lxsession/LXDE/autostart
Hi Dominik, thanks for your reply. I will try in a few moments. I have a 7" 800x480 Display on LVDS port 0 and a 10" 1024x600 Display on LVDS1 port but I can’t set the correct resolution on the first one and show something different from a black screen from the second one.
I add the xrandr result:
root@apalis-tk1:~# xrandr -q
Can't open display :0.0
On Apalis TK1 the frame buffer boot configuration integration via kernel command line is still pending and the LVDS configuration is currently hard-coded here.
Hi marcel, thank you.
I removed the line /usr/bin/xrandr --output LVDS-0 --off from /etc/xdg/lxsession/LXDE/autostart but with the image just flashed I can’t manage to start the window manager. I still get a black console and I cannot type anything, I can only access from SSH.
I still get
I still can’t get X11 to work. This is Xorg.0.log file. Fresh BSP installation.
root@apalis-tk1:~# cat /var/log/Xorg.0.log
[3577290.303]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[3577290.303] X Protocol Version 11, Revision 0
[3577290.303] Build Operating System: Linux 4.5.5-201.fc23.x86_64 x86_64
[3577290.303] Current Operating System: Linux apalis-tk1 3.10.40-gbd83e0f-dirty #3 SMP PREEMPT Fri Aug 26 14:43:29 CEST 2016 armv7l
[3577290.303] Kernel command line: lp0_vec=2064@0xf46ff000 core_edp_mv=1150 core_edp_ma=4000 usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0 ip=off root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait igb_mac=00:14:2d:2b:13:04 consoleblank=0 no_console_suspend=1 console=tty1 console=ttyS0,115200n8 debug_uartport=lsport,0 video=tegrafb0:1024x600-16@60
[3577290.303] Build Date: 24 June 2016 04:59:16PM
[3577290.303]
[3577290.303] Current version of pixman: 0.32.6
[3577290.303] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[3577290.303] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[3577290.304] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 29 07:35:05 2016
[3577290.304] (==) Using config file: "/etc/X11/xorg.conf"
[3577290.305] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[3577290.305] (==) No Layout section. Using the first Screen section.
[3577290.305] (==) No screen section available. Using defaults.
[3577290.305] (**) |-->Screen "Default Screen Section" (0)
[3577290.305] (**) | |-->Monitor "<default monitor>"
[3577290.306] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[3577290.306] (**) | |-->Device "Tegra0"
[3577290.306] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[3577290.306] (==) Automatically adding devices
[3577290.306] (==) Automatically enabling devices
[3577290.306] (==) Automatically adding GPU devices
[3577290.306] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[3577290.306] Entry deleted from font path.
[3577290.306] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[3577290.306] Entry deleted from font path.
[3577290.306] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[3577290.306] Entry deleted from font path.
[3577290.306] (==) FontPath set to:
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
[3577290.306] (==) ModulePath set to "/usr/lib/xorg/modules"
[3577290.306] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[3577290.306] (II) Loader magic: 0x141d80
[3577290.306] (II) Module ABI versions:
[3577290.307] X.Org ANSI C Emulation: 0.4
[3577290.307] X.Org Video Driver: 19.0
[3577290.307] X.Org XInput driver : 21.0
[3577290.307] X.Org Server Extension : 9.0
[3577290.309] (II) no primary bus or device found
[3577290.309] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[3577290.309] (II) "glx" will be loaded by default.
[3577290.309] (II) LoadModule: "extmod"
[3577290.309] (II) Module "extmod" already built-in
[3577290.309] (II) LoadModule: "glx"
[3577290.310] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[3577290.311] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: libnvidia-tls.so.21.4: cannot open shared object file: No such file or directory
[3577290.311] (II) UnloadModule: "glx"
[3577290.311] (II) Unloading glx
[3577290.311] (EE) Failed to load module "glx" (loader failed, 7)
[3577290.311] (II) LoadModule: "nvidia"
[3577290.311] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[3577290.312] (EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.so: libnvidia-rmapi-tegra.so.21.4: cannot open shared object file: No such file or directory
[3577290.312] (II) UnloadModule: "nvidia"
[3577290.312] (II) Unloading nvidia
[3577290.312] (EE) Failed to load module "nvidia" (loader failed, 7)
[3577290.312] (EE) No drivers available.
[3577290.312] (EE)
Fatal server error:
[3577290.312] (EE) no screens found(EE)
[3577290.312] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[3577290.312] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[3577290.312] (EE)
Yes, or just doing a manual ldconfig helps. Occasionally there seems to be some sort of a race condition as it should automatically do this upon first boot.
Does anyone else have experienced the same or does anyone have an explanation why this is happening?
The C program I run basically reads a rtsp videostream, does some image processing using opencv and displays the result using ximagesink. The module has been shutdown / restarted several times without any issues until last time: after powering on the Apalis TK1 module the monitor showed only the last lines of the dmesg.
Searching for possible causes/solution brought me to this post, which fixed the issue of not displaying the graphical interface (lxdm) but introduced the above mentioned gstreamer problem.