Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/02/2021, à 22:52

Mistery24

Problèmes graphiques à cause de nomodeset

Bonjour,
J'ai un dell xps 15 9570, carte graphique nvidia gtx 1050-ti et intel hd-630.
J'ai réinstallé ubuntu 20.04 en dual-boot avec windows 10. Depuis ma réinstallation je ne peux pas boot sans l'option nomodeset, je ne peux pas changer la luminosité de mon écran et mon moniteur n'est pas reconnu. Après la lecture de beaucoup de forums, j'ai cru comprendre que mon problème de réglage de luminosité vient de l'option nomodeset, mais aucune des solutions proposées ne fonctionne.
Je voulais donc savoir si j'avais un moyen de boot sans cette option, ou de régler mes problèmes graphiques autrement.
Merci d'avance pour vos réponses.

Hors ligne

#2 Le 23/02/2021, à 23:43

Caribou22

Re : Problèmes graphiques à cause de nomodeset

Bonjour smile

L'option nomodeset est en effet une solution provisoire le temps d'installer un pilote propriétaire nVidia.
Il faut que tu boot ponctuellement avec cette option puis que tu installe un pilote nVidia comme ceci : https://doc.ubuntu-fr.org/nvidia#via_les_depots_ubuntu

Hors ligne

#3 Le 24/02/2021, à 13:23

Mistery24

Re : Problèmes graphiques à cause de nomodeset

J'ai installé les pilotes propriétaires mais lorsque je boot sur ubuntu l'écran reste bloqué sur le logo dell.

Hors ligne

#4 Le 24/02/2021, à 13:41

Caribou22

Re : Problèmes graphiques à cause de nomodeset

Pas normal ça, et c'était le cas aussi avant quand tu n'activais pas nomodeset ?

