Nvidia 340xx causes flickering desktop, no dual Monitor possible, no HD videos on Archlinux/(X)Ubunt

Hello,

first of all a couple of outputs:
Currently i am running a Xubuntu 14.10 with 3.16.0-23-generic Kernel.
Also tested with 3.17 Kernel in archlinux.

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [NVS 5100M] (rev a2)

I have to say that the latest nvidia driver from downloadpage is really useless in all ways.
My notebook monitor is flickering randomly minimum once every minute.

Xrandr output with not working nvidia driver:

xrandr
Screen 0: minimum 8 x 8, current 3200 x 900, maximum 8192 x 8192
VGA-0 connected (normal left inverted right x axis y axis)
   1600x900      60.00 +
LVDS-0 connected primary 1600x900+1600+0 (normal left inverted right x 
axis y axis) 344mm x 193mm
   1600x900      60.00*+
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 
344mm x 193mm
   1600x900      60.00*+
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)
DP-6 disconnected (normal left inverted right x axis y axis)

xrandr output with working nouveau driver;

xrandr
Screen 0: minimum 320 x 200, current 3520 x 1080, maximum 8192 x 8192
LVDS-1 connected 1600x900+1920+180 (normal left inverted right x axis y axis) 344mm x 193mm
   1600x900       60.0*+
   1152x864       60.0  
   1024x768       59.9  
   800x600        59.9  
   640x480        59.4  
   720x400        59.6  
   640x400        60.0  
   640x350        59.8  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080      60.0*+   50.0     59.9  
   1680x1050      59.9  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x800       59.9  
   1152x864       75.0  
   1280x720       60.0     50.0     59.9  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     72.8     66.7     60.0     59.9  
   720x400        70.1  
eDP-1 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
VGA-1 disconnected (normal left inverted right x axis y axis)

So guess which one is correct. I dont have any VGA-Display connected, all i have is LVDS(Notebook Display) and DP(external Monitor connected through displayport). I am not able to set the second monitor up with the nivida driver, neither with xrandr/arandr nor nvidia-settings.

I wont say i can do it better since i am no developer, but i cant understand how its not possible in 2014 to setup dual monitor with nvidia driver, it is neither possible to get a clear singlemonitor screen with this driver, how am i supposed to work when there is flickering every minute.

There are o lot of people having trouble e.g.:
https://bbs.archlinux.org/viewtopic.php?pid=1469015
https://forums.geforce.com/default/topic/780903

I did everything i found on the web to find a solution, e.g. working with libsdl1.2debian found on - YouTube, or this How To Fix Video Tearing | Nvidia Driver | Linux - YouTube

In archlinux i downgraded the 340xx driver to 337.12-1, i tried using lts driver with lts kernel but nothing changed. In archlinux its even worse, keyboard inputs are absolute lazy because of the nvidia driver.

But even if that would work, i am not still able to use a second monitor with this nvidia driver, i tested under Xubuntu, Ubuntu and Archlinux and to be honest the proprietary nvidia driver is the worst thing i ever had to deal with. I am using different hardware running linux for almost 10 years now and i never had such problems with Intel or AMD. Almost nothing work with nvidia driver, i am really thinking about selling my notebook and get me one with Intel oder AMD graphic, cause i know everything works fine there…

Sorry for these words but thats only what i am thinking, nevertheless i hope to get any help getting at least single monitor and HD configuration to work with the nvidia driver…
nvidia-bug-report1.log.gz (60.4 KB)

  1. You’re definitely going to need to post a bug report log. There’s a sticky on the forum page that explains how to generate one. That’ll give some details about your configuration, as well as any possible warnings or errors that are logged.

  2. You can’t use a 337 driver because it’s not compatible with the kernel versions in Ubuntu 14.10? Is the problem only on 340 and above?

  3. When you say “flickering” you mean the display is completely blanking out?

  1. I will do this.

  2. In Ubuntu 14.10 i used the .run script from the nvidia download page(340.46), in archlinux i installed the 340xx driver from the repository and did a test in which i downgraded to 337 because of an archuser who said downgrading worked for him. I dont tested >340 because the nvidia download page says:

