You are not logged in.

#1 2017-08-25 04:21:48

amanley
Member
Registered: 2017-08-25
Posts: 2

Xrandr not showing 2nd monitor (Nvidia/Intel)

I've searched the bbs read the wiki (likely read it wrong) and haven't been able to fix my issue. I can't seem to get my second monitor to work or even show up in xrandr (now). It was showing up before I installed latest drivers and  used nvidia settings command nvidia-xconfig. Before I'd try to use xrandr to enable second montior with this command xrandr --output DVI-I-1 --auto --output HDMI2 --auto --right-of DVI-I-1. When I did that it would log me out to LightDM everytime. After I updated to latest nvidia proprietary drivers and used nvidia-xconfig my second montior isn't being discovered anymore. Before second monitor was showing boot text output. Anyone able to help me out? Thanks In advance..

- Linux Noob. tongue

Last edited by amanley (2017-08-25 04:22:19)

Offline

#2 2017-08-25 13:40:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Xrandr not showing 2nd monitor (Nvidia/Intel)

Running nvidia-xconfig on arch linux usually produces non-working configuration files, and you have a hybrid graphics system which is trickier.

post full lspci output.

I suggest you create your own configuration ,see https://wiki.archlinux.org/index.php/NVIDIA_Optimus
If you prefer to use the file produced by nvidia-xconfig as a base, post it.

Last edited by Lone_Wolf (2017-08-25 13:41:56)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Online

#3 2017-08-25 18:24:17

amanley
Member
Registered: 2017-08-25
Posts: 2

Re: Xrandr not showing 2nd monitor (Nvidia/Intel)

Thanks for the help here are the things you requested.

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 10)
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 384.59  (buildmeister@swio-display-x64-rhel04-01)  Thu Jul 20 01:03:28 PDT 2017


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    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"
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"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

EDIT Fixed it myself adding Device to xorg.conf Now I just need to figure out how to make i3 have main monitor and secondary have it's own workspaces. Right now it is  1 on main and 2 on secondary.

Last edited by amanley (2017-08-25 19:46:38)

Offline

Board footer

Powered by FluxBB