You are not logged in.
Hey,
I've got a widescreen display had to rotate it in order to work on some large excel sheets, so I turned my monitor and used the following command to rotate the screen. Everything went fine, I finished my work and reverted the setup using
xrandr --output DVI-1 --rotate (left | normal)
However, after a reboot my screen is 90° left rotated and I have to toggle the respective command everytime to fix this, which I changed to
xrandr -o (left | normal)
, btw.
No config were changed, no warning/error message popped out - I'm very curious why my screen got stuck at this rotation. My AMD R9-280X uses the open source driver, those are my xorg configs, if relevant:
Section "Monitor"
Identifier "QNIX 2710LED"
VendorName "QNIX"
ModelName "QX2710LED"
DisplaySize 596 335
HorizSync 28.0 - 170.0
VertRefresh 43.0 - 130.0
Modeline "2560x1440_75.00" 397.25 2560 2760 3040 3520 1440 1443 1448 1506 -hsync +vsync
Option "PreferredMode" "2560x1440_75.00"
Option "DDC" "False"
Option "UseEDID" "False"
Option "UseEDIDDPI" "False"
Option "UseEDIDFreqs" "False"
Option "ExactModeTimingsDVI" "True"
Option "ModeValidation" "AllowNonEdidModes, AllowNon60hzmodesDFPModes, NoEDIDDFPMaxSizeCheck, NoVertRefreshCheck, NoHorizSyncCheck, NoDFPNativeResolutionCheck, NoMaxSizeCheck, NoMaxPClkCheck, NoEDIDModes"
Option "NoBandWidthTest" "True"
Option "DPMS" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "AMD R9-280X"
Monitor "QNIX 2710LED"
DefaultDepth 24
Option "UseEDID" "False"
Option "UseEDIDDPI" "False"
Option "UseEDIDFreqs" "False"
Option "ExactModeTimingsDVI" "True"
Option "ModeValidation" "AllowNonEdidModes, AllowNon60hzmodesDFPModes, NoEDIDDFPMaxSizeCheck, NoVertRefreshCheck, NoHorizSyncCheck, NoDFPNativeResolutionCheck, NoMaxSizeCheck, NoMaxPClkCheck, NoEDIDModes"
Option "NoBandWidthTest" "True"
SubSection "Display"
Modes "2560x1440_75.00"
Depth 24
EndSubSection
EndSection
Section "Device"
Identifier "AMD R9-280X"
Driver "radeon"
Option "SWcursor" "on"
Option "EnablePageFlip" "on"
Option "AccelMethod" "glamor"
Option "RenderAccel" "on"
Option "ColorTiling" "on"
Option "EXAVSync" "off"
Option "EXAPixmaps" "on"
Option "AccelDFS" "on"
EndSection
EDIT: Sorry, DE is Cinnamon.
Last edited by klenamenis (2015-01-21 18:20:44)
Offline
Which Desktop Environment/Window Manager are you using?
Offline
Which Desktop Environment/Window Manager are you using?
OP updated his post with
EDIT: Sorry, DE is Cinnamon.
What's the output of 'xrandr' before you fix the display and after?
Last edited by karol (2015-01-17 17:35:32)
Offline
What's the output of 'xrandr' before you fix the display and after?
It's the exact same output:
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
DVI-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95 +
2560x1440_75.00 74.94*
Offline
Well,
I first tried to "fix" this by adding the command to my .xinitrc, but it didn't work. So I added a startup entry and my monitor's rotated normal on boot again. Does anyone have a clue what's causing this behaviour? I wouldn't call this workaround a fix...
Offline
I first tried to "fix" this by adding the command to my .xinitrc, but it didn't work.
Post that ~/.xinitrc with the "fix".
Offline
Nothing special, just the above mentioned command:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrandr --output DVI-1 --rotate normal
xrandr -o normal
/usr/bin/xscreensaver -no-splash &
xbindkeys
exec cinnamon-session
Creating a startup entry in cinnamon worked however..
Offline
Out of curiousity, I checked System Settings > Display, rotation was set to normal as supposed to be but I applied the settings without changing anything anyway and now my screen is rotated normally again on boot.
Strange, but now it's solved - my custom start up entry can be deleted.
Offline