You are not logged in.

#1 2018-05-25 08:17:32

jonher937
Member
Registered: 2018-05-25
Posts: 13

[solved] xrandr configure crtc 3 nvidia optimus

Hijacking this a bit since I have the exact same problem: https://gist.github.com/Jonher937/ca7a7 … ecf7d3825a

Last edited by jonher937 (2018-08-21 15:31:17)

Offline

#2 2018-05-26 13:08:34

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,213

Re: [solved] xrandr configure crtc 3 nvidia optimus

the xrandr -q outputs are as expected.

The xorg logs share 2 things i find weird :
- both have exactly one line that has to do with the second card

[ 14.749] (--) PCI: (1@0:0:0) 10de:1c8d:1028:07be rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288

-
both logs show you have an xorg.conf-file that is being used.

[ 14.084] (==) Using config file: "/etc/X11/xorg.conf"

[ 14.759] (II) Applying OutputClass "intel" to /dev/dri/card0

It's very likely that file has to do with the issue, post its content.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2018-05-27 20:27:41

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

Hi, thanks for reviewing the logs, I couldn't really find anything I thought was strange.
In my case I have a Dell XPS and it has a dedicated graphics card as well as the integrated one.

➜  ~ cat /etc/X11/xorg.conf
# config

➜  ~ cat /etc/X11/xorg.conf.d/*
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "se"
EndSection

➜  ~ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 05)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.1 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #2 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1d.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #15 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev ff)
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
04:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116

➜  ~ lshw
    description: Notebook
    product: XPS 15 9560 (07BE)
    vendor: Dell Inc.
    serial: ********
    width: 4294967295 bits
    capabilities: smbios-3.0 dmi-3.0 smp vsyscall32
    configuration: boot=normal chassis=notebook family=XPS sku=07BE uuid=44454C4C-4D00-1034-804D-B6C04F5A4D32
  *-core
       description: Motherboard
       product: 05FFDN
       vendor: Dell Inc.
       physical id: 0
       version: A00
       serial: /******/************/
     *-firmware
          description: BIOS
          vendor: Dell Inc.
          physical id: 0
          version: 1.9.4
          date: 04/23/2018
          size: 64KiB
          capacity: 15MiB
          capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppynec int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification netboot uefi
     *-memory
          description: System Memory
          physical id: 45
          slot: System board or motherboard
          size: 16GiB
        *-bank:0
             description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
             product: KMKYF9-MID
             vendor: Kingston
             physical id: 0
             serial: 0212E9BB
             slot: DIMM A
             size: 8GiB
             width: 64 bits
             clock: 2400MHz (0.4ns)
        *-bank:1
             description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
             product: KMKYF9-MID
             vendor: Kingston
             physical id: 1
             serial: 0412F6BB
             slot: DIMM B
             size: 8GiB
             width: 64 bits
             clock: 2400MHz (0.4ns)
     *-cache:0
          description: L1 cache
          physical id: 49
          slot: L1 Cache
          size: 256KiB
          capacity: 256KiB
          capabilities: synchronous internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 4a
          slot: L2 Cache
          size: 1MiB
          capacity: 1MiB
          capabilities: synchronous internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 4b
          slot: L3 Cache
          size: 6MiB
          capacity: 6MiB
          capabilities: synchronous internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
          vendor: Intel Corp.
          physical id: 4c
          bus info: cpu@0
          version: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 3402MHz
          capacity: 3800MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp cpufreq
          configuration: cores=4 enabledcores=4 threads=8
     *-pci
          description: Host bridge
          product: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 05
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 05
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:e000(size=4096) memory:ec000000-ed0fffff ioport:c0000000(size=301989888)
           *-generic UNCLAIMED
                description: Unassigned class
                product: Illegal Vendor ID
                vendor: Illegal Vendor ID
                physical id: 0
                bus info: pci@0000:01:00.0
                version: ff
                width: 32 bits
                clock: 66MHz
                capabilities: bus_master vga_palette cap_list
                configuration: latency=255 maxlatency=255 mingnt=255
                resources: memory:ec000000-ecffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:ed000000-ed07ffff
        *-display
             description: VGA compatible controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:135 memory:eb000000-ebffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff
        *-generic:0
             description: Signal processing controller
             product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
             vendor: Intel Corporation
             physical id: 4
             bus info: pci@0000:00:04.0
             version: 05
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm cap_list
             configuration: driver=proc_thermal latency=0
             resources: irq:16 memory:ed120000-ed127fff
        *-usb
             description: USB controller
             product: Sunrise Point-H USB 3.0 xHCI Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 31
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:124 memory:ed110000-ed11ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 4.16.11-1-ARCH xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 4.16
                capabilities: usb-2.00
                configuration: driver=hub slots=16 speed=480Mbit/s
              *-usb:0
                   description: Bluetooth wireless interface
                   vendor: Qualcomm Atheros Communications
                   physical id: 4
                   bus info: usb@1:4
                   version: 0.01
                   capabilities: bluetooth usb-2.01
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
              *-usb:1
                   description: Video
                   product: Integrated_Webcam_HD
                   vendor: CNFEH73N475420005262
                   physical id: c
                   bus info: usb@1:c
                   version: 56.05
                   capabilities: usb-2.00
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 4.16.11-1-ARCH xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 4.16
                capabilities: usb-3.00
                configuration: driver=hub slots=8 speed=5000Mbit/s
        *-generic:1
             description: Signal processing controller
             product: Sunrise Point-H Thermal subsystem
             vendor: Intel Corporation
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 31
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi cap_list
             configuration: driver=intel_pch_thermal latency=0
             resources: irq:18 memory:ed138000-ed138fff
        *-generic:2
             description: Signal processing controller
             product: Sunrise Point-H Serial IO I2C Controller #0
             vendor: Intel Corporation
             physical id: 15
             bus info: pci@0000:00:15.0
             version: 31
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:16 memory:ed137000-ed137fff
        *-generic:3
             description: Signal processing controller
             product: Sunrise Point-H Serial IO I2C Controller #1
             vendor: Intel Corporation
             physical id: 15.1
             bus info: pci@0000:00:15.1
             version: 31
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:17 memory:ed136000-ed136fff
        *-communication
             description: Communication controller
             product: Sunrise Point-H CSME HECI #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 31
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:134 memory:ed135000-ed135fff
        *-storage
             description: SATA controller
             product: Sunrise Point-H SATA Controller [AHCI mode]
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             version: 31
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:125 memory:ed130000-ed131fff memory:ed134000-ed1340ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:ed133000-ed1337ff
        *-pci:1
             description: PCI bridge
             product: Sunrise Point-H PCI Express Root Port #1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: f1
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 memory:ed200000-ed3fffff
           *-network
                description: Wireless interface
                product: QCA6174 802.11ac Wireless Network Adapter
                vendor: Qualcomm Atheros
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlp2s0
                version: 32
                serial: 9c:b6:d0:f8:da:b5
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ath10k_pci driverversion=4.16.11-1-ARCH firmware=WLAN.RM.4.4.1-00079-QCARMSWPZ-1 ip=10.60.0.20 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:133 memory:ed200000-ed3fffff
        *-pci:2
             description: PCI bridge
             product: Sunrise Point-H PCI Express Root Port #2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: f1
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:17 ioport:d000(size=4096) memory:ed400000-eddfffff ioport:d2100000(size=10485760)
           *-generic
                description: Unassigned class
                product: RTS525A PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=rtsx_pci latency=0
                resources: irq:123 memory:ed400000-ed400fff
        *-pci:3
             description: PCI bridge
             product: Sunrise Point-H PCI Express Root Port #9
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: f1
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 memory:ede00000-edefffff
           *-storage
                description: Non-Volatile memory controller
                product: Toshiba America Info Systems
                vendor: Toshiba America Info Systems
                physical id: 0
                bus info: pci@0000:04:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: storage pciexpress pm msi msix nvm_express bus_master cap_list
                configuration: driver=nvme latency=0
                resources: irq:16 memory:ede00000-ede03fff
        *-pci:4
             description: PCI bridge
             product: Sunrise Point-H PCI Express Root Port #13
             vendor: Intel Corporation
             physical id: 1d.4
             bus info: pci@0000:00:1d.4
             version: f1
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16
        *-pci:5
             description: PCI bridge
             product: Sunrise Point-H PCI Express Root Port #15
             vendor: Intel Corporation
             physical id: 1d.6
             bus info: pci@0000:00:1d.6
             version: f1
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:18 ioport:2000(size=4096) memory:d4000000-ea0fffff ioport:90000000(size=570425344)
        *-isa
             description: ISA bridge
             product: Sunrise Point-H LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 31
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-memory UNCLAIMED
             description: Memory controller
             product: Sunrise Point-H PMC
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 31
             width: 32 bits
             clock: 33MHz (30.3ns)
             configuration: latency=0
             resources: memory:ed12c000-ed12ffff
        *-multimedia
             description: Audio device
             product: CM238 HD Audio Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 31
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: irq:136 memory:ed128000-ed12bfff memory:ed100000-ed10ffff
        *-serial
             description: SMBus
             product: Sunrise Point-H SMBus
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 31
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:16 memory:ed132000-ed1320ff ioport:f040(size=32)
  *-battery
       product: DELL GPM0365
       vendor: SMP
       physical id: 1
       version: 01/18/2018
       serial: 005C
       slot: Sys. Battery Bay
       capacity: 97000mWh
       configuration: voltage=11.4V

Last edited by jonher937 (2018-05-27 20:29:40)

Offline

#4 2018-05-28 10:29:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,213

Re: [solved] xrandr configure crtc 3 nvidia optimus

cat /etc/X11/xorg.conf
# config

If that's all content, just remove that file.

Still no sign of a file that could result in the intel outputclass message, let's check more locations.
post

ls -l /etc/X11/ /etc//X11/xorg.conf.d/ /usr/share/X11 /usr/share/X11/xorg.conf.d/

Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2018-05-28 12:06:00

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

➜  ~ ls -l /etc/X11/ /etc/X11/xorg.conf.d/ /usr/share/X11 /usr/share/X11/xorg.conf.d/
/etc/X11/:
total 12
drwxr-xr-x 2 root root 4096 May 16 15:37 xorg.conf.d

/etc/X11/xorg.conf.d/:
total 4
-rw-r--r-- 1 root root 311 May 16 15:37 00-keyboard.conf

/usr/share/X11:
total 64
drwxr-xr-x  2 root root  4096 Apr 18 18:26 app-defaults
drwxr-xr-x 64 root root  4096 Apr 18 17:57 locale
-rw-r--r--  1 root root  1723 Feb 27  2017 Xcms.txt
-rw-r--r--  1 root root 42077 Feb 27  2017 XErrorDB
drwxr-xr-x  8 root root  4096 Apr 18 17:57 xkb
drwxr-xr-x  2 root root  4096 May 18 09:21 xorg.conf.d

/usr/share/X11/xorg.conf.d/:
total 12
-rw-r--r-- 1 root root  362 May  8 04:09 10-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 1350 May 10 18:32 10-quirks.conf
-rw-r--r-- 1 root root  945 Apr 10 18:14 40-libinput.conf

File contents of the files in /usr/share/X11/xorg.conf.d are availabe on the gist: https://gist.github.com/Jonher937/ca7a7 … ecf7d3825a
I'm running bumblebee to switch between discrete graphics and using the graphics card: https://wiki.archlinux.org/index.php/De … tch_method

I'll try and downgrade some packages today to see if I can trace it back to a package since I think it's one of these packages:

➜  log grep '2018-05-23' pacman.log | grep -i upgraded
[2018-05-23 10:00] [ALPM] upgraded linux (4.16.9-1 -> 4.16.10-1)
[2018-05-23 10:00] [ALPM] upgraded bbswitch (0.8-135 -> 0.8-136)
[2018-05-23 10:00] [ALPM] upgraded vte-common (0.52.1-1 -> 0.52.2-1)
[2018-05-23 10:00] [ALPM] upgraded vte3 (0.52.1-1 -> 0.52.2-1)
[2018-05-23 10:00] [ALPM] upgraded nvidia (396.24-3 -> 396.24-4)
[2018-05-23 10:00] [ALPM] upgraded ovmf (1:r23518.6d2d2e6e5b-1 -> 1:r24021.3f34e36d04-1)

10-nvidia-drm-outputclass.conf seems to be provided by the "extra/nvidia-utils" package.


Thanks.

Last edited by jonher937 (2018-05-28 16:08:05)

Offline

#6 2018-05-29 12:40:22

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,213

Re: [solved] xrandr configure crtc 3 nvidia optimus

10-nvidia-drm-outputclass.conf seems to be provided by the "extra/nvidia-utils" package.

It's meant for a hybrid graphics setup where both intel and nvidia card are active, with the nvidia card as primary one.

If the nvidia card is disabled you basically have an intel-only setup.

How the setup is when you enable the nvidia card depends on how bumblebee is setup.
(the bumblebeed.service does much more then just making switching off the card possible.)

Your best option is probably to remove bumblebee and use bbswitch directly to change the state of the nivdia card.
https://wiki.archlinux.org/index.php/Bu … management


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#7 2018-05-29 16:44:02

xcd
Member
Registered: 2017-03-18
Posts: 2

Re: [solved] xrandr configure crtc 3 nvidia optimus

I have the same issue on my optimus laptop. Would be great if we could find a solution! In the meantime, downgrading xorg-server from 1.20 to 1.19 and its dependencies seems to restore things to normal.

Offline

#8 2018-05-30 11:11:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,213

Re: [solved] xrandr configure crtc 3 nvidia optimus

Although it looked like lmat and jonher937 had the same issue, it's now clear there are big hardware / software differences.

We have 2 people with an optimus system using nvidia proprietary drivers, and the OP has an intel/amd system using only oss drivers.
I'm going to ask mods to split this thread .

all posters : please post lspci -nnk output.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#9 2018-05-30 11:33:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,248

Re: [solved] xrandr configure crtc 3 nvidia optimus

Splitting the nvidia users into it's own thread.

Split off from: https://bbs.archlinux.org/viewtopic.php?id=237344

Offline

#10 2018-05-30 16:34:17

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

lspci -nnk

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5910] (rev 05)
	Subsystem: Dell Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [1028:07be]
lspci: Unable to load libkmod resources: error -12
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 05)
	Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
	Subsystem: Dell Device [1028:07be]
	Kernel driver in use: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 05)
	Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [1028:07be]
	Kernel driver in use: proc_thermal
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
	Subsystem: Dell Sunrise Point-H USB 3.0 xHCI Controller [1028:07be]
	Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
	Subsystem: Dell Sunrise Point-H Thermal subsystem [1028:07be]
	Kernel driver in use: intel_pch_thermal
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 [8086:a160] (rev 31)
	Subsystem: Dell Sunrise Point-H Serial IO I2C Controller [1028:07be]
	Kernel driver in use: intel-lpss
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 [8086:a161] (rev 31)
	Subsystem: Dell Sunrise Point-H Serial IO I2C Controller [1028:07be]
	Kernel driver in use: intel-lpss
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
	Subsystem: Dell Sunrise Point-H CSME HECI [1028:07be]
	Kernel driver in use: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] [8086:a103] (rev 31)
	Subsystem: Dell Sunrise Point-H SATA Controller [AHCI mode] [1028:07be]
	Kernel driver in use: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #2 [8086:a111] (rev f1)
	Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
	Kernel driver in use: pcieport
00:1d.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #13 [8086:a11c] (rev f1)
	Kernel driver in use: pcieport
