FrostBlade
Posts: 2
Joined: Sun Oct 09, 2016 9:17 pm

Xorg: "no screens found" Error when using Touchdisplay

Sun Oct 09, 2016 9:56 pm

Hey Guys,
I have an raspberry pi 3 b with a Kuman 3,5" display (https://www.amazon.de/Kuman-Resolution- ... B01CNLYL1C). My image is rasbian with jasper. (https://groups.google.com/forum/#!topic ... 0yLc2LrsWo). Drivers for the touchdisplay are from its support cd, copied into root, untared it and switched output from HDMI to GPIO (like in the manual described). The image comes without a gui, but I want one. So I installed lxde like decribed here (). Im running the startx command manually. If a HDMI monitor is connected to the pi, desktop environment will be loaded. No problems here. The touchdisplay shows the console etc, so it's working so far, but when I run startx I will come up with a xorg error saying "no screens found, check log". So here's the log file
Release Date: 2015-06-16
[ 1085.562] X Protocol Version 11, Revision 0
[ 1085.564] Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian
[ 1085.567] Current Operating System: Linux raspberrypi 4.4.15-v7+ #897 SMP Tue Jul 12 18:42:55 BST 2016 armv7l
[ 1085.567] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa02082 bcm2709.serial=0x39fd6ef3 smsc95xx.macaddr=B8:27:EB:FD:6E:F3 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
[ 1085.581] Build Date: 11 January 2016 01:32:44PM
[ 1085.583] xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support)
[ 1085.585] Current version of pixman: 0.33.3
[ 1085.588] Before reporting problems, check http://wiki.x.org
[ 1085.588] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1085.588] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1085.602] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 9 21:26:15 2016
[ 1085.606] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1085.608] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1085.613] (==) No Layout section. Using the first Screen section.
[ 1085.613] (==) No screen section available. Using defaults.
[ 1085.613] (**) |-->Screen "Default Screen Section" (0)
[ 1085.613] (**) | |-->Monitor "<default monitor>"
[ 1085.619] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1085.619] (**) | |-->Device "Allwinner A10/A13/A20 FBDEV"
[ 1085.619] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1085.619] (==) Automatically adding devices
[ 1085.619] (==) Automatically enabling devices
[ 1085.619] (==) Automatically adding GPU devices
[ 1085.628] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 1085.628] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 1085.628] Entry deleted from font path.
[ 1085.628] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 1085.628] Entry deleted from font path.
[ 1085.628] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 1085.628] Entry deleted from font path.
[ 1085.628] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 1085.628] Entry deleted from font path.
[ 1085.628] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 1085.628] Entry deleted from font path.
[ 1085.629] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 1085.629] Entry deleted from font path.
[ 1085.629] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 1085.629] Entry deleted from font path.
[ 1085.629] (==) FontPath set to:
built-ins
[ 1085.629] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1085.629] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1085.629] (II) Loader magic: 0x54d11f00
[ 1085.629] (II) Module ABI versions:
[ 1085.629] X.Org ANSI C Emulation: 0.4
[ 1085.629] X.Org Video Driver: 19.0
[ 1085.629] X.Org XInput driver : 21.0
[ 1085.629] X.Org Server Extension : 9.0
[ 1085.629] (II) no primary bus or device found
[ 1085.631] (II) LoadModule: "glx"
[ 1085.634] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1085.697] (II) Module glx: vendor="X.Org Foundation"
[ 1085.697] compiled for 1.17.2, module version = 1.0.0
[ 1085.697] ABI class: X.Org Server Extension, version 9.0
[ 1085.697] (==) AIGLX enabled
[ 1085.697] (II) LoadModule: "fbturbo"
[ 1085.733] (WW) Warning, couldn't open module fbturbo
[ 1085.733] (II) UnloadModule: "fbturbo"
[ 1085.733] (II) Unloading fbturbo
[ 1085.733] (EE) Failed to load module "fbturbo" (module does not exist, 0)
[ 1085.733] (EE) No drivers available.
[ 1085.733] (EE)
Fatal server error:
[ 1085.735] (EE) no screens found(EE)
[ 1085.735] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1085.738] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1085.740] (EE)
[ 1085.741] (EE) Server terminated with error (1). Closing log file.
I also took a look at the xorg.0.conf (http://wiki.ghostbsd.org/index.php?titl ... n_found%22) on the path /etc/X11/xorg.conf.d/99-colibration.conf. I'm not sure if the text standing there is correct.
(it's formated with tabs in the file)

Code: Select all

Section "InputClass"
     Identifier     "calibration"
     MatchProdukt     "ADS7846 Touchscreen"
    Option    "Calibration"     "3936 227 268 3880"
    Option    "Swapfixes"     "1"
What do I need to do to the the desktop environment displayed on the touchdisplay? How do I "tell" xorg to use the touchdisplay as screen?

PS: when I'm using the standard raspbian-image with desktop, everything works fine without trouble. Even the touch is working.

Please tell me when you need aditional information and excuse my bad english. I'm a newbi with raspberry pi and basic knowlede in linux. I work as a IT specialist of systems so basic understanding of matter is available.

FrostBlade
Posts: 2
Joined: Sun Oct 09, 2016 9:17 pm

Re: Xorg: "no screens found" Error when using Touchdisplay

Mon Oct 10, 2016 7:41 pm

Hello again, I got it running.

I solved it with help of this: viewtopic.php?f=91&t=102764&start=25 Post and finally of this one: viewtopic.php?p=712958#p712958

I posted this:
Section "Device"
# WaveShare SpotPear 3.5", framebuffer 1
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection

Section "Monitor"
# Primary monitor. WaveShare SpotPear 480x320
Identifier "WSSP"
EndSection

Section "Screen"
Identifier "primary"
Device "uga"
Monitor "WSSP"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "primary" 0 0
EndSection
to the existing xorg config /etc/X11/xorg.conf.d/99-calibration.conf and run sudo startx. Then the desktop environment was loaded on touchdisplay. Touch works too.

DjGeNeSiS
Posts: 22
Joined: Thu Apr 07, 2016 8:54 pm
Contact: ICQ

Re: Xorg: "no screens found" Error when using Touchdisplay

Sat Dec 22, 2018 9:41 pm

FrostBlade wrote:
Mon Oct 10, 2016 7:41 pm
Hello again, I got it running.

I solved it with help of this: viewtopic.php?f=91&t=102764&start=25 Post and finally of this one: viewtopic.php?p=712958#p712958

I posted this:
Section "Device"
# WaveShare SpotPear 3.5", framebuffer 1
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection

Section "Monitor"
# Primary monitor. WaveShare SpotPear 480x320
Identifier "WSSP"
EndSection

Section "Screen"
Identifier "primary"
Device "uga"
Monitor "WSSP"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "primary" 0 0
EndSection
to the existing xorg config /etc/X11/xorg.conf.d/99-calibration.conf and run sudo startx. Then the desktop environment was loaded on touchdisplay. Touch works too.
This is what worked for me too.

glowman
Posts: 6
Joined: Tue Nov 08, 2016 7:21 pm

Re: Xorg: "no screens found" Error when using Touchdisplay

Sat Dec 29, 2018 6:13 pm

work for me as well!

truthadjustr
Posts: 6
Joined: Sun Apr 24, 2016 9:15 am
Contact: Website

Re: Xorg: "no screens found" Error when using Touchdisplay

Tue Jan 15, 2019 5:30 am

FrostBlade wrote:
Mon Oct 10, 2016 7:41 pm
Hello again, I got it running.

I solved it with help of this: viewtopic.php?f=91&t=102764&start=25 Post and finally of this one: viewtopic.php?p=712958#p712958

I posted this:
Section "Device"
# WaveShare SpotPear 3.5", framebuffer 1
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection

Section "Monitor"
# Primary monitor. WaveShare SpotPear 480x320
Identifier "WSSP"
EndSection

Section "Screen"
Identifier "primary"
Device "uga"
Monitor "WSSP"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "primary" 0 0
EndSection
to the existing xorg config /etc/X11/xorg.conf.d/99-calibration.conf and run sudo startx. Then the desktop environment was loaded on touchdisplay. Touch works too.
Thanks this worked for my RPI3B and 3.5" XPT2046. I am using kali-linux-2018.4a-rpi3-nexmon-64.img image of Kali Linux 64-bit.

Return to “Troubleshooting”