Fail to start Xserver on WaveShare LCD

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
PoldiMUC
Posts: 7
Joined: Fri Feb 17, 2017 2:02 pm
Location: Germany - Munich

Fail to start Xserver on WaveShare LCD

Post by PoldiMUC »

Hello
at first i want to say a really big THANKX to the developers of DietPi. I love it. For Linux noobs like me it is a great help to setup the system.
Now my question. ;-)
I have a compatible LCD on my RPi2 and DietPi-Cloudshell works fine but i want to start a Xserver. I have seen it that this shoud work but i don`t get it run. I have tried many ways.
For example in DietPi-Config -> Display Options -> Change Resolution to DietPi-Cloudshell and Headless.
I had have installed LXDE. But when i autostart to LXDE with DietPi-Cloudshell-resolution only my HDMI-Monitor shows LXDE. When i autostart LDXE headless i get a XServer-fail message and on the LCD i see only the console with fail messages refer to /var/log/Xorg.0.log:

Code: Select all

[  2641.606]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  2641.606] X Protocol Version 11, Revision 0
[  2641.607] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[  2641.607] Current Operating System: Linux DietPi 4.4.44-v7+ #2 SMP Sat Feb 11 16:07:35 UTC 2017 armv7l
[  2641.607] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=320 bcm2708_fb.fbheight=240 bcm2709.boardrev=0xa01041 bcm2709.serial=0xbad6039c smsc95xx.macaddr=B8:27:EB:D6:03:9C bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 $
[  2641.607] Build Date: 11 November 2016  11:59:59AM
[  2641.607] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
[  2641.607] Current version of pixman: 0.33.3
[  2641.607]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2641.607] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2641.608] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 17 14:19:38 2017
[  2641.609] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2641.609] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2641.611] (==) No Layout section.  Using the first Screen section.
[  2641.611] (==) No screen section available. Using defaults.
[  2641.611] (**) |-->Screen "Default Screen Section" (0)
[  2641.611] (**) |   |-->Monitor "<default monitor>"
[  2641.612] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  2641.612] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[  2641.612] (**) |   |-->GPUDevice "FBDEV"
[  2641.612] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  2641.612] (==) Automatically adding devices
[  2641.613] (==) Automatically enabling devices
[  2641.613] (==) Automatically adding GPU devices
[  2641.613] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2641.613] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2641.613]    Entry deleted from font path.
[  2641.613] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  2641.613]    Entry deleted from font path.
[  2641.613] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  2641.613]    Entry deleted from font path.
[  2641.613] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  2641.613]    Entry deleted from font path.
[  2641.613] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  2641.613]    Entry deleted from font path.
[  2641.613] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  2641.613]    Entry deleted from font path.
[  2641.613] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[  2641.613] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2641.613] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2641.614] (II) Loader magic: 0x54cbef20
[  2641.614] (II) Module ABI versions:
[  2641.614]    X.Org ANSI C Emulation: 0.4
[  2641.614]    X.Org Video Driver: 20.0
[  2641.614]    X.Org XInput driver : 22.1
[  2641.614]    X.Org Server Extension : 9.0
[  2641.627] (--) using VT number 2

[  2641.628] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  2641.628] (II) no primary bus or device found
[  2641.629] (II) LoadModule: "glx"
[  2641.634] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2641.649] (II) Module glx: vendor="X.Org Foundation"
[  2641.649]    compiled for 1.18.4, module version = 1.0.0
[  2641.649]    ABI class: X.Org Server Extension, version 9.0
[  2641.650] (==) AIGLX enabled
[  2641.650] (II) LoadModule: "fbturbo"
[  2641.650] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[  2641.651] (II) Module fbturbo: vendor="X.Org Foundation"
[  2641.651]    compiled for 1.18.4, module version = 0.5.1
[  2641.651]    Module class: X.Org Video Driver
[  2641.651]    ABI class: X.Org Video Driver, version 20.0
[  2641.652] (II) LoadModule: "fbdev"
[  2641.653] (WW) Warning, couldn't open module fbdev
[  2641.653] (II) UnloadModule: "fbdev"
[  2641.653] (II) Unloading fbdev
[  2641.653] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2641.653] (II) FBTURBO: driver for framebuffer: fbturbo
[  2641.655] (WW) Falling back to old probe method for fbturbo
[  2641.655] (II) Loading sub module "fbdevhw"
[  2641.655] (II) LoadModule: "fbdevhw"
[  2641.656] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  2641.657] (II) Module fbdevhw: vendor="X.Org Foundation"
[  2641.657]    compiled for 1.18.4, module version = 0.0.2
[  2641.657]    ABI class: X.Org Video Driver, version 20.0
[  2641.657] (II) FBTURBO(0): using /dev/fb0
[  2641.657] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2641.657] (II) FBTURBO(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 8/8
[  2641.657] (==) FBTURBO(0): Depth 8, (==) framebuffer bpp 8
[  2641.658] (==) FBTURBO(0): Default visual is PseudoColor
[  2641.658] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[  2641.658] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 0kB)
[  2641.658] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
[  2641.658] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[  2641.659] (II) FBTURBO(0): processor: ARM Cortex-A7
[  2641.659] (II) FBTURBO(0): checking modes against framebuffer device...
[  2641.659] (II) FBTURBO(0): checking modes against monitor...
[  2641.659] (--) FBTURBO(0): Virtual size is 16x16 (pitch 16)
[  2641.659] (**) FBTURBO(0):  Built-in mode "current"
[  2641.659] (==) FBTURBO(0): DPI set to (96, 96)
[  2641.659] (II) Loading sub module "fb"
[  2641.659] (II) LoadModule: "fb"
[  2641.659] (II) LoadModule: "fb"
[  2641.660] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2641.661] (II) Module fb: vendor="X.Org Foundation"
[  2641.661]    compiled for 1.18.4, module version = 1.0.0
[  2641.661]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2641.663] (EE) FBTURBO(0): FBIOPUT_VSCREENINFO: Invalid argument
[  2641.663] (EE) FBTURBO(0): mode initialization failed
[  2641.663] (EE)
Fatal server error:
[  2641.663] (EE) AddScreen/ScreenInit failed for driver 0
[  2641.663] (EE)
[  2641.663] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2641.663] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2641.663] (EE)
[  2641.676] (EE) Server terminated with error (1). Closing log file.

What is my fault? Thankx for your help.
Greetings Jochen
My english is not so good so please forgive me strange wordings. ;-)
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Fail to start Xserver on WaveShare LCD

Post by Fourdee »

PoldiMUC wrote:I have a compatible LCD on my RPi2 and DietPi-Cloudshell works fine but i want to start a Xserver. I have seen it that this shoud work but i don`t get it run. I have tried many ways.
Hi Jochen,

Thanks for the report.

Looks like a bug, I was able to replicate this on my RPi + WaveShare.

I'll create a ticket and take a look:
https://github.com/Fourdee/DietPi/issues/767
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply