20-nvidia.conf in xorg.conf.d doesnt exist












1















I'm new to GNU/Linux, running xubuntu 15.10 with a GTX 570 graphics card, and am trying to prevent screen tearing in scrolling web pages, videos, and steam games. I get no screen tearing with the PPA version of the nvidia 355.11 drivers, but it requires me to enter the following in the terminal after every boot and during a steam game.



 nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"


It seems in order to make the change permanent, I need to add a line to the xorg.conf file (which seems to be deprecated) or the 20-nvidia.conf file in /usr/share/X11/xorg.conf.d/ but neither files exist. In my /usr/share/X11/xorg.conf.d/ directory there are only the following files:



10-evdev.conf         11-evdev-trackpoint.conf  50-wacom.conf
10-quirks.conf 50-synaptics.conf 51-synaptics-quirks.conf
11-evdev-quirks.conf 50-vmmouse.conf glamoregl.conf


and none of them have a screen section, or serverlayout section. I've tried several workarounds but they either don't fix the tearing or cause lightdm to not start at all. I've made a xorg.conf file with sudo X :1 -configure and placed it in the /etc/X11/ directory then added in the following:



Section "Screen"
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
EndSection


and tried a shell script in /etc/profile.d/ to run the first terminal command I mentioned earlier. It either doesn't stop the tearing and I have to change the nvidia setting in the terminal to fix it like usual, or lightdm just doesn't display anything and I have to recover through grub loader. If I save the configuration settings in nvidia x server settings it creates a file .nvidia-settings-rc but nowhere in the file can I see it mentioning the current metamode.



Some of this information used to get me where I am seems outdated, but I can't find 20-nvidia.conf or some kind of equivalent on my drive.



Giovanni Toraldo's answer will fix my screen tearing but the permanent solution isn't applicable.





  • xorg.conf manual

  • PPA drivers










