You are not logged in.

#1 2020-03-02 01:50:21

Stephen233
Member
Registered: 2020-02-29
Posts: 6

[SOLVED]Second Monitor Is Blank with mouse cursor

I have been trying to use my second monitor for a few days now and I can't seem to figure it out. xrandr did not seem to be working correctly as it only showed my monitor. Through my trouble shooting I think I ran a command similar to X -configure or Xorg -configure. This resulted in sddm only loading to by second monitor. Even more weird, my desktop would load to different monitors depend on if i selected the plasma desktop versus the plasma wayland desktop. I have fixed sddm booting exclusively to my second  monitor by switching Device and Monitor tags. Also, my second monitor now works but is Black with only a X cursor. Any thoughts as to how to fix this? I assume I should probable unplug everything and rerun some sort of configure command to currently fix my main monitor tag.

Bellow is my /etc/X11/xorg.conf


Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "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"
	Load  "glxserver_nvidia"
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      "nvidia"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "DoubleShadow"       	# [<bool>]
	Identifier  "Card1"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	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

Section "Screen"
	Identifier "Screen1"
	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

Bellow is what xrandr gives me:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
   1920x1080     60.00 +  59.97*   59.96    59.93    48.07  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   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  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   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  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

Last edited by Stephen233 (2020-03-05 02:31:43)

Offline

#2 2020-03-02 07:48:50

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

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

You're running a two screen setup, ie. two independent screens (rather than the likely desired setup where you can use both outputs for the same screen, ie. spanning windows across both etc.)
With the present setup, you need to run a second session (eg. try "DISPLAY=:0.1 xterm") on the second screen. If you don't want this, elaborate on the initial situation an problem, start w/ "lspci" (ie. whether this is a dual-VGA setup)

Offline

#3 2020-03-02 23:49:55

Stephen233
Member
Registered: 2020-02-29
Posts: 6

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

Yes you are correct in assuming that my intention is to span the windows across one another.  I first tried to do this with the KDE GUI but my monitor is not being picked up. Then going off of https://wiki.archlinux.org/index.php/Multihead I have been trying different xrandr / editing xorg.conf with little success.

Using your suggestions I ran "DISPLAY=:0.1 xterm" just to see if it would work even though it is not what I am looking for. After installing xterm it gave me a the fallowing error and crashes a few seconds later.

xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1" 

Thank you for your assistance, please let me know if I can give you anymore information. I have attached what lspci gave me bellow.

lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x4) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 05)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation CM238 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1050 Ti Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
3d:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
3e:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

Offline

#4 2020-03-02 23:58:29

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

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

You lack a bitmap font or need to pass an installed font to the "-fa" switch.

Since you've two VGA devices, you're most likely dealing w/ something like https://wiki.archlinux.org/index.php/Bu … VIDIA_chip (typically the HDMI output is wired to the nvidia chip and the internal display to the intel one, see esp. the linked https://github.com/Bumblebee-Project/Bu … itor-setup ) what implies that you cannot fully switch off the GPU

Offline

#5 2020-03-03 01:52:51

Stephen233
Member
Registered: 2020-02-29
Posts: 6

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

Cool, it appears to be working at an acceptable level now. I installed bumblebee and the optional Intel driver. Then I removed my xorg.conf and followed the Bumblebee Multi-monitor-setup. My only issue now is that I have to run "intel-virtual-output" every time I log in. Do you know if it is part of a service or how to best launch it at start.

Offline

#6 2020-03-03 07:39:03

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

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

Depends on where you want to apply it.

SDDM:
/usr/share/sddm/scripts/Xsetup

Plasma:
https://wiki.archlinux.org/index.php/KDE#Autostart

Offline

#7 2020-03-04 02:40:54

Stephen233
Member
Registered: 2020-02-29
Posts: 6

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

Thank you Seth! You have been a huge help, probably would not have been able to solve this without you. And wow arch Wiki is amazing.

Offline

#8 2020-03-04 07:01:22

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

Re: [SOLVED]Second Monitor Is Blank with mouse cursor

You're welcome.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB