Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
monitor not properly recognized after docking
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Sat Aug 17, 2019 2:24 pm    Post subject: monitor not properly recognized after docking Reply with quote

Hello,

I recently started using a docking station for my laptop. My laptop runs Gentoo, Ubuntu 18.04 LTS and Win 10.

As soon as I use my laptop in combination with the docking station, the connected monitor is not recognized and set up properly by Gentoo.

In the terminal environment (so no KDE / Plasma active) the lower part (approx. 5 cm) is not used. If I start KDE / Plasma from the command line, it will take much longer (compared to the undocked situation) before KDE / Plasma is started. After it is started, it shows my desktop (wallpaper, mouse, icons) but the taskbar is not visible.

Using Ubuntu it works better, KDE / Plasma starts up equal fast and windows environment is displayed and adjusted fine (taskbar, icons, background, mouse). Unfortunately, in the terminal environment (ctrl-alt F5, so no KDE / Plasma active) also the lower part (approx. 5 cm) is also not used.

In the docked Ubuntu situation, xrandr shows:
Code:
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.10 +  60.01    59.97    59.96    59.93    40.06 
   1680x1050     59.95    59.88 
   1600x1024     60.17 
   1400x1050     59.98 
   1600x900      59.99    59.94    59.95    59.82 
   1280x1024     60.02 
   1440x900      59.89 
   1400x900      59.96    59.88 
   1280x960      60.00 
   1440x810      60.00    59.97 
   1368x768      59.88    59.85 
   1360x768      59.80    59.96 
   1280x800      59.99    59.97    59.81    59.91 
   1152x864      60.00 
   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 
   800x512       60.17 
   700x525       59.98 
   800x450       59.95    59.82 
   640x512       60.02 
   720x450       59.89 
   700x450       59.96    59.88 
   640x480       60.00    59.94 
   720x405       59.51    58.99 
   684x384       59.88    59.85 
   680x384       59.80    59.96 
   640x400       59.88    59.98 
   576x432       60.06 
   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                                                                                     
HDMI-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm                     
   1920x1200     59.95*+                                                                                           
   1920x1080     60.00                                                                                             
   1600x1200     60.00                                                                                             
   1680x1050     59.88                                                                                             
   1280x1024     75.02    60.02                                                                                     
   1440x900      74.98    59.90                                                                                     
   1280x720      60.00                                                                                             
   1024x768      75.03    60.00                                                                                     
   800x600       75.00    60.32                                                                                     
   640x480       75.00    72.81    66.67    59.94                                                                   
   720x400       70.08                                                                                             
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)


In the undocked Ubuntu situation, xrandr shows:
Code:
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.10*+  60.01    59.97    59.96    59.93    40.06 
   1680x1050     59.95    59.88 
   1600x1024     60.17 
   1400x1050     59.98 
   1600x900      59.99    59.94    59.95    59.82 
   1280x1024     60.02 
   1440x900      59.89 
   1400x900      59.96    59.88 
   1280x960      60.00 
   1440x810      60.00    59.97 
   1368x768      59.88    59.85 
   1360x768      59.80    59.96 
   1280x800      59.99    59.97    59.81    59.91 
   1152x864      60.00 
   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 
   800x512       60.17 
   700x525       59.98 
   800x450       59.95    59.82 
   640x512       60.02 
   720x450       59.89 
   700x450       59.96    59.88 
   640x480       60.00    59.94 
   720x405       59.51    58.99 
   684x384       59.88    59.85 
   680x384       59.80    59.96 
   640x400       59.88    59.98 
   576x432       60.06 
   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 
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)


I will also try to post the Gentoo xrandr output.

Thanks in advance for thinking along and possibly solving the problem.

Regards,

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Sat Aug 17, 2019 2:42 pm    Post subject: Reply with quote

Hello again,

I managed to start a xterm window in the docked Gentoo situation.

