• Bug#876100: fixed in nvidia-graphics-drivers 375.82-4

    From Jiri Palecek@21:1/5 to Andreas Beckmann on Wed Sep 20 21:50:01 2017
    XPost: linux.debian.bugs.dist

    On 20.9.2017 08:51, Andreas Beckmann wrote:
    nvidia-graphics-drivers (375.82-4) unstable; urgency=medium
    .
    * Prevent mixing libgl1-nvidia-glx with libgl1-nvidia-glvnd-glx.
    * Use versioned Provides/Breaks/Replaces on the packages also built from
    src:libglvnd s.t. they cannot be satisfied by virtual packages provided
    from src:mesa (<< 17). (Closes: #875683, #876100)
    I don't understand. How does this solve issue 876100? The problem was
    that nvidia wasn't coinstallable with eg. libegl1-mesa-dev in its
    current version, and it is still so. Could you explain?

    Regards
        Jiri Palecek

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Beckmann@21:1/5 to Jiri Palecek on Thu Sep 21 02:20:02 2017
    XPost: linux.debian.bugs.dist

    On 20.09.2017 20:39, Jiri Palecek wrote:

        * Prevent mixing libgl1-nvidia-glx with libgl1-nvidia-glvnd-glx.
        * Use versioned Provides/Breaks/Replaces on the packages also
    built from
          src:libglvnd s.t. they cannot be satisfied by virtual packages
    provided
          from src:mesa (<< 17).  (Closes: #875683, #876100)
    I don't understand. How does this solve issue 876100? The problem was
    that nvidia wasn't coinstallable with eg. libegl1-mesa-dev in its
    current version, and it is still so. Could you explain?


    I just tried again in a minimal sid chroot and didn't encounter any problems:

    # apt-get install --install-recommends nvidia-driver
    [...]
    (successfully installed)

    # apt-get install libglvnd-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libglvnd-core-dev
    The following NEW packages will be installed:
    libglvnd-core-dev libglvnd-dev
    0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
    Need to get 0 B/16.3 kB of archives.
    After this operation, 80.9 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    [...]
    (successfully installed)

    # ls -lad $(dpkg -L libglvnd-dev)
    ls: cannot access 'diverted': No such file or directory
    ls: cannot access 'by': No such file or directory
    ls: cannot access 'glx-diversions': No such file or directory
    ls: cannot access 'to:': No such file or directory
    ls: cannot access 'diverted': No such file or directory
    ls: cannot access 'by': No such file or directory
    ls: cannot access 'glx-diversions': No such file or directory
    ls: cannot access 'to:': No such file or directory
    ls: cannot access 'diverted': No such file or directory
    ls: cannot access 'by': No such file or directory
    ls: cannot access 'glx-diversions': No such file or directory
    ls: cannot access 'to:': No such file or directory
    drwxr-xr-x 22 root root 440 Sep 20 22:51 /.
    drwxr-xr-x 10 root root 200 Mar 25 2013 /usr
    drwxr-xr-x 40 root root 880 Sep 20 22:54 /usr/lib
    lrwxrwxrwx 1 root root 15 Sep 12 07:32 /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so -> libEGL.so.1.0.0
    lrwxrwxrwx 1 root root 14 Sep 12 07:32 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so -> libGL.so.1.0.0
    lrwxrwxrwx 1 root root 18 Sep 12 07:32 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so -> libGLESv2.so.2.0.0
    drwxr-xr-x 26 root root 9300 Sep 20 22:56 /usr/lib/x86_64-linux-gnu
    lrwxrwxrwx 1 root root 49 Sep 20 22:56 /usr/lib/x86_64-linux-gnu/libEGL.so -> /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu
    lrwxrwxrwx 1 root root 48 Sep 20 22:56 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
    lrwxrwxrwx 1 root root 52 Sep 20 22:56 /usr/lib/x86_64-linux-gnu/libGLESv2.so -> /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu
    lrwxrwxrwx 1 root root 15 Sep 12 07:32 /usr/lib/x86_64-linux-gnu/libGLX.so -> libGLX.so.0.0.0
    lrwxrwxrwx 1 root root 22 Sep 12 07:32 /usr/lib/x86_64-linux-gnu/libGLdispatch.so -> libGLdispatch.so.0.0.0
    lrwxrwxrwx 1 root root 18 Sep 12 07:32 /usr/lib/x86_64-linux-gnu/libOpenGL.so -> libOpenGL.so.0.0.0
    drwxr-xr-x 79 root root 1580 Sep 20 22:54 /usr/share
    drwxr-xr-x 397 root root 8640 Sep 20 22:56 /usr/share/doc
    drwxr-xr-x 2 root root 80 Sep 20 22:56 /usr/share/doc/libglvnd-dev -rw-r--r-- 1 root root 914 Sep 12 07:32 /usr/share/doc/libglvnd-dev/changelog.Debian.gz
    -rw-r--r-- 1 root root 4697 Sep 12 07:32 /usr/share/doc/libglvnd-dev/copyright

    # apt-get install libegl1-mesa-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libdrm-dev libpthread-stubs0-dev libwayland-bin libwayland-dev libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0 libxcb-randr0-dev libxcb-render0-dev
    libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev
    x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
    Suggested packages:
    libxcb-doc libxext-doc
    Recommended packages:
    libx11-doc
    The following NEW packages will be installed:
    libdrm-dev libegl1-mesa-dev libpthread-stubs0-dev libwayland-bin libwayland-dev libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0 libxcb-randr0-dev
    libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev x11proto-core-dev x11proto-damage-dev
    x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
    0 upgraded, 37 newly installed, 0 to remove and 10 not upgraded.
    Need to get 0 B/4509 kB of archives.
    After this operation, 14.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    [...]
    (successfully installed)

    # dpkg -l | grep -E 'libe?gl'
    ii libegl-nvidia0:amd64 375.82-4 amd64 NVIDIA binary EGL library
    ii libegl1:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- EGL support
    ii libegl1-mesa-dev:amd64 17.2.1-1 amd64 free implementation of the EGL API -- development files
    ii libgl1:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- legacy GL support
    ii libgl1-mesa-dri:amd64 17.2.1-1 amd64 free implementation of the OpenGL API -- DRI modules
    ii libgl1-nvidia-glvnd-glx:amd64 375.82-4 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant)
    ii libglapi-mesa:amd64 17.2.1-1 amd64 free implementation of the GL API -- shared library
    ii libgles-nvidia1:amd64 375.82-4 amd64 NVIDIA binary OpenGL|ES 1.x library
    ii libgles-nvidia2:amd64 375.82-4 amd64 NVIDIA binary OpenGL|ES 2.x library
    ii libgles1-glvnd-nvidia:amd64 375.82-4 amd64 NVIDIA binary OpenGL|ES 1.x GLVND stub library
    ii libgles2:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- GLES support
    ii libglib2.0-0:amd64 2.54.0-1 amd64 GLib library of C routines
    ii libglib2.0-data 2.54.0-1 all Common files for GLib library
    ii libglvnd-core-dev 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- core development files
    ii libglvnd-dev 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- development files
    ii libglvnd0:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library
    ii libglx-mesa0:amd64 17.2.1-1 amd64 free implementation of the OpenGL API -- GLX vendor library
    ii libglx-nvidia0:amd64 375.82-4 amd64 NVIDIA binary GLX library
    ii libglx0:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- GLX support


    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jiri Palecek@21:1/5 to Andreas Beckmann on Thu Sep 21 14:30:02 2017
    XPost: linux.debian.bugs.dist

    On 21.9.2017 01:08, Andreas Beckmann wrote:
    On 20.09.2017 20:39, Jiri Palecek wrote:

        * Prevent mixing libgl1-nvidia-glx with libgl1-nvidia-glvnd-glx. >>>     * Use versioned Provides/Breaks/Replaces on the packages also
    built from
          src:libglvnd s.t. they cannot be satisfied by virtual packages >>> provided
          from src:mesa (<< 17).  (Closes: #875683, #876100)
    I don't understand. How does this solve issue 876100? The problem was
    that nvidia wasn't coinstallable with eg. libegl1-mesa-dev in its
    current version, and it is still so. Could you explain?

    I just tried again in a minimal sid chroot and didn't encounter any problems:

    # apt-get install --install-recommends nvidia-driver
    [...]
    (successfully installed)

    # apt-get install libglvnd-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libglvnd-core-dev
    The following NEW packages will be installed:
    libglvnd-core-dev libglvnd-dev
    0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
    Need to get 0 B/16.3 kB of archives.
    After this operation, 80.9 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    [...]
    (successfully installed)

    # ls -lad $(dpkg -L libglvnd-dev)
    ls: cannot access 'diverted': No such file or directory
    ls: cannot access 'by': No such file or directory
    ls: cannot access 'glx-diversions': No such file or directory
    ls: cannot access 'to:': No such file or directory
    ls: cannot access 'diverted': No such file or directory
    ls: cannot access 'by': No such file or directory
    ls: cannot access 'glx-diversions': No such file or directory
    ls: cannot access 'to:': No such file or directory
    ls: cannot access 'diverted': No such file or directory
    ls: cannot access 'by': No such file or directory
    ls: cannot access 'glx-diversions': No such file or directory
    ls: cannot access 'to:': No such file or directory
    drwxr-xr-x 22 root root 440 Sep 20 22:51 /.
    drwxr-xr-x 10 root root 200 Mar 25 2013 /usr
    drwxr-xr-x 40 root root 880 Sep 20 22:54 /usr/lib
    lrwxrwxrwx 1 root root 15 Sep 12 07:32 /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so -> libEGL.so.1.0.0
    lrwxrwxrwx 1 root root 14 Sep 12 07:32 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so -> libGL.so.1.0.0
    lrwxrwxrwx 1 root root 18 Sep 12 07:32 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so -> libGLESv2.so.2.0.0
    drwxr-xr-x 26 root root 9300 Sep 20 22:56 /usr/lib/x86_64-linux-gnu lrwxrwxrwx 1 root root 49 Sep 20 22:56 /usr/lib/x86_64-linux-gnu/libEGL.so -> /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu
    lrwxrwxrwx 1 root root 48 Sep 20 22:56 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
    lrwxrwxrwx 1 root root 52 Sep 20 22:56 /usr/lib/x86_64-linux-gnu/libGLESv2.so -> /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu
    lrwxrwxrwx 1 root root 15 Sep 12 07:32 /usr/lib/x86_64-linux-gnu/libGLX.so -> libGLX.so.0.0.0
    lrwxrwxrwx 1 root root 22 Sep 12 07:32 /usr/lib/x86_64-linux-gnu/libGLdispatch.so -> libGLdispatch.so.0.0.0
    lrwxrwxrwx 1 root root 18 Sep 12 07:32 /usr/lib/x86_64-linux-gnu/libOpenGL.so -> libOpenGL.so.0.0.0
    drwxr-xr-x 79 root root 1580 Sep 20 22:54 /usr/share
    drwxr-xr-x 397 root root 8640 Sep 20 22:56 /usr/share/doc
    drwxr-xr-x 2 root root 80 Sep 20 22:56 /usr/share/doc/libglvnd-dev -rw-r--r-- 1 root root 914 Sep 12 07:32 /usr/share/doc/libglvnd-dev/changelog.Debian.gz
    -rw-r--r-- 1 root root 4697 Sep 12 07:32 /usr/share/doc/libglvnd-dev/copyright

    # apt-get install libegl1-mesa-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libdrm-dev libpthread-stubs0-dev libwayland-bin libwayland-dev libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0 libxcb-randr0-dev libxcb-render0-dev
    libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev
    x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
    Suggested packages:
    libxcb-doc libxext-doc
    Recommended packages:
    libx11-doc
    The following NEW packages will be installed:
    libdrm-dev libegl1-mesa-dev libpthread-stubs0-dev libwayland-bin libwayland-dev libx11-dev libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0 libxcb-randr0-dev
    libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev x11proto-core-dev x11proto-damage-dev
    x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
    0 upgraded, 37 newly installed, 0 to remove and 10 not upgraded.
    Need to get 0 B/4509 kB of archives.
    After this operation, 14.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    [...]
    (successfully installed)

    # dpkg -l | grep -E 'libe?gl'
    ii libegl-nvidia0:amd64 375.82-4 amd64 NVIDIA binary EGL library
    ii libegl1:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- EGL support
    ii libegl1-mesa-dev:amd64 17.2.1-1 amd64 free implementation of the EGL API -- development files
    ii libgl1:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- legacy GL support
    ii libgl1-mesa-dri:amd64 17.2.1-1 amd64 free implementation of the OpenGL API -- DRI modules
    ii libgl1-nvidia-glvnd-glx:amd64 375.82-4 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant)
    ii libglapi-mesa:amd64 17.2.1-1 amd64 free implementation of the GL API -- shared library
    ii libgles-nvidia1:amd64 375.82-4 amd64 NVIDIA binary OpenGL|ES 1.x library
    ii libgles-nvidia2:amd64 375.82-4 amd64 NVIDIA binary OpenGL|ES 2.x library
    ii libgles1-glvnd-nvidia:amd64 375.82-4 amd64 NVIDIA binary OpenGL|ES 1.x GLVND stub library
    ii libgles2:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- GLES support
    ii libglib2.0-0:amd64 2.54.0-1 amd64 GLib library of C routines
    ii libglib2.0-data 2.54.0-1 all Common files for GLib library
    ii libglvnd-core-dev 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- core development files
    ii libglvnd-dev 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- development files
    ii libglvnd0:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library
    ii libglx-mesa0:amd64 17.2.1-1 amd64 free implementation of the OpenGL API -- GLX vendor library
    ii libglx-nvidia0:amd64 375.82-4 amd64 NVIDIA binary GLX library
    ii libglx0:amd64 0.2.999+git20170802-4 amd64 Vendor neutral GL dispatch library -- GLX support


    I can see my problem now - I had libegl1-glvnd-nvidia installed, which
    depends on libglvnd0-nvidia, which conflicts libglvnd0. Without that one
    nvidia and mesa dev packages were co-installable.

    Thanks
        Jiri Palecek

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)