New Xorg 1.20 crashes on rpi 3b

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

New Xorg 1.20 crashes on rpi 3b

Postby jaab » Sat May 19, 2018 7:22 am

The new Xorg 1.20 server crashes with both (turbo and not) framebuffer drivers but works ok with the Gl driver. Suspect there is some permission problem but don know enough to fix it myself.

Please find enclosed the logs:

With the framebuffer driver:
$this->bbcode_second_pass_code('', '[alarm@alarmpi xorg]$ cat Xorg.0.log.old
[ 36.390] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 36.391]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[ 36.391] Build Operating System: Linux Arch Linux
[ 36.392] Current Operating System: Linux alarmpi 4.14.41-1-ARCH #1 SMP Fri May 18 18:40:42 UTC 2018 armv7l
[ 36.392] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200 elevator=noop
[ 36.393] Build Date: 17 May 2018 12:56:03PM
[ 36.393]
[ 36.393] Current version of pixman: 0.34.0
[ 36.394] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 36.394] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 36.395] (==) Log file: "/home/alarm/.local/share/xorg/Xorg.0.log", Time: Fri May 18 21:54:30 2018
[ 36.398] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 36.398] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 36.402] (==) No Layout section. Using the first Screen section.
[ 36.402] (==) No screen section available. Using defaults.
[ 36.402] (**) |-->Screen "Default Screen Section" (0)
[ 36.402] (**) | |-->Monitor "<default monitor>"
[ 36.404] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 36.404] (**) | |-->Device "Allwinner A10/A13 FBDEV"
[ 36.404] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 36.404] (==) Automatically adding devices
[ 36.404] (==) Automatically enabling devices
[ 36.404] (==) Automatically adding GPU devices
[ 36.404] (==) Automatically binding GPU devices
[ 36.404] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 36.405] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 36.405] Entry deleted from font path.
[ 36.406] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 36.406] Entry deleted from font path.
[ 36.406] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 36.406] Entry deleted from font path.
[ 36.406] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 36.406] Entry deleted from font path.
[ 36.406] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 36.406] Entry deleted from font path.
[ 36.406] (==) FontPath set to:
/usr/share/fonts/TTF
[ 36.406] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 36.406] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 36.411] (II) Module ABI versions:
[ 36.411] X.Org ANSI C Emulation: 0.4
[ 36.411] X.Org Video Driver: 24.0
[ 36.411] X.Org XInput driver : 24.1
[ 36.411] X.Org Server Extension : 10.0
[ 36.414] (++) using VT number 1

[ 36.422] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 36.422] (II) no primary bus or device found
[ 36.423] (II) LoadModule: "glx"
[ 36.427] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 36.494] (II) Module glx: vendor="X.Org Foundation"
[ 36.494] compiled for 1.20.0, module version = 1.0.0
[ 36.494] ABI class: X.Org Server Extension, version 10.0
[ 36.495] (II) LoadModule: "fbturbo"
[ 36.495] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[ 36.499] (EE) Failed to load /usr/lib/xorg/modules/drivers/fbturbo_drv.so: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: fbdevHWSave
[ 36.499] (EE) Failed to load module "fbturbo" (loader failed, 0)
[ 36.499] (EE) No drivers available.
[ 36.499] (EE)
Fatal server error:
[ 36.499] (EE) no screens found(EE)
[ 36.500] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 36.500] (EE) Please also check the log file at "/home/alarm/.local/share/xorg/Xorg.0.log" for additional information.
[ 36.500] (EE)
[ 36.543] (EE) Server terminated with error (1). Closing log file.
[alarm@alarmpi xorg]$
')

With the GL driver:
$this->bbcode_second_pass_code('', '[alarm@alarmpi xorg]$ cat Xorg.0.log
[ 37.065] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 37.065]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[ 37.066] Build Operating System: Linux Arch Linux
[ 37.066] Current Operating System: Linux alarmpi 4.14.41-1-ARCH #1 SMP Fri May 18 18:40:42 UTC 2018 armv7l
[ 37.066] Kernel command line: 8250.nr_uarts=0 cma=256M bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200 elevator=noop
[ 37.068] Build Date: 17 May 2018 12:56:03PM
[ 37.068]
[ 37.068] Current version of pixman: 0.34.0
[ 37.069] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 37.069] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 37.070] (==) Log file: "/home/alarm/.local/share/xorg/Xorg.0.log", Time: Sat May 19 08:58:53 2018
[ 37.073] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 37.074] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 37.076] (==) No Layout section. Using the first Screen section.
[ 37.076] (==) No screen section available. Using defaults.
[ 37.077] (**) |-->Screen "Default Screen Section" (0)
[ 37.077] (**) | |-->Monitor "<default monitor>"
[ 37.078] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 37.078] (==) Automatically adding devices
[ 37.078] (==) Automatically enabling devices
[ 37.078] (==) Automatically adding GPU devices
[ 37.079] (==) Automatically binding GPU devices
[ 37.079] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 37.080] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 37.080] Entry deleted from font path.
[ 37.080] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 37.080] Entry deleted from font path.
[ 37.080] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 37.080] Entry deleted from font path.
[ 37.080] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 37.080] Entry deleted from font path.
[ 37.080] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 37.080] Entry deleted from font path.
[ 37.080] (==) FontPath set to:
/usr/share/fonts/TTF
[ 37.081] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 37.081] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 37.085] (II) Module ABI versions:
[ 37.085] X.Org ANSI C Emulation: 0.4
[ 37.085] X.Org Video Driver: 24.0
[ 37.085] X.Org XInput driver : 24.1
[ 37.085] X.Org Server Extension : 10.0
[ 37.087] (++) using VT number 1

