# La session gnome wayland ne s'ouvre plus

**URL:** <https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532>\
**Category:** Support Debian\
**Tags:** gnome, wayland, xorg\
**Created:** [Janvier 3, 2018, 11:24 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532 "2018-01-03T11:24:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 3, 2018, 11:24 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/1 "2018-01-03T11:24:04Z")

</div>

Salut,  
je ne peux plus ouvrir de session gnome wayland

```auto
Jan 3 11:34:48 debian sddm-helper[5500]: Starting: "/usr/share/sddm/scripts/wayland-session gnome-session"
Jan 3 11:34:49 debian systemd[5501]: Started D-Bus User Message Bus.
Jan 3 11:34:49 debian kernel: [107.413721] [UFW BLOCK] IN=wlp3s0b1 OUT= MAC=01:00:5e:7f:ff:fa:00:25:15:72:0c:98:08:00 SRC=192.168.1.22 DST=239.255.255.250 LEN=32 TOS=0x10 PREC=0x80 TTL=1 ID=0 DF PROTO=2 
Jan 3 11:34:50 debian gnome-session[5517]: gnome-session-binary[5517]: WARNING: Could not parse desktop file xscreensaver.desktop or it references a not found TryExec binary
Jan 3 11:34:50 debian gnome-session-binary[5517]: WARNING: Could not parse desktop file xscreensaver.desktop or it references a not found TryExec binary
Jan 3 11:34:50 debian gnome-keyring-ssh.desktop[5546]: SSH_AUTH_SOCK=/run/user/1003/keyring/ssh
Jan 3 11:34:52 debian gnome-shell[5551]: Can't initialize KMS backend: could not find drm kms device
Jan 3 11:34:52 debian gnome-session[5517]: gnome-session-binary[5517]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jan 3 11:34:52 debian gnome-session-binary[5517]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jan 3 11:34:52 debian gnome-session-binary[5517]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jan 3 11:34:52 debian sddm-greeter[5344]: The X11 connection broke: I/O error (code 1)

```

Une mise à jour a du casser l’environnement car fut un temps ça marchait

```auto
root@debian:/# apt list *wayland* -a | grep install

ibus-wayland/testing,now 1.5.17-1 amd64 [installé]
libva-wayland2/testing,unstable,now 2.0.0-2 amd64 [installé, automatique]
libwayland-client0/testing,unstable,now 1.14.0-1+b1 amd64 [installé, automatique]
libwayland-cursor0/testing,unstable,now 1.14.0-1+b1 amd64 [installé]
libwayland-egl1-mesa/testing,now 17.2.5-1 amd64 [installé, automatique]
libwayland-server0/testing,unstable,now 1.14.0-1+b1 amd64 [installé, automatique]
wayland-protocols/testing,testing,unstable,unstable,now 1.11-1 all [installé]
xwayland/testing,unstable,now 2:1.19.5-1 amd64 [installé, automatique]
root@debian:/# 

```

```auto
root@debian:/# uname --all
Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux
root@debian:/# 

```

````auto
debian:~$ gnome-shell --version
GNOME Shell 3.26.2
```

Ce qui est bizarre c'est que la session weston -wayland s'ouvre bien.
Mais je ne peux rien en faire il n'y a qu'une xterm

c'est bien le couple gnome-shell 3.26 + wayland qui veut plus jouer
````

---

<div class="post-metadata">

**Author:** ![jcsm33](https://www.debian-fr.org/user_avatar/www.debian-fr.org/jcsm33/32/3832_2.png) [@jcsm33](https://www.debian-fr.org/u/jcsm33)\
**Post date:** [Janvier 3, 2018, 1:55 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/2 "2018-01-03T13:55:49Z")

</div>

Salut,

N’est-ce pas kms le nœud du problème ?

> [@grandtoubab](#):
>
> > ```
> > Jan 3 11:34:52 debian gnome-shell[5551]: Can't initialize KMS backend: could not find drm kms device
> > 
> > ```

EDIT

Est-ce la version 3.26.2-2 du paquet gnome-shell ?

```
* Enable all hardening flags

```

EDIT 2

Dernier suspect : sddm. Le problème apparaît-il avec gdm ?

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 3, 2018, 2:46 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/3 "2018-01-03T14:46:52Z")

</div>

kms est ok

```auto
 cat /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
# KMS
drm
radeon modeset=1

```

```auto
debian kernel: [2.136292] [drm] radeon kernel modesetting enabled.
debian kernel: [2.150652] [drm] initializing kernel modesetting (RS880 0x1002:0x9712 0x103C:0x1443 0x00).

```

et j’ai bien les modules

```auto
root@debian:/etc/modprobe.d# lsmod | grep radeon
radeon 1474560 13
i2c_algo_bit 16384 1 radeon
ttm 98304 1 radeon
drm_kms_helper 163840 1 radeon
drm 376832 7 radeon,ttm,drm_kms_helper
root@debian:/etc/modprobe.d# lsmod | grep drm
drm_kms_helper 163840 1 radeon
drm 376832 7 radeon,ttm,drm_kms_helper

```

```auto
 apt list gnome-shell
En train de lister... Fait
gnome-shell/testing,unstable,now 3.26.2-2 amd64 [installé]

```

c’est idem avec gdm

En fait j’utilise sddm et gnome-shell/xorg donc c’est pas bloquant et comme j’utilise très peu wayland je ne sais pas depuis quand ça ne marche plus

le bug est surement celui-la  
an 3 11:34:52 debian gnome-session-binary[5517]: Unrecoverable failure in required component org.gnome.Shell.desktop

mais où?

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 4, 2018, 5:31 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/4 "2018-01-04T17:31:41Z")

</div>

il y a deux choix possible pour la carte graphique

````auto
lspci -nnk | grep -A2 VGA
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712]
	Subsystem: Hewlett-Packard Company RS880M [Mobility Radeon HD 4225/4250] [103c:1443]
	Kernel driver in use: radeon
--
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0]
	Subsystem: Hewlett-Packard Company Park [Mobility Radeon HD 5430/5450/5470] [103c:1443]
	Kernel driver in use: radeon
```

je voudrais n'utiliser que la deuxième 02:00.0 , comment faire pour blacklister facilement 01:05.0 ?
````

---

<div class="post-metadata">

**Author:** ![jcsm33](https://www.debian-fr.org/user_avatar/www.debian-fr.org/jcsm33/32/3832_2.png) [@jcsm33](https://www.debian-fr.org/u/jcsm33)\
**Post date:** [Janvier 4, 2018, 5:45 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/5 "2018-01-04T17:45:15Z")

</div>

Est-ce que vga\_switcheroo peut aider ?

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 4, 2018, 7:27 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/6 "2018-01-04T19:27:55Z")

</div>

> [@jcsm33](#):
>
> Est-ce que vga\_switcheroo peut aider ?

D’après ce que je comprends c’est un systeme de bascule après le démarrage

> **[Open Ecosystem](https://www.intel.com/content/www/us/en/developer/topic-technology/open/overview.html)**
>
> Access technologies from partnerships with the community and leaders. Everything open source at Intel. We have a lot to share and a lot to learn.

lè je vois que c’est la gpu 01:05.0 qui est en fonction

```auto
sudo cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:01:05.0
1:DIS: :DynPwr:0000:02:00.0

```

ce que je voulais essayer c’est de tromper le noyau pour qu’il se comporte comme si un seul équipement existait

je vais voir du coté de [I Challenge Thee](https://packages.debian.org/buster/acpi-call-dkms)  
il y a un exemple qui m’interesse /usr/share/doc/acpi-call-dkms/examples/turn\_off\_gpu.sh

donc quand je lance

root@debian:/usr/share/doc/acpi-call-dkms/examples# ./turn\_off\_gpu.sh

il me fait plein de failed et un

```auto
Trying \_SB.PCI0.AGP.VGA.PX02: ./turn_off_gpu.sh: ligne 39: avertissement :command substitution: ignored null byte in input
works!

```

ce qui a change le résultat de lspci

```auto
 lspci | grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] (rev ff)

```

rev ff voulant dire desactivée? selon [Disabling Discrete GPU in Debian GNU/Linux Wheezy | Gary's Blog](https://garyservin.wordpress.com/2012/01/06/disabling-discrete-gpu-in-debian-gnulinux-wheezy/)

a suivre  
Vendredi 5 janvier:  
Même dans ces conditions avec il seul gpu, wayland ne s’ouvre pas, je vais attendre les prochaines m-a-j de gnome-shell et xwayland

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 31, 2018, 10:28 UTC](https://www.debian-fr.org/t/la-session-gnome-wayland-ne-souvre-plus/75532/7 "2018-01-31T10:28:52Z")

</div>

A chaque fois que je vois passer des mise à jour gnome-shell ou wayland, je retente ma chance mais pas moyen, la session wayland ne veut pas jouer.  
Même Ubuntu considère que ce n’est pas mature et revient à Xorg par défaut

> **[Ubuntu Drops Wayland, Switches back to Xorg - OMG! Ubuntu](https://www.omgubuntu.co.uk/2018/01/xorg-will-default-display-server-ubuntu-18-04-lts)**
>
> Ubuntu 18.04 LTS will come with the Xorg display server enabled by default. Canonical cites stability and reliability concerns over Wayland as reason for the change.
