<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Awesome! I'll build the drivers today or tomorrow and try them later this week when I'm back home at my eGPU setup.</p>
<p>This is an even better answer than I'd hoped for!</p>
<p>Kind regards,<br />Benjamin</p>
<p>Am 2014-04-01 19:37, schrieb russl17@comcast.net:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div style="font-family: Arial; font-size: 12pt; color: #000000;">I recently picked up a GTX 750 card, and was also hoping Debian packages for 334.21 would show up relatively soon in unstable and/or testing.<br /><br />I haven't run nvidia for quite a while, I was running a 6600 GT card or something like that at one time.  Been running an ATI HD4850 for quite a while now using the radeon driver.<br /><br />Based on the comments in the changelog for the nvidia-graphics-drivers, I'll venture a guess that only long lived branch releases make it into the Debian repositories.  Here's the line from the 331.49 changelog:<br />    * New upstream long lived branch release 331.49 (2014-02-18).<br /><br />Nvidia lists the 334.21 driver as the latest short lived branch version, see<br />  <span id="OBJ_PREFIX_DWT218" class="Object"><a href="http://www.nvidia.com/object/unix.html">http://www.nvidia.com/object/unix.html</a></span><br />So I've been looking into building my own deb files for 334.21. Trying to follow the comments in the README.source from the nvidia-graphics-drivers source packages.<br /><br />I also found a packaging tutorial from Lucas Nussbaum that was very useful, see<br />  <span id="OBJ_PREFIX_DWT219" class="Object"><a href="https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf">https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf</a></span><br /><br />I can happily report I was able to build, install and am now running the 334.21 nvidia driver on testing amd64 on my GTX 750 card.  Perhaps if you follow the steps listed below you will be able to build your own set of 334.21 debs as  well (output from some of the commands is indented):<br /><br />// install required tools, etc<br />root@debian-taz:~# aptitude install build-essential devscripts<br />root@debian-taz:~# aptitude install linux-headers-amd64<br />root@debian-taz:~# apt-get build-dep nvidia-graphics-driver<br /><br />// check which packages would be installed for the nvidia driver<br />root@debian-taz:~# aptitude -s install nvidia-kernel-dkms<br />    The following NEW packages will be installed:<br />      glx-alternative-mesa{a} glx-alternative-nvidia{a} glx-diversions{a}<br />      libgl1-nvidia-glx{a} libnvidia-ml1{a} nvidia-alternative{a} <br />      nvidia-driver{a} nvidia-installer-cleanup{a} nvidia-kernel-common{a}<br />      nvidia-kernel-dkms nvidia-support{a} nvidia-vdpau-driver{a} <br />      xserver-xorg-video-nvidia{a} <br />    0 packages upgraded, 13 newly installed, 0 to remove and 0 not upgraded.<br />    Need to get 15.2 MB of archives. After unpacking 80.4 MB will be used.<br />    Do you want to continue? [Y/n/?] y<br />    Would download/install/remove packages.<br /> <br />// create a directory to build the debs in<br />// download source packages<br />russ@debian-taz:~/Debian/nvidia/temp_334.21$ apt-get source nvidia-graphics-drivers<br />    Reading package lists... Done<br />    Building dependency tree       <br />    Reading state information... Done<br />    NOTICE: 'nvidia-graphics-drivers' packaging is maintained in the 'Svn' version control system at:<br />    svn://anonscm.debian.org/pkg-nvidia/packages/nvidia-graphics-drivers/trunk<br />    Need to get 119 MB of source archives.<br />    Get:1 <span id="OBJ_PREFIX_DWT220" class="Object"><a href="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a></span> testing/non-free nvidia-graphics-drivers 331.49-1 (dsc) [3,817 B]<br />    Get:2 <span id="OBJ_PREFIX_DWT221" class="Object"><a href="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a></span> testing/non-free nvidia-graphics-drivers 331.49-1 (tar) [119 MB]<br />    Get:3 <span id="OBJ_PREFIX_DWT222" class="Object"><a href="http://ftp.us.debian.org/debian/">http://ftp.us.debian.org/debian/</a></span> testing/non-free nvidia-graphics-drivers 331.49-1 (diff) [101 kB]           <br />    Fetched 119 MB in 36s (3,242 kB/s)                                                                                 <br />    dpkg-source: info: extracting nvidia-graphics-drivers in nvidia-graphics-drivers-331.49<br />    dpkg-source: info: unpacking nvidia-graphics-drivers_331.49.orig.tar.gz<br />    dpkg-source: info: unpacking nvidia-graphics-drivers_331.49-1.debian.tar.xz<br /><br />// rename the nvidia-graphics-drivers-331.49 directory to 334.21<br />russ@debian-taz:~/Debian/nvidia/temp_334.21$mv nvidia-graphics-drivers-331.49/ nvidia-graphics-drivers-334.21<br /><br />// download the 334.21 run files from Nvidia, and create the gzipped tar file<br />russ@debian-taz:~/Debian/nvidia/temp_334.21$ tar czvf nvidia-graphics-drivers_334.21.orig.tar.gz nvidia-graphics-drivers-334.21/*.run<br />    nvidia-graphics-drivers-334.21/NVIDIA-Linux-armv7l-gnueabihf-334.21.run<br />    nvidia-graphics-drivers-334.21/NVIDIA-Linux-x86-334.21.run<br />    nvidia-graphics-drivers-334.21/NVIDIA-Linux-x86_64-334.21.run<br /><br />// cd to the 334.21 directory and remove the 331.49 run files<br />russ@debian-taz:~/Debian/nvidia/temp_334.21$ cd nvidia-graphics-drivers-334.21/<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21$ rm -fv NVID*331.49.run<br />    removed ‘NVIDIA-Linux-armv7l-gnueabihf-331.49.run’<br />    removed ‘NVIDIA-Linux-x86-331.49.run’<br />    removed ‘NVIDIA-Linux-x86_64-331.49.run’<br /><br />// update the changelog<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21$ debchange --distribution UNRELEASED --newversion 334.21-1<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21$ head debian/changelog <br />    nvidia-graphics-drivers (334.21-1) UNRELEASED; urgency=medium<br /><br />      * New upstream short lived branch release 334.21 (2014-03-03).<br />    - Added support for the folloowing GPUs: GeForce GTX 750 Ti,<br />      GeForce GTX 750, GeForce GTX 745, GeForce GTX Titan Black<br />      * Update nv-readme.ids.<br /><br />    -- russ <russ@debian-taz>  Mon, 31 Mar 2014 20:34:41 -0700<br /><br />    nvidia-graphics-drivers (331.49-1) unstable; urgency=medium<br /><br />// update the WATCH_VERSION in rules.defs<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21$ cd debian/<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21/debian$ nano rules.defs<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21/debian$ head rules.defs<br />    # If needed, set to the major part of the upstream version number.<br />    #NVIDIA_LEGACY           =<br />    WATCH_VERSION            = 334<br />    NVIDIA_SETTINGS          = nvidia-settings (>= $(version_major))<br /><br />    XORG_ABI_LIST            = 15 14 13 12 11 10 8 6.0<br />    XORG_BOUND               = (<< 2:1.15.99)<br /><br />    ARCH_LIST                = i386 amd64 armhf<br />    NVIDIA_DIRNAME_X86       = NVIDIA-Linux-x86-${NVIDIA_RELEASE}<br /><br />// update nv-readme.ids<br />//     DEV_100C "NVIDIA GeForce GTX TITAN Black"<br />//     DEV_1380 "NVIDIA GeForce GTX 750 Ti"<br />//     DEV_1381 "NVIDIA GeForce GTX 750"<br />//     DEV_1382 "NVIDIA GeForce GTX 745"<br />//     (device ids were found in the ListDevices.txt file in nvidia windows driver package) <br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21/debian$ nano nv-readme.ids <br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21/debian$ diff nv-readme.ids ../../../temp_331.49/nvidia-graphics-drivers-331.49/debian/nv-readme.ids <br />    337d336<br />    < 10DE100C<br />    458,460d456<br />    < 10DE1380<br />    < 10DE1381<br />    < 10DE1382<br /><br />// build the 334.21 debs<br />russ@debian-taz:~/Debian/nvidia/temp_334.21/nvidia-graphics-drivers-334.21$ debuild -us -uc<br />    dpkg-buildpackage -rfakeroot -D -us -uc<br />    dpkg-buildpackage: source package nvidia-graphics-drivers<br />    dpkg-buildpackage: source version 334.21-1<br />    dpkg-buildpackage: source distribution UNRELEASED<br />    dpkg-buildpackage: source changed by russ <russ@debian-taz><br />    dpkg-source --before-build nvidia-graphics-drivers-334.21<br />    dpkg-buildpackage: host architecture amd64<br />    fakeroot debian/rules clean<br />    dh clean --with dkms<br />    ... (additional output clipped)<br />    E: xserver-xorg-video-nvidia: debian-changelog-file-contains-invalid-email-address russ@debian-taz<br />    E: nvidia-vdpau-driver: debian-changelog-file-contains-invalid-email-address russ@debian-taz<br />    N: 81 tags overridden (6 errors, 40 warnings, 35 info)<br />    Finished running lintian.<br /><br />// first install official 331.49 packages<br />root@debian-taz:~# aptitude install nvidia-kernel-dkms nvidia-detect nvidia-settings nvidia-xconfig<br />    The following NEW packages will be installed:<br />      glx-alternative-mesa{a} glx-alternative-nvidia{a} glx-diversions{a} libgl1-nvidia-glx{a} <br />      libnvidia-ml1{a} libxnvctrl0{a} nvidia-alternative{a} nvidia-detect nvidia-driver{a} <br />      nvidia-installer-cleanup{a} nvidia-kernel-common{a} nvidia-kernel-dkms nvidia-settings <br />      nvidia-support{a} nvidia-vdpau-driver{a} nvidia-xconfig pkg-config{a} <br />      xserver-xorg-video-nvidia{a} <br />    0 packages upgraded, 18 newly installed, 0 to remove and 0 not upgraded.<br />    Need to get 992 kB/16.2 MB of archives. After unpacking 82.8 MB will be used.<br />    Do you want to continue? [Y/n/?] y<br />    ... (additional output clipped)<br />    DKMS: install completed.<br />    Setting up nvidia-driver (331.49-1) ...<br />    Processing triggers for libc-bin (2.18-4) ...<br />    Processing triggers for initramfs-tools (0.115) ...<br />    update-initramfs: Generating /boot/initrd.img-3.13-1-amd64<br />    Processing triggers for menu (2.1.46) ...<br /><br />// next update with the 334.21 debs<br />root@debian-taz:/home/russ/Debian/nvidia/temp_334.21# dpkg -i libgl1-nvidia-glx_334.21-1_amd64.deb libnvidia-ml1_334.21-1_amd64.deb nvidia-alternative_334.21-1_amd64.deb nvidia-driver_334.21-1_amd64.deb nvidia-kernel-dkms_334.21-1_amd64.deb nvidia-vdpau-driver_334.21-1_amd64.deb xserver-xorg-video-nvidia_334.21-1_amd64.deb nvidia-detect_334.21-1_amd64.deb <br />    (Reading database ... 188282 files and directories currently installed.)<br />    Preparing to unpack libgl1-nvidia-glx_334.21-1_amd64.deb ...<br />    Unpacking libgl1-nvidia-glx:amd64 (334.21-1) over (331.49-1) ...<br />    Preparing to unpack libnvidia-ml1_334.21-1_amd64.deb ...<br />    Unpacking libnvidia-ml1:amd64 (334.21-1) over (331.49-1) ...<br />    Preparing to unpack nvidia-alternative_334.21-1_amd64.deb ...<br />    Unpacking nvidia-alternative (334.21-1) over (331.49-1) ...<br />    Preparing to unpack nvidia-driver_334.21-1_amd64.deb ...<br />    Unpacking nvidia-driver (334.21-1) over (331.49-1) ...<br />    Preparing to unpack nvidia-kernel-dkms_334.21-1_amd64.deb ...<br /><br />    -------- Uninstall Beginning --------<br />    Module:  nvidia-current<br />    Version: 331.49<br />    Kernel:  3.13-1-amd64 (x86_64)<br />    -------------------------------------<br /><br />    Status: Before uninstall, this module version was ACTIVE on this kernel.<br /><br />    nvidia-current.ko:<br />    - Uninstallation<br />      - Deleting from: /lib/modules/3.13-1-amd64/updates/dkms/<br />    - Original module<br />      - No original module was found for this module on this kernel.<br />      - Use the dkms install command to reinstall any previous module version.<br /><br />    depmod....<br /><br />    DKMS: uninstall completed.<br /><br />    ------------------------------<br />    Deleting module version: 331.49<br />    completely from the DKMS tree.<br />    ------------------------------<br />    Done.<br />    Unpacking nvidia-kernel-dkms (334.21-1) over (331.49-1) ...<br />    Preparing to unpack nvidia-vdpau-driver_334.21-1_amd64.deb ...<br />    Unpacking nvidia-vdpau-driver:amd64 (334.21-1) over (331.49-1) ...<br />    Preparing to unpack xserver-xorg-video-nvidia_334.21-1_amd64.deb ...<br />    Unpacking xserver-xorg-video-nvidia (334.21-1) over (331.49-1) ...<br />    Preparing to unpack nvidia-detect_334.21-1_amd64.deb ...<br />    Unpacking nvidia-detect (334.21-1) over (331.49-1) ...<br />    Setting up libnvidia-ml1:amd64 (334.21-1) ...<br />    Setting up nvidia-alternative (334.21-1) ...<br />    Setting up nvidia-vdpau-driver:amd64 (334.21-1) ...<br />    Setting up nvidia-detect (334.21-1) ...<br />    Processing triggers for desktop-file-utils (0.22-1) ...<br />    Processing triggers for nvidia-alternative (334.21-1) ...<br />    Processing triggers for glx-alternative-nvidia (0.4.1) ...<br />    update-initramfs: deferring update (trigger activated)<br />    Setting up nvidia-kernel-dkms (334.21-1) ...<br />    Loading new nvidia-current-334.21 DKMS files...<br />    Building only for 3.13-1-amd64<br />    Building initial module for 3.13-1-amd64<br />    Done.<br /><br />    nvidia-current:<br />    Running module version sanity check.<br />    - Original module<br />      - No original module exists within this kernel<br />    - Installation<br />      - Installing to /lib/modules/3.13-1-amd64/updates/dkms/<br /><br />    depmod....<br /><br />    DKMS: install completed.<br />    Setting up libgl1-nvidia-glx:amd64 (334.21-1) ...<br />    Setting up xserver-xorg-video-nvidia (334.21-1) ...<br />    Setting up nvidia-driver (334.21-1) ...<br />    Processing triggers for mime-support (3.54) ...<br />    Processing triggers for man-db (2.6.6-1) ...<br />    Processing triggers for libc-bin (2.18-4) ...<br />    Processing triggers for initramfs-tools (0.115) ...<br />    update-initramfs: Generating /boot/initrd.img-3.13-1-amd64<br /><br />// check for nvidia GPU<br />// see <span id="OBJ_PREFIX_DWT223" class="Object"><a href="https://wiki.debian.org/NvidiaGraphicsDrivers">https://wiki.debian.org/NvidiaGraphicsDrivers</a></span><br />russ@debian-taz:~/Debian/nvidia/temp_334.21$ lspci -nn | grep VGA<br />    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750] [10de:1381] (rev a2)<br />russ@debian-taz:~/Debian/nvidia/temp_334.21$ nvidia-detect<br />    Detected NVIDIA GPUs:<br />    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750] [10de:1381] (rev a2)<br />    Your card is supported by the default drivers.<br />    It is recommended to install the<br />    nvidia-driver<br />    package.<br /><br />// configure xorg<br />// see <span id="OBJ_PREFIX_DWT224" class="Object"><a href="https://wiki.debian.org/NvidiaGraphicsDrivers#configure">https://wiki.debian.org/NvidiaGraphicsDrivers#configure</a></span><br />// see <span id="OBJ_PREFIX_DWT225" class="Object"><a href="https://wiki.debian.org/NvidiaGraphicsDrivers/Configuration">https://wiki.debian.org/NvidiaGraphicsDrivers/Configuration</a></span><br />root@debian-taz:/home/russ/Debian/nvidia/temp_334.21# mkdir /etc/X11/xorg.conf.d<br />root@debian-taz:/home/russ/Debian/nvidia/temp_334.21# echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf<br />root@debian-taz:/home/russ/Debian/nvidia/temp_334.21# cat /etc/X11/xorg.conf.d/20-nvidia.conf <br />    Section "Device"<br />        Identifier "My GPU"<br />        Driver "nvidia"<br />    EndSection<br /><br />// The moment of truth, reboot --> success<br /><br />// I'm a KDE user using the Desktop Effects<br />// Go into System Settings, Desktop Effects, Advanced tab<br />// change Compositing type: from XRender to OpenGL (both 2.0 & 3.1 seem to work)<br /><br />russ@debian-taz:~$ apt-show-versions | grep -v testing | grep nvidia                                                    <br />    libgl1-nvidia-glx:amd64 334.21-1 newer than version in archive                                                                          <br />    libnvidia-ml1:amd64 334.21-1 newer than version in archive                                                                              <br />    nvidia-alternative:amd64 334.21-1 newer than version in archive                                                                         <br />    nvidia-detect:amd64 334.21-1 newer than version in archive<br />    nvidia-driver:amd64 334.21-1 newer than version in archive<br />    nvidia-kernel-dkms:amd64 334.21-1 newer than version in archive<br />    nvidia-vdpau-driver:amd64 334.21-1 newer than version in archive<br />    xserver-xorg-video-nvidia:amd64 334.21-1 newer than version in archive<br /><br /><br /><hr id="zwchr" /><strong>From: </strong>"Benjamin Schieder" <benjamin@anderdonau.de><br /><strong>To: </strong>pkg-nvidia-devel@lists.alioth.debian.org<br /><strong>Sent: </strong>Sunday, March 30, 2014 2:13:50 AM<br /><strong>Subject: </strong>Installation of 334.21 to support GeForce GTX 750 Ti<br /><br />Hello list.<br /><br />I'm running Debian Sid on my laptop.<br /><br />I have recently bought a GeForce GTX 750 Ti which is unsupported by the <br />331.49 drivers.<br />Trying to install the 334.21 version of the official nvidia .run file <br />obviously results in the message that this conflicts with the debian <br />package.<br /><br />Now, I could just apt-get remove nvidia-installer-cleanup and install <br />the official .run file, but:<br />I am using the card on a eGPU setup on a laptop, I still need to be able <br />to switch betwee the nvidia module and the mesa module.<br />Currently I do this with this egpu initscript: http://sprunge.us/MIBg<br />The script tries to find an nvidia card, and calls update-alternatives <br />then either for nvidia or mesa and also updates the Xorg config file <br />accordingly.<br /><br />When I remove the nvidia-installer-cleanup package, I also lose the <br />diversion for mesa and nvidia. Yet, I can't install the diversion <br />without the nvidia driver packages.<br /><br />Now the question is: Are you already working on the 334 driver version?<br />I have tried to update the packages myself, but not being a debian <br />developer or package maintainer, I simply don't know where to start.<br />Or do you have another idea how I could solve this?<br /><br /><br />Kind regards,<br />Benjamin Schieder<br />-- <br />Jabber: blindcoder@jabber.ccc.de<br />Twitter: blind_coder<br />Web: http://www.crash-override.net/<br /><br />_______________________________________________<br />pkg-nvidia-devel mailing list<br />pkg-nvidia-devel@lists.alioth.debian.org<br />http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-nvidia-devel</div>
</blockquote>
<p> </p>
<div>
<pre>-- <br />Jabber: blindcoder@jabber.ccc.de
Twitter: blind_coder
Web: http://www.crash-override.net/</pre>
</div>
</body></html>