[Xorg] ecran noir sur raspberry pi 4B 4Go ram

Architecture ARM, archlinuxarm, raspberrypi ...
Avatar de l’utilisateur
PowaBanga
archer de cavalerie
Messages : 175
Inscription : mar. 12 sept. 2017, 21:15

[Xorg] ecran noir sur raspberry pi 4B 4Go ram

Message par PowaBanga »

Bonjour,
j'ai donc fait l'acquisition d'un rpi4B sur lequel je voudrais installer archlinux. C'est chose faite grâce à ce tuto : https://archlinuxarm.org/platforms/armv ... berry-pi-4

J'ai donc installé ce qu'il me fallait :

Code : Tout sélectionner

pacman -Syu xorg-server cinnamon lightdm lightdm-gtk-greeter
J'ai modifié le /etc/lightdm/lighdm.conf de la sorte :

Code : Tout sélectionner

#
# 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 # Setting this to a value < 7 implies security issues, see FS#46799
#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=/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)
# 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-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 = Layout to pass to X server
# 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)
# 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-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
greeter-session=lightdm-gtk-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=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
session-setup-script=/usr/bin/numlock on
#session-cleanup-script=
#autologin-guest=false
autologin-user=gilberte
autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=cinnamon
#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

gilberte apartient bien au groupe autologin, et au redémarage, lightdm ne semble pas démarrer. j'ai juste un écran noir avec des message qui apparraissent quand mon clavie et ma souris sans fil se connectent... mais je ne peux rien taper...

et cat /var/log/lightdm/lighdm.log me répond ceci :

Code : Tout sélectionner

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=902
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating user session
[+0.01s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.01s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.02s] DEBUG: User gilberte added
[+0.02s] DEBUG: Seat seat0: Failed to find session configuration default
[+0.02s] DEBUG: Seat seat0: Can't find session 'default'
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.02s] DEBUG: XServer 0: Launching X Server
[+0.02s] DEBUG: Launching process 908: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.06s] DEBUG: Seat seat0 changes active session to 
[+0.06s] DEBUG: Process 908 exited with return value 1
[+0.06s] DEBUG: XServer 0: X server stopped
[+0.06s] DEBUG: Releasing VT 7
[+0.06s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.06s] DEBUG: Seat seat0: Display server stopped
[+0.06s] DEBUG: Seat seat0: Stopping session
[+0.06s] DEBUG: Seat seat0: Session stopped
[+0.06s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.06s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.06s] DEBUG: Seat seat0: Stopping
[+0.06s] DEBUG: Seat seat0: Stopped
[+0.06s] DEBUG: Required seat has stopped
[+0.06s] DEBUG: Stopping display manager
[+0.06s] DEBUG: Display manager stopped
[+0.06s] DEBUG: Stopping daemon
[+0.06s] DEBUG: Exiting with return value 1

Via IRC, grawity m'a demandé ces commandes, je ne sais pas si ça peut aider :
IRC a écrit :<grawity> PowaBanga_: lacking accounts-service
<grawity> ?pkgfile org.freedesktop.Accounts.service
<EMIYA> grawity: extra/accountsservice 0.6.55-2 (/usr/share/dbus-1/system-services/org.freedesktop.Accounts.service)
<grawity> sudo pacman -Qkk accountsservice
<PowaBanga_> accountssevice: 286 total files, 0 altered files grawity
puis il m'a complètement ignoré ^^

là je suis largué, un coup de pouce serait vraiment le bienvenue :/
Dernière modification par PowaBanga le mer. 17 juin 2020, 09:11, modifié 1 fois.
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Lightdm] ecran noir sur raspberry pi 4B 4Go ram

Message par laurent85 »

PowaBanga a écrit : lun. 15 juin 2020, 20:28 [+0.02s] DEBUG: Launching process 908: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: XServer 0: Waiting for ready signal from X server :0
...
[+0.06s] DEBUG: Process 908 exited with return value 1
[+0.06s] DEBUG: XServer 0: X server stopped
Bonjour,
C'est X qui plante. Regarde le log d'Xorg.
Avatar de l’utilisateur
PowaBanga
archer de cavalerie
Messages : 175
Inscription : mar. 12 sept. 2017, 21:15

Re: [Lightdm] ecran noir sur raspberry pi 4B 4Go ram

Message par PowaBanga »

ha mince !
ben du coup j'ai fais :
cat /var/log/Xorg.0.log :

Code : Tout sélectionner

[    10.634] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[    10.635] Build Operating System: Linux Arch Linux
[    10.635] Current Operating System: Linux ArchiPiBM 5.4.45-1-ARCH #1 SMP PREEMPT Mon Jun 15 03:53:46 UTC 2020 armv7l
[    10.635] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:89:04:BD 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
[    10.635] Build Date: 06 May 2020  08:56:49PM
[    10.635]  
[    10.635] Current version of pixman: 0.40.0
[    10.635] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.635] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.635] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 11 21:30:43 2020
[    10.635] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.635] (==) No Layout section.  Using the first Screen section.
[    10.635] (==) No screen section available. Using defaults.
[    10.635] (**) |-->Screen "Default Screen Section" (0)
[    10.635] (**) |   |-->Monitor "<default monitor>"
[    10.636] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    10.636] (==) Automatically adding devices
[    10.636] (==) Automatically enabling devices
[    10.636] (==) Automatically adding GPU devices
[    10.636] (==) Automatically binding GPU devices
[    10.636] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.636] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    10.636] 	Entry deleted from font path.
[    10.636] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    10.636] 	Entry deleted from font path.
[    10.636] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    10.636] 	Entry deleted from font path.
[    10.636] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    10.636] 	Entry deleted from font path.
[    10.636] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    10.636] 	Entry deleted from font path.
[    10.636] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    10.636] 	Entry deleted from font path.
[    10.636] (==) FontPath set to:
	