which is the 340.46 driver.

  1. Yes, for a split second the display completely blanks out

If you have no use for vga connector you can disable using it by adding Option “IgnoreDisplayDevices” “crt” in device or screen section to your /etx/X11/xorg.conf or config file in folder /etc/X11/xorg.conf.d/ i.e. /etc/X11/xorg.conf.d/20-nvidia.conf

Is that some sort of optimus laptop, or is it discrete only(lspci)? Optimus laptops are pain in some where to get working correctly, because of different display connector configurations(manufacturers can connect display outputs directly to nvidia discrete card or intel graphics card and use different kind of muxes to use nvidia discrete card).

I have a HP EliteBook 8540p no optimus.

I am about to make a fresh install of archlinux where i want to setup the nvidia 340.46-4 driver from the archlinux repository again and post a bug report log.

I remember Ubuntu was a bit tricky because I didn’t think the .run script disabled the nouveau driver. (I could be wrong; it could do all of that automatically now.)

Typically when I do an install of Ubuntu I have to use their proprietary driver installation utility (I think it’s moved to Software Settings somewhere) to install the nvidia driver. This utility is nice enough to first disable and blacklist the nouveau module and then install (a somewhat old) nvidia driver.

After I reboot and verify that I’m definitely 100% running only the nvidia driver, then I upgrade to the latest version of the driver through a PPA or the .run script from nvidia.

The /var/log/Xorg.0.log file might indicate if both nouveau and nvidia are trying to load simultaneously.

Okay guys i did a fresh install of the complete system to provide best test results.
I installed archlinux and the nvidia-340xx driver from the official arch repository.

Here are 2 Logs:
https://www.dropbox.com/sh/ckht6713cwfa9y0/AADMCkmUvzpDctRtRJsT2K8ca?dl=0

The first one “nvidia-bug-report1.log.gz” is the important one i guess. I ran these with the startx --logverbose6 command, played a couple of videos and plugged in an out my second monitor through displayport.

xrandr with monitor connected to displayport:

xrandr 
Screen 0: minimum 8 x 8, current 3200 x 900, maximum 8192 x 8192
VGA-0 connected (normal left inverted right x axis y axis)
   1600x900      60.00 +
LVDS-0 connected primary 1600x900+0+0 (normal left inverted right x axis 
y axis) 344mm x 193mm
   1600x900      60.00*+
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1600x900+1600+0 (normal left inverted right x axis y 
axis) 344mm x 193mm
   1600x900      60.00*+
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)
DP-6 disconnected (normal left inverted right x axis y axis)

And xrandr with unplugged monitor:

xrandr 
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 8192 x 8192
VGA-0 connected (normal left inverted right x axis y axis)
   1600x900      60.00 +
LVDS-0 connected primary 1600x900+0+0 (normal left inverted right x axis 
y axis) 344mm x 193mm
   1600x900      60.00*+
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
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)
DP-6 disconnected (normal left inverted right x axis y axis)

Notice that i dont have plugged in any VGA Monitor to the VGA port!

I have to say, in archlinux with nvidia there is no tearing in videos as far as i can see, the 3 major problems are:

  1. No external monitor possible
  2. The already mentioned flickering in the whole display
  3. CTRL+ALT+F(2,3…) while running a Desktop Environment is impossible, because the input lines in the Terminal are out of the Display, for example you press crtl+alt+f5 you usually get the black screen where you can login to yout system, but the loginfield are above the display, you cant see yout input.

The second log file “nvidia-bug-report.log.gz” is a file i created after X crashed after logging in to the devtalk forum. I cant really say if it was a nvidia-driver problem or browser problem.

I hope i did everything correct and explained everything understandable.
If you need more informations please let me know.

Hmm it might be possible that vga steals the second monitor. Pre-kepler cards does not support more than 2 monitors at once. Can you turn it off by
xrandr --output VGA-0 --off

And if you have no use for vga connector use the Option “IgnoreDisplayDevices” “crt”, it will disable it from loading while you load X.

Tty problem is caused by framebuffer driver, nvidia driver does not support kms and there for there are only vesafb/uvesafb drivers for use. Vesafb driver is the simplest and it might not support higher than normal vesa resolutions. Uvesafb driver can do more than normal vesafb, you might wan’t to use it:
https://wiki.archlinux.org/index.php/uvesafb

Ok first of all thanks for your help.
I went through the archwiki instruction for uvesafb but overall nothing changed, i still got the whole display flicker(i noticed that the flickering does not happen while watching fullscreen videos) and i still cant use my second monitor.

xrandr --output VGA-0 --off didnt change anything, in xrandr it still shows VGA-0 connected, in arandr it shows VGA-ß inactive and DP monitor connected but with same resolution as Notebookdisplay(1600x900) and the monitor still does not show anything.

I noticed that “Checking Current Resolution” from archwiki link shows 1024x768 even when i have 1600x900 in /etc/modprobe.d/uvesafb.conf.

The whole Desktop is like lazy, moving windows, scrolling and stuff is total lazy. Compared to Xubuntu with nouveau its absolute slow.

I also tested to just install the 343 driver from the official arch repo instead of the 340xx driver, but all the same.
Which driver version do you suggest for future tests?

I don’t think 343 version supports your graphics card, 340.xx version is new legacy for dx10 graphics chips.

Hmm that’s just wierd, stubborn vga cloned your lvds(driver bug or incorrect information from bios, reading your xorg.log both are AU-optronics, which is your laptop monitor).

Did you try to disable it manually by xorg.conf? I think it safe to add Option “IgnoreDisplayDevices” “crt” to file /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf and restart X

Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
        Option "IgnoreDisplayDevices" "CRT"
EndSection

For framebuffer problems, what modes are available for framebuffer driver?
cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes or
sudo hwinfo --framebuffer

Be sure you made changes in grub configs as said and updated your grub config. I don’t have arch so I’m not sure how you update grub(in ubuntu it’s sudo update-grub). Hmm looking that archwiki that seems to differ what you have to do with ubuntu. I have these line changes in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT=“nomodeset video=uvesafb:mode_option=1680x1050-32,mtrr=3,scroll=ywrap”

GRUB_GFXPAYLOAD_LINUX=text

Oh and be sure that there’s no vga=0xXXXX anywhere in that file.

So first the outputs:

cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
640x400-8, 0x0100
640x480-8, 0x0101
800x600-8, 0x0103
1024x768-8, 0x0105
320x200-16, 0x010e
320x200-32, 0x010f
640x480-16, 0x0111
640x480-32, 0x0112
800x600-16, 0x0114
800x600-32, 0x0115
1024x768-16, 0x0117
1024x768-32, 0x0118
320x200-8, 0x0130
320x400-8, 0x0131
320x400-16, 0x0132
320x400-32, 0x0133
320x240-8, 0x0134
320x240-16, 0x0135
320x240-32, 0x0136
640x400-16, 0x013d
640x400-32, 0x013e
1600x900-8, 0x014b
1600x900-16, 0x014c
1600x900-32, 0x014d
1280x800-8, 0x0160
1280x800-32, 0x0161
sudo hwinfo --framebuffer                                
02: None 00.0: 11001 VESA Framebuffer                           
  [Created at bios.459]
  Unique ID: rdCR.BT8i+YySMN3
  Hardware Class: framebuffer
  Model: "NVIDIA GT216 Board - 06990005"
  Vendor: "NVIDIA Corporation"
  Device: "GT216 Board - 06990005"
  SubVendor: "NVIDIA"
  SubDevice: 
  Revision: "Chip Rev"
  Memory Size: 14 MB
  Memory Range: 0xd1000000-0xd1dfffff (rw)
  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+1280), 24 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0330: 320x200 (+320), 8 bits
  Mode 0x0331: 320x400 (+320), 8 bits
  Mode 0x0332: 320x400 (+640), 16 bits
  Mode 0x0333: 320x400 (+1280), 24 bits
  Mode 0x0334: 320x240 (+320), 8 bits
  Mode 0x0335: 320x240 (+640), 16 bits
  Mode 0x0336: 320x240 (+1280), 24 bits
  Mode 0x033d: 640x400 (+1280), 16 bits
  Mode 0x033e: 640x400 (+2560), 24 bits

