Bonjour,

Mon PC fonctionnais bien en résolution 4K sur ma télé sous Ubuntu 18.04.
J'ai décidé de le basculer sous Ubuntu 20.04 et au redémarrage dans la session la résolution affiché n'est pas la bonne et elle est bloqué en 1920*1080 et pas moyen de la changer.

J'ai essayé 2 ou 3 trucs et là c'est pire, dés que j'ouvre un logiciel l'image clignote et ensuite ubuntu me demande de fermer ma session suite à un problème.

lspci -vnn | grep -A12 '\''[030[02]]' | grep -Ei "vga|3d|display|kernel"
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04) (prog-if 00 [VGA controller])
xrandr
Can't open display
uname -a
Linux Ubuntuplex 5.4.0-1035-gke #37-Ubuntu SMP Thu Jan 14 11:44:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=atte                            nd-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                                         Version                                                                                 Architecture Description
+++-===========================================================-================                            ===========================================-============-=======================                            ===============================================================================
J'ai l'impression que je n'ai pas le driver intel mais je ne sais pas comment l'installer.
Si une âme charitable passe par ici
Merci d'avance pour votre aide.
Bonjour,

Montre aussi :
xrandr
et les noyaux présents :
echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"
Tu l'as récupéré comment le noyau de cloud 5.4.0-1035-gke ?
jeanmario a écrit00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04) (prog-if 00 [VGA controller])
Regardes mon lien ça pourrait t'aider car tu utilise le driver Intel :

Si en plus tu as
Kernel driver in use: i915
Kernel modules: i915

Alors c'est ça le problème


https://forum.ubuntu-fr.org/viewtopic.php?id=2061044

Il faut passer en mode modesetting car les derniers kernel intègrent les drivers pour intel pour gérer le graphisme directement dans la carte mère sans avoir de carte video externe PCI par exemple.

Supprimé xserver-xorg-video-intel et xserver-xorg-video-nouveau

et on obtient DRI3
 xdpyinfo | grep DRI 
    DRI2
    DRI3
pour info :

Il faut tester :
inxi -G
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] driver: N/A 
  Display: x11 server: X.Org 1.20.9 driver: fbdev unloaded: modesetting,vesa 
  resolution: 1366x768~76Hz 
  OpenGL: renderer: llvmpipe (LLVM 11.0.0 256 bits) v: 4.5 Mesa 20.2.6 
lspci -nnk | grep -EA3 "3D|VGA"  
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
	Subsystem: ASUSTeK Computer Inc. Skylake GT2 [HD Graphics 520] [1043:1050]
	Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 08)
$ xdpyinfo | grep DRI 
    DRI2
https://packages.debian.org/en/sid/xserver-xorg-video-intel
Package: xserver-xorg-video-intel (2:2.99.917+git20200714-1 and others)
X.Org X server -- Intel i8xx, i9xx display driver

This package provides the driver for the Intel i8xx and i9xx family of chipsets, including i810, i815, i830, i845, i855, i865, i915, i945 and i965 series chips.

This package also provides XvMC (XVideo Motion Compensation) drivers for i810/i815 and i9xx and newer chipsets.

This package is built from the X.org xf86-video-intel driver module.

The use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use its builtin modesetting driver instead.
https://askubuntu.com/questions/1060034/switch-driver-to-modesetting-for-improved-opengl-support

https://askubuntu.com/questions/956759/changing-driver-into-modesetting

http://forums.debian.net/viewtopic.php?f=5&t=137330

https://www.askwoody.com/forums/topic/mesa-20-arrives-good-news-for-intel-graphics-users-on-linux/

https://wiki.archlinux.org/index.php/intel_graphics#Tear-free_video
Install the mesa package, which provides the DRI driver for 3D acceleration.

For 32-bit application support, also install the lib32-mesa package from the multilib repository.
For the DDX driver (which provides 2D acceleration in Xorg), install the xf86-video-intel package. (Often not recommended, see note below.)
For Vulkan support (Ivy Bridge and newer), install the vulkan-intel package.
DRI3 issues

DRI3 is the default DRI version in xf86-video-intel. On some systems this can cause issues such as this. To switch back to DRI2 add the following line to your configuration file:

Option "DRI" "2"

For the modesetting driver, this method of disabling DRI3 does not work. Instead, one can set the environment variable LIBGL_DRI3_DISABLE=1.