j'ai essayé ce que didierg a dis lancer ma session avec Gnome Xorg
# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x76 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 1: id: 0x3f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs: 0 associated providers: 1 name:modesetting
[root@localhost cornil]# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
DIS C'est ma GTX si je que comprend bien et dynOff signifie qu'elle s'activera si besoin
Et avec le logiciel de winmandrake le résultat est le suivant:
---- System ----
System: Linux 4.14.13-300.fc27.x86_64 x86_64
CPU: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz 1995MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX HTT x8
GPU: Unknown GPU x1
System memory: 7868 MB
Video memory: 256 MB
Sync threads: 7
Async threads: 8
GPU Unknown de 256MB je ne pense pas que c'est ma GTX ^^ donc au final elle ne s'est pas activé dans le besoin et pourtant le PC a donné tout ce qu'il pouvait pendant le test
Je vais tester ta solution Edouard_le_homard
[cornil@localhost ~]$ echo $XDG_SESSION_TYPE
wayland
[cornil@localhost ~]$ glxinfo | grep "OpenGL vendor string"
OpenGL vendor string: Intel Open Source Technology Center