I can't update nvidia 340 in ubuntu 14.04












0















I wanted to update Nvidia (tested, open source) driver on my laptop equipped with a 710M GPU on ubuntu 14.04 (kernel 4.4.0-105-generic), from 340 to a higher version. I tried 384, 375, 352 etc... But with no success.



I am using the canonical graphics-drivers ppa.



The 340 package is removed by the new installs and I removed the residual files manually in order to make sur there will be no trace of 340 on my computer. However, when I restart the pc, I cannot see the freshly installed driver version. What I see instead, is that Nouveau is used and that 340 is listed as another driver to be installed.



Tried this so many times... I don't know what to do.



Thanks for your help.










share|improve this question























  • If nvidia-340 is the only proprietary graphics driver that works on your system, then probably nvidia-340 is also the Recommended driver in the results of ubuntu-drivers devices, so remove the Canonical graphics-drivers ppa and stop trying to replace nvidia-340 with a different driver that doesn't work on your system.

    – karel
    Dec 24 '17 at 7:41













  • Thank you @karel. I suspected the ppa indeed. The reason why I am trying to raise my nvidia driver version is that programs using cuda 8 (or cudnn) crash with an error saying that my nvidia driver is not sufficient and should be raised.

    – lounice
    Dec 24 '17 at 9:40











  • On the official CUDA website there are CUDA packages for Linux that come bundled with their own Nvidia drivers. This might work on Ubuntu 14.04 or maybe not depending on if your system will boot after installing CUDA. The old version of nvidia-cuda-toolkit 5.5 from the default 14.04 repos runs fine on 14.04. The only guaranteed to work way to get nice updated default repository nvidia-cuda-toolkit is to clean install Ubuntu 17.10.

    – karel
    Dec 24 '17 at 10:24













  • I wouldn't say it is a duplicate, however the discussion you mention brings useful information in relation to my issue. Thanks

    – lounice
    Dec 24 '17 at 23:21
















0















I wanted to update Nvidia (tested, open source) driver on my laptop equipped with a 710M GPU on ubuntu 14.04 (kernel 4.4.0-105-generic), from 340 to a higher version. I tried 384, 375, 352 etc... But with no success.



I am using the canonical graphics-drivers ppa.



The 340 package is removed by the new installs and I removed the residual files manually in order to make sur there will be no trace of 340 on my computer. However, when I restart the pc, I cannot see the freshly installed driver version. What I see instead, is that Nouveau is used and that 340 is listed as another driver to be installed.



Tried this so many times... I don't know what to do.



Thanks for your help.










share|improve this question























  • If nvidia-340 is the only proprietary graphics driver that works on your system, then probably nvidia-340 is also the Recommended driver in the results of ubuntu-drivers devices, so remove the Canonical graphics-drivers ppa and stop trying to replace nvidia-340 with a different driver that doesn't work on your system.

    – karel
    Dec 24 '17 at 7:41













  • Thank you @karel. I suspected the ppa indeed. The reason why I am trying to raise my nvidia driver version is that programs using cuda 8 (or cudnn) crash with an error saying that my nvidia driver is not sufficient and should be raised.

    – lounice
    Dec 24 '17 at 9:40











  • On the official CUDA website there are CUDA packages for Linux that come bundled with their own Nvidia drivers. This might work on Ubuntu 14.04 or maybe not depending on if your system will boot after installing CUDA. The old version of nvidia-cuda-toolkit 5.5 from the default 14.04 repos runs fine on 14.04. The only guaranteed to work way to get nice updated default repository nvidia-cuda-toolkit is to clean install Ubuntu 17.10.

    – karel
    Dec 24 '17 at 10:24













  • I wouldn't say it is a duplicate, however the discussion you mention brings useful information in relation to my issue. Thanks

    – lounice
    Dec 24 '17 at 23:21














0












0








0








I wanted to update Nvidia (tested, open source) driver on my laptop equipped with a 710M GPU on ubuntu 14.04 (kernel 4.4.0-105-generic), from 340 to a higher version. I tried 384, 375, 352 etc... But with no success.



I am using the canonical graphics-drivers ppa.



The 340 package is removed by the new installs and I removed the residual files manually in order to make sur there will be no trace of 340 on my computer. However, when I restart the pc, I cannot see the freshly installed driver version. What I see instead, is that Nouveau is used and that 340 is listed as another driver to be installed.



