this xorg.config allows me to set a resolution that is not supported by my monitor in nvidia x server, black...












0















So for some reason even if my monitor doesn't support resolutions above 1024x768 (it's an old monitor) this xorg.config that I found in a forum allows me to set a custom resolution in nvidia x server and it works perfectly if I don't do this: if I click "save to x configuration file" button and reboot, the monitor is just a black screen. I don't really mind not messing with my current xorg.config and configuring it manually every time I boot the pc, however I want to know why does applying this settings to xorg.config breaks its functionality.



This is the xorg.config that makes setting custom resolution possible if I don't mess with it.



Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "NT@ LCD MONITOR"
HorizSync 28.0 - 66.0
VertRefresh 48.0 - 75.0
Option "DPMS"
Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 520"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-1"
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
Option "ModeValidation" "NoVesaModes, NoXServerModes"
Option "ExactModeTimingsDVI" "True"
SubSection "Display"
Depth 24
Modes "1400x1050_57.20"
EndSubSection
EndSection


And this is the modified file where I tried to add settings that are generated by the "save x configuration" button in nxserver:



# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 415.27

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 66.0
VertRefresh 48.0 - 75.0
Option "DPMS"
Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 610"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-1"
Option "metamodes" "1024x768 +0+0 {viewportin=1440x1080}, HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
Option "ModeValidation" "NoVesaModes, NoXServerModes"
Option "ExactModeTimingsDVI" "True"
SubSection "Display"
Depth 24
Modes "1400x1050_57.20"
EndSubSection
EndSection


I didn't see the point in adding the file generated by the "save x configuration", since A) it's the same as the first file, the things that are different in the second file are what the nxserver config file had that the first file didn't have and B) because it breaks something and just makes screen black on boot.



Well I just want to know why this renders a black screen, but if you know how to keep settings on reboot without breaking functionality that'd be great.










share|improve this question



























    0















    So for some reason even if my monitor doesn't support resolutions above 1024x768 (it's an old monitor) this xorg.config that I found in a forum allows me to set a custom resolution in nvidia x server and it works perfectly if I don't do this: if I click "save to x configuration file" button and reboot, the monitor is just a black screen. I don't really mind not messing with my current xorg.config and configuring it manually every time I boot the pc, however I want to know why does applying this settings to xorg.config breaks its functionality.



    This is the xorg.config that makes setting custom resolution possible if I don't mess with it.



    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection

    Section "Files"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "NT@ LCD MONITOR"
    HorizSync 28.0 - 66.0
    VertRefresh 48.0 - 75.0
    Option "DPMS"
    Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 520"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "CRT-1"
    Option "metamodes" "HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    Option "ModeValidation" "NoVesaModes, NoXServerModes"
    Option "ExactModeTimingsDVI" "True"
    SubSection "Display"
    Depth 24
    Modes "1400x1050_57.20"
    EndSubSection
    EndSection


    And this is the modified file where I tried to add settings that are generated by the "save x configuration" button in nxserver:



    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 415.27

    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection

    Section "Files"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 66.0
    VertRefresh 48.0 - 75.0
    Option "DPMS"
    Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 610"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "CRT-1"
    Option "metamodes" "1024x768 +0+0 {viewportin=1440x1080}, HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    Option "ModeValidation" "NoVesaModes, NoXServerModes"
    Option "ExactModeTimingsDVI" "True"
    SubSection "Display"
    Depth 24
    Modes "1400x1050_57.20"
    EndSubSection
    EndSection


    I didn't see the point in adding the file generated by the "save x configuration", since A) it's the same as the first file, the things that are different in the second file are what the nxserver config file had that the first file didn't have and B) because it breaks something and just makes screen black on boot.



    Well I just want to know why this renders a black screen, but if you know how to keep settings on reboot without breaking functionality that'd be great.










    share|improve this question

























      0












      0








      0








      So for some reason even if my monitor doesn't support resolutions above 1024x768 (it's an old monitor) this xorg.config that I found in a forum allows me to set a custom resolution in nvidia x server and it works perfectly if I don't do this: if I click "save to x configuration file" button and reboot, the monitor is just a black screen. I don't really mind not messing with my current xorg.config and configuring it manually every time I boot the pc, however I want to know why does applying this settings to xorg.config breaks its functionality.



      This is the xorg.config that makes setting custom resolution possible if I don't mess with it.



      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 0 0
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      Option "Xinerama" "0"
      EndSection

      Section "Files"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      # HorizSync source: edid, VertRefresh source: edid
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "NT@ LCD MONITOR"
      HorizSync 28.0 - 66.0
      VertRefresh 48.0 - 75.0
      Option "DPMS"
      Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce GT 520"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "nvidiaXineramaInfoOrder" "CRT-1"
      Option "metamodes" "HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      Option "ModeValidation" "NoVesaModes, NoXServerModes"
      Option "ExactModeTimingsDVI" "True"
      SubSection "Display"
      Depth 24
      Modes "1400x1050_57.20"
      EndSubSection
      EndSection


      And this is the modified file where I tried to add settings that are generated by the "save x configuration" button in nxserver:



      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings: version 415.27

      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 0 0
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      Option "Xinerama" "0"
      EndSection

      Section "Files"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      # HorizSync source: edid, VertRefresh source: edid
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 66.0
      VertRefresh 48.0 - 75.0
      Option "DPMS"
      Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce GT 610"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "nvidiaXineramaInfoOrder" "CRT-1"
      Option "metamodes" "1024x768 +0+0 {viewportin=1440x1080}, HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      Option "ModeValidation" "NoVesaModes, NoXServerModes"
      Option "ExactModeTimingsDVI" "True"
      SubSection "Display"
      Depth 24
      Modes "1400x1050_57.20"
      EndSubSection
      EndSection


      I didn't see the point in adding the file generated by the "save x configuration", since A) it's the same as the first file, the things that are different in the second file are what the nxserver config file had that the first file didn't have and B) because it breaks something and just makes screen black on boot.



      Well I just want to know why this renders a black screen, but if you know how to keep settings on reboot without breaking functionality that'd be great.










      share|improve this question














      So for some reason even if my monitor doesn't support resolutions above 1024x768 (it's an old monitor) this xorg.config that I found in a forum allows me to set a custom resolution in nvidia x server and it works perfectly if I don't do this: if I click "save to x configuration file" button and reboot, the monitor is just a black screen. I don't really mind not messing with my current xorg.config and configuring it manually every time I boot the pc, however I want to know why does applying this settings to xorg.config breaks its functionality.



      This is the xorg.config that makes setting custom resolution possible if I don't mess with it.



      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 0 0
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      Option "Xinerama" "0"
      EndSection

      Section "Files"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      # HorizSync source: edid, VertRefresh source: edid
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "NT@ LCD MONITOR"
      HorizSync 28.0 - 66.0
      VertRefresh 48.0 - 75.0
      Option "DPMS"
      Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce GT 520"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "nvidiaXineramaInfoOrder" "CRT-1"
      Option "metamodes" "HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      Option "ModeValidation" "NoVesaModes, NoXServerModes"
      Option "ExactModeTimingsDVI" "True"
      SubSection "Display"
      Depth 24
      Modes "1400x1050_57.20"
      EndSubSection
      EndSection


      And this is the modified file where I tried to add settings that are generated by the "save x configuration" button in nxserver:



      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings: version 415.27

      Section "ServerLayout"
      Identifier "Layout0"
      Screen 0 "Screen0" 0 0
      InputDevice "Keyboard0" "CoreKeyboard"
      InputDevice "Mouse0" "CorePointer"
      Option "Xinerama" "0"
      EndSection

      Section "Files"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Mouse0"
      Driver "mouse"
      Option "Protocol" "auto"
      Option "Device" "/dev/psaux"
      Option "Emulate3Buttons" "no"
      Option "ZAxisMapping" "4 5"
      EndSection

      Section "InputDevice"
      # generated from default
      Identifier "Keyboard0"
      Driver "kbd"
      EndSection

      Section "Monitor"
      # HorizSync source: edid, VertRefresh source: edid
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "Unknown"
      HorizSync 28.0 - 66.0
      VertRefresh 48.0 - 75.0
      Option "DPMS"
      Modeline "1400x1050_57.20" 115.75 1400 1488 1632 1864 1050 1053 1057 1088 -hsync +vsync
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce GT 610"
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "Stereo" "0"
      Option "nvidiaXineramaInfoOrder" "CRT-1"
      Option "metamodes" "1024x768 +0+0 {viewportin=1440x1080}, HDMI-0: nvidia-auto-select +0+0, VGA-0: nvidia-auto-select +1400+0"
      Option "SLI" "Off"
      Option "MultiGPU" "Off"
      Option "BaseMosaic" "off"
      Option "ModeValidation" "NoVesaModes, NoXServerModes"
      Option "ExactModeTimingsDVI" "True"
      SubSection "Display"
      Depth 24
      Modes "1400x1050_57.20"
      EndSubSection
      EndSection


      I didn't see the point in adding the file generated by the "save x configuration", since A) it's the same as the first file, the things that are different in the second file are what the nxserver config file had that the first file didn't have and B) because it breaks something and just makes screen black on boot.



      Well I just want to know why this renders a black screen, but if you know how to keep settings on reboot without breaking functionality that'd be great.







      nvidia xorg display-resolution nvidia-geforce xorg.conf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 28 at 8:46









      Eds SavageEds Savage

      11




      11






















          0






          active

          oldest

          votes











          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%2f1113462%2fthis-xorg-config-allows-me-to-set-a-resolution-that-is-not-supported-by-my-monit%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1113462%2fthis-xorg-config-allows-me-to-set-a-resolution-that-is-not-supported-by-my-monit%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

          How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?