#StackBounty: #drivers #nvidia #graphics #xorg #gpu Using P104-100 GPU on Ubuntu (as single or second GPU)

Bounty: 50

What I have:

GA-B250-Fintech motherboard

Ubuntu 18.04 (but I’m ready to reinstall to any version if it will work)

$ uname -r
4.18.0-18-generic

And P104-100 video card.

$ lspci | grep NVIDIA
01:00.0 3D controller: NVIDIA Corporation GP104 [P104-100] (rev a1)

gcc --version
gcc (Ubuntu 7.4.0-9ubuntu1~18.04.york0) 7.4.0

The problem:
every time I install nvidia drivers, Ubuntu stop loading. Usually with message:

started user manager uid 121.

I plug out P104-100 and plug in GTX 1060, this works correctly:

~$ nvidia-smi
Mon May 13 22:56:17 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.74       Driver Version: 418.74       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 106...  Off  | 00000000:01:00.0 Off |                  N/A |
|  0%   42C    P8     6W / 120W |      0MiB /  6078MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Then I tried plug in P104-100 as second card using another slot, and Ubuntu stops loading: freeze with message

Started GNOME Display Manager.

P.S. Using lshw -C display I found both cards have
physical id: 0
Can it be a reason?


Question:
How to install both cards on Ubuntu?
I think if I successfully install P104-100 as single card the same solution could be for installing both of them.


P.S. I found some solution about editing xconf for using on multiple GPUs: for example.
But it did not help.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!

#StackBounty: #ubuntu #xorg #nvidia #troubleshooting xrandr doesn't list display port

Bounty: 100

My laptop (Thinkpad W530) has a VGA and a mini DP port (OR a DP port via docking station). Ubuntu 18.04, xrandr in particular doesn’t seem to recognize the DP. For example if I run xrandr gives me

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
LVDS-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1-1 disconnected (normal left inverted right x axis y axis)

So not only the external monitor on DP isn’t recognized but even the port itself doesn’t seem to be recognized (it doesn’t show something like “DP… disconnected”).

If I check prime-select query I get nvidia. I am using nvidia driver 430.

I should add that the external monitor works with a live usb stick and that it worked in the past. However I didn’t use it for several month, so it might be that I screwed something up in the meantime. Thus I don’t think that there is not a bug but a misconfiguration somewhere.

What can I do to identify the source of the problem and how can I fix it (but I don’t want to reinstall the entire system)?

If I ask nvidia-settings to detect external screens it also finds nothing.

I also tried to change in BIOS settings from optimus to discrete graphics. But then I wasn’t even able to login to my graphical interface (I am using xmonad as WM without display manager, just using startx).

Here is my /var/log/Xorg.0.log.

Output of lspci -nnk | grep -iA2 vga:

lspci -nnk | grep -iA2 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
    Subsystem: Lenovo 3rd Gen Core processor Graphics Controller [17aa:21f5]
    Kernel driver in use: i915
--
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GLM [Quadro K2000M] [10de:0ffb] (rev a1)
    Subsystem: Lenovo GK107GLM [Quadro K2000M] [17aa:21f5]
    Kernel driver in use: nvidia

output of inxi -Gx:

Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107GLM [Quadro K2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.6 drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Quadro K2000M/PCIe/SSE2 version: 4.6.0 NVIDIA 430.09 Direct Render: Yes

and sudo lshw -class video | grep driver= gives:

   configuration: driver=nvidia latency=0
   configuration: driver=i915 latency=0

lsmod | grep nvidia gives

lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             45056  4
nvidia_modeset       1101824  1 nvidia_drm
nvidia              18448384  98 nvidia_uvm,nvidia_modeset
drm_kms_helper        167936  2 nvidia_drm,i915
ipmi_msghandler        53248  2 ipmi_devintf,nvidia
drm                   401408  7 drm_kms_helper,nvidia_drm,i915

I also checked lsmod vesa and lsmod nouveau to see if there was a fallback to vesa or nouveau. But this results in no output.


Get this bounty!!!