Problem with external monitor

Hi,

During system startup, when i have to type password to log in to system, external monitor work fine. When i log in, external monitor loses signal. This monitor is connect to docking station, and docking station is connect to laptop via USB-C. xrandr see this monitor connected. I must go to display settings, choose "the same image" or "one display" and back to "screen connected" then all works fine. This problem is always when i turn on laptop. If i reboot, everything is good.

Someone have idea?
Ps. Sorry for my language.

Hello,

Are you locked into Wayland or Xorg?
Please provide us with these output:

sudo apt install inxi
inxi -Ga
1 Like

echo $XDG_SESSION_TYPE
x11

inxi -Ga

Graphics:
Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Lenovo
driver: nvidia v: 535.171.04 alternate: nvidiafb,nouveau,nvidia_drm pcie:
gen: 2 speed: 5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
ports: active: none off: DP-1 empty: HDMI-A-1,eDP-2 bus-ID: 01:00.0
chip-ID: 10de:2191 class-ID: 0300
Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: none bus-ID: 06:00.0
chip-ID: 1002:1636 class-ID: 0300
Device-3: Syntek Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-3:3 chip-ID: 174f:244c class-ID: 0e02 serial: 0001
Display: x11 server: X.Org v: 1.21.1.4 compositor: gnome-shell v: 43.9
driver: X: loaded: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,radeon,vesa gpu: amdgpu
display-ID: :1 screens: 1
Screen-1: 0 s-res: 3840x1232 s-dpi: 96 s-size: 1016x326mm (40.0x12.8")
s-diag: 1067mm (42")
Monitor-1: DP-0 pos: primary,top-right res: 1920x1080 hz: 60 dpi: 92
size: 531x299mm (20.9x11.8") diag: 609mm (24")
Monitor-2: eDP-1-0 pos: bottom-l res: 1920x1080 hz: 120 dpi: 142
size: 344x194mm (13.5x7.6") diag: 395mm (15.5")
OpenGL: renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
v: 4.6.0 NVIDIA 535.171.04 direct render: Yes

Welcome to the Forum!

Did You tried it with Wayland?

1 Like

Looks like it worked. I'll see if everything will be OK after turning off the laptop for a long time. Thanks <3.

Edit:
However, it turned out to be even worse. Now, apart from the fact that there is no image at the start on the external monitor, even xrandr does not detect it.

xrandr :
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 119.93*+
1440x1080 119.92
1400x1050 119.90
1280x1024 119.83
1280x960 119.89
1152x864 119.77
1024x768 119.80
800x600 119.85
640x480 119.52
320x240 117.34
1680x1050 119.89
1440x900 119.94
1280x800 119.85
720x480 119.65
640x400 119.64
320x200 117.55
1600x900 119.95
1368x768 119.83
1280x720 119.86
1024x576 119.85
864x486 119.69
720x400 119.54
640x350 119.24

inxi -Ga:
Graphics:
Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Lenovo
driver: nvidia v: 535.171.04 alternate: nvidiafb,nouveau,nvidia_drm pcie:
gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
ports: active: none empty: DP-1,HDMI-A-1,eDP-2 bus-ID: 01:00.0
chip-ID: 10de:2191 class-ID: 0300
Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: none bus-ID: 06:00.0
chip-ID: 1002:1636 class-ID: 0300
Device-3: Syntek Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-3:3 chip-ID: 174f:244c class-ID: 0e02 serial: 0001
Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1
compositor: gnome-shell v: 43.9 driver: X: loaded: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,radeon,vesa gpu: amdgpu display-ID: 0
Monitor-1: eDP-1 model: BOE Display built: 2019 res: 1920x1080 dpi: 142
gamma: 1.2 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") ratio: 16:9
modes: max: 1920x1080 min: 640x480
OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.54 6.5.0-35-generic)
v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes

2 Likes

After long suspend it's the same problem. I must reconnect usb-c hub then it work.

Edit:
It's super weird but now I turned on the laptop after 5 hours and it works. I mark it as solved

1 Like

You don't have to make that immediately. Take Your Time and test it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.