Startx et NVIDIA: NVIDIA: could not open the device file /dev/nvidia0

Bonjour Mesdames, Messieurs,

Bon voilà, je souhaite installer XBMC/kodi sur Openmediavault basé sur Debian.

J’installe tous ce qui va bien pour avoir un X-window, Xorg Xserver-xorg… nvidia-DKMS…

Sauf qu’au moment de lancer startx, j’obtiens ceci:

root@openmediavault:~# startx


X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
Current Operating System: Linux openmediavault 3.2.0-4-amd64 #1 SMP Debian 3.2.82-1 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 root=UUID=54a01691-4427-42ec-a6f7-7be5b39a3863 ro quiet
Build Date: 09 February 2015  09:46:52AM
xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.26.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 19 14:52:06 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Voici le fichier de config /etc/X11/xorg.conf:

  GNU nano 2.2.6                      Fichier : /etc/X11/xorg.conf                                                  

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.48  (pbuilder@cake)  Wed Sep 12 10:54:51 UTC 2012


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Et voici la sortie de /var/log/xorg.0.log:

[  2575.665]    Module class: X.Org Server Extension
[  2575.665]    ABI class: X.Org Server Extension, version 6.0
[  2575.665] (II) Loading extension RECORD
[  2575.665] (II) LoadModule: "dri"
[  2575.665] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  2575.665] (II) Module dri: vendor="X.Org Foundation"
[  2575.665]    compiled for 1.12.4, module version = 1.0.0
[  2575.665]    ABI class: X.Org Server Extension, version 6.0
[  2575.665] (II) Loading extension XFree86-DRI
[  2575.665] (II) LoadModule: "dri2"
[  2575.665] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  2575.665] (II) Module dri2: vendor="X.Org Foundation"
[  2575.665]    compiled for 1.12.4, module version = 1.2.0
[  2575.665]    ABI class: X.Org Server Extension, version 6.0
[  2575.665] (II) Loading extension DRI2
[  2575.665] (II) LoadModule: "nvidia"
[  2575.666] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2575.667] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2575.667]    compiled for 4.0.2, module version = 1.0.0
[  2575.667]    Module class: X.Org Video Driver
[  2575.667] (II) NVIDIA dlloader X Driver  304.131  Sun Nov  8 21:45:02 PST 2015
[  2575.667] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2575.667] (--) using VT number 7

[  2575.673] (II) Loading sub module "fb"
[  2575.673] (II) LoadModule: "fb"
[  2575.674] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2575.674] (II) Module fb: vendor="X.Org Foundation"
[  2575.674]    compiled for 1.12.4, module version = 1.0.0
[  2575.674]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2575.674] (II) Loading sub module "wfb"
[  2575.674] (II) LoadModule: "wfb"
[  2575.674] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  2575.674] (II) Module wfb: vendor="X.Org Foundation"
[  2575.674]    compiled for 1.12.4, module version = 1.0.0
[  2575.674]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2575.674] (II) Loading sub module "ramdac"
[  2575.674] (II) LoadModule: "ramdac"
[  2575.674] (II) Module "ramdac" already built-in
[  2575.675] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  2575.675] (==) NVIDIA(0): RGB weight 888
[  2575.675] (==) NVIDIA(0): Default visual is TrueColor
[  2575.675] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2575.675] (**) NVIDIA(0): Enabling 2D acceleration
[  2575.682] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:2:0:0.  Please
[  2575.682] (EE) NVIDIA(0):     check your system's kernel log for additional error
[  2575.682] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
[  2575.682] (EE) NVIDIA(0):     README for additional information.
[  2575.682] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[  2575.682] (EE) NVIDIA(0): Failing initialization of X screen 0
[  2575.682] (II) UnloadModule: "nvidia"
[  2575.682] (II) UnloadSubModule: "wfb"
[  2575.682] (II) UnloadSubModule: "fb"
[  2575.682] (EE) Screen(s) found, but none have a usable configuration.
[  2575.682]
Fatal server error:
[  2575.682] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2575.682]
[  2575.687] Server terminated with error (1). Closing log file.

Ya pas mal de trucs dans tout sa quis ont du chinois, mais j’en conclu que le module nvidia n’est pas chargé et pourtant la commande suivante me dit bien que le module nvidia est monté:

root@openmediavault:~# lsmod |grep nvidia
nvidia              11334996  0 
i2c_core               23876  2 i2c_viapro,nvidia
root@openmediavault:~#

Quand je vais voir dans le dossier /usr/share/X11/xorg.conf.d/

j’obtiens sa:

root@openmediavault:~# ls /usr/share/X11/xorg.conf.d/
10-evdev.conf      50-synaptics.conf  50-vmmouse.conf    
root@openmediavault:~# 

En revanche sur ma DEbian Testing j’obtiens ceci, dans le meme fichier est-ce normal ?

fabrice@fabrice:~$ ls /usr/share/X11/xorg.conf.d/
10-amdgpu.conf  10-quirks.conf  40-libinput.conf  70-wacom.conf  nvidia-drm-outputclass.conf
fabrice@fabrice:~$ 

En attendant vos lumieres.

Cordialement Fabrice.

Up!! Personne pour moi ??