So, is VESA Framebuffer correct using uvesafb or should the output be
different?

For the grubpart, maybe i understand it wring, the archwiki says “First
edit /etc/default/grub commenting the GRUB_GFXPAYLOAD_LINUX=keep line.”,
does “commenting” mean “#GRUB_…” or “GRUB_…” ?

So i did what you did, edited

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset video=uvesafb:mode_option=1680x1050-32,mtrr=3,scroll=ywrap"

GRUB_GFXPAYLOAD_LINUX=text

in the grub file, updated it in archlinux with grub-mkconfig -o /boot/grub/grub.cfg

And something changed, the resolution at the boot is now “better” and “cat /sys/class/graphics/fb0/virtual_size” throws 1600,900 now. It also is now possible to crtl+alt+f2 and see the text.
But coming back to X with ctrl+alt+f1 made almost the whole background black, dont know why…

Flickering and “lazyness” is still there, i can also notice “slow motion” in movies…

In /boot/grub/grub.cfg is a line “insmod vga”, does this say something?
In /etc/default/grub there is nothing with vga.

no i did not. For now i dont need VGA output, but someday at school i will need it. But i guess i wont use archlinux but xubuntu for presentations.

//Edit:

I did:

cat /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf 
Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "IgnoreDisplayDevices" "CRT"
EndSection

With this Option in i get:

cat /var/log/Xorg.0.log | grep EE
[    17.634] Current Operating System: Linux arch 3.17.1-1-ARCH #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.637] (EE) Problem parsing the config file
[    17.637] (EE) Error parsing the config file
[    17.637] (EE) 
[    17.637] (EE) no screens found(EE) 
[    17.637] (EE) 
[    17.637] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    17.637] (EE) 
[    17.638] (EE) Server terminated with error (1). Closing log file.

Uh oh terrible sorry about that, does reverting file back to normal helped(sudo nano /usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf)? I must say I’m not sure how you should use /usr/share/X11/xorg.conf.d thingy is that something to do with systemd or what?

On archwiki the correct file to edit is /etc/X11/xorg.conf.d/20-nvidia.conf. Well you could try that option there, or maybe just maybe Option “ConnectedMonitor” “LVDS-0” would be better. It should override monitor detection.

Ok, so i played a little bit with the settings due to your hint.
In archlinux i have to edit “/etc/X11/xorg.conf.d/20-nvidia”

Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
	Option "ConnectedMonitor" "LVDS-0"
#	Option "IgnoreDisplayDevices" "CRT"
#	Option "UseDisplayDevice" "LVDS-0, DP-0, DP-1, DP-2, DP-3, DP-4, DP-5, DP-6"
EndSection

With this config i really feal a difference, there is no flickering, moving windows and keyboard inputs are no more lazy. So for singlemonitor its perfect, but i cant access my second monitor.

As soon as i comment out the ConnectedMonitor option and put in the other two its the same as before: no dual monitor, lazy, flickering.

It seems that the nvidia driver think that VGA-0, DP-1 and LVDS-1 are one and the same monitor. With ConnectedMonitor LVDS line, xrandr dont show the VGA-0 output, which is correct because i dont have a VGA connected monitor. But it also removes the DP outputs.

So with ConnectedMonitor xrandr shows:

xrandr 
Screen 0: minimum 8 x 8, current 3200 x 900, maximum 8192 x 8192
LVDS-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1600x900      60.00*+
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1600x900+1600+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1600x900      60.00*+
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)
DP-6 disconnected (normal left inverted right x axis y axis)

But even with DP-1 connected, there is no output on this monitor.

Baby steps… Check the nvidia-settings query:
nvidia-settings -q dpys

And add names of the displays you want to use in Option “ConnectedMonitor” “string”. I.e. Option “ConnectedMonitor” “LVDS-0,DP-0”

Ok, hiere are some outputs:
xrandr with just “ConnectedMonitor” “LVDS-0”

Screen 0: minimum 8 x 8, current 1600 x 900, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1600x900      60.00*+
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
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)
DP-6 disconnected (normal left inverted right x axis y axis)

and nvidia-settings -q dpys with just “ConnectedMonitor” “LVDS-0”

9 Display Devices on arch:0

    [0] arch:0[dpy:0] (VGA-0)

      Has the following names:
        CRT
        CRT-0
        DPY-0
        VGA-0

    [1] arch:0[dpy:1] (LVDS-0) (connected, enabled)

      Has the following names:
        DFP
        DFP-0
        DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f
        DPY-1
        LVDS-0

    [2] arch:0[dpy:2] (DP-0)

      Has the following names:
        DFP
        DFP-1
        DPY-2
        DP-0

    [3] arch:0[dpy:3] (DP-1)

      Has the following names:
        DFP
        DFP-2
        DPY-3
        DP-1

    [4] arch:0[dpy:4] (DP-2)

      Has the following names:
        DFP
        DFP-3
        DPY-4
        DP-2

    [5] arch:0[dpy:5] (DP-3)

      Has the following names:
        DFP
        DFP-4
        DPY-5
        DP-3

    [6] arch:0[dpy:6] (DP-4)

      Has the following names:
        DFP
        DFP-5
        DPY-6
        DP-4

    [7] arch:0[dpy:7] (DP-5)

      Has the following names:
        DFP
        DFP-6
        DPY-7
        DP-5

    [8] arch:0[dpy:8] (DP-6)

      Has the following names:
        DFP
        DFP-7
        DPY-8
        DP-6

and now with “ConnectedMonitor” “LVDS-0, DP-0”

Screen 0: minimum 8 x 8, current 3200 x 900, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1600x900      60.00*+
DP-0 connected 1600x900+1600+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1600x900      60.00*+
DP-1 disconnected (normal left inverted right x axis y axis)
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)
DP-6 disconnected (normal left inverted right x axis y axis)
9 Display Devices on arch:0

    [0] arch:0[dpy:0] (VGA-0)

      Has the following names:
        CRT
        CRT-0
        DPY-0
        VGA-0

    [1] arch:0[dpy:1] (LVDS-0) (connected, enabled)

      Has the following names:
        DFP
        DFP-0
        DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f
        DPY-1
        LVDS-0

    [2] arch:0[dpy:2] (DP-0) (connected, enabled)

      Has the following names:
        DFP
        DFP-1
        DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f
        DPY-2
        DP-0

    [3] arch:0[dpy:3] (DP-1)

      Has the following names:
        DFP
        DFP-2
        DPY-3
        DP-1

    [4] arch:0[dpy:4] (DP-2)

      Has the following names:
        DFP
        DFP-3
        DPY-4
        DP-2

    [5] arch:0[dpy:5] (DP-3)

      Has the following names:
        DFP
        DFP-4
        DPY-5
        DP-3

    [6] arch:0[dpy:6] (DP-4)

      Has the following names:
        DFP
        DFP-5
        DPY-6
        DP-4

    [7] arch:0[dpy:7] (DP-5)

      Has the following names:
        DFP
        DFP-6
        DPY-7
        DP-5

    [8] arch:0[dpy:8] (DP-6)

      Has the following names:
        DFP
        DFP-7
        DPY-8
        DP-6

Difference(LVDS is where just LVDS-0 is in option and LVDP0 is where LVDS-0 and DP-0 is in option):

diff /home/markus/LVDS /home/markus/LVDP0 
1c1
< Screen 0: minimum 8 x 8, current 1600 x 900, maximum 8192 x 8192
---
> Screen 0: minimum 8 x 8, current 3200 x 900, maximum 8192 x 8192
5c5,6
< DP-0 disconnected (normal left inverted right x axis y axis)
---
> DP-0 connected 1600x900+1600+0 (normal left inverted right x axis y axis) 344mm x 193mm
>    1600x900      60.00*+
32c33
<     [2] arch:0[dpy:2] (DP-0)
---
>     [2] arch:0[dpy:2] (DP-0) (connected, enabled)
36a38
>         DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f

//Edit:

I forgot to say, as soon as i add another device in ConnectedMonitor to LVDS-0, it starts to be lazy again, second monitor wont work after all.

Well lvds steals the dp-0(same edid for both). Comment the whole Connected monitor line and do the nvidia-settings -q dpys with all your monitors connected if it’s even detects the second monitor you can use that precise edid line with that connected monitor option i.e.
option “ConnectedMonitor” “DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f, DPY-EDID-hexa_number”

Hard to say what causes this, it might be driver bug or plain bios bug. That it’s working with nouveau should be working with nvidia binary driver too so more likely driver bug. Do nvidia bug reports and maybe add working nouveau system xorg.log with dual monitor. Your first post should be enough just add nvidia bug reports do it,: hoover your mouse over right upper corner you should see paperclip icon ckick it and add your bug reports and other files needed. Other way is to use This site is undergoing maintenance site.

Hm okay, without the ConnectedMonitor line i get

9 Display Devices on arch:0

    [0] arch:0[dpy:0] (VGA-0) (connected)

      Has the following names:
        CRT
        CRT-0
        DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f
        DPY-0
        VGA-0

    [1] arch:0[dpy:1] (LVDS-0) (connected, enabled)

      Has the following names:
        DFP
        DFP-0
        DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f
        DPY-1
        LVDS-0

    [2] arch:0[dpy:2] (DP-0)

      Has the following names:
        DFP
        DFP-1
        DPY-2
        DP-0

    [3] arch:0[dpy:3] (DP-1) (connected, enabled)

      Has the following names:
        DFP
        DFP-2
        DPY-EDID-a47b7c84-7c5a-cf26-bc8c-d422a49f568f
        DPY-3
        DP-1

    [4] arch:0[dpy:4] (DP-2)

      Has the following names:
        DFP
        DFP-3
        DPY-4
        DP-2

    [5] arch:0[dpy:5] (DP-3)

      Has the following names:
        DFP
        DFP-4
        DPY-5
        DP-3

    [6] arch:0[dpy:6] (DP-4)

      Has the following names:
        DFP
        DFP-5
        DPY-6
        DP-4

    [7] arch:0[dpy:7] (DP-5)

      Has the following names:
        DFP
        DFP-6
        DPY-7
        DP-5

    [8] arch:0[dpy:8] (DP-6)

      Has the following names:
        DFP
        DFP-7
        DPY-8
        DP-6

So all 3 outputs got the same EDID(still notice, only LVDS-0 and DP-1 are real monitors!).

So like you recommend(thanks for the “howto”) i will do a bug report.
And again, thanks for youre help!

Oh, I should have been more clear, that is just an attachment not a real noted bug report. You should nudge nvidia devs(sandpit,aplattner) to get them report an internal bug(devs sure looks these threads but does not always see them all). If you want to be sure your bug are noted use the bug reporting tool This site is undergoing maintenance

Yeah that is really odd behavior, no wonder your x seems to be lazy(driver is using three outputs to drive one monitor at the same time). Hmm just wondered can you use the same “monitor” as nouveau,
Option “ConnectedMonitor” “LVDS-0,DP-2”
Or will that notebook panel steal that too.

Oh okay, i just did report it at the nvidia-submit website!

I just tested it, no matter what i put behind “LVDS-0”, e.g. “LVDS-0,DP-2” like you said. X is starting and xrandr shows LVDS-0 witch 1600x900 and DP-2 connected with 1600x900 but there is still no output. If i change the ConnectedMonitor line from LVDS-0,DP-2 to another DP(LVDS-0,DP-0 or LVDS-0,DP-1…) xrandr shows that output connected witch 1600x900 but no output at all.

Still no news, i received a mail from NVIDIA Customer Care, the person told me to remove the driver and reinstall it… thats all help i got so far.
My answer was i did that and it did not work, waiting for a new anser now.