[ 37.090] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 37.092] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 37.093] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 37.094] (II) no primary bus or device found
[ 37.094] falling back to /sys/devices/platform/soc/soc:gpu/drm/card0
[ 37.094] (II) LoadModule: "glx"
[ 37.097] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 37.164] (II) Module glx: vendor="X.Org Foundation"
[ 37.164] compiled for 1.20.0, module version = 1.0.0
[ 37.164] ABI class: X.Org Server Extension, version 10.0
[ 37.164] (==) Matched modesetting as autoconfigured driver 0
[ 37.164] (==) Matched fbdev as autoconfigured driver 1
[ 37.164] (==) Assigned the driver to the xf86ConfigLayout
[ 37.164] (II) LoadModule: "modesetting"
[ 37.165] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 37.180] (II) Module modesetting: vendor="X.Org Foundation"
[ 37.180] compiled for 1.20.0, module version = 1.20.0
[ 37.180] Module class: X.Org Video Driver
[ 37.180] ABI class: X.Org Video Driver, version 24.0
[ 37.180] (II) LoadModule: "fbdev"
[ 37.181] (WW) Warning, couldn't open module fbdev
[ 37.181] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 37.181] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 37.182] (II) modeset(0): using drv /dev/dri/card0
[ 37.182] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 37.182] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 37.183] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 37.183] (==) modeset(0): RGB weight 888
[ 37.183] (==) modeset(0): Default visual is TrueColor
[ 37.183] (II) Loading sub module "glamoregl"
[ 37.183] (II) LoadModule: "glamoregl"
[ 37.183] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 37.221] (II) Module glamoregl: vendor="X.Org Foundation"
[ 37.221] compiled for 1.20.0, module version = 1.0.1
[ 37.221] ABI class: X.Org ANSI C Emulation, version 0.4
[ 38.809] (II) modeset(0): glamor X acceleration enabled on VC4 V3D 2.1
[ 38.809] (II) modeset(0): glamor initialized
[ 38.809] (II) modeset(0): Output HDMI-1 has no monitor section
[ 38.810] (II) modeset(0): EDID for output HDMI-1
[ 38.810] (II) modeset(0): Printing probed modes for output HDMI-1
[ 38.810] (II) modeset(0): Modeline "1920x1200"x60.0 193.48 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz)
[ 38.810] (II) modeset(0): Output HDMI-1 connected
[ 38.810] (II) modeset(0): Using sloppy heuristic for initial modes
[ 38.810] (II) modeset(0): Output HDMI-1 using initial mode 1920x1200 +0+0
[ 38.810] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 38.810] (==) modeset(0): DPI set to (96, 96)
[ 38.810] (II) Loading sub module "fb"
[ 38.810] (II) LoadModule: "fb"
[ 38.810] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 38.816] (II) Module fb: vendor="X.Org Foundation"
[ 38.816] compiled for 1.20.0, module version = 1.0.0
[ 38.816] ABI class: X.Org ANSI C Emulation, version 0.4
[ 39.103] (==) modeset(0): Backing store enabled
[ 39.103] (==) modeset(0): Silken mouse disabled
[ 39.120] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[ 39.121] (==) modeset(0): DPMS enabled
[ 39.121] (II) modeset(0): [DRI2] Setup complete
[ 39.121] (II) modeset(0): [DRI2] DRI driver: vc4
[ 39.121] (II) modeset(0): [DRI2] VDPAU driver: vc4
[ 39.121] (II) Initializing extension Generic Event Extension
[ 39.121] (II) Initializing extension SHAPE
[ 39.121] (II) Initializing extension MIT-SHM
[ 39.121] (II) Initializing extension XInputExtension
[ 39.125] (II) Initializing extension XTEST
[ 39.125] (II) Initializing extension BIG-REQUESTS
[ 39.125] (II) Initializing extension SYNC
[ 39.125] (II) Initializing extension XKEYBOARD
[ 39.125] (II) Initializing extension XC-MISC
[ 39.125] (II) Initializing extension SECURITY
[ 39.125] (II) Initializing extension XFIXES
[ 39.125] (II) Initializing extension RENDER
[ 39.125] (II) Initializing extension RANDR
[ 39.125] (II) Initializing extension COMPOSITE
[ 39.125] (II) Initializing extension DAMAGE
[ 39.125] (II) Initializing extension MIT-SCREEN-SAVER
[ 39.126] (II) Initializing extension DOUBLE-BUFFER
[ 39.126] (II) Initializing extension RECORD
[ 39.126] (II) Initializing extension DPMS
[ 39.126] (II) Initializing extension Present
[ 39.126] (II) Initializing extension DRI3
[ 39.126] (II) Initializing extension X-Resource
[ 39.126] (II) Initializing extension XVideo
[ 39.126] (II) Initializing extension XVideo-MotionCompensation
[ 39.126] (II) Initializing extension GLX
[ 39.145] (II) AIGLX: Loaded and initialized vc4
[ 39.145] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 39.145] (II) Initializing extension XFree86-VidModeExtension
[ 39.145] (II) Initializing extension XFree86-DGA
[ 39.145] (II) Initializing extension XFree86-DRI
[ 39.145] (II) Initializing extension DRI2
[ 39.152] (II) modeset(0): Damage tracking initialized
[ 39.153] (II) modeset(0): Setting screen physical size to 508 x 317
[ 39.392] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event0)
[ 39.392] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[ 39.392] (**) Logitech USB Receiver: Applying InputClass "system-keyboard"
[ 39.392] (II) LoadModule: "libinput"
[ 39.392] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 39.420] (II) Module libinput: vendor="X.Org Foundation"
[ 39.421] compiled for 1.19.6, module version = 0.27.1
[ 39.421] Module class: X.Org XInput Driver
[ 39.421] ABI class: X.Org XInput driver, version 24.1
[ 39.421] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[ 39.426] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 18 paused 0
[ 39.426] (**) Logitech USB Receiver: always reports core events
[ 39.426] (**) Option "Device" "/dev/input/event0"
[ 39.426] (**) Option "_source" "server/udev"
[ 39.431] (II) event0 - Logitech USB Receiver: is tagged by udev as: Keyboard
[ 39.431] (II) event0 - Logitech USB Receiver: device is a keyboard
[ 39.431] (II) event0 - Logitech USB Receiver: device removed
[ 39.431] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C534.0001/input/input0/event0"
[ 39.432] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 6)
[ 39.432] (**) Option "xkb_model" "pc105"
[ 39.432] (**) Option "xkb_layout" "es"
[ 39.507] (II) event0 - Logitech USB Receiver: is tagged by udev as: Keyboard
[ 39.507] (II) event0 - Logitech USB Receiver: device is a keyboard
[ 39.509] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[ 39.509] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[ 39.509] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[ 39.509] (**) Logitech USB Receiver: Applying InputClass "system-keyboard"
[ 39.509] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[ 39.512] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 21 paused 0
[ 39.512] (**) Logitech USB Receiver: always reports core events
[ 39.512] (**) Option "Device" "/dev/input/event1"
[ 39.512] (**) Option "_source" "server/udev"
[ 39.514] (II) event1 - Logitech USB Receiver: is tagged by udev as: Keyboard Mouse
[ 39.514] (II) event1 - Logitech USB Receiver: device is a pointer
[ 39.514] (II) event1 - Logitech USB Receiver: device is a keyboard
[ 39.514] (II) event1 - Logitech USB Receiver: device removed
[ 39.514] (II) libinput: Logitech USB Receiver: needs a virtual subdevice
[ 39.514] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input1/event1"
[ 39.514] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 7)
[ 39.515] (**) Option "AccelerationScheme" "none"
[ 39.515] (**) Logitech USB Receiver: (accel) selected scheme none/0
[ 39.515] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[ 39.515] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[ 39.516] (II) event1 - Logitech USB Receiver: is tagged by udev as: Keyboard Mouse
[ 39.516] (II) event1 - Logitech USB Receiver: device is a pointer
[ 39.516] (II) event1 - Logitech USB Receiver: device is a keyboard
[ 39.518] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[ 39.519] (**) Logitech USB Receiver: Applying InputClass "system-keyboard"
[ 39.519] (II) No input driver specified, ignoring this device.
[ 39.519] (II) This device may have been added with another device file.
[ 39.529] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[ 39.530] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[ 39.530] (**) Logitech USB Receiver: Applying InputClass "system-keyboard"
[ 39.530] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[ 39.530] (II) systemd-logind: returning pre-existing fd for /dev/input/event1 13:65
[ 39.530] (**) Logitech USB Receiver: always reports core events
[ 39.530] (**) Option "Device" "/dev/input/event1"
[ 39.530] (**) Option "_source" "_driver/libinput"
[ 39.530] (II) libinput: Logitech USB Receiver: is a virtual subdevice
[ 39.530] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C534.0002/input/input1/event1"
[ 39.530] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 8)
[ 39.530] (**) Option "xkb_model" "pc105"
[ 39.530] (**) Option "xkb_layout" "es"
[ 43.025] (II) modeset(0): Disabling kernel dirty updates, not required.
[ 1215.878] (EE) client bug: timer event1 debounce short: offset negative (-10ms)
[ 1295.004] (EE) client bug: timer event1 debounce short: offset negative (-1ms)
[alarm@alarmpi xorg]$
')

