You are not logged in.

#1 2019-10-20 14:07:35

shekhand
Member
Registered: 2019-10-19
Posts: 1

Problem with VGA output on laptop with optimus

Hi!

I would like to use  2 monitors connected to my laptop via VGA and HDMI. HDMI output works good, but when I try to connect monitor via VGA I see only noise on it.
I read about multihead on archwiki, read man xorg.conf and try different configuration, but with no result.

VGA works properly when I boot into live version of another distributive (I checked it to be sure that VGA is not broken), so I suppose that problem is in my configuration but I can't figure what I do wrong.

Hardware description:
Laptop: Lenovo G710
Graphic cards: Intel and Nvidia GeForce 720M (with 390 driver and bumblebee).

xorg.conf

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	Screen      2  "Screen2" RightOf "Screen1"
	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   "laptop"
	Option	    "Monitor-eDP" "eDP monitor
EndSection

Section "Monitor"
	Identifier   "philips"
	Option	    "Monitor-VGA" "VGA monitor"
EndSection

Section "Monitor"
	Identifier   "samsung"
	Option	    "Monitor-HDMI" "HDMI monitor"
EndSection

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

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

Section "Screen"
	Identifier "Screen0"
	Device     "intel_gpu"
	Monitor    "laptop"
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "intel_gpu"
	Monitor    "philips"
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen2"
	Device     "intel_gpu"
	Monitor    "samsung"
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

xrandr output:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
   1600x900      60.00 +  59.82  
   1400x900      59.96    59.88  
   1368x768      60.00    59.88    59.85  
   1280x800      59.81    59.91  
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   800x450       60.00  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   640x360       59.84    59.32    60.00  
HDMI1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
VGA1 connected 1360x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
   1360x768      60.02*+
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Offline

Board footer

Powered by FluxBB