Ubuntu 18.10 problem with Nvidia 340 drivers












0















I have a Nvidia 210 graphic card but, after installing the upgrade from Ubuntu 18.04 to 18.10, Nvidia 340 drivers were installed and my system got stuck at the Ubuntu logo screen. I went into the recovery mode and removed them and now everything is fine. So, what is the issue, and how can I fix it? Or, is there an alternative to using those drivers?










share|improve this question





























    0















    I have a Nvidia 210 graphic card but, after installing the upgrade from Ubuntu 18.04 to 18.10, Nvidia 340 drivers were installed and my system got stuck at the Ubuntu logo screen. I went into the recovery mode and removed them and now everything is fine. So, what is the issue, and how can I fix it? Or, is there an alternative to using those drivers?










    share|improve this question



























      0












      0








      0








      I have a Nvidia 210 graphic card but, after installing the upgrade from Ubuntu 18.04 to 18.10, Nvidia 340 drivers were installed and my system got stuck at the Ubuntu logo screen. I went into the recovery mode and removed them and now everything is fine. So, what is the issue, and how can I fix it? Or, is there an alternative to using those drivers?










      share|improve this question
















      I have a Nvidia 210 graphic card but, after installing the upgrade from Ubuntu 18.04 to 18.10, Nvidia 340 drivers were installed and my system got stuck at the Ubuntu logo screen. I went into the recovery mode and removed them and now everything is fine. So, what is the issue, and how can I fix it? Or, is there an alternative to using those drivers?







      nvidia drive






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 19 '18 at 18:15









      CentaurusA

      2,2351424




      2,2351424










      asked Dec 19 '18 at 17:25









      Grinch_Grinch_

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0














          NVIDIA make script is using cc link for compiling nvidia.ko. check cc link with command: sudo update-alternatives --list cc and if necessary replace cc target with command: sudo update-alternatives --config cc.



          NVIDIA driver and Linux kernel must be compiled with the same gcc version.



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



          after installation 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%2f1103152%2fubuntu-18-10-problem-with-nvidia-340-drivers%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














            NVIDIA make script is using cc link for compiling nvidia.ko. check cc link with command: sudo update-alternatives --list cc and if necessary replace cc target with command: sudo update-alternatives --config cc.



            NVIDIA driver and Linux kernel must be compiled with the same gcc version.



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



            after installation 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














              NVIDIA make script is using cc link for compiling nvidia.ko. check cc link with command: sudo update-alternatives --list cc and if necessary replace cc target with command: sudo update-alternatives --config cc.



              NVIDIA driver and Linux kernel must be compiled with the same gcc version.



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



              after installation 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







                NVIDIA make script is using cc link for compiling nvidia.ko. check cc link with command: sudo update-alternatives --list cc and if necessary replace cc target with command: sudo update-alternatives --config cc.



                NVIDIA driver and Linux kernel must be compiled with the same gcc version.



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



                after installation 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















                NVIDIA make script is using cc link for compiling nvidia.ko. check cc link with command: sudo update-alternatives --list cc and if necessary replace cc target with command: sudo update-alternatives --config cc.



                NVIDIA driver and Linux kernel must be compiled with the same gcc version.



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



                after installation 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









                mature

                2,1574931




                2,1574931










                answered Feb 3 at 15:30









                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%2f1103152%2fubuntu-18-10-problem-with-nvidia-340-drivers%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