share|improve this question





























    1















    I'm new to GNU/Linux, running xubuntu 15.10 with a GTX 570 graphics card, and am trying to prevent screen tearing in scrolling web pages, videos, and steam games. I get no screen tearing with the PPA version of the nvidia 355.11 drivers, but it requires me to enter the following in the terminal after every boot and during a steam game.



     nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"


    It seems in order to make the change permanent, I need to add a line to the xorg.conf file (which seems to be deprecated) or the 20-nvidia.conf file in /usr/share/X11/xorg.conf.d/ but neither files exist. In my /usr/share/X11/xorg.conf.d/ directory there are only the following files:



    10-evdev.conf         11-evdev-trackpoint.conf  50-wacom.conf
    10-quirks.conf 50-synaptics.conf 51-synaptics-quirks.conf
    11-evdev-quirks.conf 50-vmmouse.conf glamoregl.conf


    and none of them have a screen section, or serverlayout section. I've tried several workarounds but they either don't fix the tearing or cause lightdm to not start at all. I've made a xorg.conf file with sudo X :1 -configure and placed it in the /etc/X11/ directory then added in the following:



    Section "Screen"
    Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
    EndSection


    and tried a shell script in /etc/profile.d/ to run the first terminal command I mentioned earlier. It either doesn't stop the tearing and I have to change the nvidia setting in the terminal to fix it like usual, or lightdm just doesn't display anything and I have to recover through grub loader. If I save the configuration settings in nvidia x server settings it creates a file .nvidia-settings-rc but nowhere in the file can I see it mentioning the current metamode.



    Some of this information used to get me where I am seems outdated, but I can't find 20-nvidia.conf or some kind of equivalent on my drive.



    Giovanni Toraldo's answer will fix my screen tearing but the permanent solution isn't applicable.





    • xorg.conf manual

    • PPA drivers










    share|improve this question



























      1












      1








      1


      1






      I'm new to GNU/Linux, running xubuntu 15.10 with a GTX 570 graphics card, and am trying to prevent screen tearing in scrolling web pages, videos, and steam games. I get no screen tearing with the PPA version of the nvidia 355.11 drivers, but it requires me to enter the following in the terminal after every boot and during a steam game.



       nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"


      It seems in order to make the change permanent, I need to add a line to the xorg.conf file (which seems to be deprecated) or the 20-nvidia.conf file in /usr/share/X11/xorg.conf.d/ but neither files exist. In my /usr/share/X11/xorg.conf.d/ directory there are only the following files:



      10-evdev.conf         11-evdev-trackpoint.conf  50-wacom.conf
      10-quirks.conf 50-synaptics.conf 51-synaptics-quirks.conf
      11-evdev-quirks.conf 50-vmmouse.conf glamoregl.conf


      and none of them have a screen section, or serverlayout section. I've tried several workarounds but they either don't fix the tearing or cause lightdm to not start at all. I've made a xorg.conf file with sudo X :1 -configure and placed it in the /etc/X11/ directory then added in the following:



      Section "Screen"
      Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
      EndSection


      and tried a shell script in /etc/profile.d/ to run the first terminal command I mentioned earlier. It either doesn't stop the tearing and I have to change the nvidia setting in the terminal to fix it like usual, or lightdm just doesn't display anything and I have to recover through grub loader. If I save the configuration settings in nvidia x server settings it creates a file .nvidia-settings-rc but nowhere in the file can I see it mentioning the current metamode.



      Some of this information used to get me where I am seems outdated, but I can't find 20-nvidia.conf or some kind of equivalent on my drive.



      Giovanni Toraldo's answer will fix my screen tearing but the permanent solution isn't applicable.





      • xorg.conf manual

      • PPA drivers










      share|improve this question
















      I'm new to GNU/Linux, running xubuntu 15.10 with a GTX 570 graphics card, and am trying to prevent screen tearing in scrolling web pages, videos, and steam games. I get no screen tearing with the PPA version of the nvidia 355.11 drivers, but it requires me to enter the following in the terminal after every boot and during a steam game.



       nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"


      It seems in order to make the change permanent, I need to add a line to the xorg.conf file (which seems to be deprecated) or the 20-nvidia.conf file in /usr/share/X11/xorg.conf.d/ but neither files exist. In my /usr/share/X11/xorg.conf.d/ directory there are only the following files:



      10-evdev.conf         11-evdev-trackpoint.conf  50-wacom.conf
      10-quirks.conf 50-synaptics.conf 51-synaptics-quirks.conf
      11-evdev-quirks.conf 50-vmmouse.conf glamoregl.conf


      and none of them have a screen section, or serverlayout section. I've tried several workarounds but they either don't fix the tearing or cause lightdm to not start at all. I've made a xorg.conf file with sudo X :1 -configure and placed it in the /etc/X11/ directory then added in the following:



      Section "Screen"
      Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
      EndSection


      and tried a shell script in /etc/profile.d/ to run the first terminal command I mentioned earlier. It either doesn't stop the tearing and I have to change the nvidia setting in the terminal to fix it like usual, or lightdm just doesn't display anything and I have to recover through grub loader. If I save the configuration settings in nvidia x server settings it creates a file .nvidia-settings-rc but nowhere in the file can I see it mentioning the current metamode.



      Some of this information used to get me where I am seems outdated, but I can't find 20-nvidia.conf or some kind of equivalent on my drive.



      Giovanni Toraldo's answer will fix my screen tearing but the permanent solution isn't applicable.





      • xorg.conf manual

      • PPA drivers







      drivers nvidia xorg






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 13 '17 at 12:25









      Community

      1




      1










      asked Dec 17 '15 at 6:34









      ebinanaebinana

      613




      613






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I had success generating a new xorg.conf simply with nvidia-xconfig in the terminal. Added in the aforementioned "metamodes" option, moved and renamed xorg.conf to /usr/share/X11/xorg.conf.d/20-nvidia.conf and haven't seen screen tearing since.



          This section on the ArchWiki was most useful






          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%2f710390%2f20-nvidia-conf-in-xorg-conf-d-doesnt-exist%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














            I had success generating a new xorg.conf simply with nvidia-xconfig in the terminal. Added in the aforementioned "metamodes" option, moved and renamed xorg.conf to /usr/share/X11/xorg.conf.d/20-nvidia.conf and haven't seen screen tearing since.



            This section on the ArchWiki was most useful






            share|improve this answer




























              0














              I had success generating a new xorg.conf simply with nvidia-xconfig in the terminal. Added in the aforementioned "metamodes" option, moved and renamed xorg.conf to /usr/share/X11/xorg.conf.d/20-nvidia.conf and haven't seen screen tearing since.



              This section on the ArchWiki was most useful






              share|improve this answer


























                0












                0








                0







                I had success generating a new xorg.conf simply with nvidia-xconfig in the terminal. Added in the aforementioned "metamodes" option, moved and renamed xorg.conf to /usr/share/X11/xorg.conf.d/20-nvidia.conf and haven't seen screen tearing since.



                This section on the ArchWiki was most useful






                share|improve this answer













                I had success generating a new xorg.conf simply with nvidia-xconfig in the terminal. Added in the aforementioned "metamodes" option, moved and renamed xorg.conf to /usr/share/X11/xorg.conf.d/20-nvidia.conf and haven't seen screen tearing since.



                This section on the ArchWiki was most useful







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 17 '15 at 14:55









                ebinanaebinana

                613




                613






























                    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%2f710390%2f20-nvidia-conf-in-xorg-conf-d-doesnt-exist%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

                    mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?