error when starting steamlink from emulationstation
-
steamlink was working on my RPi3 with Retropie, and then it stopped working.
Pi Model or other hardware: rpi3
RetroPie Version Used 4.7.19
Built From: SD made from Raspberry Pi Imager
Connected to:- HDMI TV screen
- Network cable
- Xbox ONE 1537 controller (USB)
- Rii wireless keyboard dongle
- TPLINK Bluetooth dongle
- Xbox ONE 1708 controller
Other things of note: xpadneo installed, xboxdrv and xpad uninstalled.
When I start steamlink from emulationstation, the screen shows the grey box for a while (with a note about the log location), then returns to emulationstation. If I quit emulationstation and run
steamlink
it starts without complaint.tail -f /dev/shm/runcommand.log (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error
cat /home/pi/.local/share/xorg/Xorg.0.log [ 185.822] X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 [ 185.822] Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian [ 185.822] Current Operating System: Linux retropie 5.10.63-v7+ #1459 SMP Wed Oct 6 16:41:10 BST 2021 armv7l [ 185.822] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=a53a2e2f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 [ 185.823] Build Date: 19 April 2021 03:23:36PM [ 185.823] xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) [ 185.823] Current version of pixman: 0.36.0 [ 185.823] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 185.823] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 185.823] (==) Log file: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Thu Oct 21 22:42:30 2021 [ 185.824] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 185.825] (==) No Layout section. Using the first Screen section. [ 185.825] (==) No screen section available. Using defaults. [ 185.825] (**) |-->Screen "Default Screen Section" (0) [ 185.825] (**) | |-->Monitor "<default monitor>" [ 185.826] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 185.827] (**) | |-->Device "Allwinner A10/A13 FBDEV" [ 185.827] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 185.827] (==) Automatically adding devices [ 185.827] (==) Automatically enabling devices [ 185.827] (==) Automatically adding GPU devices [ 185.827] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 185.827] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 185.827] Entry deleted from font path. [ 185.827] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 185.827] (==) ModulePath set to "/usr/lib/xorg/modules" [ 185.827] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 185.827] (II) Loader magic: 0x1fdf80 [ 185.827] (II) Module ABI versions: [ 185.827] X.Org ANSI C Emulation: 0.4 [ 185.827] X.Org Video Driver: 24.0 [ 185.828] X.Org XInput driver : 24.1 [ 185.828] X.Org Server Extension : 10.0 [ 185.831] (++) using VT number 1 [ 185.838] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31 [ 185.839] (II) no primary bus or device found [ 185.839] (II) LoadModule: "glx" [ 185.840] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 185.845] (II) Module glx: vendor="X.Org Foundation" [ 185.845] compiled for 1.20.4, module version = 1.0.0 [ 185.845] ABI class: X.Org Server Extension, version 10.0 [ 185.845] (II) LoadModule: "fbturbo" [ 185.846] (WW) Warning, couldn't open module fbturbo [ 185.846] (EE) Failed to load module "fbturbo" (module does not exist, 0) [ 185.846] (EE) No drivers available. [ 185.846] (EE) Fatal server error: [ 185.846] (EE) no screens found(EE) [ 185.846] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 185.846] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" for additional information. [ 185.846] (EE) [ 185.878] (EE) Server terminated with error (1). Closing log file
This lead me to
fbturbo
: what is it? do I need it?sudo apt install xserver-xorg-video-fbturbo
...et voila! It works again.
Has something changed with the install script for steamlink to cause this?
-
Are you starting EmulationStation from the desktop ?
-
@mitu emulationstation is starting in whatever way it starts as part of the image that
Raspberry Pi Imager
makes (I've not modified this). I'm not sure what way that is, or whether it answers your question. -
Nothing changed recently regarding
steamlink
's installation or dependencies.steamlink
needs thexorg
package , which doesn't installxserver-xorg-video-fbturbo
- this additional package it's not needed.Did you install anything else that would configure the
fbturbo
Xorg module to load ? I can't reproduce this on a Pi3 or Pi4, though the installation is not from a straight 4.7.1 image.
Can you update the OS packages and see if removing thexserver-xorg-video-fbturbo
package still gives this error ? -
@mitu thanks for your reply.
I did try updating everything with the retropie update script to no avail.
I can't think of any new packages that might have made that change. Could it be that disabling the retropie splash screen (not the RPi one) caused this? I can test this later.
-
@rcambrj No, the splashscreen is not in any way related to
xorg
orsteamlink
. Either way, disabling it shouldn't affectxorg
.Have you tried removing the
xserver-xorg-video-fbturbo
package and checking ifsteamlink
still works ? -
@mitu after removing this package, steamlink still works. I have no idea what happened.
Xorg.0.log
no longer contains anything aboutAllwinner
orfbturbo
🤔I'll resurrect this if the problem returns. But for now... thanks for your help!
-
@mitu sorry, correction: after a reboot, the problem returns.
xserver-xorg-video-fbturbo
is still something I need to have installed. -
Do you have any configuration referencing
fbturbo
in/usr/share/X11/xorg.conf.d
If you remove the
xserver-xorg-video-fbturbo
package, does the configuration file gets also removed ? -
With
xserver-xorg-video-fbturbo
installed:tail -n +1 /usr/share/X11/xorg.conf.d/* ==> /usr/share/X11/xorg.conf.d/10-amdgpu.conf <== Section "OutputClass" Identifier "AMDgpu" MatchDriver "amdgpu" Driver "amdgpu" EndSection ==> /usr/share/X11/xorg.conf.d/10-quirks.conf <== # Collection of quirks and blacklist/whitelists for specific devices. # Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable # http://bugs.freedesktop.org/show_bug.cgi?id=22442 Section "InputClass" Identifier "ThinkPad HDAPS accelerometer blacklist" MatchProduct "ThinkPad HDAPS accelerometer data" Option "Ignore" "on" EndSection # https://bugzilla.redhat.com/show_bug.cgi?id=523914 # Mouse does not move in PV Xen guest # Explicitly tell evdev to not ignore the absolute axes. Section "InputClass" Identifier "Xen Virtual Pointer axis blacklist" MatchProduct "Xen Virtual Pointer" Option "IgnoreAbsoluteAxes" "off" Option "IgnoreRelativeAxes" "off" EndSection # https://bugs.freedesktop.org/show_bug.cgi?id=55867 # Bug 55867 - Doesn't know how to tag XI_TRACKBALL Section "InputClass" Identifier "Tag trackballs as XI_TRACKBALL" MatchProduct "trackball" MatchDriver "evdev" Option "TypeName" "TRACKBALL" EndSection # https://bugs.freedesktop.org/show_bug.cgi?id=62831 # Bug 62831 - Mionix Naos 5000 mouse detected incorrectly Section "InputClass" Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE" MatchProduct "La-VIEW Technology Naos 5000 Mouse" MatchDriver "evdev" Option "TypeName" "MOUSE" EndSection ==> /usr/share/X11/xorg.conf.d/10-radeon.conf <== Section "OutputClass" Identifier "Radeon" MatchDriver "radeon" Driver "radeon" EndSection ==> /usr/share/X11/xorg.conf.d/40-libinput.conf <== # Match on all types of devices but joysticks # # If you want to configure your devices, do not copy this file. # Instead, use a config snippet that contains something like this: # # Section "InputClass" # Identifier "something or other" # MatchDriver "libinput" # # MatchIsTouchpad "on" # ... other Match directives ... # Option "someoption" "value" # EndSection # # This applies the option any libinput device also matched by the other # directives. See the xorg.conf(5) man page for more info on # matching devices. Section "InputClass" Identifier "libinput pointer catchall" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "libinput" EndSection Section "InputClass" Identifier "libinput keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "libinput" EndSection Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" EndSection Section "InputClass" Identifier "libinput touchscreen catchall" MatchIsTouchscreen "on" MatchDevicePath "/dev/input/event*" Driver "libinput" EndSection Section "InputClass" Identifier "libinput tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "libinput" EndSection ==> /usr/share/X11/xorg.conf.d/99-fbturbo.conf <== # This is a minimal sample config file, which can be copied to # /etc/X11/xorg.conf in order to make the Xorg server pick up # and load xf86-video-fbturbo driver installed in the system. # # When troubleshooting, check /var/log/Xorg.0.log for the debugging # output and error messages. # # Run "man fbturbo" to get additional information about the extra # configuration options for tuning the driver. Section "Device" Identifier "Allwinner A10/A13 FBDEV" Driver "fbturbo" Option "fbdev" "/dev/fb0" Option "SwapbuffersWait" "true" EndSection
after
apt remove xserver-xorg-video-fbturbo
,/usr/share/X11/xorg.conf.d/99-fbturbo.conf
no longer exists. There don't seem to be any other references tofbturbo
orAllwinner
in the remaining configuration. -
There don't seem to be any other references to fbturbo or Allwinner in the remaining configuration.
Then I don't understand from where the
fbturbo
configuration is referenced.Can you check if the file still exists after you remove the
xserver-xorg-video-fbturb
package ? If so, remove it and see if - after rebooting - you still get the error.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.