You are not logged in.

#1 2014-03-08 11:26:08

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Can't properly set up xorg.conf or 10-monitor.conf

Hi.

I would like to ask for Your help. I need someone with greater knowledge over Arch than i have. I have problem with either xorg.conf or 10-monitor.conf. As a matter of fact, now xorg.conf is deprecated so more important is 10-monitor conf.

I have nvidia GTX260 card with newest nvidia drivers. I have 2 DVI's on this card, for an exmaple: DVI-0 nad DVI-1. I would like to use them both using dvi-to-hdmi connector on each of them in order to use my 27 LCD monitor and 40 TV, both with hdmi cable plugged into dvi-hdmi connector and to my graphic card.

I can't solve my problem. Don't know what to do in order to having both screen working. If my 27 inch LCD monitor is connected by DVI-DSUB connector, i have signal on screen. If i plug it by dvi-hdmi connector, than i have screen, singal, picture during boot, but GUI won't load, it stays on "running user interface" or something similar. It is because of my settings in 10-monitor.conf. Here is my setup of 10-monitor.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 331.20  (buildmeister@swio-display-x64-rhel04-06)  Wed Oct 30 18:38:00 PDT 2013

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    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"
    Identifier     "DVI-D-1"
    VendorName     "HP"
    ModelName      "Hp2228H"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "ignore" "true"
    Option         "DPMS"
    Option         "ignore" "true"
EndSection

Section "Monitor"
    Identifier      "DVI-D-0"
    Option          "ignore" "true"
EndSection

Section "Monitor"
    Identifier      "Unknown-0"
    Option          "ignore" "true"
EndSection

Section "Monitor"
    Identifier      "unknown-1"
    VendorName      "LG"
    ModelName       "LG Electronics 2D FHD LG TV 27MA73D-PZ"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option          "DPMS"
    Option          "Enable" "true"
EndSection

Section "Monitor"
    Identifier      "TV-0"
    Option          "ignore" "true"
EndSection

#Section "Monitor"
#	Identifier "Monitor0"
#	VendorName "Unknown"
#	ModelName "Unknown"
#	HorizSync 28.0 - 33.0
#	VertRefresh 43.0-72.0
#	Option "DPMS"
#EndSection
 
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "TripleBuffer" "1"
    Option "ConnedtedMonitor" "DFP"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24

As you can see, there are few section named monitor because Arch detects with nvidia drivers, that i have few screens attached, while i haven't. If i change monitor sections than i could have random switching off signal/screen, and either can have pictrure or don't at all, wither with good 19x12 resolution, or changed for a different, streched to right and i can't log in, and change it eithere.


So, i would like to have what i discribed on top. Could somebody point me in good direction? I tried to generate xorg.conf using nvdia-xcofig, than i applied it to 10-monitor.conf but after reboot i got stuck at "running user interface" or gui, there was no KDE greeting login screen - in my opinion because 10-monitor.conf can't detect that screen is attached by dvi-hdmi connector (detect ok with dvi-dsub and my setting of 10-monitor.conf above). So what to do in order to Arch detects dvi-hdmi connector and detects that i have screen in order to being found and in order to log in into login screen?

When i renamed 10-monitor.conf to 10-monitor.conf.bak and rebooted, i get past "running user interface" or logins screen, i have purple-blue kde greeting and could log in but resolution was stretched on right side and i have only "left side" of screen, so i didn't see login "propmt", or login window, and couldn't log in. Tried to kill x and resuming kdm.service but it won't work. Don't see login window on blue-purple loging screen.



I would like to get past this, would like to use dvi-hdmi connector on my 27 LCD monitor, and being able to use the same dvi-hdmi connector for my 40 TV and use them both. Could somebody help me? What do change in 10-monitor.conf, what to add, what to remove? I'm using now only 27 LCD monitor trough dvi-dsub because i can log into login window because it is in the center of the screen, not stretched to righ on dvi-hdmi connector.


It is not fault of the connectors, i tried on Windows and it Works. Want do have it on Arch because i dont use Windows very often.

Help [:|]

Offline

#2 2014-03-08 13:10:22

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Can't properly set up xorg.conf or 10-monitor.conf

Look here. As far as I see you defined only one screen and use one screen in server layout, where you need to define two screens and put them into server layout section. You also defined multiple monitors, you only need two.

Last edited by emeres (2014-03-08 13:11:28)

Offline

#3 2014-03-08 13:17:47

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 324

Re: Can't properly set up xorg.conf or 10-monitor.conf

typo:

    Option "ConnedtedMonitor" "DFP"

should be:

    Option "ConnectedMonitor" "DFP"

also the best way I found to deal with xorg/nVidia issues is to just connect your main screen to the relevant port on card & disconnect the second one, remove all configs & let it detect the monitor. I then install nvidia-settings & build a config via that then you know there will be no typo's & you wont have borked options etc
goodluck

Last edited by t0m5k1 (2014-03-08 13:23:41)


ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)

If everything in life was easy, we would learn nothing!
Linux User: 401820  Steam-HearThis.at-Last FM-Reddit

Offline

#4 2014-03-08 14:57:11

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: Can't properly set up xorg.conf or 10-monitor.conf

t0m5k1 wrote:

typo:

    Option "ConnedtedMonitor" "DFP"

should be:

    Option "ConnectedMonitor" "DFP"

also the best way I found to deal with xorg/nVidia issues is to just connect your main screen to the relevant port on card & disconnect the second one, remove all configs & let it detect the monitor. I then install nvidia-settings & build a config via that then you know there will be no typo's & you wont have borked options etc
goodluck

I tried to do it. I removed all configs, unplugged second screen, left only 27 inch LCD connected trough DVI-DSUB connector, but when it detected my screen, and i did nvidia-xconfig, after reboot, trough DVI-HDMI connector, this 27 inch screen had wrong resolution, login window was hidden, or it was far on the right side of screen, i could not log because i haven't seen it at all.

Also, when i tried to do something similar but the other way, boot with 27 inch LCD connected trough DVI-DSUB, removed configs, remove dvi-dsub cable and plugg  the same 27 inch LCD trough DVI-HDMI cable, i had no signal at all.


One thing more - in windows, i can "clone" one screen to another screen in order to have the same thing on both screens. In Arch if i do a clone, it wont work. It works only by "right/left side of" or "top/bottom side of". If clone works, than the resolutions are wrong and on one screen picture is cut by few inches.


I don't know how in terminal check ir identyfy which output is being used, or how it is named: my monitor now is recognized as unknown-1 output. I don't know how to check all of them in order to write good config file and how to check good vertical and horizontal frequencies for them.

Last edited by firekage (2014-03-08 15:02:15)

Offline

#5 2014-03-08 15:41:35

the_shiver
Member
Registered: 2013-03-27
Posts: 130

Re: Can't properly set up xorg.conf or 10-monitor.conf

firekage wrote:

If clone works, than the resolutions are wrong and on one screen picture is cut by few inches.

Do both displays have the same resolution? Screen space getting cut off will happen if you try to clone a screen onto one that has a smaller resolution.

Offline

#6 2014-03-08 17:19:13

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: Can't properly set up xorg.conf or 10-monitor.conf

the_shiver wrote:
firekage wrote:

If clone works, than the resolutions are wrong and on one screen picture is cut by few inches.

Do both displays have the same resolution? Screen space getting cut off will happen if you try to clone a screen onto one that has a smaller resolution.

Both panels are 19x12, one of them is LG 27 inch panel (1980x1080) and second is 40 TV (also 1920x1080), and both of them works as 60Hz, but Toshiba has 100 Hz panel. I would provide an pictures, how it look like, but don't know how to attach pictures in post.
1 - LG 27 panel
http://www.sendspace.com/file/1vh631
2 - Toshiba 40 panel
http://www.sendspace.com/file/03kbaq

As you can see, pictures are dark, but we can see it. On 27 LG screen is ok, on 40 is "smaller", left side of switcher is missing (square thing in left bottom corner) and conky is cut by few centimeters on the right, also KDE tasbar at bottom is cut by a half.



BTW. One thing more - i have nearly finished it. I came with an idea how to solve my problem and now i have both panels working, signal and picture are on all of them. Only mentioned problem above.

In order to solve dual monitor problem i booted Arch on 40 TV, checked what would nvidia-settings write in xorg.conf on default settings, copied it, than i changed few things in nvidia-settings, i choosed "clone" type picture, set resolution, and few options, again checked what would be written in xorg.conf, and i copied it from preview into created by touch 10-monitor.conf. Thanks for pointing in good direction.

Last edited by firekage (2014-03-08 17:22:18)

Offline

#7 2014-03-09 00:43:20

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: Can't properly set up xorg.conf or 10-monitor.conf

Heh, i found something so stupid about Arch that i can't believe it. In fact, i'm not able to change it.

I had two screen connected to my new graphic card, i moved from GTX260 to GTX660. One flat panel, LG 27 inch, was connected troug one of the DVI (DVI-I-1) and 40 TV was connected trough second DVI (DVI-D-0). What i found? Well, as a matter of fact, this new graphic has booting sequence order regarding working outs during boot. On HDMI out and on DVI-I-1 when booting there is signal and screen. On DVI-D-0 during booting sequence there is no singal, singnal comes up at login prompt of Windows or Arch. Ok, can live with that.