[    10.636] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.636] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.636] (II) Module ABI versions:
[    10.636] 	X.Org ANSI C Emulation: 0.4
[    10.637] 	X.Org Video Driver: 24.1
[    10.637] 	X.Org XInput driver : 24.1
[    10.637] 	X.Org Server Extension : 10.0
[    10.637] (++) using VT number 7

[    10.637] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.638] (II) no primary bus or device found
[    10.638] (II) LoadModule: "glx"
[    10.639] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    10.642] (II) Module glx: vendor="X.Org Foundation"
[    10.642] 	compiled for 1.20.8, module version = 1.0.0
[    10.642] 	ABI class: X.Org Server Extension, version 10.0
[    10.642] (==) Matched modesetting as autoconfigured driver 0
[    10.642] (==) Matched fbdev as autoconfigured driver 1
[    10.642] (==) Assigned the driver to the xf86ConfigLayout
[    10.642] (II) LoadModule: "modesetting"
[    10.642] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    10.644] (II) Module modesetting: vendor="X.Org Foundation"
[    10.644] 	compiled for 1.20.8, module version = 1.20.8
[    10.644] 	Module class: X.Org Video Driver
[    10.644] 	ABI class: X.Org Video Driver, version 24.1
[    10.644] (II) LoadModule: "fbdev"
[    10.644] (WW) Warning, couldn't open module fbdev
[    10.644] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    10.644] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    10.644] (WW) Falling back to old probe method for modesetting
[    10.644] (EE) open /dev/dri/card0: No such file or directory
[    10.644] (WW) Falling back to old probe method for modesetting
[    10.644] (EE) open /dev/dri/card0: No such file or directory
[    10.644] (EE) No devices detected.
[    10.644] (EE) 
Fatal server error:
[    10.645] (EE) no screens found(EE) 
[    10.645] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    10.645] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.645] (EE) 
[    10.649] (EE) Server terminated with error (1). Closing log file.

et

lpsci

Code : Tout sélectionner

00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 10)
01:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

le truc avec les cartes graphique et modsetting, c'est un sujet que je ne maitrise pas encore assez bien... :/ je pensais que le driver était déjà dans le kernel dans le cas du raspberry pi...
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Lightdm] ecran noir sur raspberry pi 4B 4Go ram

Message par laurent85 »

PowaBanga a écrit : mar. 16 juin 2020, 20:42 [ 10.642] (==) Matched modesetting as autoconfigured driver 0
[ 10.642] (==) Matched fbdev as autoconfigured driver 1
[ 10.642] (==) Assigned the driver to the xf86ConfigLayout
[ 10.642] (II) LoadModule: "modesetting"
[ 10.642] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10.644] (II) Module modesetting: vendor="X.Org Foundation"
[ 10.644] compiled for 1.20.8, module version = 1.20.8
[ 10.644] Module class: X.Org Video Driver
[ 10.644] ABI class: X.Org Video Driver, version 24.1
[ 10.644] (II) LoadModule: "fbdev"
[ 10.644] (WW) Warning, couldn't open module fbdev
[ 10.644] (EE) Failed to load module "fbdev" (module does not exist, 0)
Installe le paquet xf86-video-fbdev
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17180
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Lightdm] ecran noir sur raspberry pi 4B 4Go ram

Message par benjarobin »

laurent85 a écrit : mar. 16 juin 2020, 21:32Installe le paquet xf86-video-fbdev
Je ne pense pas que cela soit cela la cause du problème, mais plus ceci

Code : Tout sélectionner

[    10.638] (II) no primary bus or device found
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
PowaBanga
archer de cavalerie
Messages : 175
Inscription : mar. 12 sept. 2017, 21:15

Re: [Lightdm] ecran noir sur raspberry pi 4B 4Go ram

Message par PowaBanga »

laurent85 a écrit : mar. 16 juin 2020, 21:32Installe le paquet xf86-video-fbdev

ceci n'a rien change semble-t-il...
benjarobin a écrit : mar. 16 juin 2020, 21:35

Code : Tout sélectionner

[    10.638] (II) no primary bus or device found
hé mince, ça veut dire quoi cette erreur ?
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Xorg] ecran noir sur raspberry pi 4B 4Go ram

Message par laurent85 »

Quel est le retour de :

Code : Tout sélectionner

lspci -knn
Avatar de l’utilisateur
PowaBanga
archer de cavalerie
Messages : 175
Inscription : mar. 12 sept. 2017, 21:15

Re: [Xorg] ecran noir sur raspberry pi 4B 4Go ram

Message par PowaBanga »

lspci -knn

Code : Tout sélectionner

00:00.0 PCI bridge [0604]: Broadcom Inc. and subsidiaries Device [14e4:2711] (rev 10)
	Kernel driver in use: pcieport
01:00.0 USB controller [0c03]: VIA Technologies, Inc. VL805 USB 3.0 Host Controller [1106:3483] (rev 01)
	Subsystem: VIA Technologies, Inc. VL805 USB 3.0 Host Controller [1106:3483]
	Kernel driver in use: xhci_hcd
laurent85
Elfe
Messages : 951
Inscription : mar. 16 oct. 2018, 21:05

Re: [Xorg] ecran noir sur raspberry pi 4B 4Go ram

Message par laurent85 »

Ce retour avec seulement 2 pci semble spécifique à l'architecture du rpi4. J'ai regardé rapidement sur internet je n'ai pas bien compris si un pilote graphique est déjà opérationnel ou si le support est en cours pour le rpi4.
Répondre