Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Problèmes driver carte nvidia sous Stretch

1 réponse
Avatar
Damien TOURDE
Bonjour,

J'ai du réinstaller ma Debian suite à des soucis de paquets et surtout
de partitionnement.
Bref, ma carte vidéo fonctionnait plutôt bien avec le driver
propriétaire nvidia-kernel-dkms, sur stretch aussi, en noyau 4.0 et
3.16, la sortie DVI fonctionnait très bien pour mon écran externe.

Après quelques déboires lors de la réinstall (c'est un "vieux" macbook
pro en single boot, et l'UEFI d'apple est vraiment pas sympa), mon état
actuel est que :

- je peux booter sur le noyau 3.16 ou 4.2, mais je dois rajouter le
paramètre 'nomodeset' car sans lui, plus d'une fois sur 2 le boot se
bloque à clean /dev/mapper/.... (je ne sais pas réellement s'il est
bloqué ou si c'est juste l'affichage qui est freezé, je n'ai pas cherché
de ce côté)
- le driver nvidia ne veut pas démarrer X (cf logs)
- le driver nouveau démarre bien avec gdm mais en dehors d'un affichage
"un peu flou", le gros problème est qu'il ne détecte pas la sortie DVI,
et j'ai besoin de l'autre écran.

La xrandr ne détecte que l'écran interne, en mode "Generic screen", et
pareil pour le gnome-control-panel.


J'ai testé nvidia-kernel-dkms, et les 2 legacy (340 et 304), le soucis
est le même au niveau des logs :

Xorg.4.log (avec driver 304, mais le problème est le même avec le 340) :

[ 5.859]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 5.859] X Protocol Version 11, Revision 0
[ 5.859] Build Operating System: Linux 4.1.0 x86_64 Debian
[ 5.859] Current Operating System: Linux olorin 4.2.0-1-amd64 #1 SMP
Debian 4.2.1-2 (2015-09-27) x86_64
[ 5.859] Kernel command line: BOOT_IMAGE=/vmlinuz-4.2.0-1-amd64
root=/dev/mapper/olorin-root ro nomodeset quiet nomodeset
[ 5.859] Build Date: 11 August 2015 10:51:15AM
[ 5.859] xorg-server 2:1.17.2-1.1 (http://www.debian.org/support)
[ 5.859] Current version of pixman: 0.33.2
[ 5.859] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5.859] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.860] (==) Log file: "/var/log/Xorg.4.log", Time: Mon Oct 19
10:10:47 2015
[ 5.860] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 5.860] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5.860] (==) No Layout section. Using the first Screen section.
[ 5.860] (==) No screen section available. Using defaults.
[ 5.860] (**) |-->Screen "Default Screen Section" (0)
[ 5.860] (**) | |-->Monitor "<default monitor>"
[ 5.860] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 5.860] (**) | |-->Device "My GPU"
[ 5.860] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5.860] (==) Automatically adding devices
[ 5.860] (==) Automatically enabling devices
[ 5.860] (==) Automatically adding GPU devices
[ 5.860] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[ 5.860] Entry deleted from font path.
[ 5.860] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 5.860] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5.860] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 5.860] (II) Loader magic: 0x5629a8eeed40
[ 5.860] (II) Module ABI versions:
[ 5.860] X.Org ANSI C Emulation: 0.4
[ 5.860] X.Org Video Driver: 19.0
[ 5.860] X.Org XInput driver : 21.0
[ 5.860] X.Org Server Extension : 9.0
[ 5.861] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5.861] (EE) /dev/dri/card0: failed to set DRM interface version
1.4: Invalid argument
[ 5.864] (--) PCI:*(0:1:0:0) 10de:0407:106b:00a3 rev 161, Mem @
0x92000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @
0x00007000/128, BIOS @ 0x????????/131072
[ 5.864] (II) LoadModule: "glx"
[ 5.864] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 5.878] (II) Module glx: vendor="NVIDIA Corporation"
[ 5.878] compiled for 4.0.2, module version = 1.0.0
[ 5.878] Module class: X.Org Server Extension
[ 5.878] (II) NVIDIA GLX Module 304.125 Mon Dec 1 20:22:48 PST 2014
[ 5.878] (II) LoadModule: "nvidia"
[ 5.878] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 5.879] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 5.879] compiled for 4.0.2, module version = 1.0.0
[ 5.879] Module class: X.Org Video Driver
[ 5.879] (II) NVIDIA dlloader X Driver 304.125 Mon Dec 1 20:00:30
PST 2014
[ 5.879] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 5.879] (++) using VT number 7

[ 5.879] (II) Loading sub module "fb"
[ 5.879] (II) LoadModule: "fb"
[ 5.879] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 5.879] (II) Module fb: vendor="X.Org Foundation"
[ 5.879] compiled for 1.17.2, module version = 1.0.0
[ 5.879] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5.879] (II) Loading sub module "wfb"
[ 5.879] (II) LoadModule: "wfb"
[ 5.880] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 5.880] (II) Module wfb: vendor="X.Org Foundation"
[ 5.880] compiled for 1.17.2, module version = 1.0.0
[ 5.880] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5.880] (II) Loading sub module "ramdac"
[ 5.880] (II) LoadModule: "ramdac"
[ 5.880] (II) Module "ramdac" already built-in
[ 5.880] (II) NVIDIA(0): Creating default Display subsection in
Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 5.880] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 5.880] (==) NVIDIA(0): RGB weight 888
[ 5.880] (==) NVIDIA(0): Default visual is TrueColor
[ 5.880] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 5.881] (**) NVIDIA(0): Enabling 2D acceleration
[ 5.884] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at
PCI:1:0:0. Please
[ 5.884] (EE) NVIDIA(0): check your system's kernel log for
additional error
[ 5.884] (EE) NVIDIA(0): messages and refer to Chapter 8: Common
Problems in the
[ 5.884] (EE) NVIDIA(0): README for additional information.
[ 5.884] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics
device!
[ 5.884] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 5.884] (II) UnloadModule: "nvidia"
[ 5.884] (II) UnloadSubModule: "wfb"
[ 5.884] (II) UnloadSubModule: "fb"
[ 5.885] (EE) Screen(s) found, but none have a usable configuration.
[ 5.885] (EE)
Fatal server error:
[ 5.885] (EE) no screens found(EE)
[ 5.885] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5.885] (EE) Please also check the log file at
"/var/log/Xorg.4.log" for additional information.
[ 5.885] (EE)
[ 5.889] (EE) Server terminated with error (1). Closing log file.


lspci :
lspci |grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation G84M [GeForce
8600M GT] (rev a1)

Concernant la config /etc/X11/xorg.conf.d/20-nvidia.conf :
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection

Ce qui suffisait "avant", j'ai testé aussi avec le fichier généré par
nvidia-xconfig, les logs sont semblables.


Si vous avez besoin d'autre logs ou détails... je ne bouge pas ;-)


Merci,
Damien

1 réponse

Avatar
Damien TOURDE
Bonjour,

J'ai enfin pu "régler" mon problème.

L'UEFI d'Apple, n'est en fait qu'un simple EFI, et en plus (on pouvait
s'y attendre), ultra spécifique.

Donc depuis Jessie, et l'installation en UEFI, on installe
grub-efi-amd64, et on démarre le PC en mode EFI.


En réalité, en mode EFI, le Mac balance des adresses de bridge PCI-E
"pas bonnes". Il faut démarrer en legacy, et pour ça il faut un MBR
Hybrid (via gdisk par exemple) et grub-pc.


Bonne nuit,
Damien

Le 19/10/2015 18:37, Damien TOURDE a écrit :
Bonjour,

J'ai du réinstaller ma Debian suite à des soucis de paquets et surtout
de partitionnement.
Bref, ma carte vidéo fonctionnait plutôt bien avec le driver
propriétaire nvidia-kernel-dkms, sur stretch aussi, en noyau 4.0 et
3.16, la sortie DVI fonctionnait très bien pour mon écran externe.

Après quelques déboires lors de la réinstall (c'est un "vieux" macbook
pro en single boot, et l'UEFI d'apple est vraiment pas sympa), mon état
actuel est que :

- je peux booter sur le noyau 3.16 ou 4.2, mais je dois rajouter le
paramètre 'nomodeset' car sans lui, plus d'une fois sur 2 le boot se
bloque à clean /dev/mapper/.... (je ne sais pas réellement s'il est
bloqué ou si c'est juste l'affichage qui est freezé, je n'ai pas cherché
de ce côté)
- le driver nvidia ne veut pas démarrer X (cf logs)
- le driver nouveau démarre bien avec gdm mais en dehors d'un affichage
"un peu flou", le gros problème est qu'il ne détecte pas la sortie DVI,
et j'ai besoin de l'autre écran.

La xrandr ne détecte que l'écran interne, en mode "Generic screen", et
pareil pour le gnome-control-panel.


J'ai testé nvidia-kernel-dkms, et les 2 legacy (340 et 304), le soucis
est le même au niveau des logs :

Xorg.4.log (avec driver 304, mais le problème est le même avec le 340) :

[ 5.859]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[ 5.859] X Protocol Version 11, Revision 0
[ 5.859] Build Operating System: Linux 4.1.0 x86_64 Debian
[ 5.859] Current Operating System: Linux olorin 4.2.0-1-amd64 #1 SMP
Debian 4.2.1-2 (2015-09-27) x86_64
[ 5.859] Kernel command line: BOOT_IMAGE=/vmlinuz-4.2.0-1-amd64
root=/dev/mapper/olorin-root ro nomodeset quiet nomodeset
[ 5.859] Build Date: 11 August 2015 10:51:15AM
[ 5.859] xorg-server 2:1.17.2-1.1 (http://www.debian.org/support)
[ 5.859] Current version of pixman: 0.33.2
[ 5.859] Before reporting problems, check http://wiki.x.org" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">http://wiki.x.org
to make sure that you have the latest version.
[ 5.859] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.860] (==) Log file: "/var/log/Xorg.4.log", Time: Mon Oct 19
10:10:47 2015
[ 5.860] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 5.860] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5.860] (==) No Layout section. Using the first Screen section.
[ 5.860] (==) No screen section available. Using defaults.
[ 5.860] (**) |-->Screen "Default Screen Section" (0)
[ 5.860] (**) | |-->Monitor "<default monitor>"
[ 5.860] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 5.860] (**) | |-->Device "My GPU"
[ 5.860] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5.860] (==) Automatically adding devices
[ 5.860] (==) Automatically enabling devices
[ 5.860] (==) Automatically adding GPU devices
[ 5.860] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[ 5.860] Entry deleted from font path.
[ 5.860] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 5.860] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5.860] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 5.860] (II) Loader magic: 0x5629a8eeed40
[ 5.860] (II) Module ABI versions:
[ 5.860] X.Org ANSI C Emulation: 0.4
[ 5.860] X.Org Video Driver: 19.0
[ 5.860] X.Org XInput driver : 21.0
[ 5.860] X.Org Server Extension : 9.0
[ 5.861] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5.861] (EE) /dev/dri/card0: failed to set DRM interface version
1.4: Invalid argument
[ 5.864] (--) PCI:*(0:1:0:0) 10de:0407:106b:00a3 rev 161, Mem @
0x92000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @
0x00007000/128, BIOS @ 0x????????/131072
[ 5.864] (II) LoadModule: "glx"
[ 5.864] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 5.878] (II) Module glx: vendor="NVIDIA Corporation"
[ 5.878] compiled for 4.0.2, module version = 1.0.0
[ 5.878] Module class: X.Org Server Extension
[ 5.878] (II) NVIDIA GLX Module 304.125 Mon Dec 1 20:22:48 PST 2014
[ 5.878] (II) LoadModule: "nvidia"
[ 5.878] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 5.879] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 5.879] compiled for 4.0.2, module version = 1.0.0
[ 5.879] Module class: X.Org Video Driver
[ 5.879] (II) NVIDIA dlloader X Driver 304.125 Mon Dec 1 20:00:30
PST 2014
[ 5.879] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 5.879] (++) using VT number 7

[ 5.879] (II) Loading sub module "fb"
[ 5.879] (II) LoadModule: "fb"
[ 5.879] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 5.879] (II) Module fb: vendor="X.Org Foundation"
[ 5.879] compiled for 1.17.2, module version = 1.0.0
[ 5.879] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5.879] (II) Loading sub module "wfb"
[ 5.879] (II) LoadModule: "wfb"
[ 5.880] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 5.880] (II) Module wfb: vendor="X.Org Foundation"
[ 5.880] compiled for 1.17.2, module version = 1.0.0
[ 5.880] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5.880] (II) Loading sub module "ramdac"
[ 5.880] (II) LoadModule: "ramdac"
[ 5.880] (II) Module "ramdac" already built-in
[ 5.880] (II) NVIDIA(0): Creating default Display subsection in
Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 5.880] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 5.880] (==) NVIDIA(0): RGB weight 888
[ 5.880] (==) NVIDIA(0): Default visual is TrueColor
[ 5.880] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 5.881] (**) NVIDIA(0): Enabling 2D acceleration
[ 5.884] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at
PCI:1:0:0. Please
[ 5.884] (EE) NVIDIA(0): check your system's kernel log for
additional error
[ 5.884] (EE) NVIDIA(0): messages and refer to Chapter 8: Common
Problems in the
[ 5.884] (EE) NVIDIA(0): README for additional information.
[ 5.884] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics
device!
[ 5.884] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 5.884] (II) UnloadModule: "nvidia"
[ 5.884] (II) UnloadSubModule: "wfb"
[ 5.884] (II) UnloadSubModule: "fb"
[ 5.885] (EE) Screen(s) found, but none have a usable configuration.
[ 5.885] (EE)
Fatal server error:
[ 5.885] (EE) no screens found(EE)
[ 5.885] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org" target="_blank" class="text-blue hover:opacity-90 " style="word-break: break-all;" rel="noopener nofollow">http://wiki.x.org
for help.
[ 5.885] (EE) Please also check the log file at
"/var/log/Xorg.4.log" for additional information.
[ 5.885] (EE)
[ 5.889] (EE) Server terminated with error (1). Closing log file.


lspci :
lspci |grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation G84M [GeForce
8600M GT] (rev a1)

Concernant la config /etc/X11/xorg.conf.d/20-nvidia.conf :
Section "Device"
Identifier "My GPU"
Driver "nvidia"
EndSection

Ce qui suffisait "avant", j'ai testé aussi avec le fichier généré par
nvidia-xconfig, les logs sont semblables.


Si vous avez besoin d'autre logs ou détails... je ne bouge pas ;-)


Merci,
Damien