This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Losing rotation of the display
Hi all,
Tinkerboard Linaro stretch 9.11
Linux tinkerboard 4.4.132+ #1 SMP Wed Aug 21 19:15:55 CST 2019 armv7l GNU/Linux

I set up the display orientation on portrait mode.
If I unplug the display and then I replug it, I find the display with landscape orientation.

I only found a row in syslog file:

 tinkerboard kernel: [1906077.095664] rockchip-vop ff930000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p0, type: 11

Why the orientation was lost?
My guess is the driver is evaluating the display resolution regardless of the rotation. 

The portrait rotation is set by an initial script: maybe that's why it loose the setting...

Is it possible to set the orientation so the driver can retrieve the set?
In my tests I modified the config file in:

root@tinkerboard:~# more /etc/X11/xorg.conf.d/20-modesetting.conf
Section "Device"
Identifier "Rockchip Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "DRI" "2"
Section "Screen"
Identifier "Default Screen"
Monitor "KioskMonitor"
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x1024" "1024x768" "800x600"
Section "Monitor"
Identifier "KioskMonitor"
Option "Rotate" "left"

This is ok at the startup, the display is rotated.
But if I unplug the monitor and then replug, the display goes to landscape mode = no rotation.

Forum Jump:

Users browsing this thread: 1 Guest(s)