You are not logged in.

#1 2019-08-13 16:04:57

vegarab
Member
Registered: 2017-12-22
Posts: 47

No external display detected. NVIDIA Xorg

Hi.

I have an optimus laptop (Thinkpad X1 Extreme, Intel iGPU and Nvidia 1050 TI Mobile). Have been trying to get external monitors to work, but no luck. Primarily with my external HDMI port that is wired to the GPU.

No luck with either bumblebee or without. I'm totally fine with running everything on the NVIDIA GPU.. that is what I have been doing so far.

nvidia-smi

shows X.org as a running process, so I guess that means I'm actually using my GPU.

lspci:

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)

xorg.conf (generated, only one I can actually start xorg with.. Any changes I've tried results in errors I'm not capable of understanding)

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      1  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
	Identifier  "Card1"
	Driver      "nvidia"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

xrandr --listproviders

Providers: number : 1
Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:Intel

Any insights? I've attempted the steps listed https://wiki.archlinux.org/index.php/Bu … VIDIA_chip here, but no luck.

Offline

#2 2019-08-13 16:23:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: No external display detected. NVIDIA Xorg

Your linked steps is what you are supposed to use granted you are actually using bumblebee (did you actually set up bumblebee? If so there should be no need for your own xorg.conf and it likely interferes). Elaborate on "no luck" what does that mean, did you get error messages starting intel-virtual-output ? What where those error messages?

Oh just read that you'd be totally fine with everything on nvidia, in which case follow https://wiki.archlinux.org/index.php/NVIDIA_Optimus (remove bumblebee, bbswitch, your xorg.conf and xf86-video-intel, the important take away from that article should be the xrandr lines to be appended to whichever startup file applies)

Last edited by V1del (2019-08-13 16:27:00)

Offline

Board footer

Powered by FluxBB