Tried this so many times... I don't know what to do.



Thanks for your help.










share|improve this question














I wanted to update Nvidia (tested, open source) driver on my laptop equipped with a 710M GPU on ubuntu 14.04 (kernel 4.4.0-105-generic), from 340 to a higher version. I tried 384, 375, 352 etc... But with no success.



I am using the canonical graphics-drivers ppa.



The 340 package is removed by the new installs and I removed the residual files manually in order to make sur there will be no trace of 340 on my computer. However, when I restart the pc, I cannot see the freshly installed driver version. What I see instead, is that Nouveau is used and that 340 is listed as another driver to be installed.



Tried this so many times... I don't know what to do.



Thanks for your help.







14.04 drivers nvidia






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 24 '17 at 7:29









lounicelounice

114




114













  • If nvidia-340 is the only proprietary graphics driver that works on your system, then probably nvidia-340 is also the Recommended driver in the results of ubuntu-drivers devices, so remove the Canonical graphics-drivers ppa and stop trying to replace nvidia-340 with a different driver that doesn't work on your system.

    – karel
    Dec 24 '17 at 7:41













  • Thank you @karel. I suspected the ppa indeed. The reason why I am trying to raise my nvidia driver version is that programs using cuda 8 (or cudnn) crash with an error saying that my nvidia driver is not sufficient and should be raised.

    – lounice
    Dec 24 '17 at 9:40











  • On the official CUDA website there are CUDA packages for Linux that come bundled with their own Nvidia drivers. This might work on Ubuntu 14.04 or maybe not depending on if your system will boot after installing CUDA. The old version of nvidia-cuda-toolkit 5.5 from the default 14.04 repos runs fine on 14.04. The only guaranteed to work way to get nice updated default repository nvidia-cuda-toolkit is to clean install Ubuntu 17.10.

    – karel
    Dec 24 '17 at 10:24













  • I wouldn't say it is a duplicate, however the discussion you mention brings useful information in relation to my issue. Thanks

    – lounice
    Dec 24 '17 at 23:21



















  • If nvidia-340 is the only proprietary graphics driver that works on your system, then probably nvidia-340 is also the Recommended driver in the results of ubuntu-drivers devices, so remove the Canonical graphics-drivers ppa and stop trying to replace nvidia-340 with a different driver that doesn't work on your system.

    – karel
    Dec 24 '17 at 7:41













  • Thank you @karel. I suspected the ppa indeed. The reason why I am trying to raise my nvidia driver version is that programs using cuda 8 (or cudnn) crash with an error saying that my nvidia driver is not sufficient and should be raised.

    – lounice
    Dec 24 '17 at 9:40











  • On the official CUDA website there are CUDA packages for Linux that come bundled with their own Nvidia drivers. This might work on Ubuntu 14.04 or maybe not depending on if your system will boot after installing CUDA. The old version of nvidia-cuda-toolkit 5.5 from the default 14.04 repos runs fine on 14.04. The only guaranteed to work way to get nice updated default repository nvidia-cuda-toolkit is to clean install Ubuntu 17.10.

    – karel
    Dec 24 '17 at 10:24













  • I wouldn't say it is a duplicate, however the discussion you mention brings useful information in relation to my issue. Thanks

    – lounice
    Dec 24 '17 at 23:21

















If nvidia-340 is the only proprietary graphics driver that works on your system, then probably nvidia-340 is also the Recommended driver in the results of ubuntu-drivers devices, so remove the Canonical graphics-drivers ppa and stop trying to replace nvidia-340 with a different driver that doesn't work on your system.

– karel
Dec 24 '17 at 7:41







If nvidia-340 is the only proprietary graphics driver that works on your system, then probably nvidia-340 is also the Recommended driver in the results of ubuntu-drivers devices, so remove the Canonical graphics-drivers ppa and stop trying to replace nvidia-340 with a different driver that doesn't work on your system.

– karel
Dec 24 '17 at 7:41















Thank you @karel. I suspected the ppa indeed. The reason why I am trying to raise my nvidia driver version is that programs using cuda 8 (or cudnn) crash with an error saying that my nvidia driver is not sufficient and should be raised.

– lounice
Dec 24 '17 at 9:40





Thank you @karel. I suspected the ppa indeed. The reason why I am trying to raise my nvidia driver version is that programs using cuda 8 (or cudnn) crash with an error saying that my nvidia driver is not sufficient and should be raised.