In the docked Gentoo situation, xrandr shows:
Code:
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.10*+  40.06 
   1680x1050     59.88 
   1400x1050     59.98 
   1600x900      60.00    59.95    59.82 
   1280x1024     60.02 
   1400x900      59.96    59.88 
   1280x960      60.00 
   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 
   640x480       59.94 
   720x405       59.51    60.00    58.99 
   640x360       59.84    59.32    60.00 
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 520mm x 320mm
   1920x1200     59.95*+
   1920x1080     60.00 
   1600x1200     60.00 
   1680x1050     59.88 
   1280x1024     75.02    60.02 
   1440x900      74.98    59.90 
   1280x720      60.00 
   1024x768      75.03    60.00 
   800x600       75.00    60.32 
   640x480       75.00    72.81    66.67    59.94 
   720x400       70.08 
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


I will post this, because I do not know what will happen during a live undocking procedure.

Regards,

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Sat Aug 17, 2019 2:45 pm    Post subject: Reply with quote

Hello,

I am able to do a live undocking procedure and my desktop recovers to normal size and my taskbar is also present again 8O .

In the undocked Gentoo situation, xrandr shows:
Code:
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.10*+  40.06 
   1680x1050     59.88 
   1400x1050     59.98 
   1600x900      60.00    59.95    59.82 
   1280x1024     60.02 
   1400x900      59.96    59.88 
   1280x960      60.00 
   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 
   640x480       59.94 
   720x405       59.51    60.00    58.99 
   640x360       59.84    59.32    60.00 
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected 1920x1200+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  1920x1200 (0x4b) 154.000MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  74.04KHz
        v: height 1200 start 1203 end 1209 total 1235           clock  59.95Hz


Regards,

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Sat Aug 17, 2019 2:53 pm    Post subject: Reply with quote

Hello again,

After a reboot of my Gentoo system, following happens.

In the undocked Gentoo situation (fresh start), xrandr shows:
Code:
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.10*+  40.06 
   1680x1050     59.88 
   1400x1050     59.98 
   1600x900      60.00    59.95    59.82 
   1280x1024     60.02 
   1400x900      59.96    59.88 
   1280x960      60.00 
   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 
   640x480       59.94 
   720x405       59.51    60.00    58.99 
   640x360       59.84    59.32    60.00 
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


Regards,

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Wed Aug 21, 2019 4:01 pm    Post subject: Reply with quote

If this is a case of RTFM, can someone tell me which FM to start reading first?
That would also help a lot.

Thanks in advance.

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Mon Sep 02, 2019 10:04 pm    Post subject: Reply with quote

Hi GenHeDi,

the monitor resolutions of your laptop screen and external monitor differ (1920x1080 vs 1920x1200). Have you tried setting both to 1920x1080 and does this problems also occur then? Also in the Gentoo xrandr output after undocking you can see a VIRTUAL1 which does not match your laptop resolution. You can change this by using the xrandr cli.

Have you had a look at your KDE System Settings -> Display and Monitor? It should show how the monitors are aligned and I guess if you move them around you could get your taskbar back. Also which KDE and Plasma versions are you using? Which display adapter and driver versions?

I have a multi monitor hidpi setup with docking station @work and it took some time to get it running well. But sometimes I still have issues after docking or undocking (especially if the laptop is suspended along the way). In such situations I use a script aligning the monitors with xrandr commands.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Fri Sep 06, 2019 6:23 pm    Post subject: Reply with quote

Hello forrestfunk81,

Thank you for responding.I am new in using xrandr. Can you provide a bit more information in using the xrandr cli?

Can you also explain how to enter KDE System Settings -> Display and Monitor when I'm not able to see or reach the taskbar?

Thanks in advance.

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 565
Location: münchen.de

PostPosted: Sun Sep 15, 2019 7:54 pm    Post subject: Reply with quote

In KDE you can open applications by using the Plasma Search (default keyboard shortcuts ALT + space).

With xrandr you can try something like this
Code:

xrandr --auto --output eDP1 --mode 1920x1080
xrandr --auto --output HDMI1 --mode 1920x1080 --right-of eDP1


For more information see 'man xrandr'
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Mon Sep 16, 2019 7:36 am    Post subject: Reply with quote

GenHeDi wrote:
Hello forrestfunk81,

Thank you for responding.I am new in using xrandr. Can you provide a bit more information in using the xrandr cli?

There are graphical front ends to xrandr like lxde-base/lxrandr.
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Thu Sep 19, 2019 7:32 pm    Post subject: Reply with quote

Hello charles17 / forrestfunk81

Thanks for helping, I will give it a try.

Regards,

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Sat Jan 18, 2020 12:18 pm    Post subject: Reply with quote

Hello,

Sorry for (very) late response, I was stuck in all kinds of other Gentoo challenges :oops:

After executing following command:
Code:
# xrandr --auto --output HDMI1 --mode 1920x1080


The taskbar of KDE appeared. But my monitor complained that I should use a resolution of 1920x1200.
Output of xrandr is as follows:
Code:
 # xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.10*+  40.06 
   1680x1050     59.88 
   1400x1050     59.98 
   1600x900      60.00    59.95    59.82 
   1280x1024     60.02 
   1400x900      59.96    59.88 
   1280x960      60.00 
   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 
   640x480       59.94 
   720x405       59.51    60.00    58.99 
   640x360       59.84    59.32    60.00 
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 320mm
   1920x1200     59.95 +
   1920x1080     60.00*
   1600x1200     60.00 
   1680x1050     59.88 
   1280x1024     75.02    60.02 
   1440x900      74.98    59.90 
   1280x720      60.00 
   1024x768      75.03    60.00 
   800x600       75.00    60.32 
   640x480       75.00    72.81    66.67    59.94 
   720x400       70.08 
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


I tried to change the display setting of KDE, but it seems that I am missing an icon. "KDE System Settings -> Display and Monitor" only shows an Compositor icon and an Night Color icon.
A minimal KDE environment is installed on my Gentoo system, so probably I am missing some apps.
What could be missing? Because Google is not helping a lot me at this moment.

KDE version 5.17.4
KDE Frameworks 5.64.0
Qt 5.13.2

Thanks in advance.

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Mon Jan 20, 2020 6:40 pm    Post subject: Reply with quote

Hello,

I managed to get a step ahead. Apparently kscreen was not installed, so I installed it.

Now "KDE System Settings -> Display and Monitor" shows a third icon called "Display and Monitor". It it possible to select
this icon and my two screen are shown and also recognized.

The strange part of it is that xrandr puts resolution to a resolution of 1920x1200 and KDE uses 1920x1200.
In the Display and monitor screen I am able to toggle between the two screens. Switching back and forth has no effect on the actual screen appearance.

The second strange part of it is that the selection buttons below (help, standard, reset and apply) are light gray and not functional.
So, I am not able to apply my changes or monitor selection.

Does anyone know what is still missing?

Kind regards

GenHeDi
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
GenHeDi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2016
Posts: 132

PostPosted: Wed Apr 29, 2020 5:34 pm    Post subject: Reply with quote

SOLVED IT!!!!

I tried several settings with xrandr, determined several configurations with cvt. Unfortunately, nothing helped and my taskbar doesn't show up.

In the meantime I got the feeling that something was missing in my Plasma configuration. This is due to the fact that I installed the kde-plasma/plasma-desktop meta package.

This warning finally convinced me:

Quote:
Warning
Please note that only installing kde-plasma/plasma-desktop will be missing important packages such as kde-plasma/powerdevil (power management, suspend and hibernate options), kde-plasma/systemsettings and many more, do not expect support in this case.


So, I installed the kde-plasma/plasma-meta package. After trying some settings in the system settings menu; pop, there was my taskbar.

SUCCESS AT LAST!!!
_________________
Nulla tenaci invia est via
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum