chapelhill
Posts: 1
Joined: Mon Sep 14, 2015 6:50 pm

Console display works but Startx Gui does not

Mon Sep 14, 2015 7:19 pm

Hi all.

Struggling to understand X11 troubleshooting to find out what has gone wrong, and since display is so new there is little information to go on when something does go awry,

Anyway built display and installed as per videos and all was working fine, console display and Gui interface with touch so hopefully it will work straight away from everyone else too, but I was experimenting with differing methods of powering the pi and display plus trying to reconfigure FHEM server configuration and I have managed to stop the Gui from working, through numerous reboots. If I set to boot to Graphical, then after console shows successfully on the display on startup but then when the Gui stage starts it is just a blank dark screen.

If I try running startx from console I get the X11 errror
(EE) open /dev/fb1: No such file or directory
(EE) No devices detected.
Fatal server error:
no screens found
So something has been messed up here/
Full error text can be seen below.
I could just re-install the os, but I suspect it may be something trivial and I would prefer to resolve, and document for others.

I have been through raspi-config to force back to text, rebbot and change back to graphical boot, but just the blank gui screen, so at the moment just booting to console and testing with startx. Just cannot find anything that I understand to make some progress on.

Many thanks in anticipation
Regards
Chapelhill.

Code: Select all

X.Org X Server 1.12.4
Release Date: 2012-08-27
[   116.372] X Protocol Version 11, Revision 0
[   116.374] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
[   116.376] Current Operating System: Linux raspberrypi2 4.1.6-v7+ #810 SMP PREEMPT Tue $
[   116.376] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=800 bcm2708_fb.f$
[   116.387] Build Date: 11 February 2015  09:31:17PM
[   116.388] xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <jcristau@debian.org>)
[   116.390] Current version of pixman: 0.33.1
[   116.394]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   116.394] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   116.401] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 14 18:40:07 2015
[   116.410] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   116.415] (==) No Layout section.  Using the first Screen section.
[   116.415] (==) No screen section available. Using defaults.
[   116.415] (**) |-->Screen "Default Screen Section" (0)
[   116.415] (**) |   |-->Monitor "<default monitor>"
[   116.422] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   116.423] (**) |   |-->Device "myfb"
[   116.423] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   116.423] (==) Automatically adding devices
[   116.423] (==) Automatically enabling devices
[   116.437] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   116.437]    Entry deleted from font path.
[   116.437] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   116.437]    Entry deleted from font path.
[   116.437] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   116.437]    Entry deleted from font path.
[   116.438] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   116.438]    Entry deleted from font path.
[   116.438] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   116.438]    Entry deleted from font path.
[   116.438] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does n$
[   116.438]    Entry deleted from font path.
[   116.438] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[   116.438] (==) ModulePath set to "/usr/lib/xorg/modules"
[   116.438] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   116.438] (II) Loader magic: 0x54c93cf0
[   116.438] (II) Module ABI versions:
[   116.438]    X.Org ANSI C Emulation: 0.4
[   116.438]    X.Org Video Driver: 12.1
[   116.438]    X.Org XInput driver : 16.0
[   116.439]    X.Org Server Extension : 6.0
[   116.439] (II) LoadModule: "extmod"
[   116.442] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   116.453] (II) Module extmod: vendor="X.Org Foundation"
[   116.453]    compiled for 1.12.4, module version = 1.0.0
[   116.453]    Module class: X.Org Server Extension
[   116.453]    ABI class: X.Org Server Extension, version 6.0
[   116.453] (II) Loading extension SELinux
[   116.453] (II) Loading extension MIT-SCREEN-SAVER
[   116.453] (II) Loading extension XFree86-VidModeExtension
[   116.453] (II) Loading extension XFree86-DGA
[   116.453] (II) Loading extension DPMS
[   116.453] (II) Loading extension XVideo
[   116.453] (II) Loading extension XVideo-MotionCompensation
[   116.453] (II) Loading extension X-Resource
[   116.453] (II) LoadModule: "dbe"
[   116.454] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   116.456] (II) Module dbe: vendor="X.Org Foundation"
[   116.457]    compiled for 1.12.4, module version = 1.0.0
[   116.457]    Module class: X.Org Server Extension
[   116.457]    ABI class: X.Org Server Extension, version 6.0
[   116.457] (II) Loading extension DOUBLE-BUFFER
[   116.457] (II) LoadModule: "glx"
[   116.457] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   116.478] (II) Module glx: vendor="X.Org Foundation"
[   116.478]    compiled for 1.12.4, module version = 1.0.0
[   116.478]    ABI class: X.Org Server Extension, version 6.0
[   116.478] (==) AIGLX enabled
[   116.478] (II) Loading extension GLX
[   116.479] (II) LoadModule: "record"
[   116.479] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   116.483] (II) Module record: vendor="X.Org Foundation"
[   116.483]    compiled for 1.12.4, module version = 1.13.0
[   116.483]    Module class: X.Org Server Extension
[   116.483]    ABI class: X.Org Server Extension, version 6.0
[   116.483] (II) Loading extension RECORD
[   116.483] (II) LoadModule: "dri"
[   116.483] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   116.493] (II) Module dri: vendor="X.Org Foundation"
[   116.493]    compiled for 1.12.4, module version = 1.0.0
[   116.493]    ABI class: X.Org Server Extension, version 6.0
[   116.493] (II) Loading extension XFree86-DRI
[   116.493] (II) LoadModule: "dri2"
[   116.493] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   116.496] (II) Module dri2: vendor="X.Org Foundation"
[   116.497]    compiled for 1.12.4, module version = 1.2.0
[   116.497]    ABI class: X.Org Server Extension, version 6.0
[   116.497] (II) Loading extension DRI2
[   116.497] (II) LoadModule: "fbdev"
[   116.497] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   116.501] (II) Module fbdev: vendor="X.Org Foundation"
[   116.501]    compiled for 1.12.1, module version = 0.4.2
[   116.501]    ABI class: X.Org Video Driver, version 12.0
[   116.501] (II) FBDEV: driver for framebuffer: fbdev
[   116.501] (--) using VT number 7

[   116.506] (WW) Falling back to old probe method for fbdev
[   116.506] (II) Loading sub module "fbdevhw"
[   116.506] (II) LoadModule: "fbdevhw"
[   116.507] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   116.509] (II) Module fbdevhw: vendor="X.Org Foundation"
[   116.509]    compiled for 1.12.4, module version = 0.0.2
[   116.509]    ABI class: X.Org Video Driver, version 12.1
[   116.510] (EE) open /dev/fb1: No such file or directory
[   116.510] (EE) No devices detected.
[   116.510]
Fatal server error:
[   116.510] no screens found
[   116.510]
Please consult the The X.Org Foundation support

Retrogadgets
Posts: 12
Joined: Thu Aug 23, 2012 8:42 pm
Location: Sheffield, UK

Re: Console display works but Startx Gui does not

Mon Nov 02, 2015 6:41 pm

Had similar, bought lcd from ebay, is a clone of raspi tft goes by the name ac-tft35-v2.1

Configured in raspi-config to boot as gui , boots as normal with text on lcd then show errors when attempting to launch the gui

Can anyone help

Thanks

Glasairman
Posts: 12
Joined: Fri Mar 16, 2012 9:55 am
Location: Munich, Germany

Re: Console display works but Startx Gui does not

Wed Nov 04, 2015 10:54 am

Just hit the same thing this morning and here's how I cured it (I think):

Yesterday, I installed the Raspberry LCD SCreen and had previously been running headless. Using raspi-config option 3, I changed to "start GUI at boot time" and got the following same messages after reboot in the Xorg.log see ( /var/log/Xorg.0.log)

open /dev/fb1: No such file or directory
[ 24.735] (EE) No devices detected.


So I change the .conf file using sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf

and changed fb1 to fb0 (despite the setup instructions saying otherwise) and it at least got me the "startx" screen again (using "sudo startx", didn't need to reboot)

Note: my Raspi LCD touchscreen uses DSI connector, NOT HDMI

User avatar
AndyD
Posts: 2333
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Console display works but Startx Gui does not

Wed Nov 04, 2015 11:05 am

Glasairman wrote:...changed fb1 to fb0 (despite the setup instructions saying otherwise)...
Which instructions were you using? The official display doesn't have a second framebuffer device (/dev/fb1). I am wondering if you were following instructions for one of the SPI/TFT displays?

p.s. You shouldn't need to use sudo to run startx. If you use "sudo startx" your Desktop will be running as the root (administrator) user than the pi user.

Return to “Official Foundation Display”