This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Desktop distorted after xrandr -o

Tags: None
(comma "," separated)
AdmiralAkber
Registered Member
Posts
2
Karma
0

Desktop distorted after xrandr -o

Wed Jan 07, 2015 12:55 pm
Hello,

I have Plasma 5.1.2-2 installed in Arch Linux on a Thinkpad Yoga. The desktop is fine upon login, after rotation of the orientation of the screen using xrandr the screen becomes highly distorted. After rotating back, the windows are legible however notice Baloo is no longer centered.

Images below:

scrot after xrandr -o left
http://blog.admiralakber.com/wp-content ... _scrot.png

scrot after xrandor -o normal
http://blog.admiralakber.com/wp-content ... _scrot.png
luebking
Karma
0

Re: Desktop distorted after xrandr -o

Wed Jan 07, 2015 10:52 pm
This looks like the randr event is somehow not received by the clients.
"The distorsion" in the first screenshot suggests that the gl context was not adjusted.
You can toggle the compositor (Shift+Alt+F12, there's also a dbus interface) twice what should restore the correct display (if not, post the output of "xrandr -q" after rotating - actually, just post in in any case ;-)

The other odd thing in this screenshot is the absence of the panel in the left rotated case and the apparently "too small" wallpaper on the background. Does suspending the compositor change anything about that?
AdmiralAkber
Registered Member
Posts
2
Karma
0

Re: Desktop distorted after xrandr -o

Thu Jan 08, 2015 12:38 am
luebking wrote:You can toggle the compositor (Shift+Alt+F12, there's also a dbus interface) twice what should restore the correct display (if not, post the output of "xrandr -q" after rotating - actually, just post in in any case ;-)

After rotating left:

Code: Select all
Screen 0: minimum 8 x 8, current 1080 x 1920, maximum 32767 x 32767
eDP1 connected 1080x1920+0+0 left (normal left inverted right x axis y axis) 276mm x 156mm
   1920x1080     60.04*+
   1400x1050     59.98 
   1280x1024     60.02 
   1280x960      60.00 
   1024x768      60.00 
   800x600       60.32    56.25 
   640x480       59.94 
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)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


Interesting, wouldn't the dimensions also "rotate", id est to 156mm x 276mm?

luebking wrote:The other odd thing in this screenshot is the absence of the panel in the left rotated case and the apparently "too small" wallpaper on the background. Does suspending the compositor change anything about that?


After Shift+Alt+F12 the desktop is restored and rotating appears to work but there are other strange consequences. The desktop wallpaper is still small but I can at least move my mouse and windows everywhere.
In addition, the touch screen then becomes significantly less responsive to the point where it is unusable and scrot doesn't screenshot it as if it has rotated but rather has that "unusable space". (See link below)
http://blog.admiralakber.com/wp-content ... _scrot.png

These problems do not exist in KDE4.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell