You are not logged in.

#1 2019-05-30 18:52:59

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

[Mostly Worked Around] Dual display

I decided my laptop is too underpowered (it really is).

I had a setup with my main rig on monitor one, and the laptop on monitor two, using synergy to switch between them. All good, apart from the underpowered.

I have removed the laptop from the equation, and connected both monitors to my main rig. I've used arandr to set them up and to save the script. However, no matter what I try (using ~/.profile, /etc/profile, ~/.bash_profile etc. either calling the arandr generated script or simply sticking the contents into the aforesaid directly) I can't get the setup I want on boot - as in everything is on one monitor and the other has no signal.

If, for example, I have the xrandr settings in ~/.profile, after boot I can issue:

source .profile

It gives me what I want.

What am I missing to make this work by default?

H/W config per my sig.

Last edited by Roken (2019-06-05 19:20:04)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#2 2019-05-30 18:57:14

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

Re: [Mostly Worked Around] Dual display


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-05-30 19:22:35

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [Mostly Worked Around] Dual display

Thanks, Jason. I've tried that, using /etc/X11/xorg.conf.d/10-monitor.conf, and no joy. 10-monitor.conf contains:

Section "Monitor"
    Identifier  "HDMI-0"
    Option      "Primary" "true"
    Option	"DPMS" "false"
    Option	"Disable" "false"
EndSection

Section "Monitor"
    Identifier  "DP-1"
    Option      "LeftOf" "HDMI-0"
    Option	"DPMS" "false"
    Option	"Disable" "false"
EndSection

I've also removed the nvidia generated xorg.conf to be sure that it isn't something in that, with no change.

I'm happy to expand the Options once I get it going at boot to suit my needs, but boot config is primary for now.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#4 2019-05-30 21:49:08

seth
Member
Registered: 2012-09-03
Posts: 50,932

Re: [Mostly Worked Around] Dual display

but boot config is primary for now.

You mean the boot messages on the console, before the X11 server start? Not the GUI?
No chance :-(

Offline

#5 2019-05-31 04:58:33

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [Mostly Worked Around] Dual display

No, I simply mean that getting the dual display working without having to launch a terminal and do it manually is the most important thing. Any customisation of the display parameters can come later once the fundamental issue is solved.

I'm considering making a systemd unit to do it, since nothing else seems to work.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#6 2019-05-31 06:23:15

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [Mostly Worked Around] Dual display

Roken wrote:

[...]

I've also removed the nvidia generated xorg.conf to be sure that it isn't something in that, with no change.

I'm happy to expand the Options once I get it going at boot to suit my needs, but boot config is primary for now.

This means you use nvidia drivers? They have their own thing to deal with multi-monitor setups that you could try instead of the normal Xorg config stuff.

Check out the nvidia documentation. It's installed in /usr/share/doc/nvidia/ if I remember right. There's a "meta mode" thing explained in one of the chapters. This "meta mode" feature is something unique about the nvidia driver so you won't find anything about it explained in "man xorg.conf" etc.

Offline

#7 2019-05-31 06:41:19

seth
Member
Registered: 2012-09-03
Posts: 50,932

Re: [Mostly Worked Around] Dual display

1. Remove all attempts to deal w/ this from "~/.profile, /etc/profile, ~/.bash_profile etc." - this is specific to your X11 session.
2. Specify your graphical target (startx, gdm, sddm, …)
3. Specify your GUI session (gnome, kde, openbox, i3, …)
4. post the output of "xrandr -q"
5. paste your Xorg log *after* you had to set the output configuration by hand
6. as to Ropid's point, nvidia can handle this via ~/.nvidia-settings-rc but that's not the default behavior. (You would still have to explicitly restore the config by calling nvidia-settings), your instincts on removing the nvidia generated Xorg.conf are good (its inflexible cruft) and while nvidia has very powerful output configuration through its metamodes, they're not required here at all.

Offline

#8 2019-05-31 08:37:57

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [Mostly Worked Around] Dual display

seth wrote:

[...]
6. as to Ropid's point, nvidia can handle this via ~/.nvidia-settings-rc but that's not the default behavior. (You would still have to explicitly restore the config by calling nvidia-settings), your instincts on removing the nvidia generated Xorg.conf are good (its inflexible cruft) and while nvidia has very powerful output configuration through its metamodes, they're not required here at all.

The thing I meant is something for an Xorg config file. I looked up nvidia's documentation online, and the thing I remembered is this chapter here:

http://us.download.nvidia.com/XFree86/L … nview.html

A simple config file to experiment with that "MetaModes" option looks like this:

Section "OutputClass"
    Identifier "my nvidia settings"
    MatchDriver "nvidia-drm"
    # put options here
EndSection

Offline

#9 2019-05-31 08:47:19

seth
Member
Registered: 2012-09-03
Posts: 50,932

Re: [Mostly Worked Around] Dual display

Yes, they're supported there as well.
However no requirement here at all. nvidia supports the normal configs just fine and he doesn't want to do fancy viewport mappings.

Offline

#10 2019-05-31 21:42:50

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [Mostly Worked Around] Dual display

seth wrote:

1. Remove all attempts to deal w/ this from "~/.profile, /etc/profile, ~/.bash_profile etc." - this is specific to your X11 session. --All removed
2. Specify your graphical target (startx, gdm, sddm, …) - lxdm
3. Specify your GUI session (gnome, kde, openbox, i3, …) - xfce4
4. post the output of "xrandr -q" - see below
5. paste your Xorg log *after* you had to set the output configuration by hand - see below
6. as to Ropid's point, nvidia can handle this via ~/.nvidia-settings-rc but that's not the default behavior. (You would still have to explicitly restore the config by calling nvidia-settings), your instincts on removing the nvidia generated Xorg.conf are good (its inflexible cruft) and while nvidia has very powerful output configuration through its metamodes, they're not required here at all.- I'll look at this further

xrandr -q

Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.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  
HDMI-0 connected primary 2560x1440+1920+0 (normal left inverted right x axis y axis) 725mm x 428mm
   2560x1440     59.95*+  74.97  
   1920x1080     60.00    59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1440     59.91  
   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 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

Xorg.0.log after setting by hand (I've truncated this what appears after setting it up manually)

[    31.098] (II) NVIDIA(0): Setting mode "DP-1: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On}"
[    31.192] (II) NVIDIA(0): Setting mode "DP-1: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On}, HDMI-0: nvidia-auto-select @2560x1440 +1920+0 {ViewPortIn=2560x1440, ViewPortOut=2560x1440+0+0, ForceCompositionPipeline=On}"
[    31.342] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    31.342] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    31.342] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    31.342] (--) NVIDIA(GPU-0): 
[    31.342] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    31.342] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    31.342] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[    31.342] (--) NVIDIA(GPU-0): 
[    31.405] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): connected
[    31.405] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): Internal TMDS
[    31.405] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): 600.0 MHz maximum pixel clock
[    31.405] (--) NVIDIA(GPU-0): 
[    31.434] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    31.434] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    31.434] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    31.434] (--) NVIDIA(GPU-0): 
[    31.434] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    31.434] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    31.434] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
[    31.434] (--) NVIDIA(GPU-0): 
[    31.435] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    31.435] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    31.435] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    31.435] (--) NVIDIA(GPU-0): 
[    31.435] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    31.435] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    31.435] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
[    31.435] (--) NVIDIA(GPU-0): 
[    31.435] (--) NVIDIA(GPU-0): DFP-7: disconnected
[    31.435] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[    31.435] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[    31.435] (--) NVIDIA(GPU-0): 
[    31.436] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    31.436] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    31.436] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    31.436] (--) NVIDIA(GPU-0): 
[    31.436] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    31.436] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    31.436] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[    31.436] (--) NVIDIA(GPU-0): 
[    31.499] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): connected
[    31.499] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): Internal TMDS
[    31.499] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): 600.0 MHz maximum pixel clock
[    31.499] (--) NVIDIA(GPU-0): 
[    31.529] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    31.529] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    31.529] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    31.529] (--) NVIDIA(GPU-0): 
[    31.529] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    31.529] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    31.529] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
[    31.529] (--) NVIDIA(GPU-0): 
[    31.529] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    31.529] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    31.529] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    31.529] (--) NVIDIA(GPU-0): 
[    31.529] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    31.529] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    31.529] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
[    31.529] (--) NVIDIA(GPU-0): 
[    31.529] (--) NVIDIA(GPU-0): DFP-7: disconnected
[    31.529] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[    31.529] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[    31.529] (--) NVIDIA(GPU-0): 
[    31.577] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    31.577] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    31.577] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    31.577] (--) NVIDIA(GPU-0): 
[    31.577] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    31.577] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    31.577] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[    31.577] (--) NVIDIA(GPU-0): 
[    31.641] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): connected
[    31.641] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): Internal TMDS
[    31.641] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): 600.0 MHz maximum pixel clock
[    31.641] (--) NVIDIA(GPU-0): 
[    31.670] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    31.670] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    31.670] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    31.670] (--) NVIDIA(GPU-0): 
[    31.670] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    31.670] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    31.670] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
[    31.670] (--) NVIDIA(GPU-0): 
[    31.670] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    31.670] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    31.670] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    31.670] (--) NVIDIA(GPU-0): 
[    31.670] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    31.670] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    31.670] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
[    31.670] (--) NVIDIA(GPU-0): 
[    31.670] (--) NVIDIA(GPU-0): DFP-7: disconnected
[    31.670] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[    31.670] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[    31.670] (--) NVIDIA(GPU-0): 
[    31.675] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    31.675] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    31.675] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    31.675] (--) NVIDIA(GPU-0): 
[    31.675] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    31.675] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    31.675] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[    31.675] (--) NVIDIA(GPU-0): 
[    31.738] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): connected
[    31.738] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): Internal TMDS
[    31.738] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): 600.0 MHz maximum pixel clock
[    31.738] (--) NVIDIA(GPU-0): 
[    31.768] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    31.768] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    31.768] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    31.768] (--) NVIDIA(GPU-0): 
[    31.768] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    31.768] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[    31.768] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
[    31.768] (--) NVIDIA(GPU-0): 
[    31.768] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    31.768] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    31.768] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    31.768] (--) NVIDIA(GPU-0): 
[    31.768] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    31.768] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    31.768] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
[    31.768] (--) NVIDIA(GPU-0): 
[    31.768] (--) NVIDIA(GPU-0): DFP-7: disconnected
[    31.768] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[    31.768] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[    31.768] (--) NVIDIA(GPU-0): 
[    40.666] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    40.666] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    40.666] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    40.666] (--) NVIDIA(GPU-0): 
[    40.695] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    40.695] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    40.695] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    40.695] (--) NVIDIA(GPU-0): 
[    42.766] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    42.766] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    42.766] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    42.766] (--) NVIDIA(GPU-0): 
[    42.796] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[    42.796] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[    42.796] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[    42.796] (--) NVIDIA(GPU-0): 
[  4576.912] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  4576.912] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  4576.912] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[  4576.912] (--) NVIDIA(GPU-0): 
[  4576.912] (--) NVIDIA(GPU-0): DFP-1: disconnected
[  4576.912] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[  4576.912] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[  4576.912] (--) NVIDIA(GPU-0): 
[  4576.975] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): connected
[  4576.975] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): Internal TMDS
[  4576.975] (--) NVIDIA(GPU-0): Samsung S27D390 (DFP-2): 600.0 MHz maximum pixel clock
[  4576.975] (--) NVIDIA(GPU-0): 
[  4577.005] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): connected
[  4577.005] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): Internal TMDS
[  4577.005] (--) NVIDIA(GPU-0): AOC Q3279WG5B (DFP-3): 600.0 MHz maximum pixel clock
[  4577.005] (--) NVIDIA(GPU-0): 
[  4577.005] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  4577.005] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[  4577.005] (--) NVIDIA(GPU-0): DFP-4: 1440.0 MHz maximum pixel clock
[  4577.005] (--) NVIDIA(GPU-0): 
[  4577.005] (--) NVIDIA(GPU-0): DFP-5: disconnected
[  4577.005] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[  4577.005] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[  4577.005] (--) NVIDIA(GPU-0): 
[  4577.005] (--) NVIDIA(GPU-0): DFP-6: disconnected
[  4577.005] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[  4577.005] (--) NVIDIA(GPU-0): DFP-6: 1440.0 MHz maximum pixel clock
[  4577.005] (--) NVIDIA(GPU-0): 
[  4577.005] (--) NVIDIA(GPU-0): DFP-7: disconnected
[  4577.005] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[  4577.005] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[  4577.005] (--) NVIDIA(GPU-0): 

Last edited by Roken (2019-05-31 21:43:47)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#11 2019-06-01 05:50:10

seth
Member
Registered: 2012-09-03
Posts: 50,932

Re: [Mostly Worked Around] Dual display

I've truncated this

Nope, pelase post the full log. The relevant part is what happens before you "fix" it by hand.

I'm gonna assert that both lxdm and xfce are prone to mess w/ the randr configuration, so to test your setup, cut them out: boot the multi-user.target and run "startx xterm" (have xorg-xterm installed)
If that gets you the desired behavior (the xorg configlet matches your output names), configure startx to run an xfce session, https://wiki.archlinux.org/index.php/Xinit#xinitrc to see whether only lxdm breaks it.

Offline

#12 2019-06-05 19:19:24

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [Mostly Worked Around] Dual display

Apologies for the delay replying - work got in the way.

I think you are correct regarding lxdm and xfce being a part of the problem, though it only seems to be an issue at startup. So I've worked around, and instead of trying to boot a default setup, I've written a bash script to launch as a startup item for xfce which resets xrandr 3 seconds after starting xfce4 (I need the delay or else it doesn't work). This then gives me the dual display, although it's a single desktop. Both act largely independently, though there are one or two other issues. In the script, I also reset conky and cairo-clock to position them correctly (and in fact, I duplicated my .conkyrc, made some modifications, and now I have conky on both screens properly positioned.

Things such as vbox, vlc etc. had to be configured separately to use the primary monitor. I haven't figured out how to force thunderbird or blender to a display. Thunderbird is worked around by having a launcher on the desired monitor and starting it from that launcher. Blender, I have to move after startup.

It's not a great solution, but it is a working workaround.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#13 2019-06-06 06:20:40

seth
Member
Registered: 2012-09-03
Posts: 50,932

Re: [Mostly Worked Around] Dual display

You might be able to impact the launch positions by defining the primary output.
Also you should really figure whether it's actually xfce4 that "updates" your output config and then make it stop. https://wiki.archlinux.org/index.php/Xf … e_monitors

Offline

#14 2019-06-09 09:54:10

archangel777
Member
Registered: 2019-06-08
Posts: 3

Re: [Mostly Worked Around] Dual display

Hi roken, did you chmod your script ? sometimes the simplest things ...

Last edited by archangel777 (2019-06-09 09:59:04)


HP Pavilion Gaming Desktop 690-07xx, AMD Ryzen 5 2400G,  NVIDIA GP107 [GeForce GTX 1050]

Offline

#15 2019-06-09 10:39:38

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: [Mostly Worked Around] Dual display

archangel777 wrote:

Hi roken, did you chmod your script ? sometimes the simplest things ...

The script is working just fine. It's the default boot settings that are failing.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

Board footer

Powered by FluxBB