You are not logged in.

#1 2018-06-07 14:57:19

_Benjamin753
Member
Registered: 2018-04-26
Posts: 25

[SOLVED] Not detecting external displays (hybrid system)

My operating system is not detecting external displays, when I run xrandr it returns:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
   1920x1080    120.00*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27 

Also lspci -v is not returning any external displays; only shows:

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 11f9
	Flags: bus master, fast devsel, latency 0, IRQ 135
	Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. [MSI] GP104M [GeForce GTX 1070 Mobile]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at df000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

I am currently running i3 windowing manager. My external display is currently connected by displayport, I tried connecting by hdmi but I got the same problem.

Last edited by _Benjamin753 (2018-06-07 20:18:39)

Offline

#2 2018-06-07 18:44:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,177

Re: [SOLVED] Not detecting external displays (hybrid system)

How did you configure the optimus setup? The outputs are probably not on the chip you're running right now?

xrandr --listproviders

xrandr --setprovideroutputsource <prov-xid> <source-xid> might get you the additional outputs.

Offline

#3 2018-06-07 18:54:35

_Benjamin753
Member
Registered: 2018-04-26
Posts: 25

Re: [SOLVED] Not detecting external displays (hybrid system)

I have an nvidia GPU, I'm currently using bumblebee as that works best with my wm.
listproviders gives the following:

Providers: number : 1
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting

Offline

#4 2018-06-07 19:07:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,177

Re: [SOLVED] Not detecting external displays (hybrid system)

outputs: 1

The intel chip has only one output. To use the ones wired to the nvidia chip, see https://github.com/Bumblebee-Project/Bu … itor-setup

But NOTICE:

Because everything is rendered through the nvidia chip, the nvidia card must stay on (see above for disabling PM) and the OpenGL library path must be set to nvidia' libGL.so directory. Alternatively, uninstall Bumblebee as it does currently not fully support external monitors.

Offline

#5 2018-06-07 19:27:16

_Benjamin753
Member
Registered: 2018-04-26
Posts: 25

Re: [SOLVED] Not detecting external displays (hybrid system)

From the looks of it uninstalling bumblebee seems the best option. After uninstall  2nd screen runs smoothly.

Do you know a good alternative to bumblebee? I don't use my nvidia GPU a lot in Arch so I liked how Bumblebee only enables the GPU only when necessary to not waste too much battery.

Offline

#6 2018-06-07 19:39:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,177

Re: [SOLVED] Not detecting external displays (hybrid system)

The problem is that the GPU *needs* to be enabled to use the outputs wired to it.
I don't know for sure, but I don't think anything "like" bumblebee (ie. anything saving battery by disabling the nvidia chip) will allow you to access those outputs - the "best" you really can do is probably to try to limit the nvidia invocation to its scanoutbuffer only (w/o touching the 3D engine) and that is only "best" if the IGP is rendering more efficiently than the nvidia chip...

Offline

#7 2018-06-07 20:17:51

_Benjamin753
Member
Registered: 2018-04-26
Posts: 25

Re: [SOLVED] Not detecting external displays (hybrid system)

I'll leave the GPU disabled for the time being until I find a replacement for bumblebee, thank you so much for your help.

Offline

Board footer

Powered by FluxBB