– lounice
Dec 24 '17 at 9:40













On the official CUDA website there are CUDA packages for Linux that come bundled with their own Nvidia drivers. This might work on Ubuntu 14.04 or maybe not depending on if your system will boot after installing CUDA. The old version of nvidia-cuda-toolkit 5.5 from the default 14.04 repos runs fine on 14.04. The only guaranteed to work way to get nice updated default repository nvidia-cuda-toolkit is to clean install Ubuntu 17.10.

– karel
Dec 24 '17 at 10:24







On the official CUDA website there are CUDA packages for Linux that come bundled with their own Nvidia drivers. This might work on Ubuntu 14.04 or maybe not depending on if your system will boot after installing CUDA. The old version of nvidia-cuda-toolkit 5.5 from the default 14.04 repos runs fine on 14.04. The only guaranteed to work way to get nice updated default repository nvidia-cuda-toolkit is to clean install Ubuntu 17.10.

– karel
Dec 24 '17 at 10:24















I wouldn't say it is a duplicate, however the discussion you mention brings useful information in relation to my issue. Thanks

– lounice
Dec 24 '17 at 23:21





I wouldn't say it is a duplicate, however the discussion you mention brings useful information in relation to my issue. Thanks

– lounice
Dec 24 '17 at 23:21










1 Answer
1






active

oldest

votes


















0














check for correct driver for your graphic card on nvidia page . download it and start manual installation. read nvidia readme and installation guide.



before installation or re-installation check compiler version. linux kernel is normally compiled with gcc so should be nvidia driver.



if this is a re-installation make sure it is clean system.
sudo apt-get --purge remove nvidia-340 (remove old driver)



nvidia NVIDIA-Linux-x86_64-xxx.yyy.run script is using cc for compiling. check version of cc with command cc --version it should be at same version an level as was used to compile the linux kernel.



cc is a link target to gcc. use command sudo update-alternatives --config gcc to select correct version for the gcc. cc can point to clang an that case is necessary to replace the cc link target with command: sudo update-alternatives --config cc



install nvidia kernel driver with command: sudo apt-get install nvidia-340 or manualy run NVIDIA-Linux-x86_64-xxx.yyy.run script as root user.



check is display is using nvidia driver with command: sudo lshw -C display.



check if nvidia driver is in use :lspci -k | grep -EA3 'VGA'



after instalation generate proper xorg.conf file with command sudo nvidia-xconfig. normally nvidia-xconfig set proper value of DPI for your monitor.



to adopt proper DPI setting for your monitor specify your desired DPI by placing desired value inside section "Monitor" of your /etc/X11/xorg.conf. for example: Option "DPI" "96 x 96"



