Computer Hope

Software => BSD, Linux, and Unix => Topic started by: Zooma on September 02, 2016, 11:23:32 AM

Title: How to add new mode screen resolution in xrandr for two monitors
Post by: Zooma 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:
(http://i.imgur.com/L5IZDHQ.png)
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 (http://"https://ask.fedoraproject.org/en/question/8301/how-do-i-change-my-monitors-resolution/") and this (http://"https://wiki.archlinux.org/index.php/Xrandr") 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
Title: Re: How to add new mode screen resolution in xrandr for two monitors
Post by: Geek-9pm 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) (https://ubuntuforums.org/showthread.php?t=2220574)
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?
Title: Re: How to add new mode screen resolution in xrandr for two monitors
Post by: Zooma on September 02, 2016, 10:58:05 PM
https://ask.fedoraproject.org/en/question/8301/how-do-i-change-my-monitors-resolution/ (https://ask.fedoraproject.org/en/question/8301/how-do-i-change-my-monitors-resolution/)
https://wiki.archlinux.org/index.php/Xrandr (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
Title: Re: How to add new mode screen resolution in xrandr for two monitors
Post by: Geek-9pm 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? 
Title: Re: How to add new mode screen resolution in xrandr for two monitors
Post by: Zooma 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