imx7dsabresd startx problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx7dsabresd startx problem

477 Views
Ahmet_Cihan_AKINCA
Contributor III

Hi. I have an imx7d-based board with a seven inch LCD panel and I prepared my linux system by using instructions of NXP documents.

fbset -fb /dev/fb0 -g 800 480 800 480 18 -t 33333 14 14 14 14 40 8

I can see the login screen. With

cat /dev/urandom > /dev/fb0

I see a noisy screen. But I can't start X system.

What should I do?

Thanks and best regards..

 

Here is my error log;

 

Spoiler

root@imx7dsabresd:~# cat /var/log/Xorg.0.log
[ 1153.159]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 1153.159] X Protocol Version 11, Revision 0
[ 1153.159] Build Operating System: Linux 4.15.0-128-generic x86_64
[ 1153.159] Current Operating System: Linux imx7dsabresd 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea #1 SMP PREEMPT Tue Jan 5 11:12:27 UTC 2021 armv7l
[ 1153.159] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB565
[ 1153.159] Build Date: 30 December 2020 12:17:56PM
[ 1153.159]
[ 1153.159] Current version of pixman: 0.34.0
[ 1153.159] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1153.159] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1153.160] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 30 08:58:48 2020
[ 1153.160] (==) Using config file: "/etc/X11/xorg.conf"
[ 1153.160] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1153.161] (==) No Layout section. Using the first Screen section.
[ 1153.161] (==) No screen section available. Using defaults.
[ 1153.161] (**) |-->Screen "Default Screen Section" (0)
[ 1153.161] (**) | |-->Monitor "<default monitor>"
[ 1153.161] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1153.161] (**) | |-->Device "i.MX Accelerated Framebuffer Device"
[ 1153.161] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1153.161] (**) Option "BlankTime" "0"
[ 1153.161] (**) Option "StandbyTime" "0"
[ 1153.161] (**) Option "SuspendTime" "0"
[ 1153.161] (**) Option "OffTime" "0"
[ 1153.161] (==) Automatically adding devices
[ 1153.161] (==) Automatically enabling devices
[ 1153.161] (==) Automatically adding GPU devices
[ 1153.161] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1153.161] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[ 1153.162] Entry deleted from font path.
[ 1153.162] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[ 1153.162] Entry deleted from font path.
[ 1153.162] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[ 1153.162] Entry deleted from font path.
[ 1153.162] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[ 1153.162] Entry deleted from font path.
[ 1153.162] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 1153.162] Entry deleted from font path.
[ 1153.162] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 1153.162] Entry deleted from font path.
[ 1153.162] (==) FontPath set to:

[ 1153.162] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1153.162] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1153.162] (II) Loader magic: 0x1c3d18
[ 1153.162] (II) Module ABI versions:
[ 1153.162] X.Org ANSI C Emulation: 0.4
[ 1153.162] X.Org Video Driver: 23.0
[ 1153.162] X.Org XInput driver : 24.1
[ 1153.162] X.Org Server Extension : 10.0
[ 1153.163] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1153.164] (II) no primary bus or device found
[ 1153.164] falling back to /sys/devices/platform/platform:Vivante GCCore/drm/card0
[ 1153.164] (II) LoadModule: "glx"
[ 1153.165] (WW) Warning, couldn't open module glx
[ 1153.165] (II) UnloadModule: "glx"
[ 1153.165] (II) Unloading glx
[ 1153.165] (EE) Failed to load module "glx" (module does not exist, 0)
[ 1153.165] (II) LoadModule: "vivante"
[ 1153.165] (WW) Warning, couldn't open module vivante
[ 1153.165] (II) UnloadModule: "vivante"
[ 1153.165] (II) Unloading vivante
[ 1153.165] (EE) Failed to load module "vivante" (module does not exist, 0)
[ 1153.165] (EE) No drivers available.
[ 1153.165] (EE)
Fatal server error:
[ 1153.165] (EE) no screens found(EE)
[ 1153.165] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1153.166] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1153.166] (EE)
[ 1153.166] (EE) Server terminated with error (1). Closing log file.

 

0 Kudos
2 Replies

473 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello ahmetcihan,

 

You have to enable X11 to start with startx, also please make sure that you are following the appnote https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Install-Ubuntu-14-04-on-i-MX7D-SDB/ta-p/...

For enable ubuntu on MX7Sabre SD.

 

 

 

469 Views
Ahmet_Cihan_AKINCA
Contributor III

Thank you Bio_TICFSL. I prepared my linux by using yocto, it wasn't ubuntu. Let me try ubuntu now. I didn't like yocto anyway..

Best regards..