You are not logged in.

#1 2019-04-26 00:46:50

spurgelaurels
Member
From: Hamilton ON
Registered: 2018-09-22
Posts: 5

Second monitor disappears

INVENTORY
Dell XPS 9370
HDMI USB C Hub, HooToo Shuttle
Monitor Dell U2410 & P2317H

HISTORY
I used to run Arch on a Lenovo X1 Carbon, but got frustrated because it started doing this exact issue. Instead of fix it, I just upgraded to a Dell XPS 13 and moved to a USB C hub instead of the onboard HDMI.

SETUP
I run svelt, really svelt. No custom Xorg, no login manager, just an xinitrc that loads i3 that I kick off with

startx
 xset +fp ~/.fonts
 xset fp rehash
 #xset -dpms
 dbus-update-activation-environment --systemd DISPLAY
 exec i3

If I boot up the laptop with the lid closed, framebuffer shows up on the monitor, but startx hangs right before showing up on the screen. Nothing in the logs for some reason.  It almost seems as if the screen DID load somewhere (NOT the laptop screen.... it's a duplicate of the monitor at this point).

If I boot up with the laptop open and the monitor on, I can get into X.

xrandr --list-monitors

shows both my DP-1 monitor, and an eDP-1 monitor. If I don't do anything, within a minute or two, the monitors seem to become a single monitor entity with only DP-1 showing up. After that, the screen will switch over to the laptop if I unplug the monitor, but I can't get the monitor back until I reboot.

I'm pulling my hair on this one.

Offline

#2 2019-04-26 08:02:07

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

Re: Second monitor disappears

Check/post dmesg/journal/xorg log on whether they give any indication on what is happening

Offline

#3 2019-04-26 17:23:57

spurgelaurels
Member
From: Hamilton ON
Registered: 2018-09-22
Posts: 5

Re: Second monitor disappears

Sorry if it wasn't clear, but all logs were checked. There are no obvious indications of a problem.

Offline

#4 2019-04-26 19:07:49

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Second monitor disappears

spurgelaurels wrote:
dbus-update-activation-environment --systemd DISPLAY

^ Does removing this line fix the problem?

If not then check your session status with loginctl(1).

spurgelaurels wrote:

all logs were checked. There are no obvious indications of a problem

But perhaps somebody here would be able to spot something non-obvious.

And incidentally:

spurgelaurels wrote:
 xset +fp ~/.fonts
 xset fp rehash

Place your fonts in ~/.local/share/fonts to avoid the need to add them manually.

Offline

Board footer

Powered by FluxBB