Regards,
jaab
 
Posts: 26
Joined: Sat Oct 22, 2016 8:32 am

Re: New Xorg 1.20 crashes on rpi 3b

Postby andre » Sat May 19, 2018 6:59 pm

It seems there is some undefined symbol.
$this->bbcode_second_pass_code('', '
[ 36.499] (EE) Failed to load /usr/lib/xorg/modules/drivers/fbturbo_drv.so: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: fbdevHWSave
')

This is most likely caused when some files are updated to a newer version, while some other files are left at an older version. As you mention the new xorg 1.20, it would seem there are still some old packages left yet to be updated.

Try to upgrade your system, to see if you've still old versions of the xf86-video-fbdev or xf86-video-fbturbo-git driver on your system.
If you've installed packages from AUR, you'll have to re-install them so they're build against the current libraries.
andre
 
Posts: 68
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven

Re: New Xorg 1.20 crashes on rpi 3b

Postby tims » Wed May 23, 2018 10:14 am

After update same problem.

Xorg.0.log:
"open /dev/fb0: Permission denied"

i done temporary:
chmod 777 /dev/fb0

startx
tims
 
Posts: 2
Joined: Sun May 06, 2018 9:26 pm

Re: New Xorg 1.20 crashes on rpi 3b

Postby itmm » Wed May 23, 2018 8:29 pm

Hi,

I have the same problem as jaab. Is there a known fix for the missing symbol? Reinstalling the packages did not work for me? I would be great to startx again :-) Not working on RPi 3B and RPi 3B+.

King regards,
itmm
itmm
 
Posts: 1
Joined: Sat Mar 10, 2018 7:14 pm

Re: New Xorg 1.20 crashes on rpi 3b

Postby hoit » Thu May 24, 2018 8:42 pm

As tims correctly observed this is a permission issue.

$this->bbcode_second_pass_quote('tims', 'A')fter update same problem.

Xorg.0.log:
"open /dev/fb0: Permission denied"

i done temporary:
chmod 777 /dev/fb0

startx


This is working but must be done after each reboot.

What I did is to add my user to group video as /dev/fb0

$this->bbcode_second_pass_code('', '
[root@alarmpi hoit]# ls -la /dev/fb0
crw-rw---- 1 root video 29, 0 Apr 24 03:32 /dev/fb0
[root@alarmpi hoit]# gpasswd --add hoit video
')

And after that startx works each time.
hoit
 
Posts: 1
Joined: Thu May 24, 2018 8:29 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests