Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Centre HAT on RPi4 with Buster - not working #20

Open
mutipg opened this issue Apr 6, 2022 · 0 comments
Open

Media Centre HAT on RPi4 with Buster - not working #20

mutipg opened this issue Apr 6, 2022 · 0 comments

Comments

@mutipg
Copy link

mutipg commented Apr 6, 2022

I'm not good in Linux, but I'm trying do my best. I still have a problem with start Media Centre HAT on RPi4 with Buster.

After that Media Center HAT is probably working fine because after Ctrl+Alt+F2 I can see console, but it cannot start 'startx'. I see only blinking cursor on screen. I attached also Xorg log file - there is a line which IMO could be helpful:
[ 10.864] (EE) Screen 0 deleted because of no matching config section.

@ojtramp, you wrote in closed issue:

I then edited the configuration files at these locations (they're slightly different from the ones listed in the manual guide).

sudo nano /etc/X11/xorg.conf 
sudo nano /etc/lightdm/lightdm.conf 

Hope that helps someone work out where the automated script is going wrong for me (hopefully It was just a unique issue to me, but if not maybe this will help!).

Could you help me and give me a hint what did you changed in these files? My files looks like below and I can't find what to change in them.


OS and Kernel Version

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

/etc/X11/xorg.conf

Section "Device"
        Identifier      "Allwinner A10/A13 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0"

        Option          "SwapbuffersWait" "true"
EndSection

/etc/lightdm/lightdm.conf

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] matches all seats and is applied first.
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote, unity)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-backend = X backend to use (mir)
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
xserver-layout=TFT
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
# unity-compositor-timeout = Number of seconds to wait for compositor to start
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-backend=
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
xserver-layout=TFT
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
greeter-session=pi-greeter
greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=
display-setup-script=/usr/share/dispsetup.sh
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
autologin-user=pi
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8

/var/log/Xorg.0.log

[    10.852] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    10.853] Build Operating System: Linux 5.4.0-72-generic armv8l Raspbian
[    10.853] Current Operating System: Linux raspberrypi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
[    10.853] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:A5:CA:3F vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=250dc57a-02 rootfstype=ext4 fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles
[    10.853] Build Date: 04 January 2022  10:05:34AM
[    10.853] xorg-server 2:1.20.4-1+rpt4+deb10u4 (https://www.debian.org/support) 
[    10.853] Current version of pixman: 0.36.0
[    10.853] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.853] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.853] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr  5 16:32:08 2022
[    10.853] (==) Using config file: "/etc/X11/xorg.conf"
[    10.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.854] (++) ServerLayout "TFT"
[    10.854] (**) |-->Screen "ScreenTFT" (0)
[    10.854] (**) |   |-->Monitor "MonitorTFT"
[    10.855] (**) |   |-->Device "DeviceTFT"
[    10.855] (**) |   |-->GPUDevice "DeviceTFT"
[    10.855] (**) |   |-->GPUDevice "Allwinner A10/A13 FBDEV"
[    10.855] (**) Option "BlankTime" "10"
[    10.855] (==) Automatically adding devices
[    10.855] (==) Automatically enabling devices
[    10.855] (==) Automatically adding GPU devices
[    10.855] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.855] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    10.855] 	Entry deleted from font path.
[    10.855] (==) FontPath set to:
	built-ins
[    10.855] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.855] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.856] (II) Loader magic: 0x1fdf80
[    10.856] (II) Module ABI versions:
[    10.856] 	X.Org ANSI C Emulation: 0.4
[    10.856] 	X.Org Video Driver: 24.0
[    10.856] 	X.Org XInput driver : 24.1
[    10.856] 	X.Org Server Extension : 10.0
[    10.857] (++) using VT number 7

[    10.857] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.858] (II) xfree86: Adding drm device (/dev/dri/card1)
[    10.859] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.860] (II) no primary bus or device found
[    10.860] 	falling back to /sys/devices/platform/gpu/drm/card1
[    10.860] (II) LoadModule: "glx"
[    10.860] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    10.863] (II) Module glx: vendor="X.Org Foundation"
[    10.863] 	compiled for 1.20.4, module version = 1.0.0
[    10.863] 	ABI class: X.Org Server Extension, version 10.0
[    10.863] (II) LoadModule: "fbturbo"
[    10.863] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    10.863] (II) Module fbturbo: vendor="X.Org Foundation"
[    10.863] 	compiled for 1.20.4, module version = 0.5.1
[    10.863] 	Module class: X.Org Video Driver
[    10.863] 	ABI class: X.Org Video Driver, version 24.0
[    10.863] (II) FBTURBO: driver for framebuffer: fbturbo
[    10.864] (WW) Falling back to old probe method for fbturbo
[    10.864] (II) Loading sub module "fbdevhw"
[    10.864] (II) LoadModule: "fbdevhw"
[    10.864] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    10.864] (II) Module fbdevhw: vendor="X.Org Foundation"
[    10.864] 	compiled for 1.20.4, module version = 0.0.2
[    10.864] 	ABI class: X.Org Video Driver, version 24.0
[    10.864] (EE) open /dev/fb1: No such file or directory
[    10.864] (EE) open /dev/fb1: No such file or directory
[    10.864] (II) FBTURBO(0): using /dev/fb0
[    10.864] (EE) Screen 0 deleted because of no matching config section.
[    10.864] (II) UnloadModule: "fbturbo"
[    10.864] (II) UnloadSubModule: "fbdevhw"
[    10.864] (EE) Device(s) detected, but none match those in the config file.
[    10.864] (EE) 
Fatal server error:
[    10.865] (EE) no screens found(EE) 
[    10.865] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    10.865] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.865] (EE) 
[    10.865] (EE) Server terminated with error (1). Closing log file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant