• [^] # Re: Modèle

    Posté par . En réponse au journal Un peu d'ordre dans un monde parallèle. Évalué à 6.

    Allez, extrait de Xorg.0.log

    [ 9.810] (II) LoadModule: "amdgpu"
    [ 9.810] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
    [ 9.810] (II) Module amdgpu: vendor="X.Org Foundation"
    [ 9.810] compiled for 1.20.9, module version = 19.1.0
    [ 9.810] Module class: X.Org Video Driver
    [ 9.810] ABI class: X.Org Video Driver, version 24.1
    [ 9.810] (II) AMDGPU: Driver for AMD Radeon:
     All GPUs supported by the amdgpu kernel driver
    [ 9.810] (II) AMDGPU(0): [KMS] drm report modesetting isn't supported.
    [ 9.810] (EE) Screen 0 deleted because of no matching config section.
    [ 9.810] (II) UnloadModule: "amdgpu"
    [ 9.810] (EE) Device(s) detected, but none match those in the config file.
    [ 9.810] (EE) 
    Fatal server error:
    [ 9.810] (EE) no screens found(EE) 
    [ 9.810] (EE) 
    Please consult the The X.Org Foundation support 
     at http://wiki.x.org
     for help. 
    [ 9.810] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 9.810] (EE) 
    [ 9.810] (EE) Server terminated with error (1). Closing log file.
    

    Et on notera le journal de lightdm qui lui correspond :

    mars 31 20:14:55.632636 complexe systemd[1]: Starting Light Display Manager...
    mars 31 20:14:55.676260 complexe lightdm[935]: 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
    mars 31 20:14:55.693385 complexe systemd[1]: Started Light Display Manager.
    mars 31 20:14:55.784277 complexe systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
    mars 31 20:14:55.784310 complexe systemd[1]: lightdm.service: Failed with result 'exit-code'.
    mars 31 20:14:56.135192 complexe systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
    mars 31 20:14:56.135515 complexe systemd[1]: Stopped Light Display Manager.
    mars 31 20:14:56.162423 complexe systemd[1]: Starting Light Display Manager...
    mars 31 20:14:56.175760 complexe lightdm[1007]: 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
    mars 31 20:14:56.181153 complexe systemd[1]: Started Light Display Manager.
    mars 31 20:14:57.066149 complexe lightdm[1042]: 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
    mars 31 20:14:57.071287 complexe lightdm[1042]: pam_unix(lightdm-autologin:session): session opened for user glandos(uid=1000) by (uid=0)
    

    Mais du coup, je suis curieux, je ne connaissais pas gpu-manager.service. Il semblerait que ce soit une spécificité de Ubuntu. Et que contient ce paquet ?

    • Une règle udev ACTION=="add", SUBSYSTEM=="drm", DEVPATH=="*/drm/card*", RUN+="/sbin/u-d-c-print-pci-ids" ah bah on y est presque.
    • Le binaire gpu-manager
    • Le service systemd qui déclare devoir se lancer avant la session graphique

    Donc j'ai l'impression que Ubuntu a fait la même chose que moi, qui suis sous Debian. Évidemment, c'est plus robuste, plus solide, que mon bricolage du dimanche.