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 04/10/2023, à 18:40

thibouf

[Résolu]Problème démarrage portable avec la CG nividia HS

Bonjour,

J'ai un vieux portable asus possédant une carte graphique intel intégrée + une carte graphique nvidia.
Je pense que la carte nividia est physiquement défectueuse car elle plantait régulièrement sous windows. Ma solution alors avait été de la désactiver pour forcer l'utilisation de la carte intel. Tout allait bien pour faire des taches pas très gourmandes.

Maintenant j'aimerai installer ubuntu à la place de windows. Mais de base, j'ai fait un black screen si je lance tel quel meme le live cd. Je pense qu'il tente de lancer sur la carte nvidia qui plante alors.
J'ai quand même réussi à l'installer en passant par le mode graphicsafe de l'installateur. Par contre toujours écran noir après au boot  après un certain temps(je pense au lancement de gnome)

La bonne nouvelle c'est que j'arrive à le lancer en mode "recovery" sans soucis, ce qui m'a permis de tester certaines choses :

sudo prime-select intel

ça me selectionne bien intel, mais ça change rien, toujours écran noir après le boot normal

J'ai modifié grub avec les options suivantes (comme vous pouvez voir dans mon rapport boot-info)

GRUB_CMDLINE_LINUX_DEFAULT="vesafb.nonsense=1 noplymouth"
GRUB_CMDLINE_LINUX=""
GRUB_GFXPAYLOAD_LINUX=text

Du coup je n'ai pas de splash screen, je vois bien les lancement des services, mais au bout d'un moment écran noir.


Ce que je ne comprend pas , c'est qu'en mode recovery, ça se lance sans soucis. Donc il doit bien y avoir moyen mais là je sèche. Même si je pouvais lancer ubuntu automatiquement en mode recovery ça m'irait mais je ne sais pas comment faire ...

Si quelqu'un peut m'aider je suis preneur

Voici mon boot-info
https://pastebin.ubuntu.com/p/HxxWcSwpch/


Merci d'avance

Dernière modification par thibouf (Le 05/10/2023, à 09:36)

Hors ligne

#2 Le 04/10/2023, à 18:54

Nuliel

Re : [Résolu]Problème démarrage portable avec la CG nividia HS

Bonjour,
Le mode recovery doit utiliser le paramètre nomodeset.
Tu peux essayer de démarrer avec les paramètres "modprobe.blacklist=nouveau modprobe.blacklist=nvidia"

Hors ligne

#3 Le 04/10/2023, à 19:00

xubu1957

Re : [Résolu]Problème démarrage portable avec la CG nividia HS

Bonjour,

Collage du Boot-info, pour les spécialistes :

boot-info-4ppa2056                                              [20231004_1804]

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

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

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sda1 has 
                       532476 sectors.. But according to the info from the 
                       partition table, it has 1048575 sectors.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda2: __________________________________________________________________________

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


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: Skylake GT2 [HD Graphics 520] GM108M [GeForce 940M] EFI VGA from Intel Corporation NVIDIA Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.2.0-34-generic root=UUID=dabaa5d3-0485-4a27-a0e5-a835da01260e ro recovery nomodeset dis_ucode_ldr
df -Th / : /dev/sda2        ext4   234G     13G  209G   6% /

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

BIOS/UEFI firmware: UX303UB.202(5.11) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled according to mokutil - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0005,0001,0002,0000
Boot0000* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
Boot0001* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
Boot0002* Windows Boot Manager	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
Boot0004* ubuntu	HD(1,GPT,f2dffff8-97db-4a77-83c1-4bfe2a6db994,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0005* ubuntu	HD(1,GPT,f2dffff8-97db-4a77-83c1-4bfe2a6db994,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI)..BO


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

sda2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sda2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda2	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: DB88163C-AD4B-47DA-B9E7-D79BA55D7FA1
        Start       End   Sectors  Size Type
sda1     2048   1050623   1048576  512M EFI System
sda2  1050624 500117503 499066880  238G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:512:gpt:ATA HFS256G32MND-220:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:256GB:256GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 vfat     301C-5134                            f2dffff8-97db-4a77-83c1-4bfe2a6db994       EFI System Partition
└─sda2 ext4     dabaa5d3-0485-4a27-a0e5-a835da01260e 2dc01eb0-f7d8-4207-8ea9-96e0f7b1c71f       

Mount points (filtered): _______________________________________________________

                                Avail Use% Mounted on
/dev/sda2                      208.7G   5% /

Mount options (filtered): ______________________________________________________


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

search.fs_uuid dabaa5d3-0485-4a27-a0e5-a835da01260e root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   dabaa5d3-0485-4a27-a0e5-a835da01260e
Ubuntu, with Linux 6.2.0-34-generic   dabaa5d3-0485-4a27-a0e5-a835da01260e
Ubuntu, with Linux 6.2.0-26-generic   dabaa5d3-0485-4a27-a0e5-a835da01260e
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=dabaa5d3-0485-4a27-a0e5-a835da01260e /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=301C-5134  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="vesafb.nonsense=1 noplymouth"
GRUB_CMDLINE_LINUX=""
GRUB_GFXPAYLOAD_LINUX=text

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

           GiB - GB             File                                 Fragment(s)
 150,809364319 = 161,930321920  boot/grub/grub.cfg                             1
   8,693511963 = 9,334587392    boot/vmlinuz                                   2
 148,318485260 = 159,255760896  boot/vmlinuz-6.2.0-26-generic                  1
   8,693511963 = 9,334587392    boot/vmlinuz-6.2.0-34-generic                  2
 148,318485260 = 159,255760896  boot/vmlinuz.old                               1
  14,500972748 = 15,570300928   boot/initrd.img                                2
 151,259643555 = 162,413805568  boot/initrd.img-6.2.0-26-generic               1
  14,500972748 = 15,570300928   boot/initrd.img-6.2.0-34-generic               2
 151,259643555 = 162,413805568  boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Dec 18  2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Dec 18  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 May 17 07:35 35_fwupd
-rwxr-xr-x 1 root root   214 Dec 18  2022 40_custom
-rwxr-xr-x 1 root root   215 Dec 18  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda2,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.3 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

En ligne

#4 Le 04/10/2023, à 19:07

nany

Re : [Résolu]Problème démarrage portable avec la CG nividia HS

Bonjour,



On peut voir les cartes graphiques dans le boot-info :

Video: Skylake GT2 [HD Graphics 520] GM108M [GeForce 940M] EFI VGA from Intel Corporation NVIDIA Corporation

Bizarre que ça ne démarre pas sur le chipset Intel.
As-tu installé un pilote Nvidia ?
Si oui, donne les retours de :

ubuntu-drivers devices
dpkg -l | grep "nvidia"

Hors ligne

#5 Le 05/10/2023, à 09:36

thibouf

Re : [Résolu]Problème démarrage portable avec la CG nividia HS

Bonjour,

Merci pour vos réponses rapide !
Alors non je n'avais pas installé les drives nvidia car justement je voulais pas l'utiliser ...

modprobe.blacklist=nouveau modprobe.blacklist=nvidia

Ca ne fonctionne pas mieux.

Mais du coup j'ai testé

nomodeset

et ça fonctionne !

Je sais pas trop quels sont les autres impacts  mais j'ai pas besoin de perf de fou sur ce PC, donc je pense que ça suffira.

Hors ligne