Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to add new mode screen resolution in xrandr for two monitors  (Read 8295 times)

0 Members and 1 Guest are viewing this topic.

Zooma

    Topic Starter


    Starter

    • Experience: Experienced
    • OS: Linux variant
    How to add new mode screen resolution in xrandr for two monitors
    « on: September 02, 2016, 11:23:32 AM »
    I have two monitors, they connected so: DVI-I-0 21.5" and HDMI 19". Im trying add new mode in xrandr so:

    And so, not working too:
    Quote
    nano /etc/X11/xorg.conf.d/10-monitor.conf
    Quote
    ection "Monitor"
        Identifier "DVI-I-0"
        Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576 $
        Option "PreferredMode" "1920x1080_60.00"
    EndSection

    Section "Screen"
        Identifier "Screen0"
        Monitor "DVI-I-0"
        DefaultDepth 24
        SubSection "Display"
            Modes "1920x1080_60.00"
        EndSubSection
    EndSection

    Section "Device"
        Identifier "Device0"
        Driver "nvidia"
    EndSection
    I'm using this links and this for learning manual
    And result:
    Quote
    xrandr --output DVI-I-0 --mode 1920x1080_60.00
    xrandr: cannot find mode 1920x1080_60.00
    I need hint

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: How to add new mode screen resolution in xrandr for two monitors
    « Reply #1 on: September 02, 2016, 02:01:37 PM »
    Your links do not work...

    What Linux distro are you using?

    Please explain this line:
        Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576 $
    I have no idea of what it means.

    Here is a post that seems similar to what you are doing.

    Thread: Dual monitor in Ubuntu 14.04 (Ubuntu forums)

    Quote
    So I installed Trusty Tahr two days ago and found that only the screen connected through the DVI-port of my graphics card worked. Another monitor connected through the HDMI-port though will tell me it cannot get any signal..

    It is not unusual for monitors to say they have no signal  :(
    Did you try to swap monitors?
    « Last Edit: September 02, 2016, 02:11:55 PM by Geek-9pm »

    Zooma

      Topic Starter


      Starter

      • Experience: Experienced
      • OS: Linux variant
      Re: How to add new mode screen resolution in xrandr for two monitors
      « Reply #2 on: September 02, 2016, 10:58:05 PM »
      https://ask.fedoraproject.org/en/question/8301/how-do-i-change-my-monitors-resolution/
      https://wiki.archlinux.org/index.php/Xrandr
      Fixed links
      Quote
      Section "Monitor"
          Identifier "DVI-I-0"
          Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
          Option "PreferredMode" "1920x1080_60.00"
      EndSection

      Section "Screen"
          Identifier "Screen0"
          Monitor "DVI-I-0"
          DefaultDepth 24
          SubSection "Display"
              Modes "1920x1080_60.00"
          EndSubSection
      EndSection

      Section "Device"
          Identifier "Device0"
          Driver "nvidia"
      EndSection
      Full config
      Quote
      What Linux distro are you using?
      Slackware 14.2
      Videocard geforce gtx 650, with installed latest drivers from nvidia.com
      Quote
      Did you try to swap monitors?
      Yep, then 19" maximum screen resolution 1024x768, and 21.5" = 1920x1080, but i want that DVI-I-0 was primary always

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: How to add new mode screen resolution in xrandr for two monitors
      « Reply #3 on: September 02, 2016, 11:54:37 PM »
      OK, you say...
      Quote
      Yep, then 19" maximum screen resolution 1024x768, and 21.5" = 1920x1080, but i want that DVI-I-0 was primary always
      So both monitors work. -Right?
      The resolution is alright?
      You issue is which monitor is the primary, right?
      Can either monitor do HDMI? Can both do DVI?
      Apparently not and that is what annoys you.
      The following is an assumption on my part.
      .....
      Let me assume you want the HDMI in from of you because  it has the sound.
      You want the DVI to be the other because there is no sound. -Right?

      You can get cables to cross between HDMI and DVI.
      From a search...
      Quote
      The audio can be carried over DVI to HDMI cable depending on the graphics card. For newer GPUs, you just need to set the HDMI audio device in the Windows Sound control panel. Older GPUs need to use a digital audio S/PDIF cable to connect from the PC to the graphics board's on board S/PDIF connector.Mar 19, 2010
      But that is for Windows, not Linux. Some monitors let you use an alternative sound source. I have a similar program, but in Windows not Linux. I had to use a analog audio cable to the monitor in from of me.
      See here:
      http://www.tomsguide.com/forum/57735-6-audio
      Is any of this relevant tall? 

      Zooma

        Topic Starter


        Starter

        • Experience: Experienced
        • OS: Linux variant
        Re: How to add new mode screen resolution in xrandr for two monitors
        « Reply #4 on: September 03, 2016, 12:32:31 AM »
        When the computer is turned on the primary signal is fed to a monitor connected to a DVI-I-, and then the DVI-D and HDMI. So I want to leave this monitor 21.5 "basic. With the sound I have no problem.
        I can't understand why xrandr give me error when i add new mode to DVI-I-0