Multihead / Dual monitor setup

New to Debian (Or Linux in general)? Ask your questions here!

Multihead / Dual monitor setup

Postby kenl06 » 2018-09-26 18:12

hi there,

Im stuck at setting up my second monitor. I am using GPU (GTX1060) for my main display and onboard (intel) for my second diplay. Athough I think my system detects the second monitor, but it will not do anything about. I tried editing my xorg.conf by adding a new screen section but it gave me a black screen when i restarted and I had to uninstall nvidia driver. In my case, how do I make my second monitor work? Thanks!

I have already enabled multi monitor function in BIOS. Both screen works fine on Win 10.

Code: Select all
lsb_release -a

    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 9.5 (stretch)
    Release: 9.5
    Codename: stretch

Code: Select all
lspci -nn | grep '\[03'


    00:02.0 Display controller [0380]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)

Code: Select all
lspci | grep VGA


    01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

f xrandr can see them both, that would be a very nice start? https://xorg-team.pages.debian.net/xorg ... randr.html

Code: Select all
xrandr

    Screen 0: minimum 8 x 8, current 2560 x 1080, maximum 32767 x 32767
    DVI-D-0 disconnected (normal left inverted right x axis y axis)
    HDMI-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
    2560x1080 60.00*+
    1920x1080 60.00 59.94 50.00 60.05 60.00 50.04
    1680x1050 59.95
    1600x900 60.00
    1280x1024 75.02 60.02
    1280x720 60.00 59.94 50.00
    1152x864 75.00
    1024x768 75.03 60.00
    800x600 75.00 60.32
    720x576 50.00
    720x480 59.94
    640x480 75.00 59.94 59.93
    DP-0 disconnected (normal left inverted right x axis y axis)
    DP-1 disconnected (normal left inverted right x axis y axis)
    DVI-D-1 disconnected (normal left inverted right x axis y axis)
Last edited by kenl06 on 2018-09-26 19:06, edited 1 time in total.
kenl06
 
Posts: 2
Joined: 2018-09-26 17:54

Re: Multihead / Dual monitor setup

Postby bw123 » 2018-09-26 19:00

If xrandr can see them both, that would be a very nice start? https://xorg-team.pages.debian.net/xorg ... randr.html

I use two cards for multihead on a fluxbox setup, but I'm not sure the big desktop environments will use multihead anymore? unless you use separate x session for each. I haven't been able to get KDE plasma to do it yet. Two outputs on the same card will probably get you further faster.

I don't use an xorg.conf until I can get them both working with xrandr, then it's easier to make the conf file. Some people say it's better to use xrandr commands in a startup script instead of xorg.conf

The xorg log is very useful to figure things out, located either in /var/log or ~/.local/share/xorg
User avatar
bw123
 
Posts: 3403
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Multihead / Dual monitor setup

Postby kenl06 » 2018-09-26 19:08

bw123 wrote:If xrandr can see them both, that would be a very nice start? https://xorg-team.pages.debian.net/xorg ... randr.html

I use two cards for multihead on a fluxbox setup, but I'm not sure the big desktop environments will use multihead anymore? unless you use separate x session for each. I haven't been able to get KDE plasma to do it yet. Two outputs on the same card will probably get you further faster.

I don't use an xorg.conf until I can get them both working with xrandr, then it's easier to make the conf file. Some people say it's better to use xrandr commands in a startup script instead of xorg.conf

The xorg log is very useful to figure things out, located either in /var/log or ~/.local/share/xorg


Hi bw123. Unfortunately, xrandr doesn't show my second monitor. I will try and get another cable for my monitor so that both screens can connect to the same GPU.
kenl06
 
Posts: 2
Joined: 2018-09-26 17:54


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable