Outils pour utilisateurs

Outils du site


tech:notes_xorg

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_xorg [2025/05/24 12:20] Jean-Baptistetech:notes_xorg [2026/06/07 19:12] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon X11}}
 +
 +# Notes Xorg
 +
 +Voir aussi <https://fr.wikipedia.org/wiki/Wayland>
 +
 +PID de gnome-session `/tmp/.X0-lock`
 +
 +Générer /root/xorg.conf.new
 +~~~bash
 +#Xorg :1 -configure
 +Xorg -configure
 +~~~
 +
 +Pour désactiver une carte GPU
 +~~~bash
 +lspci
 +echo 1 > /sys/bus/pci/devices/[card device id]/remove
 +~~~
 +
 +Voir https://github.com/dglt1/optimus-switch/issues/17
 +
 +~~~bash
 +X -config /root/xorg.conf.new -retro
 +sudo Xorg -verbose -config /root/Xorg.conf
 +~~~
 +
 +~~~bash
 +nvidia-xconfig --mode nvidia-auto-select
 +~~~
 +
 +
 +
 +## Pb
 +
 +### X: user not authorized to run the X server, aborting.
 +
 +Solution
 +
 +`/etc/X11/Xwrapper.config`
 +~~~ini
 +#allowed_users=console
 +allowed_users=anybody
 +~~~
 +
 +Valeurs possibles pour **allowed_users** :
 +* root
 +* anybody
 +* console
 +
 +~~~bash
 +# dpkg-reconfigure x11-common
 +startx
 +~~~
 +
 +Trouver le VendorName
 +
 +`Xorg.conf`
 +~~~
 +Section "Device"
 +    Identifier     "Device0"
 +    Driver         "nvidia"
 +    VendorName     "NVIDIA Corporation"
 +EndSection
 +~~~
 +
 +
 +~~~bash
 +lspci -vmm 
 +~~~
 +
 +
 +
 +### systemd-logind returned paused fd for drm node
 +
 +Xorg fail at boot
 +But start if :
 + "ctrl+alt+f3" and "ctrl+alt+f1"
 +
 +
 +#### Solution 1 - nolapic
 +
 +~~~
 +# lspci
 +00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e98]
 +~~~
 +
 +`/etc/default/grub`
 +~~~bash
 +GRUB_CMDLINE_LINUX_DEFAULT="quiet nolapic"
 +~~~
 +
 +~~~bash
 +update-grub
 +~~~
 +
 +Mais le nolapic crée des problèmes sur une des cartes réseaux
 +
 +
 +#### Solution 2 - décaler d'une second le démarrage de GDM
 +
 +`/etc/systemd/system/gdm3.service.d/gdm.conf`
 +~~~ini
 +[Service]
 +ExecStartPre=/usr/bin/bash -c 'sleep 1'
 +~~~
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki