screen shifted after xrandr rotation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

screen shifted after xrandr rotation

2,008 Views
matthiasalbrech
Contributor III

Hi,

I have a strange problem: On I.mx6 (with yocto Rocko) X11 is included and I try to rotate the screen with

xrandr --output "DISP3 BG" --rotate left/right/normal/inverted

left/right/normal works fine. But when I rotate to 180° with the option "inverted" the screen is shifted to the right. So that a small part of the right side of the screen isn't visible and on the left side the screen is black.

xrandr (version 1.5) shows no error, at least xrandr -q shows:

Screen 0: minimum 240 x 240, current 800 x 480, maximum 8192 x 8192                                                                               
DISP3 BG connected primary 800x480+0+0 inverted (normal left inverted right x axis y axis) 0mm x mm                            
   U:800x480p-67  67.73*+

where could I start to find a solution for that problem? or do you have any idea how to avoid my problem? Hope that anybody else solved something similar.

thanks,

Matthias

1 Reply

1,395 Views
matthiasalbrech
Contributor III

hi,

i found out that the error disappears when I scale the screen a little bit. for example:

xrandr --output "DISP3 BG" --rotate inverted --scale 1.00005x1

but cpu load is very high after that und the application isn't usable any more. So its not a possible solution.

But perhaps that knowledge helps to find a usable solution...