Can't figure how to write Xorg configuration for second screen

Basically I've got the main monitor going as it should, but I can't configure the secondary monitor.
The monitors:
Main monitor: 2560x1440, 144Hz, normal rotation, placed to the left.
Secondary monitor: 1920x1080, 60Hz, rotated clockwise, placed to the right.
An important detail is that the main screen has a broken EDID (/var/log/Xorg.0.log has errors and warnings about it). Without the lines currently present in my Xorg configuration, X won't start.
This is important to note because I can't rely on Xorg figuring out the monitors on its own (as I've done on most setups the last decade or so).
Here's the current version of /etc/X11/xorg.conf.d/10-monitor.conf:
Section "Monitor"
Identifier "DP-0"
Option "Primary" "true"
Modeline "2560x1440@144" 3322.15 2560 2592 15216 15248 1440 1460 1493 1513
EndSection
Section "Monitor"
Identifier "HDMI-0"
Option "Rotate" "Left"
Option "RightOf" "DP-0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "NoLogo"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "DP-0"
DefaultDepth 24
SubSection "Display"
Modes "2560x1440_144"
EndSubSection
EndSection
The second "Monitor" section seems to be non-working at the moment, that monitor stays black.
I've tried adding plenty of different things to that, but i can't ever get the secondary monitor going (the main one works).
The following command gets it working, but it's not in the configuration file and I don't how to translate the command:
xrandr --output HDMI-0 --mode 1920x1080 --right-of DP-0 --rotate left
Here's the output from xrandr before running the above command:
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected (normal left inverted right x axis y axis)
1920x1080 59.93 + 60.00 59.94 50.00 60.05 60.00 50.04
1680x1050 59.95
1280x1024 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95 + 144.00* 120.00 99.95 84.98 23.97
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
Unknown-0 disconnected (normal left inverted right x axis y axis)
Here's the output from xrandr after running the command above:
Screen 0: minimum 8 x 8, current 3640 x 1920, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1080x1920+2560+0 left (normal left inverted right x axis y axis) 530mm x 300mm
1920x1080 59.93*+ 60.00 59.94 50.00 60.05 60.00 50.04
1680x1050 59.95
1280x1024 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95 + 144.00* 120.00 99.95 84.98 23.97
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
Unknown-0 disconnected (normal left inverted right x axis y axis)
This suggests to me that in my Xorg configuration I should configure the "Screen" section differently, since in the second "xrandr" output, the first line (that starts with "Screen0") contains the resolution "3640 x 1920".
However, when I tried to replace the line "Modes    "2560x1440_144"" with "Modes    "3640x1920"", X didn't start.
Any ideas on how to solve this?
EDIT: Added more information.
Last edited by linduxed (2015-04-05 08:27:11)

Your PreferredMode line is wrong, it should be 2560x1440@144, not 2560x1440_144. You see, the numbers are meaningless, what you provide with Modeline is a name. And then everywhere else, you refer to that name. To demonstrate, if the Nvidia driver supports PreferredMode, this will work
Section "Monitor"
Identifier "DP-0"
Option "Primary" "true"
Modeline "ugabuga" 3322.15 2560 2592 15216 15248 1440 1460 1493 1513
Option "PreferredMode" "ugabuga"
EndSection
If this doesn't work, we'll try Nvidia's MetaModes option instead of PreferredMode.
About the Device section, you don't need it because selecting the nvidia driver is taken care of by /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
Last edited by Gusar (2015-04-05 11:31:02)

Similar Messages

  • How to write conversion routine for key figure?

    Our customer has this requirment:
    we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this:  00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time,  BW system will report a error that say it is not acceptable time.  If we want to define a integer, but we need display it like hhmmss format.  We know we can write conversion routine for char.  but I don't how to write conversion routine for key figure.   Please give me any hint if any other solutions?
    Edited by: SY DONG on Dec 2, 2010 3:36 AM

    If you want to do in Transformation Layer :
    You can use routine ...break up the seconds into minute hour and seconds
    you will have to handle few cases in this:
    let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
    DATA: lv_seconds type i,
               lv_hrs  type  i,
              lv_sec type i,
              lv_min type i.
    lv_hrs = lv_seconds / 3600
    if lv_hrs >= 1.
    lv_min = (lv_hrs - trunc(lv_hrs))*60
    here again handle seconds if min >60.
    else.
    lv_hrs = '00'.
    lv_min = lv_hrs*60
    It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
    Regards,
    RK

  • I want a game controller that works with imac, I bought a steelseries 3gc but can't figure how to download the driver

    I bought  a steelseries 3gc game controller for my imac but can't figure how to download the driver. When I try to open, the essage is to open from an application. which one, I,ve tried some . any suggestions?

    Solved: There is no driver to install. If the lights come on for your controller, the drivers have successfully been installed and the controller is ready for use. But before you can use it you must buy an app called "Joystick Mapper" from the Mac app store ($5). This will allow you to program the individual buttons' functions per the game you're playing. You will need to program multiple profiles if you plan on playing multiple games, as all games do not share the same button configuration. Also, you can clone game profiles. So if you're playing a shooter, for example, where the zoom and weapon fire buttons may be the same but there's a different button for grenades or secondary fire, you can tweak a few buttons instead of starting over from scratch.

  • When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    You may have better luck posting in the iPhoto forum if no one on this forum is able to assist. I'm sure you are doing something wrong though.

  • I installed CS6 on Mac Pro (10.9 software version). I don't see the Adobe PDF printer in the printer/fax section.  I can not figure how to create the PDF Printer.

    I can not figure how to create a Adobe PDF Printer. Normally when you install the package ( CS6 Standard for Mac Pro) the installer creates the PDF printer automatically. In the System Preferences under the Printer/Fax I don't see the PDF printer. How do you create the PDF printer.
    Thanks,
    Melanie

    did you install acrobat x and does it work as expected?

  • I used to be able to see how many emails I had, it showed next to my little envelope on my toolbar but now it isn't there. I can't figure how to get it back. Help!

    I used to be able to see how many emails I had on my toolbar next to the envelope but now it doesn't show & I can't figure how to change it. Help!

    That feature is not built into Firefox, in fact Firefox has no email features. Check your add-ons to see if any of them offer this feature.

  • I downloaded PWD and they said I needed more space and bought it for 9.99 but I can't figure how to put them both together

    I downloaded the free app pwd..  then needed to enter more date and had to buy the app pwd for the data.  I can't figure how to have the data entered from the free app to the one I just purchased???

    Can you explain in a little more detail what the issue is (and specifically what "pwd app" is)? And more space where?

  • Can any one please tell me how to write labview program for data logging in electric motor bike.

    Can any one please tell me how to write labview program for data logging in electric motor bike. I am going to use CompactRIO for getting wide range of data from various sensors in bike. I need to write labview program for data logging of temperature, voltage and speed of the bike. Can any one help me?

    Yes, we can.   
    I think the best place for you to start for this is the NI Developer Zone.  I recommend beginning with these tutorials I found by searching on "data log rio".  There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
    NI Compact RIO Setup and Services ->  http://zone.ni.com/devzone/cda/tut/p/id/11394
    Getting Started with CompactRIO - Logging Data to Disk  ->  http://zone.ni.com/devzone/cda/tut/p/id/11198
    Getting Started with CompactRIO - Performing Basic Control ->  http://zone.ni.com/devzone/cda/tut/p/id/11197
    These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
    Jason
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

  • Can't figure how to select a whole album to upload to Flickr.  If I select all the photos in an album, the photos upload but not my titles.

    Can't figure how to select a whole album to upload to Flickr.  If I select all the photos in an album, the photos upload but not my titles.

    Export the photos out of iPhoto via the File ➙ Export ➙ File Export menu option to a folder on the Desktop.  Then drag the folder onto the disk icon on the Desktop and burn.   Be sure to select the Kind, qualtiy and size of the file you need.
    OT

  • HT1848 Can anyone help pls...I bought an audiobook on my iPhone. This has now disappeared (after I had to do a factory reset) and I can't figure how to retrieve - either to my laptop or phone, altho it is showing in my iTunes purchases. Tks

    Can anyone help pls...I bought an audiobook on my iPhone. This has now disappeared (after I had to do a factory reset) and I can't figure how to retrieve - either to my laptop or phone, altho it is showing in my iTunes purchases. Tks

    Audiobooks are currently a one-time only download from the store, so it won't show for re-downloading. If you haven't got a copy of it anywhere (if it's on your computer's iTunes then it should be in the Books part of your library) and it's still in the store then you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to write a cursor for mutiple columns in forms urgent required.........

    i created one table rk with 8 columns and that i designed in forms.
    but i have another table grk with 4 columns.
    this grk contains data.
    this grk 4 columns data i have to retrive in rk table in froms by multiple records.
    the both column names are same in the both tables.
    because by seeing this 4 columns data i will insert remaining 4 column by entering in rk table in form.
    i known that i have to write cursor to retrive the 4 columns data for multiple record from grk table and in trigger i have to produce to rk table.
    i have worked but it is not working.
    can any body help me out how to write a cursor for 4 column to retrive multple records in form

    Hi,
    Try,
    DECLARE
            CURSOR Cur_Test IS SELECT <field_1>, <field_2>, <field_3>, ... <field_n> FROM <table_name> WHERE <condition>;
    BEGIN
            OPEN Cur_Test;
            LOOP
                    FETCH Cur_Test INTO <items_or_variables>;
                    EXIT WHEN Cur_Test%NOTFOUND;
            END LOOP;
            CLOSE Cur_Test;
    END;Regards,
    Manu.

  • How to write professional documentation for java

    Hi, I have few application I need to write documentation for. Im ok with the user and serwer technical stuff. But how to write proper documentation for source code? Any tutorial or howto?
    Best regards.

    Phenom7 wrote:
    Hi, I have few application I need to write documentation for. Im ok with the user and serwer technical stuff. But how to write proper documentation for source code? Any tutorial or howto?A pointer: be explicit and specific when writing Javadocs. If your method never returns null, make sure you say so. If it can't accept null as a parameter, be sure to say what the consequence will be if it happens (but it's OK to say the result is undefined!). A well-written method Javadoc will make users of any API you make a lot more happy, rather than keeping them guessing or making them inspect your source code.
    It's expected that while the implementation of a method will change, its pre and post-conditions will not. Therefore, having a good method-level Javadoc is critical to both the people counting on your code and the people maintaining your code.

  • How to write a PCR for this ?

    Hi SAP-HR Experts .
    Dear friends , My Company Requires a specific requiremnt that at the date of any Employee's
    B'day his one day salary should get doubled and he is entitled to get one leave on his B'day .
    I do not know how to write a PCR for this ?
    May some Body tell me how to meet this requirement Please .
    tell me please step by step how to go through ...
    It will be great help for me .
    Best regards : rajneeesh

    I think you can make it with something like this:
    Write a PCR in schema, you can call the rule with "actio";
    000860 ACTIO 9BIR AR               Birthday
    Rule 9BIR
    9BIR Rule for Birthday
            NUM=FG C   Set                   " F (fixed indicator for deadline calculation); G (Birth date from infotype 0002);C (complete months)
            NUM/12     División              " Number of completed months divided by  12
            NUMV0O2L   Off.Lng en arg.var.   " the last two places of the number are entered in the variable argument.
                                " if the rest is not 00, there is nothing to do
              00                             " if the rest is 00
                ZERO= N    AmtNumRteZeit = 0 "
                AMT=  1002 Set               " wagetype of  salary
                AMT/TKDIVI División          " divides the amount by  Partial Period Parameter Whole Month
                ADDWTI1002 Input table       " accumulates into 1002
    Example: an employee with birthday 01.01.1977 in IT0002
    Payrroll in january 08
    wagetype 1002 before rule 9BIR:
    3 1002 Salario Bas01                           30,33  30,00              909,90
    Rule 9BIR
    NUM=FG C   Set; NUM= 372
    NUM/12        ; 372/12= 31 rest=00
    AMT=1002      ; AMT= 909,90
    AMT/TKDIVI    ; 909,90/31= 29,35
    ADDWTI1002    ; 909,90 + 29,35= 939,25
    wagetype 1002 before rule 9BIR:
    3 1002 Salario Bas01                           30,33  30,00              939,25
    Hope this helps. Manuel

  • How to write a code for cumulative values..

    Hi
    Can any one proivde the Sudo code for Customer exit at Reports.
    I need to write a code for when ever user input Calaender month then querry calucalate the cumulative values also.
    How to write a code for cumulative values..
    Example:
    Customer -Sales.Quantity(CalMonth)---   Sales.quantity(Cumulative Month)  
    1000--223--
    2200
    Regards
    mannev.

    hi mannev,
    to get an idea, search in SDN
    for example
    customer exit code
    with hopes,
    Raja Singh

  • How to write the logic for extending Idocs...

    Hi,
          Can anybody pls explain how to write the logic for extending IDOCs with an example...
          Good suggestions can be appreciated..
    Regards,
    Ram

    Hi Ram,
    Generally the IDoc user exit is called at the following places:
      1) When the control record is read.
      2) After each and every segment in the data record
      3) At the end of the data segment processing.
    The IDoc user exit interface generally imports IDOC_DATA (data record internal table) table. Now the data records in the internal table should appear in the same order as maintained while defining IDoc structure (WE30 transaction). For SAP standard segment SAP code will take care of this. For extended segment you will have to take care of this aspect by appending the Z-segment in the IDOC_DATA table.
    You can do this by:
             looping at IDOC_DATA table:
                 - Do a case-endcase fo IDOC_DATA-SEGNAM (This stores the segment 
                   structure as per the hierarchy).
                 - Within the case for "Z-segment" you can write the logic for appending
                   the Z-segment to IDOC_DATA-SDATA.
    Hope this gives some clue.
    Regards,
    Gajendra.

Maybe you are looking for

  • Is there a limit to how many ipods you can have on one computer?

    We have 5 iPods between myself, my spouse and my kids. I manage all of our music, video and games from my iMac. I am planning to purchase the new 3G iPhone on Friday. Is there a limit to the number of devices that I can have on my iTunes account? I s

  • Can I restore my info to a new iPhone 6 plus using a backup of an iPhone 4s running iOS 7.1.2?

    Just bought a new phone and want to import all my app settings and information. I have heard all the complaints about iPhone 4s running iOS 8 and don't want to update until I have it preinstalled on a new 6+. Can I restore my info to a new iPhone 6 p

  • Error while installing OFM 11g - Oracle Identity management suite 11g

    Hi, I am getting following error while installing Oracle Identity management suite 11g (Oracle Internet Directory & Oracle Virtual Directory) on Red Hat Linux 5.0. "Error in invoking target 'client_sharedlib' of makefile '/apps/idm/Oracle/OracleHome/

  • Have problem with gtavc

    I purchased a Creative Soundblaster Li've ! 24 Bit soundcard, it worked but when i run GTA:Vice City, it has no sound, it says that no audio hardware...can any help me?i have chose this soundcard as my preferred , and i haf followed the instructions

  • Adding report server on Sun Unix.

    My Company is using a canned package on our Sun Box that includes the Oracle Database. The package uses Oracle forms 6I (character mode) and all reports are produced using PL/SQL. The vendor doesn't want to support Oracle Reports. We would like to lo