00:1d.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #15 [8086:a11e] (rev f1)
	Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a152] (rev 31)
	Subsystem: Dell Sunrise Point-H LPC Controller [1028:07be]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
	Subsystem: Dell Sunrise Point-H PMC [1028:07be]
00:1f.3 Audio device [0403]: Intel Corporation CM238 HD Audio Controller [8086:a171] (rev 31)
	Subsystem: Dell CM238 HD Audio Controller [1028:07be]
	Kernel driver in use: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
	Subsystem: Dell Sunrise Point-H SMBus [1028:07be]
	Kernel driver in use: i801_smbus
01:00.0 3D controller [0302]: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] [10de:1c8d] (rev a1)
	Subsystem: Dell GP107M [GeForce GTX 1050 Mobile] [1028:07be]
	Kernel driver in use: nvidia
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
	Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
	Kernel driver in use: ath10k_pci
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
	Subsystem: Dell RTS525A PCI Express Card Reader [1028:07be]
	Kernel driver in use: rtsx_pci
04:00.0 Non-Volatile memory controller [0108]: Toshiba America Info Systems Device [1179:0116]
	Subsystem: Toshiba America Info Systems Device [1179:0001]
	Kernel driver in use: nvme
06:00.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576]
	Kernel driver in use: pcieport
07:00.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576]
	Kernel driver in use: pcieport
07:01.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576]
	Kernel driver in use: pcieport
07:02.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576]
	Kernel driver in use: pcieport
08:00.0 System peripheral [0880]: Intel Corporation DSL6340 Thunderbolt 3 NHI [Alpine Ridge 2C 2015] [8086:1575]
	Subsystem: Device [2222:1111]
	Kernel driver in use: thunderbolt
09:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	Kernel driver in use: pcieport
0a:01.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	Kernel driver in use: pcieport
0a:04.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	Kernel driver in use: pcieport
0c:00.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	Kernel driver in use: pcieport
0d:01.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	Kernel driver in use: pcieport
0d:04.0 PCI bridge [0604]: Intel Corporation DSL6540 Thunderbolt 3 Bridge [Alpine Ridge 4C 2015] [8086:1578]
	Kernel driver in use: pcieport
0e:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
	Subsystem: Dell ASM1042A USB 3.0 Host Controller [1028:b054]
	Kernel driver in use: xhci_hcd

Xorg was updated 18/5

[2018-05-18 09:21] [ALPM] upgraded xorg-server-common (1.19.6+13+gd0d1a694f-2 -> 1.20.0-2)
[2018-05-18 09:21] [ALPM] upgraded xorg-server (1.19.6+13+gd0d1a694f-2 -> 1.20.0-2)
[2018-05-18 09:21] [ALPM] upgraded xorg-server-devel (1.19.6+13+gd0d1a694f-2 -> 1.20.0-2)

Downgrading these packages made it work again as @xcd mentioned.

[2018-05-30 18:25] [ALPM] downgraded xorg-server-common (1.20.0-2 -> 1.19.6+13+gd0d1a694f-2)
[2018-05-30 18:25] [ALPM] downgraded xorg-server (1.20.0-2 -> 1.19.6+13+gd0d1a694f-2)
[2018-05-30 18:25] [ALPM] downgraded xorg-server-devel (1.20.0-2 -> 1.19.6+13+gd0d1a694f-2)

Thanks

Last edited by jonher937 (2018-05-31 15:20:04)

Offline

#11 2018-05-30 16:43:59

xcd
Member
Registered: 2017-03-18
Posts: 2

Re: [solved] xrandr configure crtc 3 nvidia optimus

Thanks for taking the time to troubleshoot this with us @Lone_Wolf! Here's the output from lspci -nnk om my machine:

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1910] (rev 07)
	Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [17aa:222e]
	Kernel driver in use: skl_uncore
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
	Subsystem: Lenovo HD Graphics 530 [17aa:222e]
	Kernel driver in use: i915
	Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
	Subsystem: Lenovo Sunrise Point-H USB 3.0 xHCI Controller [17aa:222e]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
	Subsystem: Lenovo Sunrise Point-H Thermal subsystem [17aa:222e]
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
	Subsystem: Lenovo Sunrise Point-H CSME HECI [17aa:222e]
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:16.3 Serial controller [0700]: Intel Corporation Sunrise Point-H KT Redirection [8086:a13d] (rev 31)
	Subsystem: Lenovo Sunrise Point-H KT Redirection [17aa:222e]
	Kernel driver in use: serial
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
	Subsystem: Lenovo Sunrise Point-H SATA controller [AHCI mode] [17aa:222e]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #3 [8086:a112] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #13 [8086:a11c] (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a150] (rev 31)
	Subsystem: Lenovo Sunrise Point-H LPC Controller [17aa:222e]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
	Subsystem: Lenovo Sunrise Point-H PMC [17aa:222e]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
	Subsystem: Lenovo Sunrise Point-H HD Audio [17aa:222e]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
	Subsystem: Lenovo Sunrise Point-H SMBus [17aa:222e]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-LM [8086:15b7] (rev 31)
	Subsystem: Lenovo Ethernet Connection (2) I219-LM [17aa:2233]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro M2000M] [10de:13b0] (rev a2)
	Subsystem: Lenovo GM107GLM [Quadro M2000M] [17aa:222e]
	Kernel driver in use: nouveau
	Kernel modules: nouveau
04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
	Subsystem: Intel Corporation Wireless 8260 [8086:0130]
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
3e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
	Subsystem: Lenovo RTS525A PCI Express Card Reader [17aa:222e]
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

Offline

#12 2018-06-02 12:30:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,213

Re: [solved] xrandr configure crtc 3 nvidia optimus

Has the update to xorg-server 1.20.0-5 improved the situation ?


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#13 2018-06-04 07:01:07

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

Sadly it's the same problem as with 1.20.0-2

Offline

#14 2018-06-08 14:32:15

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

I'll give 1.20.0-6 a try on Monday and see if that helps

Last edited by jonher937 (2018-06-08 14:32:28)

Offline

#15 2018-06-11 09:56:26

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

Sorry to say it's still the same problem with xorg-server 1.20.0-6 (common on devel on same version).

UPDATE: Tested with 1.20.0-7 and the issue persists.

Last edited by jonher937 (2018-06-11 12:11:43)

Offline

#16 2018-06-11 13:41:11

lmat
Member
Registered: 2015-08-10
Posts: 10

Re: [solved] xrandr configure crtc 3 nvidia optimus

Thanks, Jonher937 for keeping an eye on this! I would appreciate continued updates. I downgraded and am not experiencing issues. I used gnome and it works, but gnome requires more than 1 GB of memory which I can't afford to give it.

Offline

#17 2018-06-18 14:17:30

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

Tested 1.20.0-8 and same problem there sad
What info can we add to help troubleshooting?

Offline

#18 2018-06-19 12:35:17

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,213

Re: [solved] xrandr configure crtc 3 nvidia optimus

List the WM/DE you use and the way you start X (display manager, startx , xinit) .
Try alternatives for those choices so we can verify whether they influence the problem.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#19 2018-06-27 13:36:54

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

Tried i3 and GNOME
Tried startx without LightDM and xinit with LightDM

Same issue still sadly.
Haven't had time to try 1.20.0-9 yet

Offline

#20 2018-07-09 07:10:34

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

Same issue with 1.20.0-9 hmm

Offline

#21 2018-08-21 15:31:04

jonher937
Member
Registered: 2018-05-25
Posts: 13

Re: [solved] xrandr configure crtc 3 nvidia optimus

If anyone still following this thread I can confirm that xorg-server 1.20.1-1 works for me with the Dell XPS dock.
Running linux 4.18.3.arch1-1

Thanks @Lone_Wolf for taking the time to help troubleshoot

Last edited by jonher937 (2018-08-21 15:31:43)

Offline

Board footer

Powered by FluxBB