logout an login to apply new settings for the X server.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f989087%2fi-cant-update-nvidia-340-in-ubuntu-14-04%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    check for correct driver for your graphic card on nvidia page . download it and start manual installation. read nvidia readme and installation guide.



    before installation or re-installation check compiler version. linux kernel is normally compiled with gcc so should be nvidia driver.



    if this is a re-installation make sure it is clean system.
    sudo apt-get --purge remove nvidia-340 (remove old driver)



    nvidia NVIDIA-Linux-x86_64-xxx.yyy.run script is using cc for compiling. check version of cc with command cc --version it should be at same version an level as was used to compile the linux kernel.



    cc is a link target to gcc. use command sudo update-alternatives --config gcc to select correct version for the gcc. cc can point to clang an that case is necessary to replace the cc link target with command: sudo update-alternatives --config cc



    install nvidia kernel driver with command: sudo apt-get install nvidia-340 or manualy run NVIDIA-Linux-x86_64-xxx.yyy.run script as root user.



    check is display is using nvidia driver with command: sudo lshw -C display.



    check if nvidia driver is in use :lspci -k | grep -EA3 'VGA'



    after instalation generate proper xorg.conf file with command sudo nvidia-xconfig. normally nvidia-xconfig set proper value of DPI for your monitor.



    to adopt proper DPI setting for your monitor specify your desired DPI by placing desired value inside section "Monitor" of your /etc/X11/xorg.conf. for example: Option "DPI" "96 x 96"



    logout an login to apply new settings for the X server.






    share|improve this answer






























      0














      check for correct driver for your graphic card on nvidia page . download it and start manual installation. read nvidia readme and installation guide.



      before installation or re-installation check compiler version. linux kernel is normally compiled with gcc so should be nvidia driver.



      if this is a re-installation make sure it is clean system.
      sudo apt-get --purge remove nvidia-340 (remove old driver)



      nvidia NVIDIA-Linux-x86_64-xxx.yyy.run script is using cc for compiling. check version of cc with command cc --version it should be at same version an level as was used to compile the linux kernel.



      cc is a link target to gcc. use command sudo update-alternatives --config gcc to select correct version for the gcc. cc can point to clang an that case is necessary to replace the cc link target with command: sudo update-alternatives --config cc



      install nvidia kernel driver with command: sudo apt-get install nvidia-340 or manualy run NVIDIA-Linux-x86_64-xxx.yyy.run script as root user.



      check is display is using nvidia driver with command: sudo lshw -C display.



      check if nvidia driver is in use :lspci -k | grep -EA3 'VGA'



      after instalation generate proper xorg.conf file with command sudo nvidia-xconfig. normally nvidia-xconfig set proper value of DPI for your monitor.



      to adopt proper DPI setting for your monitor specify your desired DPI by placing desired value inside section "Monitor" of your /etc/X11/xorg.conf. for example: Option "DPI" "96 x 96"



      logout an login to apply new settings for the X server.






      share|improve this answer




























        0












        0








        0







        check for correct driver for your graphic card on nvidia page . download it and start manual installation. read nvidia readme and installation guide.



        before installation or re-installation check compiler version. linux kernel is normally compiled with gcc so should be nvidia driver.



        if this is a re-installation make sure it is clean system.
        sudo apt-get --purge remove nvidia-340 (remove old driver)



        nvidia NVIDIA-Linux-x86_64-xxx.yyy.run script is using cc for compiling. check version of cc with command cc --version it should be at same version an level as was used to compile the linux kernel.



        cc is a link target to gcc. use command sudo update-alternatives --config gcc to select correct version for the gcc. cc can point to clang an that case is necessary to replace the cc link target with command: sudo update-alternatives --config cc



        install nvidia kernel driver with command: sudo apt-get install nvidia-340 or manualy run NVIDIA-Linux-x86_64-xxx.yyy.run script as root user.



        check is display is using nvidia driver with command: sudo lshw -C display.



        check if nvidia driver is in use :lspci -k | grep -EA3 'VGA'



        after instalation generate proper xorg.conf file with command sudo nvidia-xconfig. normally nvidia-xconfig set proper value of DPI for your monitor.



        to adopt proper DPI setting for your monitor specify your desired DPI by placing desired value inside section "Monitor" of your /etc/X11/xorg.conf. for example: Option "DPI" "96 x 96"



        logout an login to apply new settings for the X server.






        share|improve this answer















        check for correct driver for your graphic card on nvidia page . download it and start manual installation. read nvidia readme and installation guide.



        before installation or re-installation check compiler version. linux kernel is normally compiled with gcc so should be nvidia driver.



        if this is a re-installation make sure it is clean system.
        sudo apt-get --purge remove nvidia-340 (remove old driver)



        nvidia NVIDIA-Linux-x86_64-xxx.yyy.run script is using cc for compiling. check version of cc with command cc --version it should be at same version an level as was used to compile the linux kernel.



        cc is a link target to gcc. use command sudo update-alternatives --config gcc to select correct version for the gcc. cc can point to clang an that case is necessary to replace the cc link target with command: sudo update-alternatives --config cc



        install nvidia kernel driver with command: sudo apt-get install nvidia-340 or manualy run NVIDIA-Linux-x86_64-xxx.yyy.run script as root user.



        check is display is using nvidia driver with command: sudo lshw -C display.



        check if nvidia driver is in use :lspci -k | grep -EA3 'VGA'



        after instalation generate proper xorg.conf file with command sudo nvidia-xconfig. normally nvidia-xconfig set proper value of DPI for your monitor.



        to adopt proper DPI setting for your monitor specify your desired DPI by placing desired value inside section "Monitor" of your /etc/X11/xorg.conf. for example: Option "DPI" "96 x 96"



        logout an login to apply new settings for the X server.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 3 at 16:16

























        answered Feb 3 at 16:01









        k500k500

        113




        113






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f989087%2fi-cant-update-nvidia-340-in-ubuntu-14-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg