You are not logged in.

#1 2019-03-06 02:40:45

dracofrancis
Member
Registered: 2019-03-03
Posts: 18

[SOLVED] cannot configure monitor outputs for second GPU

Hi All,

this is my first post on this forum and my first week on Arch but also linux in general. It has been challenging, being an avg windows user till now but I am enjoying it.

My setup:
hardware: 2 identical Nvidia Quadro P600 GPU's and 4 monitors hooked up to each card.
software: i3wm (no gui). No xinerama, just xrandr.

this is what I see in the terminal

  
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 connected 1920x1080+0+1080 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 connected 1920x1080+1920+1080 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
DP-6 disconnected (normal left inverted right x axis y axis)
DP-7 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  

I followed arch wiki instructions on "adding undetected resoloutions".

Step 1, after looking up with cvt is successfull.

xrandr --newmode......

Step 2 is where I have the problem:

 

~$ xrandr --addmode DP-2 1920x1080_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  49
  Current serial number in output stream:  50

FYI: this is my /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig                                                                                                                                                                             
# nvidia-xconfig:  version 418.43                                                                                                                                                                                                              
                                                                                                                                                                                                                                               
Section "ServerLayout"                                                                                                                                                                                                                         
    Identifier     "Layout0"                                                                                                                                                                                                                   
    Screen      0  "Screen0"                                                                                                                                                                                                                   
    InputDevice    "Keyboard0" "CoreKeyboard"                                                                                                                                                                                                  
    InputDevice    "Mouse0" "CorePointer"                                                                                                                                                                                                      
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"                                                                                                                                                                                                                       
    Option         "XkbLayout" "uk"                                                                                                                                                                                                            
    Option         "XkbRules" "xorg"                                                                                                                                                                                                           
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Monitor"                                                                                                                                                                                                                              
    Identifier     "Monitor0"                                                                                                                                                                                                                  
    VendorName     "Unknown"                                                                                                                                                                                                                   
    ModelName      "Unknown"                                                                                                                                                                                                                   
    HorizSync       30.0 - 82.0                                                                                                                                                                                                                
    VertRefresh     56.0 - 76.0                                                                                                                                                                                                                
    Option         "DPMS"                                                                                                                                                                                                                      
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Device"                                                                                                                                                                                                                               
    Identifier     "Device0"                                                                                                                                                                                                                   
    Driver         "nvidia"                                                                                                                                                                                                                    
    VendorName     "NVIDIA Corporation"                                                                                                                                                                                                        
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Screen"                                                                                                                                                                                                                               
    Identifier     "Screen0"                                                                                                                                                                                                                   
    Device         "Device0"                                                                                                                                                                                                                   
    Monitor        "Monitor0"                                                                                                                                                                                                                  
    DefaultDepth    24                                                                                                                                                                                                                         
    SubSection     "Display"                                                                                                                                                                                                                   
        Depth       24                                                                                                                                                                                                                         
    EndSubSection                                                                                                                                                                                                                              
EndSection               

I would really appreciate it if some could give me some advice. I am lost at this point, not understanding where the problem is. I apologize for the long post; I am very new to this.

Thank you

Francis

Last edited by dracofrancis (2019-03-06 16:36:29)

Offline

#2 2019-03-06 09:21:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,600

Re: [SOLVED] cannot configure monitor outputs for second GPU

You need to configure a basemosaic setup, the nvidia-settings gui should provide that.

Offline

#3 2019-03-06 14:36:08

dracofrancis
Member
Registered: 2019-03-03
Posts: 18

Re: [SOLVED] cannot configure monitor outputs for second GPU

Thank you very much! Works perfectly! (i3 does not recognize the extra monitors and wont open a window in them; also the mouse changes when in them. But that is another issue which I will look into!

Offline

#4 2019-03-06 14:38:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,600

Re: [SOLVED] cannot configure monitor outputs for second GPU

Critical question: can you move (floating) windows there resp. does another WM not show this behavior (because otherwise you've two independent X11 screens, not bound by BaseMosaic)

Offline

#5 2019-03-06 15:05:18

dracofrancis
Member
Registered: 2019-03-03
Posts: 18

Re: [SOLVED] cannot configure monitor outputs for second GPU

You are right: I cannot move windows there and I do have 2 screens in my config.

I guess now I should find out how to bind these 2 screens with the basemosaic.I was too fast to celebrate.

BTW I really appreciate your help Seth

Last edited by dracofrancis (2019-03-06 15:05:46)

Offline

#6 2019-03-06 15:06:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,600

Re: [SOLVED] cannot configure monitor outputs for second GPU

What does your xorg config look like?

Offline

#7 2019-03-06 15:32:30

dracofrancis
Member
Registered: 2019-03-03
Posts: 18

Re: [SOLVED] cannot configure monitor outputs for second GPU

This is my /etc/X11/xorg.conf

Section "ServerLayout"                                                                                                
    Identifier     "Layout0"                                                                                          
    Screen      0  "Screen0" 3840 0                                                                                   
    Screen      1  "Screen1" 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"                                                                                              
    Option         "XkbLayout" "uk"                                                                                   
    Option         "XkbRules" "xorg"                                                                                  
EndSection                                                                                                            
                                                                                                                      
Section "Monitor"                                                                                                     
    Identifier     "Monitor0"                                                                                         
    VendorName     "Unknown"                                                                                          
    ModelName      "AOC 2770"                                                                                         
    HorizSync       30.0 - 83.0                                                                                       
    VertRefresh     50.0 - 76.0                                                                                       
    Option         "DPMS"                                                                                             
EndSection                                                                                                            
                                                                                                                      
Section "Monitor"                                                                                                     
    Identifier     "Monitor1"                                                                                         
    VendorName     "Unknown"                                                                                          
    ModelName      "AOC 2770"                                                                                         
    HorizSync       30.0 - 83.0                                                                                       
    VertRefresh     50.0 - 76.0                                                                                       
EndSection                                                                                                            
                                                                                                                      
Section "Device"                                                                                                      
    Identifier     "Device0"                                                                                          
    Driver         "nvidia"                                                                                           
    VendorName     "NVIDIA Corporation"                                                                               
    BoardName      "Quadro P600"                                                                                      
    BusID          "PCI:1:0:0"                                                                                        
EndSection                                                                                                            
                                                                                                                      
Section "Device"                                                                                                      
    Identifier     "Device1"                                                                                          
    Driver         "nvidia"                                                                                           
    VendorName     "NVIDIA Corporation"                                                                               
    BoardName      "Quadro P600"                                                                                      
    BusID          "PCI:9:0:0"                                                                                        
EndSection                                                                                                            
                                                                                                                      
Section "Screen"                                                                                                      
    Identifier     "Screen0"                                                                                          
    Device         "Device0"       

Offline

#8 2019-03-06 15:36:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,600

Re: [SOLVED] cannot configure monitor outputs for second GPU

That's either capped or invalid.
Also there's no basemosaic secion, not metamodes.

See https://wiki.archlinux.org/index.php/NVIDIA#TwinView for a *pattern* on what that would look like.
Does nvidia-settings not provide you w/ a BaseMosaic checkbox?

PS: you might want to "unsolved" the thread for the time being.

Offline

#9 2019-03-06 16:35:50

dracofrancis
Member
Registered: 2019-03-03
Posts: 18

Re: [SOLVED] cannot configure monitor outputs for second GPU

Success! Everything works as should ie. windows move everywhere and mouse moves around in the right orders.

NOTE: In order to view the option "Base Mosaic" in the nvidia-settings app you must go to the advanced settings of the X server Display Configuration.
-Once you move the monitor widgets around accordingly hit apply to check if you are happy with it.
-Then you must press "Save to X configuration file"
-A window pops up: chose the merge option if you already have a config that is not working.

I will post my config file so others with similar issues may use as a guide.

 

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"                                                                                                                                                                                                                       
    Option         "XkbLayout" "uk"                                                                                                                                                                                                            
    Option         "XkbRules" "xorg"                                                                                                                                                                                                           
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Monitor"                                                                                                                                                                                                                              
    Identifier     "Monitor0"                                                                                                                                                                                                                  
    VendorName     "Unknown"                                                                                                                                                                                                                   
    ModelName      "AOC 2770"                                                                                                                                                                                                                  
    HorizSync       30.0 - 83.0                                                                                                                                                                                                                
    VertRefresh     50.0 - 76.0                                                                                                                                                                                                                
    Option         "DPMS"                                                                                                                                                                                                                      
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Monitor"                                                                                                                                                                                                                              
    Identifier     "Monitor1"                                                                                                                                                                                                                  
    VendorName     "Unknown"                                                                                                                                                                                                                   
    ModelName      "AOC 2770"                                                                                                                                                                                                                  
    HorizSync       30.0 - 83.0                                                                                                                                                                                                                
    VertRefresh     50.0 - 76.0                                                                                                                                                                                                                
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Device"                                                                                                                                                                                                                               
    Identifier     "Device0"                                                                                                                                                                                                                   
    Driver         "nvidia"                                                                                                                                                                                                                    
    VendorName     "NVIDIA Corporation"                                                                                                                                                                                                        
    BoardName      "Quadro P600"                                                                                                                                                                                                               
    BusID          "PCI:1:0:0"                                                                                                                                                                                                                 
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Device"                                                                                                                                                                                                                               
    Identifier     "Device1"                                                                                                                                                                                                                   
    Driver         "nvidia"                                                                                                                                                                                                                    
    VendorName     "NVIDIA Corporation"                                                                                                                                                                                                        
    BoardName      "Quadro P600"                                                                                                                                                                                                               
    BusID          "PCI:9:0:0"                                                                                                                                                                                                                 
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Screen"                                                                                                                                                                                                                                                                                                                                                                                                                           
    Identifier     "Screen0"                                                                                                                                                                                                                   
    Device         "Device0"                                                                                                                                                                                                                   
    Monitor        "Monitor0"                                                                                                                                                                                                                  
    DefaultDepth    24                                                                                                                                                                                                                         
    Option         "Stereo" "0"                                                                                                                                                                                                                
    Option         "nvidiaXineramaInfoOrder" "DFP-1"                                                                                                                                                                                           
    Option         "metamodes" "GPU-856c36aa-db1e-f457-f064-7696ee3a7bf1.GPU-0.DP-3: nvidia-auto-select +1920+0, GPU-856c36aa-db1e-f457-f064-7696ee3a7bf1.GPU-0.DP-1: nvidia-auto-select +0+1080, GPU-856c36aa-                               
    Option         "MultiGPU" "Off"                                                                                                                                                                                                            
    Option         "SLI" "off"                                                                                                                                                                                                                 
    Option         "BaseMosaic" "on"                                                                                                                                                                                                           
    SubSection     "Display"                                                                                                                                                                                                                   
        Depth       24                                                                                                                                                                                                                         
    EndSubSection                                                                                                                                                                                                                              
EndSection                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                               
Section "Screen"                                                                                                                                                                                                                               
                                                                                                                                                                                                                                               
# Removed Option "metamodes" "DP-1: nvidia-auto-select +0+0 {AllowGSYNC=Off}, DP-3: nvidia-auto-select +0+1080, DP-5: nvidia-auto-select +1920+1080, DP-7: nvidia-auto-select +1920+0"                                                         
    Identifier     "Screen1"                                                                                                                                                                                                                   
    Device         "Device1"                                                                                                                                                                                                                   
    Monitor        "Monitor1"                                                                                                                                                                                                                  
    DefaultDepth    24                                                                                                                                                                                                                         
    Option         "Stereo" "0"                                                                                                                                                                                                                
    Option         "nvidiaXineramaInfoOrder" "DFP-1"                                                                                                                                                                                           
    Option         "metamodes" "DP-1: nvidia-auto-select +0+1080 {AllowGSYNC=Off}, DP-3: nvidia-auto-select +1920+0, DP-5: nvidia-auto-select +1920+1080, DP-7: nvidia-auto-select +0+0"                                                       
    Option         "SLI" "Off"                                                                                                                                                                                                                 
    Option         "MultiGPU" "Off"                                                                                                                                                                                                            
    Option         "BaseMosaic" "off"                                                                                                                                                                                                          
    SubSection     "Display"                                                                                                                                                                                                                   
        Depth       24                                                                                                                                                                                                                         
    EndSubSection                                                                                                                                                                                                                              
EndSection       

Although it says Option "MultiGPU" "Off" everything works fine.

Last edited by dracofrancis (2019-03-06 22:51:44)

Offline

Board footer

Powered by FluxBB