Peux-tu lancer une session live USB (avec ta clé USB d'installation) et nous fournir un boot-info ? https://doc.ubuntu-fr.org/tutoriel/boot-info

Autre solution provisoire mieux que nomodeset sinon :
- Redémarre avec nomodeset
- Désinstalle le pilote propriétaire.
- Redémarre avec le paramètre modprobe.blacklist=nouveau au lieu de nomodeset. Ça désactivera ta carte Nvidia et te fera fonctionner avec les graphiques Intel, qui marcheront bien sous Ubuntu

Hors ligne

#5 Le 24/02/2021, à 13:48

Mistery24

Re : Problèmes graphiques à cause de nomodeset

J'ai jamais réussi à boot sans nomodeset sur ubuntu 20.04.
J'ai supprimé les pilotes nvidia et j'ai redémarré avec nomodeset. Voilà le boot-info: https://paste.ubuntu.com/p/87Y2KnbQzr/ 
J'allais justement demandé s'il y avait moyen de ne plus utilisé la carte nvidia vu qu'elle m'est pas utile.
Merci pour ton aide smile

Dernière modification par Mistery24 (Le 24/02/2021, à 13:51)

Hors ligne

#6 Le 24/02/2021, à 14:51

Caribou22

Re : Problèmes graphiques à cause de nomodeset

Ton boot-info :

boot-info-4ppa125                                              [20210224_1246]

============================== Boot Info Summary ===============================

 => No boot loader is installed in the MBR of /dev/nvme0n1.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/dell/SOS/bootmgfw.efi 
                       /efi/dell/SOS/bootmgr.efi /efi/dell/SOS/bootx64.efi 
                       /efi/dell/SOS/memtest.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/memtest.efi

nvme0n1p2: _____________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

nvme0n1p3: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p5: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p6: _____________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

nvme0n1p7: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   The OS now in use - Ubuntu 20.04.2 LTS CurrentSession on nvme0n1p7
OS#2:   Windows 8 or 10 on nvme0n1p3

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-43-generic root=UUID=52b08415-6aee-4065-be4b-7fa916247f8d ro quiet splash nomodeset acpi_backlight=vendor acpi_osi=linux vt.handoff=7


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* ubuntu	HD(1,GPT,3c032526-b41d-4e16-bcf6-54e4d695744e,0x800,0x145000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,3c032526-b41d-4e16-bcf6-54e4d695744e,0x800,0x145000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................

78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27   nvme0n1p1/Boot/fbx64.efi
637fa7fabc8a2f70312edf2f15e275ff   nvme0n1p1/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/Boot/mmx64.efi
957dc7e5f72c1d7393bf7850df5db2db   nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84   nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f   nvme0n1p1/ubuntu/shimx64.efi
e87c4f299e44cf4153ad321c6fc7dabc   nvme0n1p1/dell/SOS/bootmgfw.efi
ac84bbacadaa85317812273ac07cda2f   nvme0n1p1/dell/SOS/bootmgr.efi
e87c4f299e44cf4153ad321c6fc7dabc   nvme0n1p1/dell/SOS/bootx64.efi
86f1aa31bc5068d606cc8045841c8586   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
d26c41a3da47896638bfccd94bd76b4a   nvme0n1p1/Microsoft/Boot/bootmgr.efi


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p7	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p7	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p7	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p5	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p6	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: C5E2B577-5E33-437E-BAFE-43AE7DF53D7F
              Start        End   Sectors   Size Type
nvme0n1p1      2048    1333247   1331200   650M EFI System
nvme0n1p2   1333248    1595391    262144   128M Microsoft reserved
nvme0n1p3   1595392  802009087 800413696 381.7G Microsoft basic data
nvme0n1p4 969781248  971808767   2027520   990M Windows recovery environment
nvme0n1p5 971808768  997806079  25997312  12.4G Windows recovery environment
nvme0n1p6 997808128 1000214527   2406400   1.2G Windows recovery environment
nvme0n1p7 802009088  969780572 167771485    80G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:512GB:nvme:512:512:gpt:PC401 NVMe SK hynix 512GB:;
1:1049kB:683MB:682MB:fat32:EFI system partition:boot, esp;
2:683MB:817MB:134MB::Microsoft reserved partition:msftres;
3:817MB:411GB:410GB:ntfs:Basic data partition:msftdata;
7:411GB:497GB:85.9GB:ext4::;
4:497GB:498GB:1038MB:ntfs::hidden, diag;
5:498GB:511GB:13.3GB:ntfs::hidden, diag;
6:511GB:512GB:1232MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
nvme0n1                                                                                                    
├─nvme0n1p1 vfat     4E06-F974                            3c032526-b41d-4e16-bcf6-54e4d695744e ESP         EFI system partition
├─nvme0n1p2                                               2193260e-704c-4d42-ab2b-fa1362295000             Microsoft reserved partition
├─nvme0n1p3 ntfs     AE1E612F1E60F22F                     236ba57e-f500-40fd-a9b8-ee5e0f4fba61 OS          Basic data partition
├─nvme0n1p4 ntfs     D2044B2E044B153F                     f2f7e70a-0f58-40ed-8678-d6fffda58ef6 WINRETOOLS  
├─nvme0n1p5 ntfs     00CC4BC4CC4BB2A8                     e342c30b-1fca-4e03-9a16-bb7423354a60 Image       
├─nvme0n1p6 ntfs     C860A000609FF402                     b3ee5ef2-e7be-4704-ba4a-1985ebbcdbef DELLSUPPORT 
└─nvme0n1p7 ext4     52b08415-6aee-4065-be4b-7fa916247f8d 0db615da-9405-43b4-b077-41edd3793fbb             

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p3           178G  53% /mnt/boot-sav/nvme0n1p3
nvme0n1p4         454.1M  54% /mnt/boot-sav/nvme0n1p4
nvme0n1p5         181.9M  99% /mnt/boot-sav/nvme0n1p5
nvme0n1p6           497M  58% /mnt/boot-sav/nvme0n1p6
nvme0n1p7          26.4G  61% /

Mount options: __________________________________________________________________

nvme0n1p3         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p6         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p7         rw,relatime,errors=remount-ro

=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid 52b08415-6aee-4065-be4b-7fa916247f8d root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

=================== nvme0n1p7/boot/grub/grub.cfg (filtered) ====================

Ubuntu   52b08415-6aee-4065-be4b-7fa916247f8d
Ubuntu, with Linux 5.8.0-43-generic   52b08415-6aee-4065-be4b-7fa916247f8d
Ubuntu, with Linux 5.4.0-65-generic   52b08415-6aee-4065-be4b-7fa916247f8d
Ubuntu, with Linux 5.4.0-60-generic   52b08415-6aee-4065-be4b-7fa916247f8d
Ubuntu, with Linux 5.4.0-58-generic   52b08415-6aee-4065-be4b-7fa916247f8d
Ubuntu, with Linux 5.3.0-62-generic   52b08415-6aee-4065-be4b-7fa916247f8d
Windows Boot Manager (on nvme0n1p1)   osprober-efi-4E06-F974
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p7/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=52b08415-6aee-4065-be4b-7fa916247f8d /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=4E06-F974  /boot/efi       vfat    defaults      0       1

==================== nvme0n1p7/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi=linux"
GRUB_CMDLINE_LINUX=""

================= nvme0n1p7: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
 440,625030518 = 473,117523968  boot/grub/grub.cfg                             2
 430,178970337 = 461,901152256  boot/vmlinuz                                   1
 402,295639038 = 431,961653248  boot/vmlinuz-5.3.0-62-generic                  1
 420,350543976 = 451,347959808  boot/vmlinuz-5.4.0-58-generic                  1
 437,959915161 = 470,255878144  boot/vmlinuz-5.4.0-60-generic                  2
 422,209915161 = 453,344444416  boot/vmlinuz-5.4.0-65-generic                  1
 430,178970337 = 461,901152256  boot/vmlinuz-5.8.0-43-generic                  1
 450,734008789 = 483,971956736  boot/initrd.img                                7
 424,404670715 = 455,701045248  boot/initrd.img-5.3.0-62-generic               4
 421,263034821 = 452,327739392  boot/initrd.img-5.4.0-58-generic               3
 438,475936890 = 470,809952256  boot/initrd.img-5.4.0-60-generic               4
 424,809967041 = 456,136228864  boot/initrd.img-5.4.0-65-generic               2
 450,734008789 = 483,971956736  boot/initrd.img-5.8.0-43-generic               7
 424,809967041 = 456,136228864  boot/initrd.img.old                            2

=================== nvme0n1p7: ls -l /etc/grub.d/ (filtered) ===================

-rwxr-xr-x 1 root root 17622 Jan 13 15:12 10_linux
-rwxr-xr-x 1 root root 42359 Jan 13 15:12 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 13 15:12 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 13 15:12 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 13 15:12 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jan 13 15:12 40_custom
-rwxr-xr-x 1 root root   216 Jan 13 15:12 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p7,
using the following options:        nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file  restore-efi-backups  

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the The OS now in use - Ubuntu 20.04.2 LTS CurrentSession entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Essaye de remplacer nomodeset par modprobe.blacklist=nouveau alors smile
Si ça marche, on pourra rendre le paramètre permanent.

Hors ligne

#7 Le 24/02/2021, à 15:05

Tawal

Re : Problèmes graphiques à cause de nomodeset

Hello,
Pas de nomodeset sur ton boot (ou je me trompe)

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi=linux"

Le savoir n'a d’intérêt que si on le transmet.
Useless Use of Cat Award
Filenames and Pathnames in Shell: How to do it Correctly
À chaque problème sa solution, à chaque solution son moyen, si pas de moyen, toujours le problème !

Hors ligne

#8 Le 24/02/2021, à 15:38

Mistery24

Re : Problèmes graphiques à cause de nomodeset

J'ai changé le boot en appuyant sur e dans le grub en "quiet splash modprobe.blacklist=nouveau" et tout marche nickel ! J'ai rendu les paramètres permanent Merci beaucoup @Caribou22
@Tawal j'avais sûrement supprimé nomodeset de /etc/default/grub au moment de faire le boot-info.

Dernière modification par Mistery24 (Le 24/02/2021, à 15:44)

Hors ligne

#9 Le 24/02/2021, à 15:44

Tawal

Re : Problèmes graphiques à cause de nomodeset

Re,
Pour rendre permanent ce "réglage" (plutôt passage d'option au kernel) :
Éditer le fichier /etc/default/grub avec

sudo nano /etc/default/grub

Tu modifies la ligne GRUB_CMDLINE_LINUX_DEFAULT=qqchose
par GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=nouveau"
Ensuite Ctrl+O, valider le nom de fichier et Ctrl+X
Puis, il faut updater grub avec

sudo update-grub

Et voilà smile

Edit: Tu peux utiliser vi ou vim ou autre à la place de nano

Dernière modification par Tawal (Le 24/02/2021, à 15:45)


Le savoir n'a d’intérêt que si on le transmet.
Useless Use of Cat Award
Filenames and Pathnames in Shell: How to do it Correctly
À chaque problème sa solution, à chaque solution son moyen, si pas de moyen, toujours le problème !

Hors ligne

#10 Le 24/02/2021, à 15:46

Mistery24

Re : Problèmes graphiques à cause de nomodeset

J'ai utilisé gedit mais le résultat est identique ahaha merci beaucoup pour ton aide ! smile

Hors ligne

#11 Le 24/02/2021, à 15:49

Tawal

Re : Problèmes graphiques à cause de nomodeset

Mistery24 a écrit :

J'ai utilisé gedit

La bonne façon d'ouvrir un fichier ayants des droits root avec gedit est :

gedit admin:///chemin_du_fichier

Cf. Doc-gedit

Dernière modification par Tawal (Le 24/02/2021, à 15:58)


Le savoir n'a d’intérêt que si on le transmet.
Useless Use of Cat Award
Filenames and Pathnames in Shell: How to do it Correctly
À chaque problème sa solution, à chaque solution son moyen, si pas de moyen, toujours le problème !

Hors ligne