Aller au contenu

Installation de Mate ou plutôt activation de Xserver.

Introduction

A l'étape précédente il m'était impossible de lancer le Xserver, les discussions dans la salle des "francographe" n'ayant pas été très fructueuse je suis passé sur #nixos-aarch64 .

Et j'ai obtenu trés rapidement une solution.

09:22 Do you think it is possible to launch a wm as mate or xfce on RPI3B ? 09:29 Actualy when i start the xserver the raspi hang. 09:29 what trace would be interesting to analyze ? 09:30 i think it is possible yes 09:30 i have plasma5 on my 3b+ 09:31 what is the displaymanager ? 09:33 that you use 09:36 sddm 09:38 ok i shall try , this afternoon 09:39 i was having problems with hanging too i had to change some settings 09:41 do you have some recommendation ? 09:41 what settings ? 09:43 Do you have share that somewhere ? 09:45 boot.kernelPackages = pkgs.linuxPackages_4_19; 09:46 services.xserver. videoDrivers = [ "fbdev" ]; 09:46 - spaces 09:46 boot.loader.raspberryPi.firmwareConfig = '' 09:46 gpu_mem=256 09:46 start_x=1 09:46 ''; 09:46 maybe? 09:47 boot.kernelParams = lib.mkForce [ 09:47 "console=ttyS1,115200n8" 09:47 "cma=256M" 09:47 "loglevel=7" 09:47 "console=tty1" 09:47 ]; 09:48 What is the most important ? kernel version or others 09:49 the kernel version afaik is 100% required the others i think like...display server would crash without it 09:50 oh and 09:50 swapDevices = [{ device = "/swapfile"; size = 2048; }];

Solution

  1. boot.kernelPackages = pkgs.linuxPackages_4_19;
  2. services.xserver. videoDrivers = [ "fbdev" ];
  3. boot.loader.raspberryPi.firmwareConfig = '' gpu_mem=256 start_x=1 '';
  4. boot.kernelParams = lib.mkForce [ "console=ttyS1,115200n8" "console=tty1" "loglevel=7" "cma=256M" ];
  5. swapDevices = [{ device = "/swapfile"; size = 2048; }];

Ayant activer zramSwap je n'ai pas pris en compte la recomandation 5 et j'ai choisi de ne pas utiliser la recommendation 3 ne comprenant pas le but ... Cette recommendation agit sur le fichier /boot/config.txt j'activerai peut être ou surement pkus tard aprés lecture

Remarques La génération se passe sans problème et je me retrouve enfin avec un login graphique :-)

login

Et l'environnement Mate chargé avec un linux stable 4.19.128

Mate


Dernière mise à jour: October 8, 2020
Créé: July 13, 2020