#1 Le 02/04/2025, à 12:43
- MorisGoudin26
Ecran noir du jour au lendemain [RESOLU]
Bonjour, je me permets de me greffer sur ce poste car mon problème semble être un peu similaire. J'ai un paquet qui semble bloquer l'installation du noyau 6.8.0-57. Voila les retours de commande:
sudo apt install -f
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
acpid alien at bpfcc-tools bpftrace ieee-data intel-microcode iucode-tool libbpfcc libclang-cpp18 libclang1-18 libfsverity0 libilmbase25 libjpeg62 libllvm18 libopencolorio1v5 libopenexr25 libraw20 librpm9t64 librpmbuild9t64 librpmio9t64 librpmsign9t64 libtiff5
libwireplumber-0.4-0 libyaml-cpp0.7 linux-headers-6.8.0-56 linux-headers-6.8.0-56-generic linux-lowlatency-headers-5.15.0-135 mailcap pax python3-bpfcc python3-netaddr qpwgraph rpm rpm-common rpm2cpio rtmpdump thermald ubuntu-kernel-accessories
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 4 non mis à jour.
4 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de linux-headers-6.8.0-57-lowlatency (6.8.0-57.59.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-57-lowlatency
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel build directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel source version... 6.8.0-57-lowlatency
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/compiler_attributes.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for linux/mmap_lock.h... yes
checking for linux/pci-p2pdma.h... yes
checking for linux/dma-attrs.h... no
checking for linux/mem_encrypt.h... yes
checking for linux/dma-buf-map.h... no
checking for linux/processor.h... yes
checking for drm/drm_backport.h... no
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_auth.h... yes
checking for drm/drm_irq.h... no
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_debugfs.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/drm_vblank.h... yes
checking for drm/drm_device.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_hdcp.h... no
checking for drm/drm_audio_component.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drmP.h... no
checking for drm/task_barrier.h... yes
checking for drm/drm_managed.h... yes
checking for drm/amd_asic_type.h... yes
checking for drm/drm_aperture.h... yes
checking for linux/pgtable.h... yes
checking for drm/drm_simple_kms_helper.h... yes
checking for supported chips... done
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-57-lowlatency -j8 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.8.0-57-lowlatency/build M=/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-57-lowlatency (x86_64)
Consult /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log for more information.
dkms autoinstall on 6.8.0-57-lowlatency/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-57-lowlatency
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-headers-6.8.0-57-lowlatency (--configure) :
le sous-processus paquet linux-headers-6.8.0-57-lowlatency script post-installation installé a renvoyé un état de sortie d'erreur 11
Paramétrage de linux-headers-6.8.0-57-generic (6.8.0-57.59) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-57-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-6.8.0-57-generic
checking kernel build directory... /usr/src/linux-headers-6.8.0-57-generic
checking kernel source version... 6.8.0-57-generic
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/compiler_attributes.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for linux/mmap_lock.h... yes
checking for linux/pci-p2pdma.h... yes
checking for linux/dma-attrs.h... no
checking for linux/mem_encrypt.h... yes
checking for linux/dma-buf-map.h... no
checking for linux/processor.h... yes
checking for drm/drm_backport.h... no
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_auth.h... yes
checking for drm/drm_irq.h... no
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_debugfs.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/drm_vblank.h... yes
checking for drm/drm_device.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_hdcp.h... no
checking for drm/drm_audio_component.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drmP.h... no
checking for drm/task_barrier.h... yes
checking for drm/drm_managed.h... yes
checking for drm/amd_asic_type.h... yes
checking for drm/drm_aperture.h... yes
checking for linux/pgtable.h... yes
checking for drm/drm_simple_kms_helper.h... yes
checking for supported chips... done
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-57-generic -j8 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.8.0-57-generic/build M=/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-57-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log for more information.
dkms autoinstall on 6.8.0-57-generic/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-57-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-headers-6.8.0-57-generic (--configure) :
le sous-processus paquet linux-headers-6.8.0-57-generic script post-installation installé a renvoyé un état de sortie d'erreur 11
Paramétrage de linux-image-6.8.0-57-lowlatency (6.8.0-57.59.1) ...
dpkg: des problèmes de dépendances empêchent la configuration de linux-headers-generic :
linux-headers-generic dépend de linux-headers-6.8.0-57-generic; cependant :
Le paquet linux-headers-6.8.0-57-generic n'est pas encore configuré.
dpkg: erreur de traitement du paquet linux-headers-generic (--configure) :
problèmes de dépendances - laissé non configuré
Aucun rapport « apport » n'a été créé car le message d'erreur indique une erreur consécutive à un échec précédent.
Traitement des actions différées (« triggers ») pour linux-image-6.8.0-57-lowlatency (6.8.0-57.59.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-57-lowlatency
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel build directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel source version... 6.8.0-57-lowlatency
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/compiler_attributes.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for linux/mmap_lock.h... yes
checking for linux/pci-p2pdma.h... yes
checking for linux/dma-attrs.h... no
checking for linux/mem_encrypt.h... yes
checking for linux/dma-buf-map.h... no
checking for linux/processor.h... yes
checking for drm/drm_backport.h... no
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_auth.h... yes
checking for drm/drm_irq.h... no
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_debugfs.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/drm_vblank.h... yes
checking for drm/drm_device.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_hdcp.h... no
checking for drm/drm_audio_component.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drmP.h... no
checking for drm/task_barrier.h... yes
checking for drm/drm_managed.h... yes
checking for drm/amd_asic_type.h... yes
checking for drm/drm_aperture.h... yes
checking for linux/pgtable.h... yes
checking for drm/drm_simple_kms_helper.h... yes
checking for supported chips... done
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-57-lowlatency -j8 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.8.0-57-lowlatency/build M=/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-57-lowlatency (x86_64)
Consult /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log for more information.
dkms autoinstall on 6.8.0-57-lowlatency/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-57-lowlatency
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-image-6.8.0-57-lowlatency (--configure) :
le sous-processus paquet linux-image-6.8.0-57-lowlatency script post-installation installé a renvoyé un état de sortie d'erreur 11
Aucun rapport « apport » écrit car MaxReports a déjà été atteint
Des erreurs ont été rencontrées pendant l'exécution :
linux-headers-6.8.0-57-lowlatency
linux-headers-6.8.0-57-generic
linux-headers-generic
linux-image-6.8.0-57-lowlatency
E: Sub-process /usr/bin/dpkg returned an error code (1)
et
cat /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log
DKMS make.log for amdgpu-5.13.20.22.10-1411481 for kernel 6.8.0-57-lowlatency (x86_64)
mer. 02 avril 2025 12:15:45 CEST
make : on entre dans le répertoire « /usr/src/linux-headers-6.8.0-57-lowlatency »
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/Makefile:16: *** dma_resv->seq is missing., exit.... Arrêt.
make[1]: *** [/usr/src/linux-headers-6.8.0-57-lowlatency/Makefile:1925 : /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build] Erreur 2
make: *** [Makefile:240 : __sub-make] Erreur 2
make : on quitte le répertoire « /usr/src/linux-headers-6.8.0-57-lowlatency »
Je précise que je n'ai pas de carte graphique amd mais une puce intel intégrée.
Merci pour votre aide.
Dernière modification par MorisGoudin26 (Le 03/04/2025, à 11:37)
Hors ligne
#2 Le 02/04/2025, à 12:49
- xubu1957
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour,
Nota : notre Modération a scindé le fil > [Résolu] Ecran noir du jour au lendemain
===========
Montre la carte graphique :
lspci -vnn | grep -A 12 '\''[030[02]\]' | grep -Ei "vga|3d|display|kernel"
uname -a
et :
echo $XDG_SESSION_TYPE
pour voir si c'est Wayland ou x11, en te servant du Retour utilisable de commande.
Dernière modification par xubu1957 (Le 02/04/2025, à 19:06)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 02/04/2025, à 12:58
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Merci du coup de main!
lspci -vnn | grep -A 12 '\''[030[02]\]' | grep -Ei "vga|3d|display|kernel"
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
Kernel driver in use: i915
Kernel modules: i915
Linux simon-Fixe 6.8.0-56-lowlatency #58.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Feb 20 09:27:10 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
echo $XDG_SESSION_TYPE
x11
Hors ligne
#4 Le 02/04/2025, à 13:04
- xubu1957
Re : Ecran noir du jour au lendemain [RESOLU]
Vu les nombreuses anomalies dans Disparition des bordures de fenêtre apres MAJ vers Ubuntu-Studio 24.04
Fournis les retours de :
sudo apt update
et d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#5 Le 02/04/2025, à 13:08
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
simon@simon-Fixe:~$ sudo apt update
[sudo] Mot de passe de simon :
Atteint :1 http://fr.archive.ubuntu.com/ubuntu noble InRelease
Réception de :2 http://fr.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Atteint :3 http://security.ubuntu.com/ubuntu noble-security InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu noble-backports InRelease
Réception de :5 http://fr.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [446 kB]
Réception de :6 http://fr.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [979 kB]
Réception de :7 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [633 kB]
Réception de :8 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1046 kB]
3231 ko réceptionnés en 2s (1884 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
4 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
simon@simon-Fixe:~$ 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=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-========================================================-===========================================-============-============================================================================================
iF linux-headers-6.8.0-57-generic 6.8.0-57.59 amd64 Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
iF linux-headers-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64 Linux kernel headers for version 6.8.0 on 64 bit x86 SMP
iU linux-headers-generic 6.8.0-57.59 amd64 Generic Linux kernel headers
rc linux-image-5.15.0-135-lowlatency 5.15.0-135.146 amd64 Signed kernel image lowlatency
iF linux-image-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64 Signed kernel image lowlatency
rc linux-modules-5.15.0-135-lowlatency 5.15.0-135.146 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
Puis celle ci au cas où...
apt list --upgradable
En train de lister... Fait
obs-studio/noble-backports 30.2.3+dfsg-1~bpo24.04.1 amd64 [pouvant être mis à jour depuis : 30.2.3-0obsproject1~jammy]
xserver-common/noble-updates,noble-updates 2:21.1.12-1ubuntu1.3 all [pouvant être mis à jour depuis : 2:21.1.12-1ubuntu1.2]
xserver-xorg-core/noble-updates 2:21.1.12-1ubuntu1.3 amd64 [pouvant être mis à jour depuis : 2:21.1.12-1ubuntu1.2]
xserver-xorg-legacy/noble-updates 2:21.1.12-1ubuntu1.3 amd64 [pouvant être mis à jour depuis : 2:21.1.12-1ubuntu1.2]
Hors ligne
#6 Le 02/04/2025, à 13:13
- xubu1957
Re : Ecran noir du jour au lendemain [RESOLU]
Fournis 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)"
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#7 Le 02/04/2025, à 13:14
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Les voici:
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)"
ii linux-lowlatency-headers-5.15.0-135 5.15.0-135.146 all
ii linux-headers-6.8.0-56 6.8.0-56.58 all
ii linux-lowlatency-headers-6.8.0-56 6.8.0-56.58.1 all
ii linux-headers-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-image-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-lowlatency-tools-6.8.0-56 6.8.0-56.58.1 amd64
ii linux-modules-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-tools-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-headers-6.8.0-57 6.8.0-57.59 all
ii linux-tools-common 6.8.0-57.59 all
iF linux-headers-6.8.0-57-generic 6.8.0-57.59 amd64
iU linux-headers-generic 6.8.0-57.59 amd64
ii linux-lowlatency-headers-6.8.0-57 6.8.0-57.59.1 all
iF linux-headers-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
iF linux-image-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
ii linux-lowlatency-tools-6.8.0-57 6.8.0-57.59.1 amd64
ii linux-modules-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
ii linux-tools-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
Noyau courant : 6.8.0-56-lowlatency x86_64
Hors ligne
#8 Le 02/04/2025, à 13:19
- xubu1957
Re : Ecran noir du jour au lendemain [RESOLU]
Montre aussi :
echo -e "\nDescription : $(lsb_release -sd)\n\nNoyau courant : $(uname -mr)\n\nVersion originellement installée : $(cat /var/log/installer/media-info)\n\nSession actuelle : $XDG_SESSION_DESKTOP\n\nBureau actuel : $XDG_CURRENT_DESKTOP\n\nListe des sessions possibles :\n$(ls -lt /usr/share/xsessions | awk '/desktop/{print $9,"→",$7,$6,$8}')\n"
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#9 Le 02/04/2025, à 13:29
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Description : Ubuntu 24.04.2 LTS
Noyau courant : 6.8.0-56-lowlatency x86_64
Version originellement installée : Ubuntu-Studio 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Session actuelle : XFCE
Bureau actuel : XFCE
Liste des sessions possibles :
plasma.desktop → 23 janv. 13:04
cairo-dock-compiz.desktop → 31 mars 2024
cairo-dock-metacity.desktop → 31 mars 2024
xfce.desktop → 31 mars 2024
Hors ligne
#10 Le 02/04/2025, à 13:31
- xubu1957
Re : Ecran noir du jour au lendemain [RESOLU]
sudo dpkg --configure -a
donne quoi ?
Je dois m'absenter pour raison familiale.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#11 Le 02/04/2025, à 13:52
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Même résultat que apt install -f il me semble
sudo dpkg --configure -a
[sudo] Mot de passe de simon :
Paramétrage de linux-headers-6.8.0-57-lowlatency (6.8.0-57.59.1) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-57-lowlatency
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel build directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel source version... 6.8.0-57-lowlatency
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/compiler_attributes.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for linux/mmap_lock.h... yes
checking for linux/pci-p2pdma.h... yes
checking for linux/dma-attrs.h... no
checking for linux/mem_encrypt.h... yes
checking for linux/dma-buf-map.h... no
checking for linux/processor.h... yes
checking for drm/drm_backport.h... no
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_auth.h... yes
checking for drm/drm_irq.h... no
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_debugfs.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/drm_vblank.h... yes
checking for drm/drm_device.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_hdcp.h... no
checking for drm/drm_audio_component.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drmP.h... no
checking for drm/task_barrier.h... yes
checking for drm/drm_managed.h... yes
checking for drm/amd_asic_type.h... yes
checking for drm/drm_aperture.h... yes
checking for linux/pgtable.h... yes
checking for drm/drm_simple_kms_helper.h... yes
checking for supported chips... done
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-57-lowlatency -j8 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.8.0-57-lowlatency/build M=/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-57-lowlatency (x86_64)
Consult /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log for more information.
dkms autoinstall on 6.8.0-57-lowlatency/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-57-lowlatency
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-headers-6.8.0-57-lowlatency (--configure) :
le sous-processus paquet linux-headers-6.8.0-57-lowlatency script post-installation installé a renvoyé un état de sortie d'erreur 11
Paramétrage de linux-headers-6.8.0-57-generic (6.8.0-57.59) ...
/etc/kernel/header_postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-57-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-6.8.0-57-generic
checking kernel build directory... /usr/src/linux-headers-6.8.0-57-generic
checking kernel source version... 6.8.0-57-generic
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/compiler_attributes.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for linux/mmap_lock.h... yes
checking for linux/pci-p2pdma.h... yes
checking for linux/dma-attrs.h... no
checking for linux/mem_encrypt.h... yes
checking for linux/dma-buf-map.h... no
checking for linux/processor.h... yes
checking for drm/drm_backport.h... no
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_auth.h... yes
checking for drm/drm_irq.h... no
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_debugfs.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/drm_vblank.h... yes
checking for drm/drm_device.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_hdcp.h... no
checking for drm/drm_audio_component.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drmP.h... no
checking for drm/task_barrier.h... yes
checking for drm/drm_managed.h... yes
checking for drm/amd_asic_type.h... yes
checking for drm/drm_aperture.h... yes
checking for linux/pgtable.h... yes
checking for drm/drm_simple_kms_helper.h... yes
checking for supported chips... done
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-57-generic -j8 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.8.0-57-generic/build M=/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-57-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log for more information.
dkms autoinstall on 6.8.0-57-generic/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-57-generic
...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-headers-6.8.0-57-generic (--configure) :
le sous-processus paquet linux-headers-6.8.0-57-generic script post-installation installé a renvoyé un état de sortie d'erreur 11
Paramétrage de linux-image-6.8.0-57-lowlatency (6.8.0-57.59.1) ...
dpkg: des problèmes de dépendances empêchent la configuration de linux-headers-generic :
linux-headers-generic dépend de linux-headers-6.8.0-57-generic; cependant :
Le paquet linux-headers-6.8.0-57-generic n'est pas encore configuré.
dpkg: erreur de traitement du paquet linux-headers-generic (--configure) :
problèmes de dépendances - laissé non configuré
Traitement des actions différées (« triggers ») pour linux-image-6.8.0-57-lowlatency (6.8.0-57.59.1) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 6.8.0-57-lowlatency
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Running the pre_build script:
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking kernel source directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel build directory... /usr/src/linux-headers-6.8.0-57-lowlatency
checking kernel source version... 6.8.0-57-lowlatency
checking kernel file name for module symbols... Module.symvers
checking for linux/overflow.h... yes
checking for linux/sched/mm.h... yes
checking for linux/sched/task.h... yes
checking for linux/sched/signal.h... yes
checking for linux/nospec.h... yes
checking for linux/bits.h... yes
checking for linux/io-64-nonatomic-lo-hi.h... yes
checking for asm/set_memory.h... yes
checking for asm/fpu/api.h... yes
checking for uapi/linux/sched/types.h... yes
checking for linux/compiler_attributes.h... yes
checking for linux/dma-fence.h... yes
checking for linux/dma-resv.h... yes
checking for linux/mmap_lock.h... yes
checking for linux/pci-p2pdma.h... yes
checking for linux/dma-attrs.h... no
checking for linux/mem_encrypt.h... yes
checking for linux/dma-buf-map.h... no
checking for linux/processor.h... yes
checking for drm/drm_backport.h... no
checking for drm/amdgpu_pciid.h... no
checking for drm/drm_auth.h... yes
checking for drm/drm_irq.h... no
checking for drm/drm_connector.h... yes
checking for drm/drm_encoder.h... yes
checking for drm/drm_plane.h... yes
checking for drm/drm_print.h... yes
checking for drm/drm_drv.h... yes
checking for drm/drm_file.h... yes
checking for drm/drm_debugfs.h... yes
checking for drm/drm_ioctl.h... yes
checking for drm/drm_vblank.h... yes
checking for drm/drm_device.h... yes
checking for drm/drm_gem_framebuffer_helper.h... yes
checking for drm/drm_hdcp.h... no
checking for drm/drm_audio_component.h... yes
checking for drm/drm_util.h... yes
checking for drm/drm_atomic_uapi.h... yes
checking for drm/drm_probe_helper.h... yes
checking for drm/drmP.h... no
checking for drm/task_barrier.h... yes
checking for drm/drm_managed.h... yes
checking for drm/amd_asic_type.h... yes
checking for drm/drm_aperture.h... yes
checking for linux/pgtable.h... yes
checking for drm/drm_simple_kms_helper.h... yes
checking for supported chips... done
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h
Building module:
Cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=6.8.0-57-lowlatency -j8 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.8.0-57-lowlatency/build M=/var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 6.8.0-57-lowlatency (x86_64)
Consult /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log for more information.
dkms autoinstall on 6.8.0-57-lowlatency/x86_64 failed for amdgpu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.8.0-57-lowlatency
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: erreur de traitement du paquet linux-image-6.8.0-57-lowlatency (--configure) :
le sous-processus paquet linux-image-6.8.0-57-lowlatency script post-installation installé a renvoyé un état de sortie d'erreur 11
Des erreurs ont été rencontrées pendant l'exécution :
linux-headers-6.8.0-57-lowlatency
linux-headers-6.8.0-57-generic
linux-headers-generic
linux-image-6.8.0-57-lowlatency
Je dois m'absenter pour raison familiale
Pas de souci, et merci encore pour l'aide!
Hors ligne
#12 Le 02/04/2025, à 14:10
- geole
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour, je me permets de me greffer sur ce poste car mon problème semble être un peu similaire. J'ai un paquet qui semble bloquer l'installation du noyau 6.8.0-57.
cat /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/make.log DKMS make.log for amdgpu-5.13.20.22.10-1411481 for kernel 6.8.0-57-lowlatency (x86_64) mer. 02 avril 2025 12:15:45 CEST make : on entre dans le répertoire « /usr/src/linux-headers-6.8.0-57-lowlatency » warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/Makefile:16: *** dma_resv->seq is missing., exit.... Arrêt. make[1]: *** [/usr/src/linux-headers-6.8.0-57-lowlatency/Makefile:1925 : /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build] Erreur 2 make: *** [Makefile:240 : __sub-make] Erreur 2 make : on quitte le répertoire « /usr/src/linux-headers-6.8.0-57-lowlatency »
Bonjour.
Donne le retour de
cat -n /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/Makefile
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
Je défie QUICONQUE de trouver une discussion où j'aurais suggéré de remplacer un SSD par un disque dur.
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
En ligne
#13 Le 02/04/2025, à 14:12
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour,
cat -n /var/lib/dkms/amdgpu/5.13.20.22.10-1411481/build/Makefile
1 ifndef CONFIG_DRM
2 $(error CONFIG_DRM disabled, exit...)
3 endif
4
5 ifeq (y,$(CONFIG_DRM_AMDGPU))
6 $(error DRM_AMDGPU is built-in, exit...)
7 endif
8
9 ifndef CONFIG_KALLSYMS
10 $(error CONFIG_KALLSYMS disabled, kallsyms_lookup_name() is absent, exit...)
11 endif
12
13 _is_kcl_macro_defined=$(shell grep $1 $(src)/amd/dkms/config/config.h | grep -q "define" && echo "y" || echo "n")
14
15 ifeq ($(call _is_kcl_macro_defined,HAVE_DMA_RESV_SEQ),n)
16 $(error dma_resv->seq is missing., exit...)
17 endif
18
19 ifdef CONFIG_CC_IS_GCC
20 GCCMAJ=$(shell echo __GNUC__ | $(CC) -E -x c - | tail -n 1)
21 GCCMIN=$(shell echo __GNUC_MINOR__ | $(CC) -E -x c - | tail -n 1)
22 GCCPAT=$(shell echo __GNUC_MINOR__ | $(CC) -E -x c - | tail -n 1)
23 # CONFIG_GCC_VERSION returns x.xx.xx as the version format
24 GCCSTR=$(shell printf "%d%02d%02d" $(GCCMAJ) $(GCCMIN) $(GCCPAT))
25 ifeq ($(shell [ $(CONFIG_GCC_VERSION) -ne $(GCCSTR) ] && echo y), y)
26 $(warning "Local GCC version $(GCCSTR) does not match kernel compiler GCC version $(CONFIG_GCC_VERSION)")
27 $(warning "This may cause unexpected and hard-to-isolate compiler-related issues")
28 endif
29 endif
30
31 DRM_VER=$(shell sed -n 's/^RHEL_DRM_VERSION = \(.*\)/\1/p' $(srctree)/Makefile)
32 DRM_PATCH=$(shell sed -n 's/^RHEL_DRM_PATCHLEVEL = \(.*\)/\1/p' $(srctree)/Makefile)
33 ifeq ($(DRM_VER),)
34 DRM_VER = $(VERSION)
35 DRM_PATCH = $(PATCHLEVEL)
36 endif
37
38 subdir-ccflags-y += \
39 -DDRM_VER=$(DRM_VER) \
40 -DDRM_PATCH=$(DRM_PATCH) \
41 -DDRM_SUB="0"
42
43 define get_rhel_version
44 printf "#include <linux/version.h>\n$(1)" | $(CC) $(LINUXINCLUDE) -E -x c - | tail -n 1 | grep -v $(1)
45 endef
46 RHEL_MAJOR := $(shell $(call get_rhel_version,RHEL_MAJOR))
47 RHEL_MINOR := $(shell $(call get_rhel_version,RHEL_MINOR))
48
49 ifneq (,$(RHEL_MAJOR))
50 OS_NAME = "rhel"
51 OS_VERSION = "$(RHEL_MAJOR).$(RHEL_MINOR)"
52 else ifneq (,$(wildcard /etc/os-release))
53 OS_NAME = "$(shell sed -n 's/^ID=\(.*\)/\1/p' /etc/os-release | tr -d '\"')"
54 # On CentOS/RHEL, users could have installed a kernel not distributed from RHEL
55 ifeq ("centos",$(OS_NAME))
56 OS_NAME="custom-rhel"
57 else ifeq ("rhel",$(OS_NAME))
58 OS_NAME="custom-rhel"
59 else ifeq ("linuxmint",$(OS_NAME))
60 OS_NAME="ubuntu"
61 endif
62 OS_VERSION = $(shell sed -n 's/^VERSION_ID=\(.*\)/\1/p' /etc/os-release)
63 else
64 OS_NAME = "unknown"
65 OS_VERSION = "0.0"
66 endif
67
68 OS_VERSION_STR = $(subst .,_,$(OS_VERSION))
69
70 ifeq ("ubuntu",$(OS_NAME))
71 subdir-ccflags-y += -DOS_NAME_UBUNTU
72 else ifeq ("rhel",$(OS_NAME))
73 subdir-ccflags-y += -DOS_NAME_RHEL
74 else ifeq ("steamos",$(OS_NAME))
75 subdir-ccflags-y += -DOS_NAME_STEAMOS
76 else ifeq ("sled",$(OS_NAME))
77 subdir-ccflags-y += -DOS_NAME_SLE
78 else ifeq ("sles",$(OS_NAME))
79 subdir-ccflags-y += -DOS_NAME_SLE
80 else ifeq ("amzn",$(OS_NAME))
81 subdir-ccflags-y += -DOS_NAME_AMZ
82 else ifeq ("debian",$(OS_NAME))
83 subdir-ccflags-y += -DOS_NAME_DEBIAN
84 else
85 subdir-ccflags-y += -DOS_NAME_UNKNOWN
86 endif
87
88 subdir-ccflags-y += \
89 -DOS_VERSION_MAJOR=$(shell echo $(OS_VERSION).0 | cut -d. -f1) \
90 -DOS_VERSION_MINOR=$(shell echo $(OS_VERSION).0 | cut -d. -f2)
91
92 ifeq ($(OS_NAME),"opensuse-leap")
93 subdir-ccflags-y += -DOS_NAME_SUSE_$(OS_VERSION_STR)
94 endif
95
96 ifeq ($(OS_NAME),"sled")
97 subdir-ccflags-y += -DOS_NAME_SUSE_$(OS_VERSION_STR)
98 endif
99
100 ifeq ($(OS_NAME),"sles")
101 subdir-ccflags-y += -DOS_NAME_SUSE_$(OS_VERSION_STR)
102 endif
103
104 ifeq ($(OS_NAME),"ubuntu")
105 OS_BUILD_NUM = $(shell echo $(KERNELRELEASE) | cut -d '-' -f 2)
106 subdir-ccflags-y += -DUBUNTU_BUILD_NUM=$(OS_BUILD_NUM)
107 OS_OEM = "$(shell echo $(KERNELRELEASE) | cut -d '-' -f 3)"
108 ifeq ($(OS_OEM),"oem")
109 subdir-ccflags-y += -DOS_NAME_UBUNTU_OEM
110 endif
111 subdir-ccflags-y += -DOS_NAME_UBUNTU_$(OS_VERSION_STR)
112 endif
113
114 ifeq ($(OS_NAME),"rhel")
115 subdir-ccflags-y += -DOS_NAME_RHEL_$(OS_VERSION_STR)
116
117 ifeq ($(RHEL_MAJOR),7)
118 subdir-ccflags-y += -DOS_NAME_RHEL_7_X \
119 -include /usr/src/kernels/$(KERNELRELEASE)/include/drm/drm_backport.h
120 else ifeq ($(RHEL_MAJOR),8)
121 subdir-ccflags-y += -DOS_NAME_RHEL_8_X
122 endif
123 endif
124
125 export OS_NAME OS_VERSION
126
127 _KCL_LINUXINCLUDE=$(subst -I ,-I,$(strip $(LINUXINCLUDE)))
128 LINUX_SRCTREE_INCLUDE := \
129 $(filter-out -I%/uapi "-include %/kconfig.h",$(_KCL_LINUXINCLUDE))
130 USER_INCLUDE := $(filter-out $(LINUX_SRCTREE_INCLUDE), $(_KCL_LINUXINCLUDE))
131
132 LINUXINCLUDE := \
133 -I$(src)/include \
134 -I$(src)/include/kcl/header \
135 -include $(src)/include/kcl/kcl_version.h \
136 -include $(src)/include/rename_symbol.h \
137 -include $(src)/amd/dkms/config/config.h \
138 $(LINUX_SRCTREE_INCLUDE) \
139 -I$(src)/include/uapi \
140 -I$(src)/include/kcl/header/uapi \
141 $(USER_INCLUDE)
142
143 export CONFIG_HSA_AMD_AMDKCL=y
144 export CONFIG_DRM_TTM_AMDKCL=m
145 export CONFIG_DRM_TTM_DMA_PAGE_POOL=y
146 export CONFIG_DRM_AMDGPU=m
147 export CONFIG_DRM_SCHED_AMDKCL=m
148 export CONFIG_DRM_AMDGPU_CIK_AMDKCL=y
149 export CONFIG_DRM_AMDGPU_SI_AMDKCL=y
150 export CONFIG_DRM_AMDGPU_USERPTR_AMDKCL=y
151 export CONFIG_DRM_AMD_DC_AMDKCL=y
152 ifndef CONFIG_ARM64
153 export CONFIG_DRM_AMD_DC_DCN1_0_AMDKCL=y
154 endif
155
156 subdir-ccflags-y += -DCONFIG_HSA_AMD_AMDKCL
157 subdir-ccflags-y += -DCONFIG_DRM_TTM_DMA_PAGE_POOL
158 subdir-ccflags-y += -DCONFIG_DRM_AMDGPU_CIK_AMDKCL
159 subdir-ccflags-y += -DCONFIG_DRM_AMDGPU_SI_AMDKCL
160 subdir-ccflags-y += -DCONFIG_DRM_AMDGPU_USERPTR_AMDKCL
161 subdir-ccflags-y += -DCONFIG_DRM_AMD_DC_AMDKCL
162 ifndef CONFIG_ARM64
163 subdir-ccflags-y += -DCONFIG_DRM_AMD_DC_DCN1_0_AMDKCL
164 endif
165
166 ifeq ($(call _is_kcl_macro_defined,HAVE_AMDKCL_HMM_MIRROR_ENABLED),y)
167 ifdef CONFIG_DEVICE_PRIVATE
168 export CONFIG_HSA_AMD_SVM_AMDKCL=y
169 subdir-ccflags-y += -DCONFIG_HSA_AMD_SVM_AMDKCL
170 endif
171 endif
172
173 ifeq ($(call _is_kcl_macro_defined,HAVE_DRM_DRM_HDCP_H),y)
174 export CONFIG_DRM_AMD_DC_HDCP_AMDKCL=y
175 subdir-ccflags-y += -DCONFIG_DRM_AMD_DC_HDCP_AMDKCL
176 endif
177
178 # Trying to enable DCN2/3 with core2 optimizations will result in
179 # older versions of GCC hanging during building/installing. Check
180 # if the compiler is using core2 optimizations and only build DCN2/3
181 # if core2 isn't in the compiler flags
182 ifndef CONFIG_ARM64
183 ifeq ($(filter %core2, $(KBUILD_CFLAGS)),)
184 export CONFIG_DRM_AMD_DC_DCN2_x=y
185 export CONFIG_DRM_AMD_DC_DCN3_x=y
186 export CONFIG_DRM_AMD_DC_DCN201=y
187 subdir-ccflags-y += -DCONFIG_DRM_AMD_DC_DCN2_x
188 subdir-ccflags-y += -DCONFIG_DRM_AMD_DC_DCN3_x
189 subdir-ccflags-y += -DCONFIG_DRM_AMD_DC_DCN201
190 endif
191 endif
192
193 export CONFIG_DRM_TTM_HELPER=m
194 subdir-ccflags-y += -DCONFIG_DRM_TTM_HELPER
195 CFLAGS_drm_gem_ttm_helper.o += -include $(src)/ttm/backport/backport.h \
196 -include $(src)/include/kcl/backport/kcl_drm_gem.h \
197 -DHAVE_CONFIG_H
198 amddrm_ttm_helper-y := drm_gem_ttm_helper.o
199 obj-$(CONFIG_DRM_TTM_HELPER) += amddrm_ttm_helper.o
200
201 obj-m += scheduler/ amd/amdgpu/ ttm/ amd/amdkcl/
Hors ligne
#14 Le 02/04/2025, à 19:43
- nany
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour,
Je précise que je n'ai pas de carte graphique amd mais une puce intel intégrée.
La solution serait donc de désinstaller ce pilote amdgpu inutile et son dkms qui bloquent la mise à jour du noyau.
Hors ligne
#15 Le 02/04/2025, à 19:49
- ylag
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour,
Au message #7, on peut noter l'absence de méta-paquets requis pour l'installation correcte du noyau ...
Est-ce que le noyau lowlatency est nécessaire ?
A+
Dernière modification par ylag (Le 02/04/2025, à 19:53)
Hors ligne
#16 Le 02/04/2025, à 20:03
- nany
Re : Ecran noir du jour au lendemain [RESOLU]
Au message #7, on peut noter l'absence de méta-paquets requis pour l'installation correcte du noyau ...
Ah oui, aussi. Et il y a combinaison de XFCE et de plasma (résultat de la migration de 20.04 à 22.04).
Si ça ne tenait qu’à moi, je ferais une réinstallation toute neuve d’Ubuntu-studio 24.04.
Est-ce que le noyau lowlatency est nécessaire ?
C’est le noyau natif d’Ubuntu-studio donc je dirais oui.
Hors ligne
#17 Le 02/04/2025, à 20:59
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Bonsoir nany et ylag, merci de vous intéresser à mon problème.
Est-ce que le noyau lowlatency est nécessaire ?
Oui, c'est un noyau adapté à la MAO, c'est pour cela que j'ai opté pour la distribution Ubuntu-Studio.
Ah oui, aussi. Et il y a combinaison de XFCE et de plasma (résultat de la migration de 20.04 à 22.04).
Quand j'ai installé ubuntu-studio 20.04, au démarrage de session, il y avait déjà la possibilité de choisir entre xfce et plasma. (il me semble, mais souvenir un peu lointain...)
La solution serait donc de désinstaller ce pilote amdgpu inutile et son dkms qui bloquent la mise à jour du noyau.
C'est ce que je me suis dit, (d'autant que ce paquet s'est installé automatiquement, soit à la migration soit à l'installation initiale), mais j'ai eu peur de faire une connerie.
Dernière modification par MorisGoudin26 (Le 02/04/2025, à 21:01)
Hors ligne
#18 Le 02/04/2025, à 21:27
- nany
Re : Ecran noir du jour au lendemain [RESOLU]
nany a écrit :Ah oui, aussi. Et il y a combinaison de XFCE et de plasma (résultat de la migration de 20.04 à 22.04).
Quand j'ai installé ubuntu-studio 20.04, au démarrage de session, il y avait déjà la possibilité de choisir entre xfce et plasma. (il me semble, mais souvenir un peu lointain...)
Eh bien, ta mémoire te fait défaut. Ubuntu-studio 20.04 LTS était exclusivement sous XFCE.
Et je persiste à penser que la cohabitation des deux environnements rend le système bancal et qu’il vaudrait mieux réinstaller.
Hors ligne
#19 Le 02/04/2025, à 21:54
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Tu as raison, plasma est arrivé avec la 20.10. J'ai effectivement du passé par la 22.04 car j'utilisais plasma jusque là. Et ça marchait bien...
Pas moyen de faire autrement que de réinstaller?
Hors ligne
#20 Le 02/04/2025, à 22:07
- ylag
Re : Ecran noir du jour au lendemain [RESOLU]
Bonsoir,
Si tu ne réinstalles pas, il faudrait au minimum s'occuper des paquets de noyau, ça semble un peu bordélique au message #7 avec des paquets cassés et l'abscence du méta-paquet linux-lowlatency qui gère l'installation de ces noyaux lowlatency ...
Perso, j'aurais tendance à suivre l'avis de @nany concernant une réinstallation, sans y ajouter plusieurs environnements de bureau ...
A+
Dernière modification par ylag (Le 02/04/2025, à 22:11)
Hors ligne
#21 Le 02/04/2025, à 22:40
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Et je persiste à penser que la cohabitation des deux environnements rend le système bancal et qu’il vaudrait mieux réinstaller.
Ok, ça m'enchante pas mais je suis pas assez bon pour réparer tout ça. Donc réinstallation.
sans y ajouter plusieurs environnements de bureau
Pour le coup, j'y suis pour rien, c'est dû au passage de 20.04 à 22.04
En tout cas, merci à tous d'avoir tenter quelque chose pour m'aider:)
Dernière modification par MorisGoudin26 (Le 03/04/2025, à 11:03)
Hors ligne
#22 Le 03/04/2025, à 11:48
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Avant de tout réinstaller, j'ai fait une dernière tentative désespérée pour sauver mon système, j'ai supprimé les paquets liés à amdgpu
sudo apt remove --purge amdgpu-core
puis
sudo apt remove amdgpu-dkms*
et enfin
sudo apt install -f
pour installer les paquets qui bloquaient.
j'ai serré les fesses, redémarré et miracle, le noyau 6.8.0-57 fonctionne ainsi que la session plasma_X11.
Il faudrait peut être que maintenant que je purge tous les paquets liés à l'environnement XFCE, mais je sais pas trop comment m'y prendre et si c'est raisonnable vu que maintenant tout à l'air de marcher.
Belle journée à tous!
Hors ligne
#23 Le 03/04/2025, à 12:13
- ylag
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour,
Tant mieux si ça marche pour toi !
Pour vérification, redonne le résultat de la commande du message #7, ainsi que de :
sudo apt update
A+
Hors ligne
#24 Le 03/04/2025, à 15:56
- MorisGoudin26
Re : Ecran noir du jour au lendemain [RESOLU]
Bonjour Ylag,
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)"
ii linux-lowlatency-headers-6.8.0-56 6.8.0-56.58.1 all
ii linux-headers-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-image-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-lowlatency-tools-6.8.0-56 6.8.0-56.58.1 amd64
ii linux-modules-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-tools-6.8.0-56-lowlatency 6.8.0-56.58.1 amd64
ii linux-headers-6.8.0-57 6.8.0-57.59 all
ii linux-tools-common 6.8.0-57.59 all
ii linux-headers-6.8.0-57-generic 6.8.0-57.59 amd64
ii linux-headers-generic 6.8.0-57.59 amd64
ii linux-lowlatency-headers-6.8.0-57 6.8.0-57.59.1 all
ii linux-headers-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
ii linux-headers-lowlatency 6.8.0-57.59.1 amd64
ii linux-image-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
ii linux-image-lowlatency 6.8.0-57.59.1 amd64
ii linux-lowlatency 6.8.0-57.59.1 amd64
ii linux-lowlatency-tools-6.8.0-57 6.8.0-57.59.1 amd64
ii linux-modules-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
ii linux-tools-6.8.0-57-lowlatency 6.8.0-57.59.1 amd64
Noyau courant : 6.8.0-57-lowlatency x86_64
et
sudo apt update
[sudo] Mot de passe de simon :
Réception de :1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Atteint :2 http://fr.archive.ubuntu.com/ubuntu noble InRelease
Réception de :3 http://fr.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Réception de :4 http://fr.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Réception de :5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [8972 B]
Réception de :6 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Réception de :7 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [51,9 kB]
Réception de :8 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [446 kB]
Réception de :10 http://fr.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [980 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [151 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [633 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1049 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [365 kB]
Réception de :16 http://fr.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7080 B]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [15,7 kB]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
4088 ko réceptionnés en 2s (2179 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
7 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
Hors ligne
#25 Le 03/04/2025, à 21:03
- ylag
Re : Ecran noir du jour au lendemain [RESOLU]
Bonsoir,
Ces quatre paquets me semblent inutiles :
ii linux-headers-6.8.0-57 6.8.0-57.59 all
ii linux-tools-common 6.8.0-57.59 all
ii linux-headers-6.8.0-57-generic 6.8.0-57.59 amd64
ii linux-headers-generic 6.8.0-57.59 amd64
"7 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir."
Restera à faire la mise à jour.
A+
Hors ligne