[tderandrtray] Dual display configuration with 90-degreee rotation broken #233

Open
opened 7 months ago by mittorn · 2 comments

Basic information

  • TDE version: R14.1.0
  • Distribution: Arch Linux
  • Hardware: amd64

Description

I have double display configuration with left display rotated and right having vertical offset
It may be configured via xrandr program this way (first screenshot):

xrandr --output HDMI1 --rotate left --left-of DP1
xrandr --output DP1 --rotate normal --pos 1080x480
DP1 connected 1920x1080+1080+480 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     60.00*+
   1680x1050     59.95
   1280x1024     75.02    60.02
   1440x900      59.89
   1280x960      60.00
   1280x720      60.00
   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
HDMI1 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080     60.00*+  50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1440x576      50.00
   1024x768      75.03    70.07    60.00
   1440x480      60.00    59.94
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    66.67    60.00    59.94
   720x400       70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Both displays are fullhd
tderandrtray/kcontrol shows DP1 rotated left too if configured manually
When i trying to make same configuration, rotation works correctly, but screen size is detected wrongly. I getting wrong-sized taskbar on HDMI1 and no taskbar at all on DP1 (second screenshot)

Screen 0: minimum 8 x 8, current 2992 x 1920, maximum 32767 x 32767
DP1 connected 1920x1080+1072+480 (normal left inverted right x axis y axis) 530mm x 300mm
   1920x1080     60.00*+
   1680x1050     59.95
   1280x1024     75.02    60.02
   1440x900      59.89
   1280x960      60.00
   1280x720      60.00
   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
HDMI1 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080     60.00*+  50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1440x576      50.00
   1024x768      75.03    70.07    60.00
   1440x480      60.00    59.94
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    66.67    60.00    59.94
   720x400       70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Steps to reproduce

  1. Run tderandrtray
  2. Rotate one of displays

Screenshots

<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: R14.1.0 - Distribution: Arch Linux - Hardware: amd64 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description I have double display configuration with left display rotated and right having vertical offset It may be configured via xrandr program this way (first screenshot): ``` xrandr --output HDMI1 --rotate left --left-of DP1 xrandr --output DP1 --rotate normal --pos 1080x480 ``` ``` DP1 connected 1920x1080+1080+480 (normal left inverted right x axis y axis) 530mm x 300mm 1920x1080 60.00*+ 1680x1050 59.95 1280x1024 75.02 60.02 1440x900 59.89 1280x960 60.00 1280x720 60.00 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 HDMI1 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 510mm x 290mm 1920x1080 60.00*+ 50.00 59.94 1920x1080i 60.00 50.00 59.94 1680x1050 59.88 1280x1024 75.02 60.02 1440x900 59.90 1280x960 60.00 1152x864 75.00 1280x720 60.00 50.00 59.94 1440x576 50.00 1024x768 75.03 70.07 60.00 1440x480 60.00 59.94 832x624 74.55 800x600 72.19 75.00 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 75.00 66.67 60.00 59.94 720x400 70.08 VIRTUAL1 disconnected (normal left inverted right x axis y axis) ``` Both displays are fullhd tderandrtray/kcontrol shows DP1 rotated left too if configured manually When i trying to make same configuration, rotation works correctly, but screen size is detected wrongly. I getting wrong-sized taskbar on HDMI1 and no taskbar at all on DP1 (second screenshot) ``` Screen 0: minimum 8 x 8, current 2992 x 1920, maximum 32767 x 32767 DP1 connected 1920x1080+1072+480 (normal left inverted right x axis y axis) 530mm x 300mm 1920x1080 60.00*+ 1680x1050 59.95 1280x1024 75.02 60.02 1440x900 59.89 1280x960 60.00 1280x720 60.00 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 HDMI1 connected primary 1080x1920+0+0 left (normal left inverted right x axis y axis) 510mm x 290mm 1920x1080 60.00*+ 50.00 59.94 1920x1080i 60.00 50.00 59.94 1680x1050 59.88 1280x1024 75.02 60.02 1440x900 59.90 1280x960 60.00 1152x864 75.00 1280x720 60.00 50.00 59.94 1440x576 50.00 1024x768 75.03 70.07 60.00 1440x480 60.00 59.94 832x624 74.55 800x600 72.19 75.00 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 75.00 66.67 60.00 59.94 720x400 70.08 VIRTUAL1 disconnected (normal left inverted right x axis y axis) ``` ## Steps to reproduce 1. Run tderandrtray 2. Rotate one of displays ## Screenshots <!-- If it seems useful, please provide provide one or more screenshots. -->
Poster

It uses xrandr program with this xrandr command:

--output DP1 --mode 1920x1080 --pos 0x0 --refresh 60 --gamma 1:1:1 --rotate normal --reflect normal --primary --output HDMI1 --mode 1920x1080 --pos -1072x0 --refresh 60 --gamma 1:1:1 --rotate left --reflect normal --output VIRTUAL1 --off

I do not know what is 1072 here, but it seems to be wrong.
Changing it to 1080 seems to fix merging screens to one

It uses xrandr program with this xrandr command: ``` --output DP1 --mode 1920x1080 --pos 0x0 --refresh 60 --gamma 1:1:1 --rotate normal --reflect normal --primary --output HDMI1 --mode 1920x1080 --pos -1072x0 --refresh 60 --gamma 1:1:1 --rotate left --reflect normal --output VIRTUAL1 --off ``` I do not know what is 1072 here, but it seems to be wrong. Changing it to 1080 seems to fix merging screens to one
Poster

Also, applied configuration does not detect correctly. It shows both displays rotated

Also, applied configuration does not detect correctly. It shows both displays rotated
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdelibs#233
Loading…
There is no content yet.