There is one that i can't. If i want to have working setup of my 27 + 40 flat panels, i have to have 27 connected trough hdmi out, 40 trough something other. I'm not able to have 27 connected to DVI-I-1 and 40 TV to DVI-D-0 because during booting sequence, when there is low resolution, i have screen and singal on 27 flat panel, but when there should come up kde welcome login screen, i don't have it. It stays at terminal, when i see info "sterting upser graphic mode". That's strange! The only way to have booting sequence on 27, and also singal/screen after booting sequence of 27 is to have connected 27 flat panel to hdmi out, not DVI-I-1! Why? Don't know but Arch doesen't want to work that way, no matter what i put in 10-monitor.conf. Tried the same on Windows, no matter which out is being used (hdmi or DVI-I-1), during booting sequence there is singal/screen/picture and after it i can normally log into Windows. In case of Arch, i can't.

Don't know. I would show my 10-monitor.conf:

nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 334.21  (buildmeister@swio-display-x64-rhel04-13)  Thu Feb 27 14:33:33 PST 2014

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      "LG Electronics 2D FHD LG TV"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 660"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-3"
    Option         "metamodes" "HDMI-0: 1920x1080 +0+0, DVI-D-0: 1920x1080 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I wan't to have both flat panels on DVI outs because i need hdmi for something other. Is there a way to solve it? Strange is that with provided resolution, vertical and horizontal frequencies, on hdmi out i can boot, i can log into Arch (while my other screen is being found, and also i see picture on login screen) but when i use both of DVI outs, i see booting sequences, and than Arch informs me that has started graphic user mode...but it stays at this black screen. What's more strange is that if i delete 10-monitor.conf, connect my 27 LCD to DVI-D-0, and TV to DVI-I-1, than i see booting on Toshiba 40 TV, don't see it on LG 27, after log in i can set proper resoluton for 27 LG, have both screen working, but if i save this settings in 10-monitor.conf, after reboot...the same thing, stays at message that Arch started graphical user mode.

Don't know what's going on. Can somebody check my xorg? Point me? Maybe xinerama is at fault? I want my LG 27 to be cloned on 40 TV.

In big shortcut: during boot on DVI-I-1 i have signal, can't log into gui mode, stays at mentioned screen with info that it started graphic user mode. What to do, or what to put into 10-monitor.conf?

Last edited by firekage (2014-03-09 00:54:45)

Offline

#8 2014-03-10 17:32:22

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: Can't properly set up xorg.conf or 10-monitor.conf

Anybody?

Offline

#9 2014-03-10 20:17:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't properly set up xorg.conf or 10-monitor.conf


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-03-29 17:02:52

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: Can't properly set up xorg.conf or 10-monitor.conf

I would like to refresh my thread. There is one thing that i would like also to ask, it's about naming devices or rather outputs in :

K >> system settings >> hardware >> display and monitor

Nvidia settings >> X Server Display Configuration >> Selection

Nvidia settings >> X Screen 0 >> X Server Video XV Settings


I would like to know what is the proper naming of outputs here? I have few screenshots, pleas look at them:

1:
http://i.imgur.com/cGnp7l8.jpg
2:
http://i.imgur.com/dDyfm7U.jpg
3:
http://i.imgur.com/GuJzMHV.jpg

As you can see, i have 2 flat planels, 27 inch and 40 inch. I use HDMI output for 27 inch flat panel and dvi-d-0 for  40 inch flat panel. I would like to know, like mentioned earlier, what is the proper naming of these outputs? On the pictures that i provided, ther are named like:

-27 inch flat panel: HDMI-0 and DFP-1
-40 inch flat panel: DVI-D-0 and DFP3

I want to create 10-monitor.conf with special settings for cloned mode but i don't know if it should be like this:

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0" # DFP-1
    VendorName     "Unknown"
    ModelName      "LG Electronics 2D FHD LG TV"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1" # DFP-3
    VendorName     "Unknown"
    ModelName      "TOSHIBA-TV"
    HorizSync       15.0 - 81.0
    VertRefresh     23.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 660"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-3"
    Option         "metamodes" "DVI-I-1: 1920x1080 +0+0, DFP-1: 1920x1080_60 +0+0, DFP-3: 1920x1080 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Especially, please check this line:

 Option         "metamodes" "DVI-I-1: 1920x1080 +0+0, DFP-1: 1920x1080_60 +0+0, DFP-3: 1920x1080 +0+0"

I should use naming like DFP-1, DFP3, just like above, or i should use naming like HDMI-0 and DVI-D-0?

Last edited by firekage (2014-04-20 23:50:42)

Offline

Board footer

Powered by FluxBB